Commit Graph

25 Commits

Author SHA1 Message Date
Mike McCormack 06e23dad02 - use interfaces rather than internal functions
- remove declaration of AddRef and QueryInterface functions from
  headers
2005-06-21 09:44:28 +00:00
Stefan Huehner ac6f562b52 Fix more -Wstrict-prototypes warnings. 2005-06-20 14:18:03 +00:00
Dmitry Timoshkov 247246ede7 Make more of the OLE interface vtables const. 2005-05-30 10:01:08 +00:00
James Hawkins 1727eb485e Properly implement DllCanUnloadNow ref counting. 2005-02-02 09:31:06 +00:00
Alexandre Julliard 25e2a320a7 Don't define BEGIN_INTERFACE in unknwn.h. 2004-08-22 21:38:46 +00:00
Alexandre Julliard 48c4bb3c31 Get rid of the non-standard ICOM_VTABLE macro. 2004-08-12 23:00:51 +00:00
Alexandre Julliard 0467ce9fd7 Get rid of the non-standard ICOM_VFIELD macro. 2004-08-12 19:52:49 +00:00
Francois Gouget bf72af30d0 Modify widl to put the C COM macros inside an #ifdef COBJMACROS block
as is done in the Windows headers.
Add #define COBJMACROS where needed in Wine.
Fixes the compilation of the oleaut32/tests/olefont.c and
urlmon/tests/url.c conformance tests with the Windows headers.
2004-08-11 19:43:45 +00:00
Raphael Junqueira ca7ee47750 Better handling of User IDirectMusicTools. 2004-05-20 01:15:30 +00:00
Raphael Junqueira dfbf36d3e8 - Better loading of IDirectMusicSegTriggerTrack (internal list of
subtracks)
- Better stubs for IDirectMusicTempoTrack::InitPlay and
  IDirectMusicTempoTrack::EndPlay (InitPlay should return a valid
  memory pointer so allocate it). Should be extended for all
  IDirectMusicTrack objects.
2004-05-19 04:32:43 +00:00
Raphael Junqueira 8d954393e1 - First drafts for IDirectMusicSegment::GetParam and
IDirectMusicTempoTrack::GetParam (need modif on Load).
- Return value fixes for GetClassID of TempoTrack and Segment.
2004-05-17 19:48:49 +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
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 ee51a0c014 - Many IDirectMusicSegment fixes (loading).
- AudioPath crash fix (don't use DSound APIs if buffer is null).
- Move generic functions to dmime_main.c for future reuse (from
  segment.c).
- IDirectMusicTempoTrack loading (many tempo case must be handled).
- IDirectMusicSegTriggerTrack loading implementation (now
  DMRF/DirectMusic References loading should be done).
2004-05-11 04:27:23 +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 faf1b08ef4 - PMsg processing thread (currently only Notifications handling)
- a chained list bug
- thread-safe lists
- real close on CloseDown
2004-05-06 23:37:54 +00:00
Raphael Junqueira 7be996e9b7 - fix cRef Leak (init to 1, should be 0) of IDMPerformance
- SendPMsg implementation
- begin of Performance Processing queues implementation
2004-05-05 18:59:59 +00:00
Raphael Junqueira 1afbcd71dd - fix DirectSound Creation by dmusic (fix recent Unreal2 regression)
using Robert Reif patch
- use of ForegroundWindow if hWnd is NULL (as specified on msdn docs)
- begin of Performance PMsg implementation (we should use a processing
  thread)
- better Segment loading
- some stubs for IsDirty (always FALSE)
2004-05-05 01:32:55 +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 cb5c00d57c Avoid referencing a private header in another dll. 2004-01-03 00:58:08 +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