44 Commits

Author SHA1 Message Date
Michael Stefaniuc
dccedd4761 dmloader: Use the debug functions provided by dmobject.[ch].
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-12 08:32:41 +01:00
Michael Stefaniuc
92749c2694 dmloader: Get rid of the 'dmdump' debug channel.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-12 08:32:31 +01:00
Michael Stefaniuc
55252b97ca dmloader: Just use dump_DMUS_OBJECTDESC().
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-12 08:32:27 +01:00
Michael Stefaniuc
25370018f2 dmloader: Remove commented out dead code.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-10 11:09:48 +01:00
Alexandre Julliard
a420853848 dmloader: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-03 10:29:43 +02:00
Michael Stefaniuc
95a339b609 dmloader: Remove an unused impl_from_ helper.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-14 10:15:59 +02:00
Michael Stefaniuc
cb403450eb dmloader: Reimplement ParseDescriptor() for DirectMusicContainer.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-16 09:16:29 +02:00
Michael Stefaniuc
a8900c9bbb dmloader: Move struct definitions to the files they are used in.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-25 21:07:22 +02:00
Michael Stefaniuc
149859b002 dmloader: Remove superfluous "IDirectMusicContainer" from method names. 2015-04-28 15:35:38 +09:00
Michael Stefaniuc
8c6c7f6b49 dmloader: Add and use a generic IPersistStream_GetClassID. 2015-04-28 15:35:23 +09:00
Michael Stefaniuc
ade8d0c158 dmloader: Use the generic DirectMusicObject implementation for DMContainer. 2015-04-28 15:35:06 +09:00
Michael Stefaniuc
9ab1cfb5e0 dmloader: COM cleanup for IDirectMusicContainer. 2014-06-12 18:05:07 +02:00
Michael Stefaniuc
e1676fc989 dmloader: Don't crash on container destruction if it was never loaded. 2014-03-13 20:21:55 +01:00
Michael Stefaniuc
c600be1ff5 dmloader: Pass the object to the IDirectMusicContainer_Release helper. 2014-03-13 11:21:54 +01:00
Michael Stefaniuc
917d5eabe6 dmloader: None of the COM classes support aggregation. 2014-03-13 11:21:40 +01:00
Christian Costa
cdf727ebd1 dmloader: Use dump_DMUS_OBJECTDESC to dump data to avoid truncation in TRACE. 2012-12-20 18:29:46 +01:00
Frédéric Delanoy
b5a33dab88 dlls: Assorted spelling fixes. 2011-08-02 20:47:51 +02:00
Michael Stefaniuc
989f39ef32 dmloader: Simplify the module refcount handling. 2011-08-02 11:51:06 +02:00
Michael Stefaniuc
8a3daa63e0 dmloader: Remove redundant "not NULL" check of the pDesc arg. 2010-05-17 12:42:33 +02:00
Francois Gouget
96848a0605 Remove spaces before '\n's. 2009-03-09 12:05:58 +01:00
Marcus Meissner
2aebb568a8 dmloader: Fixed some pointer read/write checks (Coverity). 2009-02-02 15:21:44 +01:00
Michael Stefaniuc
4b50a4c670 dmloader: Remove superfluous pointer casts. 2009-01-13 15:25:43 +01:00
Alexandre Julliard
02bfacff5a dmloader: Make some functions static. 2008-12-03 12:12:34 +01:00
Austin English
b4f52938e4 Spelling fixes. 2008-04-02 23:18:21 +02:00
Andrew Talbot
4cd6ef739d dmloader: Assign to structs instead of using memcpy. 2008-02-25 13:27:27 +01:00
Alexandre Julliard
7718d2bd7c dmusic: Fix license headers that mistakenly use GPL instead of LGPL.
Confirmed by the original author and the major contributors.
2007-05-30 12:54:07 +02:00
Michael Stefaniuc
187b6ed9b9 dmloader: Win64 printf format warning fixes. 2006-10-12 21:42:58 +02:00
Francois Gouget
5d6ab30c58 dmloader: Modify the debugstr_DMUS_* functions to return strings that never end with a '\n'. 2006-10-06 17:29:32 +02:00
Alexandre Julliard
12179978fb dmloader: Make the virtual table functions static where possible. 2006-06-10 11:56:03 +02:00
Jonathan Ernst
360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Dmitry Timoshkov
247246ede7 Make more of the OLE interface vtables const. 2005-05-30 10:01:08 +00:00
Peter Berg Larsen
6aefbc0934 Strncpy elimination. 2005-04-18 15:36:20 +00:00
Eric Pouech
cf1d00bb08 Removed excessive statement (break after return or goto, not useful
break, not needed vars...)
2005-01-09 16:42:53 +00:00
Francois Gouget
ee0344a4a2 Remove unneeded NULL casts. 2004-12-22 15:13:20 +00:00
Alexandre Julliard
f714b39762 Get rid of the no longer used ICOM_MSVTABLE_COMPAT_DummyRTTIVALUE
macro.
2004-08-23 19:39:48 +00:00
Alexandre Julliard
48c4bb3c31 Get rid of the non-standard ICOM_VTABLE macro. 2004-08-12 23:00:51 +00:00
Rok Mandeljc
72c80375fa dmloader: complete rewrite and full implementation. 2004-05-13 00:00:22 +00:00
Raphael Junqueira
410bdd365f - scripts sub-containers loading
- better segments Load and ParseDescriptor behaviors
2004-03-12 01:53:05 +00:00
Rok Mandeljc
b26d65bba9 Added name resolving for CLSIDs, IIDs, GUIDs and return codes. 2004-02-25 01:30:03 +00:00
Rok Mandeljc
0382ea1d8a - updated resources to DX9
- completely rewritten headers (DX9 compat.; look much nicer now ;=)
- removed IDirectMusicSong and IDirectMusicMelodyFormulationTrack
  (which are removed from DX9; weren't implemented in DX8 anyway)
- combined/simplified IDirectMusicSomething / IDirectMusicObject /
  IPersistStream for objects that support loading
- implemented IDirectMusicObject on all such objects; via generic
  functions
- combined IDirectMusicTrack(8)/IPersistStream on all tracks
- fully implemented IDirectMusicContainer (at least 90% if there are
  no private interfaces)
- implemented IDirectMusicCollection (99% work & MS compliant
  behaviour; except for instruments)
- tried to implement IDirectMusicInstrument (unfortunately uses some
  dirty private interfaces... :(
- added dswave.dll; DirectMusic Wave
- some changes in style
- many, many more ;)
2004-01-20 00:21:40 +00:00
Raphael Junqueira
493660a529 - Some fixes on DirectSound init (need SetCooperativeLevel as seen in
msdn) on IDirectMusicPerformance8::InitAudio.
- Some fixes in IDirectMusicPerformance8ImplCreateStandardAudioPath
  (not perfect yet, need to understand/fix the channel init/use).
- Fix typo on CreateDirectMusicContainer.
- Add missing define in dsound.h.
- Better traces on IDirectMusicLoader8::SetSearchDirectory.
2003-10-27 22:08:37 +00:00
Alexandre Julliard
e37c6e18d0 Fixed header dependencies to be fully compatible with the Windows
headers (with help from Dimitrie O. Paun).
2003-09-05 23:08:26 +00:00
Rok Mandeljc
df167d17c6 - implemented loader, loader's stream and loading of objects (now you
can use builtin dmloader and native other dm*.dlls)
- implemented proper creation of objects and retrieval of dmusic
  interfaces from them (object, stream, ...)
- implemented all "standard track types" and appropriate stream (for
  dmband, loading is almost complete)
- cleaned some obsolete stuff
- split debug channels
2003-08-22 23:53:27 +00:00
Rok Mandeljc
473c565781 Split the dmusic interfaces. 2003-07-21 22:10:14 +00:00