Commit Graph

45 Commits

Author SHA1 Message Date
Michael Stefaniuc dc0725c766 dmstyle: 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 55587efd3a dmstyle: Reimplement ParseDescriptor() for DirectMusicStyle.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-16 09:16:31 +02:00
Michael Stefaniuc 4f2a92328e dmstyle: Remove a not very useful macro.
The memory is already zeroed on allocation.
2015-07-07 17:16:35 +09:00
Michael Stefaniuc 0ab95a1ec4 dmstyle: Remove an unused variable. 2015-07-07 17:16:31 +09:00
Michael Stefaniuc 3ebf41cc42 dmstyle: Use the generic DirectMusicObject implementation for DMStyle. 2015-06-11 14:41:20 +09:00
Michael Stefaniuc b8149561ec dmstyle: Pass the object instead of the iface to helper functions. 2015-06-11 14:41:11 +09:00
Michael Stefaniuc 774aad743c dmstyle: Remove unused arguments from helper functions. 2015-06-11 14:41:07 +09:00
Michael Stefaniuc e22458c224 dmstyle: Move a struct definition to the .c file that uses it. 2014-06-11 19:15:24 +02:00
Michael Stefaniuc 97428376ef dmstyle: Remove the extraneous IUnknown from DirectMusicStyle8.
Also lock/unlock the module only on creation/destruction of the object.
2014-01-29 12:39:17 +01:00
Michael Stefaniuc 8e6a15ffd7 dmstyle: COM cleanup for IDirectMusicStyle8. 2014-01-29 12:39:13 +01:00
Michael Stefaniuc 3770021610 dmstyle: Remove the redundant "IDirectMusicStyle8" from method names. 2014-01-29 12:39:08 +01:00
Michael Stefaniuc e383cc393a dmstyle: Do not use method implementations directly. 2014-01-29 12:39:04 +01:00
Michael Stefaniuc 65942c1786 dmstyle: None of the COM classes support aggregation. 2014-01-15 11:54:31 +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
Marcus Meissner e4d63f7711 dmstyle: Reverse NULL check and deref (Coverity). 2011-06-27 13:27:57 -05:00
Marcus Meissner 9d47f87b4c dmstyle: Another NULL ptr check added (Coverity). 2009-02-02 15:44:39 +01:00
Michael Stefaniuc 2b9c8433b2 dmstyle: Remove superfluous pointer casts. 2009-01-13 15:25:52 +01:00
Austin English b4f52938e4 Spelling fixes. 2008-04-02 23:18:21 +02:00
Andrew Talbot a01bfc26fe dmstyle: Assign to structs instead of using memcpy. 2008-02-26 11:18:23 +01:00
Francois Gouget 44b52b128c Assorted spelling fixes. 2008-01-16 12:48:29 +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
Francois Gouget 580290fdb8 dmstyle: Fix spelling of the DMUS_PRIVATE_STYLE_MOTIF.dwRhythm field. 2006-11-07 15:24:26 +01:00
Alexandre Julliard b0ea577ae5 Avoid usage of sizeof in traces that causes warnings on MacOSX. 2006-10-20 12:16:45 +02:00
Michael Stefaniuc 175ed0c559 dmstyle: Win64 printf format warning fixes. 2006-10-13 11:03:33 +02:00
Francois Gouget 82babbee0b Add missing '\n's to Wine traces. 2006-10-05 17:46:48 +02:00
Alexandre Julliard 1b469c2482 dmstyle: Don't use sizeof in traces to avoid printf format warnings. 2006-06-13 14:10:12 +02:00
Alexandre Julliard 40feb043b1 dmstyle: Make the virtual table functions static where possible. 2006-06-10 11:56:49 +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 6e3bcb5a54 Replace strncpy with memcpy or lstrcpyn. 2005-04-18 10:30:55 +00:00
James Hawkins 1fd9425088 Properly implement DllCanUnloadNow ref counting. 2005-01-24 19:33:23 +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
Raphael Junqueira e99a183cc3 - handle StyleRefs list on DMStyleTracks
- handle PartRefs list on DMStyles
- begin of Parts list support on DMStyles (for now only some array
  checks)
- fix IDirectMusicStyle::QueryInterface
2005-01-05 13:22:57 +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
Raphael Junqueira 858557f4b7 - Parse DMStyle motifs (ie patterns) and bands (fill lists).
- Implement  IDirectMusicSegment8::InsertTrack and
  IDirectMusicSegment8::RemoveTrack (now EnumTrack GetParam, and
  GetTrack should be easy to do).
2004-05-14 21:36:15 +00:00
Raphael Junqueira 106e13ab09 - Add the same new files (dmutils.c/dmutils.h) into dmime,dmband and
dmstyle directory that share the debug and helper functions for dmusic
  dlls (as Rok's idea for dmloader).
- Use new helpers functions to load References on
  IDirectMusicSegTriggerTrack loading (currently they leak).
- IDirectMusicStyle (almost partial) loading.
- Minor fixes.
2004-05-14 04:57:02 +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
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