Commit Graph

40 Commits

Author SHA1 Message Date
Michael Stefaniuc a10719bcef dmscript: Reimplement ParseDescriptor() for IDirectMusicScript.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-14 10:16:00 +02:00
Michael Stefaniuc 26623d30f4 dmscript: Get rid of the extra pointer to a DMUS_OBJECTDESC. 2015-04-28 15:35:54 +09:00
Michael Stefaniuc 71b28e2e1c dmscript: Use the generic DirectMusicObject implementation for DMScript. 2015-04-28 15:35:49 +09:00
Michael Stefaniuc e1fab4a837 dmscript: Move a struct definition to the .c file that uses it. 2014-06-11 16:11:49 +02:00
Michael Stefaniuc 41b1dce0e2 dmscript/tests: Test unimplemented IPersistStream methods in DMScript. 2014-06-11 12:59:34 +02:00
Michael Stefaniuc 444fff4343 dmscript: IPersistStream_GetClassID() is not implemented for DMScript. 2014-06-11 12:59:22 +02:00
Michael Stefaniuc d3ba2a9fe3 dmscript: Remove the extraneous IUnknown from DirectMusicScript.
Also lock/unlock the module only on creation/destruction of the object.
2014-01-13 17:37:08 +01:00
Michael Stefaniuc aaecaf5174 dmscript: COM cleanup for IDirectMusicScript. 2014-01-13 17:37:07 +01:00
Michael Stefaniuc 75b2ce7716 dmscript: Remove duplicate "IDirectMusicScript" from method names. 2014-01-13 17:37:06 +01:00
Michael Stefaniuc f7dc10d2ce dmscript: Don't use the method implementations directly. 2014-01-13 17:37:06 +01:00
Marcus Meissner 2a55b09bed directshow: Removed bad sizeof in copy/pasted code (Coverity). 2011-10-18 15:17:42 +02:00
Frédéric Delanoy b5a33dab88 dlls: Assorted spelling fixes. 2011-08-02 20:47:51 +02:00
Michael Stefaniuc d62a0eec7b dmscript: Remove superfluous pointer casts. 2009-01-13 15:25:48 +01:00
Andrew Talbot e1062df14b dmscript: Assign to structs instead of using memcpy. 2008-02-26 11:18:16 +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 34a323dc88 dmscript: Win64 printf format warning fixes. 2006-10-09 12:56:18 +02:00
Alexandre Julliard 06ff754a95 dmscript: Make the virtual table functions static where possible. 2006-06-10 11:56:19 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Francois Gouget 0edbaf7e80 Remove spaces before '\n' in traces. 2005-11-10 12:14:56 +00:00
Dmitry Timoshkov 247246ede7 Make more of the OLE interface vtables const. 2005-05-30 10:01:08 +00:00
Peter Berg Larsen 6e3bcb5a54 Replace strncpy with memcpy or lstrcpyn. 2005-04-18 10:30:55 +00:00
James Hawkins 0994b850b8 Properly implement DllCanUnload ref counting. 2005-02-02 09:31:28 +00:00
Francois Gouget 7a29b06555 Remove unneeded NULL cast. 2005-01-26 20:40:49 +00:00
Paul Vriens 7a49e82dac - use Interlocked* functions in AddRef and Release.
- store the result of the Interlocked functions and use only this.
2005-01-24 11:31:45 +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
Michael Stefaniuc 5ad7d858e0 Do not check for non NULL pointer before HeapFree'ing it. It's
redundant.
2004-12-23 17:06:43 +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
Raphael Junqueira a4215336ef - Typo fix in dmusicf.h.
- IDirectMusicChordTrack loading.
- Many IsDirty and GetClassID stubs.
2004-05-11 22:18:43 +00:00
Raphael Junqueira c77788b59f - Release DSBuffer on AudioPath destruction.
- Semi stub for AudioPath Activate.
- IDirectMusicPerformance8::CreateAudioPath stub.
- Most of the IDirectMusicSegment8_[Set,Get]* (using header).
- Load of Streamer IDirectMusicSegment8 header.
2004-05-10 19:56:17 +00:00
Raphael Junqueira 4dc686df3f Make IDirectMusicScriptImpl_IDirectMusicScript_CallRoutine return S_OK
(with E_NOTIMPL we have some apps crashes).
2004-05-05 01:32:21 +00:00
Raphael Junqueira 8f62ecba56 Initialize correctly the DMUS_OBJECTDESC local structure. 2004-04-02 19:14:08 +00:00
Raphael Junqueira 410bdd365f - scripts sub-containers loading
- better segments Load and ParseDescriptor behaviors
2004-03-12 01:53:05 +00:00
Raphael Junqueira b9989190ec Better dmscript loading (now we load the script version, script
language identifier and the script source).
2004-03-09 19:21:33 +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 62ddeb9da5 - better traces
- some IPersistStream::GetClassID implementation
- add the "search by name" support for IDirectMusicLoader8::GetObject
  (and a hack for understanding containers use)
2003-10-31 00:08:02 +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