ReactOS  0.4.14-dev-833-g5f692ed
dmusics.h File Reference
#include <dmusicc.h>
Include dependency graph for dmusics.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _DMUS_VOICE_STATE
 

Macros

#define REGSTR_PATH_SOFTWARESYNTHS   "Software\\Microsoft\\DirectMusic\\SoftwareSynths"
 
#define REFRESH_F_LASTBUFFER   0x1
 
#define _DMUS_VOICE_STATE_DEFINED
 
#define INTERFACE   IDirectMusicSynth
 
#define IDirectMusicSynth_QueryInterface(p, a, b)   (p)->lpVtbl->QueryInterface(p,a,b)
 
#define IDirectMusicSynth_AddRef(p)   (p)->lpVtbl->AddRef(p)
 
#define IDirectMusicSynth_Release(p)   (p)->lpVtbl->Release(p)
 
#define IDirectMusicSynth_Open(p, a)   (p)->lpVtbl->Open(p,a)
 
#define IDirectMusicSynth_Close(p)   (p)->lpVtbl->Close(p)
 
#define IDirectMusicSynth_SetNumChannelGroups(p, a)   (p)->lpVtbl->SetNumChannelGroups(p,a)
 
#define IDirectMusicSynth_Download(p, a, b, c)   (p)->lpVtbl->Download(p,a,b,c)
 
#define IDirectMusicSynth_Unload(p, a, b, c)   (p)->lpVtbl->Unload(p,a,b,c)
 
#define IDirectMusicSynth_PlayBuffer(p, a, b, c)   (p)->lpVtbl->PlayBuffer(p,a,b,c)
 
#define IDirectMusicSynth_GetRunningStats(p, a)   (p)->lpVtbl->GetRunningStats(p,a)
 
#define IDirectMusicSynth_GetPortCaps(p, a)   (p)->lpVtbl->GetPortCaps(p,a)
 
#define IDirectMusicSynth_SetMasterClock(p, a)   (p)->lpVtbl->SetMasterClock(p,a)
 
#define IDirectMusicSynth_GetLatencyClock(p, a)   (p)->lpVtbl->GetLatencyClock(p,a)
 
#define IDirectMusicSynth_Activate(p, a)   (p)->lpVtbl->Activate(p,a)
 
#define IDirectMusicSynth_SetSynthSink(p, a)   (p)->lpVtbl->SetSynthSink(p,a)
 
#define IDirectMusicSynth_Render(p, a, b, c)   (p)->lpVtbl->Render(p,a,b,c)
 
#define IDirectMusicSynth_SetChannelPriority(p, a, b, c)   (p)->lpVtbl->SetChannelPriority(p,a,b,c)
 
#define IDirectMusicSynth_GetChannelPriority(p, a, b, c)   (p)->lpVtbl->GetChannelPriority(p,a,b,c)
 
#define IDirectMusicSynth_GetFormat(p, a, b)   (p)->lpVtbl->GetFormat(p,a,b)
 
#define IDirectMusicSynth_GetAppend(p, a)   (p)->lpVtbl->GetAppend(p,a)
 
#define INTERFACE   IDirectMusicSynth8
 
#define IDirectMusicSynth8_QueryInterface(p, a, b)   (p)->lpVtbl->QueryInterface(p,a,b)
 
#define IDirectMusicSynth8_AddRef(p)   (p)->lpVtbl->AddRef(p)
 
#define IDirectMusicSynth8_Release(p)   (p)->lpVtbl->Release(p)
 
#define IDirectMusicSynth8_Open(p, a)   (p)->lpVtbl->Open(p,a)
 
#define IDirectMusicSynth8_Close(p)   (p)->lpVtbl->Close(p)
 
#define IDirectMusicSynth8_SetNumChannelGroups(p, a)   (p)->lpVtbl->SetNumChannelGroups(p,a)
 
#define IDirectMusicSynth8_Download(p, a, b, c)   (p)->lpVtbl->Download(p,a,b,c)
 
#define IDirectMusicSynth8_Unload(p, a, b, c)   (p)->lpVtbl->Unload(p,a,b,c)
 
#define IDirectMusicSynth8_PlayBuffer(p, a, b, c)   (p)->lpVtbl->PlayBuffer(p,a,b,c)
 
#define IDirectMusicSynth8_GetRunningStats(p, a)   (p)->lpVtbl->GetRunningStats(p,a)
 
#define IDirectMusicSynth8_GetPortCaps(p, a)   (p)->lpVtbl->GetPortCaps(p,a)
 
#define IDirectMusicSynth8_SetMasterClock(p, a)   (p)->lpVtbl->SetMasterClock(p,a)
 
#define IDirectMusicSynth8_GetLatencyClock(p, a)   (p)->lpVtbl->GetLatencyClock(p,a)
 
#define IDirectMusicSynth8_Activate(p, a)   (p)->lpVtbl->Activate(p,a)
 
#define IDirectMusicSynth8_SetSynthSink(p, a)   (p)->lpVtbl->SetSynthSink(p,a)
 
#define IDirectMusicSynth8_Render(p, a, b, c)   (p)->lpVtbl->Render(p,a,b,c)
 
#define IDirectMusicSynth8_SetChannelPriority(p, a, b, c)   (p)->lpVtbl->SetChannelPriority(p,a,b,c)
 
#define IDirectMusicSynth8_GetChannelPriority(p, a, b, c)   (p)->lpVtbl->GetChannelPriority(p,a,b,c)
 
#define IDirectMusicSynth8_GetFormat(p, a, b)   (p)->lpVtbl->GetFormat(p,a,b)
 
#define IDirectMusicSynth8_GetAppend(p, a)   (p)->lpVtbl->GetAppend(p,a)
 
#define IDirectMusicSynth8_PlayVoice(p, a, b, c, d, e, f, g, h, i, j)   (p)->lpVtbl->PlayVoice(p,a,b,c,d,e,f,g,h,i,j)
 
#define IDirectMusicSynth8_StopVoice(p, a, b)   (p)->lpVtbl->StopVoice(p,a,b)
 
#define IDirectMusicSynth8_GetVoiceState(p, a, b, c)   (p)->lpVtbl->GetVoiceState(p,a,b,c)
 
#define IDirectMusicSynth8_Refresh(p, a, b)   (p)->lpVtbl->Refresh(p,a,b)
 
#define IDirectMusicSynth8_AssignChannelToBuses(p, a, b, c, d)   (p)->lpVtbl->AssignChannelToBuses(p,a,b,c,d)
 
#define INTERFACE   IDirectMusicSynthSink
 
#define IDirectMusicSynthSink_QueryInterface(p, a, b)   (p)->lpVtbl->QueryInterface(p,a,b)
 
#define IDirectMusicSynthSink_AddRef(p)   (p)->lpVtbl->AddRef(p)
 
#define IDirectMusicSynthSink_Release(p)   (p)->lpVtbl->Release(p)
 
#define IDirectMusicSynthSink_Init(p, a)   (p)->lpVtbl->Init(p,a)
 
#define IDirectMusicSynthSink_SetMasterClock(p, a)   (p)->lpVtbl->SetMasterClock(p,a)
 
#define IDirectMusicSynthSink_GetLatencyClock(p, a)   (p)->lpVtbl->GetLatencyClock(p,a)
 
#define IDirectMusicSynthSink_Activate(p, a)   (p)->lpVtbl->Activate(p,a)
 
#define IDirectMusicSynthSink_SampleToRefTime(p, a, b)   (p)->lpVtbl->SampleToRefTime(p,a,b)
 
#define IDirectMusicSynthSink_RefTimeToSample(p, a, b)   (p)->lpVtbl->RefTimeToSample(p,a,b)
 
#define IDirectMusicSynthSink_SetDirectSound(p, a, b)   (p)->lpVtbl->SetDirectSound(p,a,b)
 
#define IDirectMusicSynthSink_GetDesiredBufferSize(p, a)   (p)->lpVtbl->GetDesiredBufferSize(p,a)
 

Typedefs

typedef struct IDirectMusicSynth * LPDIRECTMUSICSYNTH
 
typedef struct IDirectMusicSynth8 * LPDIRECTMUSICSYNTH8
 
typedef struct IDirectMusicSynthSink * LPDIRECTMUSICSYNTHSINK
 
typedef struct _DMUS_VOICE_STATE DMUS_VOICE_STATE
 
typedef struct _DMUS_VOICE_STATELPDMUS_VOICE_STATE
 

Functions

 DEFINE_GUID (IID_IDirectMusicSynth, 0x09823661, 0x5c85, 0x11d2, 0xaf, 0xa6, 0x00, 0xaa, 0x00, 0x24, 0xd8, 0xb6)
 
 DEFINE_GUID (IID_IDirectMusicSynth8, 0x53cab625, 0x2711, 0x4c9f, 0x9d, 0xe7, 0x1b, 0x7f, 0x92, 0x5f, 0x6f, 0xc8)
 
 DEFINE_GUID (IID_IDirectMusicSynthSink, 0x09823663, 0x5c85, 0x11d2, 0xaf, 0xa6, 0x00, 0xaa, 0x00, 0x24, 0xd8, 0xb6)
 
 DEFINE_GUID (GUID_DMUS_PROP_SetSynthSink, 0x0a3a5ba5, 0x37b6, 0x11d2, 0xb9, 0xf9, 0x00, 0x00, 0xf8, 0x75, 0xac, 0x12)
 
 DEFINE_GUID (GUID_DMUS_PROP_SinkUsesDSound, 0xbe208857, 0x8952, 0x11d2, 0xba, 0x1c, 0x00, 0x00, 0xf8, 0x75, 0xac, 0x12)
 
 DECLARE_INTERFACE_ (IDirectMusicSynth, IUnknown)
 
 DECLARE_INTERFACE_ (IDirectMusicSynth8, IDirectMusicSynth)
 
 DECLARE_INTERFACE_ (IDirectMusicSynthSink, IUnknown)
 

Macro Definition Documentation

◆ _DMUS_VOICE_STATE_DEFINED

#define _DMUS_VOICE_STATE_DEFINED

Definition at line 60 of file dmusics.h.

◆ IDirectMusicSynth8_Activate

#define IDirectMusicSynth8_Activate (   p,
  a 
)    (p)->lpVtbl->Activate(p,a)

Definition at line 183 of file dmusics.h.

◆ IDirectMusicSynth8_AddRef

#define IDirectMusicSynth8_AddRef (   p)    (p)->lpVtbl->AddRef(p)

Definition at line 170 of file dmusics.h.

◆ IDirectMusicSynth8_AssignChannelToBuses

#define IDirectMusicSynth8_AssignChannelToBuses (   p,
  a,
  b,
  c,
  d 
)    (p)->lpVtbl->AssignChannelToBuses(p,a,b,c,d)

Definition at line 195 of file dmusics.h.

◆ IDirectMusicSynth8_Close

#define IDirectMusicSynth8_Close (   p)    (p)->lpVtbl->Close(p)

Definition at line 174 of file dmusics.h.

◆ IDirectMusicSynth8_Download

#define IDirectMusicSynth8_Download (   p,
  a,
  b,
  c 
)    (p)->lpVtbl->Download(p,a,b,c)

Definition at line 176 of file dmusics.h.

◆ IDirectMusicSynth8_GetAppend

#define IDirectMusicSynth8_GetAppend (   p,
  a 
)    (p)->lpVtbl->GetAppend(p,a)

Definition at line 189 of file dmusics.h.

◆ IDirectMusicSynth8_GetChannelPriority

#define IDirectMusicSynth8_GetChannelPriority (   p,
  a,
  b,
  c 
)    (p)->lpVtbl->GetChannelPriority(p,a,b,c)

Definition at line 187 of file dmusics.h.

◆ IDirectMusicSynth8_GetFormat

#define IDirectMusicSynth8_GetFormat (   p,
  a,
  b 
)    (p)->lpVtbl->GetFormat(p,a,b)

Definition at line 188 of file dmusics.h.

◆ IDirectMusicSynth8_GetLatencyClock

#define IDirectMusicSynth8_GetLatencyClock (   p,
  a 
)    (p)->lpVtbl->GetLatencyClock(p,a)

Definition at line 182 of file dmusics.h.

◆ IDirectMusicSynth8_GetPortCaps

#define IDirectMusicSynth8_GetPortCaps (   p,
  a 
)    (p)->lpVtbl->GetPortCaps(p,a)

Definition at line 180 of file dmusics.h.

◆ IDirectMusicSynth8_GetRunningStats

#define IDirectMusicSynth8_GetRunningStats (   p,
  a 
)    (p)->lpVtbl->GetRunningStats(p,a)

Definition at line 179 of file dmusics.h.

◆ IDirectMusicSynth8_GetVoiceState

#define IDirectMusicSynth8_GetVoiceState (   p,
  a,
  b,
  c 
)    (p)->lpVtbl->GetVoiceState(p,a,b,c)

Definition at line 193 of file dmusics.h.

◆ IDirectMusicSynth8_Open

#define IDirectMusicSynth8_Open (   p,
  a 
)    (p)->lpVtbl->Open(p,a)

Definition at line 173 of file dmusics.h.

◆ IDirectMusicSynth8_PlayBuffer

#define IDirectMusicSynth8_PlayBuffer (   p,
  a,
  b,
  c 
)    (p)->lpVtbl->PlayBuffer(p,a,b,c)

Definition at line 178 of file dmusics.h.

◆ IDirectMusicSynth8_PlayVoice

#define IDirectMusicSynth8_PlayVoice (   p,
  a,
  b,
  c,
  d,
  e,
  f,
  g,
  h,
  i,
  j 
)    (p)->lpVtbl->PlayVoice(p,a,b,c,d,e,f,g,h,i,j)

Definition at line 191 of file dmusics.h.

◆ IDirectMusicSynth8_QueryInterface

#define IDirectMusicSynth8_QueryInterface (   p,
  a,
  b 
)    (p)->lpVtbl->QueryInterface(p,a,b)

Definition at line 169 of file dmusics.h.

◆ IDirectMusicSynth8_Refresh

#define IDirectMusicSynth8_Refresh (   p,
  a,
  b 
)    (p)->lpVtbl->Refresh(p,a,b)

Definition at line 194 of file dmusics.h.

◆ IDirectMusicSynth8_Release

#define IDirectMusicSynth8_Release (   p)    (p)->lpVtbl->Release(p)

Definition at line 171 of file dmusics.h.

◆ IDirectMusicSynth8_Render

#define IDirectMusicSynth8_Render (   p,
  a,
  b,
  c 
)    (p)->lpVtbl->Render(p,a,b,c)

Definition at line 185 of file dmusics.h.

◆ IDirectMusicSynth8_SetChannelPriority

#define IDirectMusicSynth8_SetChannelPriority (   p,
  a,
  b,
  c 
)    (p)->lpVtbl->SetChannelPriority(p,a,b,c)

Definition at line 186 of file dmusics.h.

◆ IDirectMusicSynth8_SetMasterClock

#define IDirectMusicSynth8_SetMasterClock (   p,
  a 
)    (p)->lpVtbl->SetMasterClock(p,a)

Definition at line 181 of file dmusics.h.

◆ IDirectMusicSynth8_SetNumChannelGroups

#define IDirectMusicSynth8_SetNumChannelGroups (   p,
  a 
)    (p)->lpVtbl->SetNumChannelGroups(p,a)

Definition at line 175 of file dmusics.h.

◆ IDirectMusicSynth8_SetSynthSink

#define IDirectMusicSynth8_SetSynthSink (   p,
  a 
)    (p)->lpVtbl->SetSynthSink(p,a)

Definition at line 184 of file dmusics.h.

◆ IDirectMusicSynth8_StopVoice

#define IDirectMusicSynth8_StopVoice (   p,
  a,
  b 
)    (p)->lpVtbl->StopVoice(p,a,b)

Definition at line 192 of file dmusics.h.

◆ IDirectMusicSynth8_Unload

#define IDirectMusicSynth8_Unload (   p,
  a,
  b,
  c 
)    (p)->lpVtbl->Unload(p,a,b,c)

Definition at line 177 of file dmusics.h.

◆ IDirectMusicSynth_Activate

#define IDirectMusicSynth_Activate (   p,
  a 
)    (p)->lpVtbl->Activate(p,a)

Definition at line 120 of file dmusics.h.

◆ IDirectMusicSynth_AddRef

#define IDirectMusicSynth_AddRef (   p)    (p)->lpVtbl->AddRef(p)

Definition at line 107 of file dmusics.h.

◆ IDirectMusicSynth_Close

#define IDirectMusicSynth_Close (   p)    (p)->lpVtbl->Close(p)

Definition at line 111 of file dmusics.h.

◆ IDirectMusicSynth_Download

#define IDirectMusicSynth_Download (   p,
  a,
  b,
  c 
)    (p)->lpVtbl->Download(p,a,b,c)

Definition at line 113 of file dmusics.h.

◆ IDirectMusicSynth_GetAppend

#define IDirectMusicSynth_GetAppend (   p,
  a 
)    (p)->lpVtbl->GetAppend(p,a)

Definition at line 126 of file dmusics.h.

◆ IDirectMusicSynth_GetChannelPriority

#define IDirectMusicSynth_GetChannelPriority (   p,
  a,
  b,
  c 
)    (p)->lpVtbl->GetChannelPriority(p,a,b,c)

Definition at line 124 of file dmusics.h.

◆ IDirectMusicSynth_GetFormat

#define IDirectMusicSynth_GetFormat (   p,
  a,
  b 
)    (p)->lpVtbl->GetFormat(p,a,b)

Definition at line 125 of file dmusics.h.

◆ IDirectMusicSynth_GetLatencyClock

#define IDirectMusicSynth_GetLatencyClock (   p,
  a 
)    (p)->lpVtbl->GetLatencyClock(p,a)

Definition at line 119 of file dmusics.h.

◆ IDirectMusicSynth_GetPortCaps

#define IDirectMusicSynth_GetPortCaps (   p,
  a 
)    (p)->lpVtbl->GetPortCaps(p,a)

Definition at line 117 of file dmusics.h.

◆ IDirectMusicSynth_GetRunningStats

#define IDirectMusicSynth_GetRunningStats (   p,
  a 
)    (p)->lpVtbl->GetRunningStats(p,a)

Definition at line 116 of file dmusics.h.

◆ IDirectMusicSynth_Open

#define IDirectMusicSynth_Open (   p,
  a 
)    (p)->lpVtbl->Open(p,a)

Definition at line 110 of file dmusics.h.

◆ IDirectMusicSynth_PlayBuffer

#define IDirectMusicSynth_PlayBuffer (   p,
  a,
  b,
  c 
)    (p)->lpVtbl->PlayBuffer(p,a,b,c)

Definition at line 115 of file dmusics.h.

◆ IDirectMusicSynth_QueryInterface

#define IDirectMusicSynth_QueryInterface (   p,
  a,
  b 
)    (p)->lpVtbl->QueryInterface(p,a,b)

Definition at line 106 of file dmusics.h.

◆ IDirectMusicSynth_Release

#define IDirectMusicSynth_Release (   p)    (p)->lpVtbl->Release(p)

Definition at line 108 of file dmusics.h.

◆ IDirectMusicSynth_Render

#define IDirectMusicSynth_Render (   p,
  a,
  b,
  c 
)    (p)->lpVtbl->Render(p,a,b,c)

Definition at line 122 of file dmusics.h.

◆ IDirectMusicSynth_SetChannelPriority

#define IDirectMusicSynth_SetChannelPriority (   p,
  a,
  b,
  c 
)    (p)->lpVtbl->SetChannelPriority(p,a,b,c)

Definition at line 123 of file dmusics.h.

◆ IDirectMusicSynth_SetMasterClock

#define IDirectMusicSynth_SetMasterClock (   p,
  a 
)    (p)->lpVtbl->SetMasterClock(p,a)

Definition at line 118 of file dmusics.h.

◆ IDirectMusicSynth_SetNumChannelGroups

#define IDirectMusicSynth_SetNumChannelGroups (   p,
  a 
)    (p)->lpVtbl->SetNumChannelGroups(p,a)

Definition at line 112 of file dmusics.h.

◆ IDirectMusicSynth_SetSynthSink

#define IDirectMusicSynth_SetSynthSink (   p,
  a 
)    (p)->lpVtbl->SetSynthSink(p,a)

Definition at line 121 of file dmusics.h.

◆ IDirectMusicSynth_Unload

#define IDirectMusicSynth_Unload (   p,
  a,
  b,
  c 
)    (p)->lpVtbl->Unload(p,a,b,c)

Definition at line 114 of file dmusics.h.

◆ IDirectMusicSynthSink_Activate

#define IDirectMusicSynthSink_Activate (   p,
  a 
)    (p)->lpVtbl->Activate(p,a)

Definition at line 230 of file dmusics.h.

◆ IDirectMusicSynthSink_AddRef

#define IDirectMusicSynthSink_AddRef (   p)    (p)->lpVtbl->AddRef(p)

Definition at line 224 of file dmusics.h.

◆ IDirectMusicSynthSink_GetDesiredBufferSize

#define IDirectMusicSynthSink_GetDesiredBufferSize (   p,
  a 
)    (p)->lpVtbl->GetDesiredBufferSize(p,a)

Definition at line 234 of file dmusics.h.

◆ IDirectMusicSynthSink_GetLatencyClock

#define IDirectMusicSynthSink_GetLatencyClock (   p,
  a 
)    (p)->lpVtbl->GetLatencyClock(p,a)

Definition at line 229 of file dmusics.h.

◆ IDirectMusicSynthSink_Init

#define IDirectMusicSynthSink_Init (   p,
  a 
)    (p)->lpVtbl->Init(p,a)

Definition at line 227 of file dmusics.h.

◆ IDirectMusicSynthSink_QueryInterface

#define IDirectMusicSynthSink_QueryInterface (   p,
  a,
  b 
)    (p)->lpVtbl->QueryInterface(p,a,b)

Definition at line 223 of file dmusics.h.

◆ IDirectMusicSynthSink_RefTimeToSample

#define IDirectMusicSynthSink_RefTimeToSample (   p,
  a,
  b 
)    (p)->lpVtbl->RefTimeToSample(p,a,b)

Definition at line 232 of file dmusics.h.

◆ IDirectMusicSynthSink_Release

#define IDirectMusicSynthSink_Release (   p)    (p)->lpVtbl->Release(p)

Definition at line 225 of file dmusics.h.

◆ IDirectMusicSynthSink_SampleToRefTime

#define IDirectMusicSynthSink_SampleToRefTime (   p,
  a,
  b 
)    (p)->lpVtbl->SampleToRefTime(p,a,b)

Definition at line 231 of file dmusics.h.

◆ IDirectMusicSynthSink_SetDirectSound

#define IDirectMusicSynthSink_SetDirectSound (   p,
  a,
  b 
)    (p)->lpVtbl->SetDirectSound(p,a,b)

Definition at line 233 of file dmusics.h.

◆ IDirectMusicSynthSink_SetMasterClock

#define IDirectMusicSynthSink_SetMasterClock (   p,
  a 
)    (p)->lpVtbl->SetMasterClock(p,a)

Definition at line 228 of file dmusics.h.

◆ INTERFACE [1/3]

#define INTERFACE   IDirectMusicSynth

Definition at line 202 of file dmusics.h.

◆ INTERFACE [2/3]

#define INTERFACE   IDirectMusicSynth8

Definition at line 202 of file dmusics.h.

◆ INTERFACE [3/3]

#define INTERFACE   IDirectMusicSynthSink

Definition at line 202 of file dmusics.h.

◆ REFRESH_F_LASTBUFFER

#define REFRESH_F_LASTBUFFER   0x1

Definition at line 53 of file dmusics.h.

◆ REGSTR_PATH_SOFTWARESYNTHS

#define REGSTR_PATH_SOFTWARESYNTHS   "Software\\Microsoft\\DirectMusic\\SoftwareSynths"

Definition at line 29 of file dmusics.h.

Typedef Documentation

◆ DMUS_VOICE_STATE

Definition at line 63 of file dmusics.h.

◆ LPDIRECTMUSICSYNTH

typedef struct IDirectMusicSynth* LPDIRECTMUSICSYNTH

Definition at line 41 of file dmusics.h.

◆ LPDIRECTMUSICSYNTH8

typedef struct IDirectMusicSynth8* LPDIRECTMUSICSYNTH8

Definition at line 42 of file dmusics.h.

◆ LPDIRECTMUSICSYNTHSINK

typedef struct IDirectMusicSynthSink* LPDIRECTMUSICSYNTHSINK

Definition at line 43 of file dmusics.h.

◆ LPDMUS_VOICE_STATE

Definition at line 63 of file dmusics.h.

Function Documentation

◆ DECLARE_INTERFACE_() [1/3]

DECLARE_INTERFACE_ ( IDirectMusicSynth  ,
IUnknown   
)

Definition at line 77 of file dmusics.h.

78 {
79  /*** IUnknown methods ***/
83  /*** IDirectMusicSynth methods ***/
86  STDMETHOD(SetNumChannelGroups)(THIS_ DWORD dwGroups) PURE;
87  STDMETHOD(Download)(THIS_ LPHANDLE phDownload, LPVOID pvData, LPBOOL pbFree) PURE;
88  STDMETHOD(Unload)(THIS_ HANDLE hDownload, HRESULT (CALLBACK* lpFreeHandle)(HANDLE,HANDLE), HANDLE hUserData) PURE;
89  STDMETHOD(PlayBuffer)(THIS_ REFERENCE_TIME rt, LPBYTE pbBuffer, DWORD cbBuffer) PURE;
90  STDMETHOD(GetRunningStats)(THIS_ LPDMUS_SYNTHSTATS pStats) PURE;
91  STDMETHOD(GetPortCaps)(THIS_ LPDMUS_PORTCAPS pCaps) PURE;
92  STDMETHOD(SetMasterClock)(THIS_ IReferenceClock *pClock) PURE;
93  STDMETHOD(GetLatencyClock)(THIS_ IReferenceClock **ppClock) PURE;
94  STDMETHOD(Activate)(THIS_ BOOL fEnable) PURE;
95  STDMETHOD(SetSynthSink)(THIS_ struct IDirectMusicSynthSink *pSynthSink) PURE;
96  STDMETHOD(Render)(THIS_ short *pBuffer, DWORD dwLength, LONGLONG llPosition) PURE;
97  STDMETHOD(SetChannelPriority)(THIS_ DWORD dwChannelGroup, DWORD dwChannel, DWORD dwPriority) PURE;
98  STDMETHOD(GetChannelPriority)(THIS_ DWORD dwChannelGroup, DWORD dwChannel, LPDWORD pdwPriority) PURE;
99  STDMETHOD(GetFormat)(THIS_ LPWAVEFORMATEX pWaveFormatEx, LPDWORD pdwWaveFormatExSiz) PURE;
100  STDMETHOD(GetAppend)(THIS_ DWORD *pdwAppend) PURE;
101 };
#define HRESULT
Definition: msvc.h:7
#define REFIID
Definition: guiddef.h:118
#define THIS_
Definition: basetyps.h:65
_In_ BOOLEAN Release
Definition: classpnp.h:929
#define THIS
Definition: basetyps.h:66
VOID NTAPI Unload(PDRIVER_OBJECT DriverObject)
Definition: csqtest.c:160
REFIID riid
Definition: precomp.h:44
static HRESULT QueryInterface(REFIID, void **)
Definition: events.c:2587
#define CALLBACK
Definition: compat.h:27
#define STDMETHOD(m)
Definition: basetyps.h:62
#define Open
Definition: syshdrs.h:62
unsigned char * LPBYTE
Definition: typedefs.h:52
unsigned int BOOL
Definition: ntddk_ex.h:94
_In_ ULONG _In_opt_ PVOID pvData
Definition: winddi.h:3748
PVOID pBuffer
int64_t LONGLONG
Definition: typedefs.h:66
LONGLONG REFERENCE_TIME
Definition: dmusicks.h:9
static DWORD DWORD * dwLength
Definition: fusion.c:85
LONG HRESULT
Definition: typedefs.h:77
PVOID HANDLE
Definition: typedefs.h:71
unsigned long DWORD
Definition: ntddk_ex.h:95
REFIID LPVOID * ppvObject
Definition: precomp.h:44
BOOL * LPBOOL
Definition: windef.h:162
Definition: sacdrv.h:267
#define PURE
Definition: basetyps.h:64
static ULONG WINAPI AddRef(IStream *iface)
Definition: clist.c:90
uint32_t * LPDWORD
Definition: typedefs.h:57
unsigned int ULONG
Definition: retypes.h:1
#define STDMETHOD_(t, m)
Definition: basetyps.h:63

◆ DECLARE_INTERFACE_() [2/3]

DECLARE_INTERFACE_ ( IDirectMusicSynth8  ,
IDirectMusicSynth   
)

Definition at line 134 of file dmusics.h.

135 {
136  /*** IUnknown methods ***/
140  /*** IDirectMusicSynth methods ***/
141  STDMETHOD(Open)(THIS_ LPDMUS_PORTPARAMS pPortParams) PURE;
143  STDMETHOD(SetNumChannelGroups)(THIS_ DWORD dwGroups) PURE;
144  STDMETHOD(Download)(THIS_ LPHANDLE phDownload, LPVOID pvData, LPBOOL pbFree) PURE;
145  STDMETHOD(Unload)(THIS_ HANDLE hDownload, HRESULT (CALLBACK* lpFreeHandle)(HANDLE,HANDLE), HANDLE hUserData) PURE;
146  STDMETHOD(PlayBuffer)(THIS_ REFERENCE_TIME rt, LPBYTE pbBuffer, DWORD cbBuffer) PURE;
147  STDMETHOD(GetRunningStats)(THIS_ LPDMUS_SYNTHSTATS pStats) PURE;
148  STDMETHOD(GetPortCaps)(THIS_ LPDMUS_PORTCAPS pCaps) PURE;
149  STDMETHOD(SetMasterClock)(THIS_ IReferenceClock *pClock) PURE;
150  STDMETHOD(GetLatencyClock)(THIS_ IReferenceClock **ppClock) PURE;
151  STDMETHOD(Activate)(THIS_ BOOL fEnable) PURE;
152  STDMETHOD(SetSynthSink)(THIS_ struct IDirectMusicSynthSink *pSynthSink) PURE;
153  STDMETHOD(Render)(THIS_ short *pBuffer, DWORD dwLength, LONGLONG llPosition) PURE;
154  STDMETHOD(SetChannelPriority)(THIS_ DWORD dwChannelGroup, DWORD dwChannel, DWORD dwPriority) PURE;
155  STDMETHOD(GetChannelPriority)(THIS_ DWORD dwChannelGroup, DWORD dwChannel, LPDWORD pdwPriority) PURE;
156  STDMETHOD(GetFormat)(THIS_ LPWAVEFORMATEX pWaveFormatEx, LPDWORD pdwWaveFormatExSiz) PURE;
157  STDMETHOD(GetAppend)(THIS_ DWORD *pdwAppend) PURE;
158  /*** IDirectMusicSynth8 methods ***/
159  STDMETHOD(PlayVoice)(THIS_ REFERENCE_TIME rt, DWORD dwVoiceId, DWORD dwChannelGroup, DWORD dwChannel, DWORD dwDLId, LONG prPitch, LONG vrVolume, SAMPLE_TIME stVoiceStart, SAMPLE_TIME stLoopStart, SAMPLE_TIME stLoopEnd) PURE;
160  STDMETHOD(StopVoice)(THIS_ REFERENCE_TIME rt, DWORD dwVoiceId) PURE;
161  STDMETHOD(GetVoiceState)(THIS_ DWORD dwVoice[], DWORD cbVoice, DMUS_VOICE_STATE dwVoiceState[]) PURE;
162  STDMETHOD(Refresh)(THIS_ DWORD dwDownloadID, DWORD dwFlags) PURE;
163  STDMETHOD(AssignChannelToBuses)(THIS_ DWORD dwChannelGroup, DWORD dwChannel, LPDWORD pdwBuses, DWORD cBuses) PURE;
164 };
#define HRESULT
Definition: msvc.h:7
#define REFIID
Definition: guiddef.h:118
#define THIS_
Definition: basetyps.h:65
_In_ BOOLEAN Release
Definition: classpnp.h:929
#define THIS
Definition: basetyps.h:66
VOID NTAPI Unload(PDRIVER_OBJECT DriverObject)
Definition: csqtest.c:160
REFIID riid
Definition: precomp.h:44
static HRESULT QueryInterface(REFIID, void **)
Definition: events.c:2587
#define CALLBACK
Definition: compat.h:27
#define STDMETHOD(m)
Definition: basetyps.h:62
#define Open
Definition: syshdrs.h:62
unsigned char * LPBYTE
Definition: typedefs.h:52
unsigned int BOOL
Definition: ntddk_ex.h:94
long LONG
Definition: pedump.c:60
_In_ ULONG _In_opt_ PVOID pvData
Definition: winddi.h:3748
PVOID pBuffer
int64_t LONGLONG
Definition: typedefs.h:66
LONGLONG REFERENCE_TIME
Definition: dmusicks.h:9
static DWORD DWORD * dwLength
Definition: fusion.c:85
LONG HRESULT
Definition: typedefs.h:77
PVOID HANDLE
Definition: typedefs.h:71
unsigned long DWORD
Definition: ntddk_ex.h:95
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
Definition: wincrypt.h:1175
REFIID LPVOID * ppvObject
Definition: precomp.h:44
ULONGLONG SAMPLE_TIME
Definition: dmusicc.h:119
BOOL * LPBOOL
Definition: windef.h:162
Definition: sacdrv.h:267
#define PURE
Definition: basetyps.h:64
static ULONG WINAPI AddRef(IStream *iface)
Definition: clist.c:90
void Refresh(void)
Definition: magnifier.c:317
uint32_t * LPDWORD
Definition: typedefs.h:57
unsigned int ULONG
Definition: retypes.h:1
#define STDMETHOD_(t, m)
Definition: basetyps.h:63

◆ DECLARE_INTERFACE_() [3/3]

DECLARE_INTERFACE_ ( IDirectMusicSynthSink  ,
IUnknown   
)

Definition at line 203 of file dmusics.h.

204 {
205  /*** IUnknown methods ***/
209  /*** IDirectMusicSynthSink methods ***/
210  STDMETHOD(Init)(THIS_ IDirectMusicSynth *pSynth) PURE;
211  STDMETHOD(SetMasterClock)(THIS_ IReferenceClock *pClock) PURE;
212  STDMETHOD(GetLatencyClock)(THIS_ IReferenceClock **ppClock) PURE;
213  STDMETHOD(Activate)(THIS_ BOOL fEnable) PURE;
214  STDMETHOD(SampleToRefTime)(THIS_ LONGLONG llSampleTime, REFERENCE_TIME *prfTime) PURE;
215  STDMETHOD(RefTimeToSample)(THIS_ REFERENCE_TIME rfTime, LONGLONG *pllSampleTime) PURE;
216  STDMETHOD(SetDirectSound)(THIS_ LPDIRECTSOUND pDirectSound, LPDIRECTSOUNDBUFFER pDirectSoundBuffer) PURE;
217  STDMETHOD(GetDesiredBufferSize)(THIS_ LPDWORD pdwBufferSizeInSamples) PURE;
218 };
#define REFIID
Definition: guiddef.h:118
#define THIS_
Definition: basetyps.h:65
_In_ BOOLEAN Release
Definition: classpnp.h:929
#define THIS
Definition: basetyps.h:66
REFIID riid
Definition: precomp.h:44
static HRESULT QueryInterface(REFIID, void **)
Definition: events.c:2587
#define STDMETHOD(m)
Definition: basetyps.h:62
unsigned int BOOL
Definition: ntddk_ex.h:94
int64_t LONGLONG
Definition: typedefs.h:66
LONGLONG REFERENCE_TIME
Definition: dmusicks.h:9
LONG HRESULT
Definition: typedefs.h:77
REFIID LPVOID * ppvObject
Definition: precomp.h:44
struct IDirectSoundBuffer * LPDIRECTSOUNDBUFFER
Definition: dsound.h:76
#define PURE
Definition: basetyps.h:64
static ULONG WINAPI AddRef(IStream *iface)
Definition: clist.c:90
struct IDirectSound * LPDIRECTSOUND
Definition: dsound.h:70
uint32_t * LPDWORD
Definition: typedefs.h:57
unsigned int ULONG
Definition: retypes.h:1
#define STDMETHOD_(t, m)
Definition: basetyps.h:63

◆ DEFINE_GUID() [1/5]

DEFINE_GUID ( IID_IDirectMusicSynth  ,
0x09823661  ,
0x5c85  ,
0x11d2  ,
0xaf  ,
0xa6  ,
0x00  ,
0xaa  ,
0x00  ,
0x24  ,
0xd8  ,
0xb6   
)

◆ DEFINE_GUID() [2/5]

DEFINE_GUID ( IID_IDirectMusicSynth8  ,
0x53cab625  ,
0x2711  ,
0x4c9f  ,
0x9d  ,
0xe7  ,
0x1b  ,
0x7f  ,
0x92  ,
0x5f  ,
0x6f  ,
0xc8   
)

◆ DEFINE_GUID() [3/5]

DEFINE_GUID ( IID_IDirectMusicSynthSink  ,
0x09823663  ,
0x5c85  ,
0x11d2  ,
0xaf  ,
0xa6  ,
0x00  ,
0xaa  ,
0x00  ,
0x24  ,
0xd8  ,
0xb6   
)

◆ DEFINE_GUID() [4/5]

DEFINE_GUID ( GUID_DMUS_PROP_SetSynthSink  ,
0x0a3a5ba5  ,
0x37b6  ,
0x11d2  ,
0xb9  ,
0xf9  ,
0x00  ,
0x00  ,
0xf8  ,
0x75  ,
0xac  ,
0x12   
)

◆ DEFINE_GUID() [5/5]

DEFINE_GUID ( GUID_DMUS_PROP_SinkUsesDSound  ,
0xbe208857  ,
0x8952  ,
0x11d2  ,
0xba  ,
0x1c  ,
0x00  ,
0x00  ,
0xf8  ,
0x75  ,
0xac  ,
0x12   
)