ReactOS 0.4.15-dev-7918-g2a2556c
dmusicc.h File Reference
#include <windows.h>
#include <objbase.h>
#include <mmsystem.h>
#include <dls1.h>
#include <dmerror.h>
#include <dmdls.h>
#include <dsound.h>
#include <dmusbuff.h>
#include <pshpack8.h>
#include <poppack.h>
Include dependency graph for dmusicc.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _DMUS_BUFFERDESC
 
struct  _DMUS_PORTCAPS
 
struct  _DMUS_PORTPARAMS
 
struct  _DMUS_PORTPARAMS8
 
struct  _DMUS_SYNTHSTATS
 
struct  _DMUS_SYNTHSTATS8
 
struct  _DMUS_WAVES_REVERB_PARAMS
 
struct  _DMUS_CLOCKINFO7
 
struct  _DMUS_CLOCKINFO8
 

Macros

#define COM_NO_WINDOWS_H
 
#define IID_IDirectMusicCollection8   IID_IDirectMusicCollection
 
#define IID_IDirectMusicDownload8   IID_IDirectMusicDownload
 
#define IID_IDirectMusicDownloadedInstrument8   IID_IDirectMusicDownloadedInstrument
 
#define IID_IDirectMusicInstrument8   IID_IDirectMusicInstrument
 
#define IID_IDirectMusicPort8   IID_IDirectMusicPort
 
#define IID_IDirectMusicPortDownload8   IID_IDirectMusicPortDownload
 
#define IID_IDirectMusicThru8   IID_IDirectMusicThru
 
#define _DIRECTAUDIO_PRIORITIES_DEFINED_
 
#define DAUD_CRITICAL_VOICE_PRIORITY   0xF0000000
 
#define DAUD_HIGH_VOICE_PRIORITY   0xC0000000
 
#define DAUD_STANDARD_VOICE_PRIORITY   0x80000000
 
#define DAUD_LOW_VOICE_PRIORITY   0x40000000
 
#define DAUD_PERSIST_VOICE_PRIORITY   0x10000000
 
#define DAUD_CHAN1_VOICE_PRIORITY_OFFSET   0x0000000E
 
#define DAUD_CHAN2_VOICE_PRIORITY_OFFSET   0x0000000D
 
#define DAUD_CHAN3_VOICE_PRIORITY_OFFSET   0x0000000C
 
#define DAUD_CHAN4_VOICE_PRIORITY_OFFSET   0x0000000B
 
#define DAUD_CHAN5_VOICE_PRIORITY_OFFSET   0x0000000A
 
#define DAUD_CHAN6_VOICE_PRIORITY_OFFSET   0x00000009
 
#define DAUD_CHAN7_VOICE_PRIORITY_OFFSET   0x00000008
 
#define DAUD_CHAN8_VOICE_PRIORITY_OFFSET   0x00000007
 
#define DAUD_CHAN9_VOICE_PRIORITY_OFFSET   0x00000006
 
#define DAUD_CHAN10_VOICE_PRIORITY_OFFSET   0x0000000F
 
#define DAUD_CHAN11_VOICE_PRIORITY_OFFSET   0x00000005
 
#define DAUD_CHAN12_VOICE_PRIORITY_OFFSET   0x00000004
 
#define DAUD_CHAN13_VOICE_PRIORITY_OFFSET   0x00000003
 
#define DAUD_CHAN14_VOICE_PRIORITY_OFFSET   0x00000002
 
#define DAUD_CHAN15_VOICE_PRIORITY_OFFSET   0x00000001
 
#define DAUD_CHAN16_VOICE_PRIORITY_OFFSET   0x00000000
 
#define DAUD_CHAN1_DEF_VOICE_PRIORITY   (DAUD_STANDARD_VOICE_PRIORITY | DAUD_CHAN1_VOICE_PRIORITY_OFFSET)
 
#define DAUD_CHAN2_DEF_VOICE_PRIORITY   (DAUD_STANDARD_VOICE_PRIORITY | DAUD_CHAN2_VOICE_PRIORITY_OFFSET)
 
#define DAUD_CHAN3_DEF_VOICE_PRIORITY   (DAUD_STANDARD_VOICE_PRIORITY | DAUD_CHAN3_VOICE_PRIORITY_OFFSET)
 
#define DAUD_CHAN4_DEF_VOICE_PRIORITY   (DAUD_STANDARD_VOICE_PRIORITY | DAUD_CHAN4_VOICE_PRIORITY_OFFSET)
 
#define DAUD_CHAN5_DEF_VOICE_PRIORITY   (DAUD_STANDARD_VOICE_PRIORITY | DAUD_CHAN5_VOICE_PRIORITY_OFFSET)
 
#define DAUD_CHAN6_DEF_VOICE_PRIORITY   (DAUD_STANDARD_VOICE_PRIORITY | DAUD_CHAN6_VOICE_PRIORITY_OFFSET)
 
#define DAUD_CHAN7_DEF_VOICE_PRIORITY   (DAUD_STANDARD_VOICE_PRIORITY | DAUD_CHAN7_VOICE_PRIORITY_OFFSET)
 
#define DAUD_CHAN8_DEF_VOICE_PRIORITY   (DAUD_STANDARD_VOICE_PRIORITY | DAUD_CHAN8_VOICE_PRIORITY_OFFSET)
 
#define DAUD_CHAN9_DEF_VOICE_PRIORITY   (DAUD_STANDARD_VOICE_PRIORITY | DAUD_CHAN9_VOICE_PRIORITY_OFFSET)
 
#define DAUD_CHAN10_DEF_VOICE_PRIORITY   (DAUD_STANDARD_VOICE_PRIORITY | DAUD_CHAN10_VOICE_PRIORITY_OFFSET)
 
#define DAUD_CHAN11_DEF_VOICE_PRIORITY   (DAUD_STANDARD_VOICE_PRIORITY | DAUD_CHAN11_VOICE_PRIORITY_OFFSET)
 
#define DAUD_CHAN12_DEF_VOICE_PRIORITY   (DAUD_STANDARD_VOICE_PRIORITY | DAUD_CHAN12_VOICE_PRIORITY_OFFSET)
 
#define DAUD_CHAN13_DEF_VOICE_PRIORITY   (DAUD_STANDARD_VOICE_PRIORITY | DAUD_CHAN13_VOICE_PRIORITY_OFFSET)
 
#define DAUD_CHAN14_DEF_VOICE_PRIORITY   (DAUD_STANDARD_VOICE_PRIORITY | DAUD_CHAN14_VOICE_PRIORITY_OFFSET)
 
#define DAUD_CHAN15_DEF_VOICE_PRIORITY   (DAUD_STANDARD_VOICE_PRIORITY | DAUD_CHAN15_VOICE_PRIORITY_OFFSET)
 
#define DAUD_CHAN16_DEF_VOICE_PRIORITY   (DAUD_STANDARD_VOICE_PRIORITY | DAUD_CHAN16_VOICE_PRIORITY_OFFSET)
 
#define DMUS_CLOCKF_GLOBAL   0x1
 
#define DMUS_EFFECT_NONE   0x0
 
#define DMUS_EFFECT_REVERB   0x1
 
#define DMUS_EFFECT_CHORUS   0x2
 
#define DMUS_EFFECT_DELAY   0x4
 
#define DMUS_MAX_DESCRIPTION   0x80
 
#define DMUS_MAX_DRIVER   0x80
 
#define DMUS_PC_INPUTCLASS   0x0
 
#define DMUS_PC_OUTPUTCLASS   0x1
 
#define DMUS_PC_DLS   0x00000001
 
#define DMUS_PC_EXTERNAL   0x00000002
 
#define DMUS_PC_SOFTWARESYNTH   0x00000004
 
#define DMUS_PC_MEMORYSIZEFIXED   0x00000008
 
#define DMUS_PC_GMINHARDWARE   0x00000010
 
#define DMUS_PC_GSINHARDWARE   0x00000020
 
#define DMUS_PC_XGINHARDWARE   0x00000040
 
#define DMUS_PC_DIRECTSOUND   0x00000080
 
#define DMUS_PC_SHAREABLE   0x00000100
 
#define DMUS_PC_DLS2   0x00000200
 
#define DMUS_PC_AUDIOPATH   0x00000400
 
#define DMUS_PC_WAVE   0x00000800
 
#define DMUS_PC_SYSTEMMEMORY   0x7FFFFFFF
 
#define DMUS_PORT_WINMM_DRIVER   0x0
 
#define DMUS_PORT_USER_MODE_SYNTH   0x1
 
#define DMUS_PORT_KERNEL_MODE   0x2
 
#define DMUS_PORT_FEATURE_AUDIOPATH   0x1
 
#define DMUS_PORT_FEATURE_STREAMING   0x2
 
#define DMUS_PORTPARAMS_VOICES   0x01
 
#define DMUS_PORTPARAMS_CHANNELGROUPS   0x02
 
#define DMUS_PORTPARAMS_AUDIOCHANNELS   0x04
 
#define DMUS_PORTPARAMS_SAMPLERATE   0x08
 
#define DMUS_PORTPARAMS_EFFECTS   0x20
 
#define DMUS_PORTPARAMS_SHARE   0x40
 
#define DMUS_PORTPARAMS_FEATURES   0x80
 
#define DMUS_VOLUME_MAX   2000
 
#define DMUS_VOLUME_MIN   -20000
 
#define DMUS_SYNTHSTATS_VOICES   0x01
 
#define DMUS_SYNTHSTATS_TOTAL_CPU   0x02
 
#define DMUS_SYNTHSTATS_CPU_PER_VOICE   0x04
 
#define DMUS_SYNTHSTATS_LOST_NOTES   0x08
 
#define DMUS_SYNTHSTATS_PEAK_VOLUME   0x10
 
#define DMUS_SYNTHSTATS_FREE_MEMORY   0x20
 
#define DMUS_SYNTHSTATS_SYSTEMMEMORY   DMUS_PC_SYSTEMMEMORY
 
#define DSBUSID_FIRST_SPKR_LOC   0x00000000
 
#define DSBUSID_FRONT_LEFT   0x00000000
 
#define DSBUSID_LEFT   0x00000000
 
#define DSBUSID_FRONT_RIGHT   0x00000001
 
#define DSBUSID_RIGHT   0x00000001
 
#define DSBUSID_FRONT_CENTER   0x00000002
 
#define DSBUSID_LOW_FREQUENCY   0x00000003
 
#define DSBUSID_BACK_LEFT   0x00000004
 
#define DSBUSID_BACK_RIGHT   0x00000005
 
#define DSBUSID_FRONT_LEFT_OF_CENTER   0x00000006
 
#define DSBUSID_FRONT_RIGHT_OF_CENTER   0x00000007
 
#define DSBUSID_BACK_CENTER   0x00000008
 
#define DSBUSID_SIDE_LEFT   0x00000009
 
#define DSBUSID_SIDE_RIGHT   0x0000000A
 
#define DSBUSID_TOP_CENTER   0x0000000B
 
#define DSBUSID_TOP_FRONT_LEFT   0x0000000C
 
#define DSBUSID_TOP_FRONT_CENTER   0x0000000D
 
#define DSBUSID_TOP_FRONT_RIGHT   0x0000000E
 
#define DSBUSID_TOP_BACK_LEFT   0x0000000F
 
#define DSBUSID_TOP_BACK_CENTER   0x00000010
 
#define DSBUSID_TOP_BACK_RIGHT   0x011
 
#define DSBUSID_LAST_SPKR_LOC   0x00000011
 
#define DSBUSID_IS_SPKR_LOC(id)   (((id) >= DSBUSID_FIRST_SPKR_LOC) && ((id) <= DSBUSID_LAST_SPKR_LOC))
 
#define DSBUSID_REVERB_SEND   0x00000040
 
#define DSBUSID_CHORUS_SEND   0x00000041
 
#define DSBUSID_DYNAMIC_0   0x00000200
 
#define DSBUSID_NULL   0xFFFFFFFF
 
#define INTERFACE   IDirectMusic
 
#define IDirectMusic_QueryInterface(p, a, b)   (p)->lpVtbl->QueryInterface(p,a,b)
 
#define IDirectMusic_AddRef(p)   (p)->lpVtbl->AddRef(p)
 
#define IDirectMusic_Release(p)   (p)->lpVtbl->Release(p)
 
#define IDirectMusic_EnumPort(p, a, b)   (p)->lpVtbl->EnumPort(p,a,b)
 
#define IDirectMusic_CreateMusicBuffer(p, a, b, c)   (p)->lpVtbl->CreateMusicBuffer(p,a,b,c)
 
#define IDirectMusic_CreatePort(p, a, b, c, d)   (p)->lpVtbl->CreatePort(p,a,b,c,d)
 
#define IDirectMusic_EnumMasterClock(p, a, b)   (p)->lpVtbl->EnumMasterClock(p,a,b)
 
#define IDirectMusic_GetMasterClock(p, a, b)   (p)->lpVtbl->GetMasterClock(p,a,b)
 
#define IDirectMusic_SetMasterClock(p, a)   (p)->lpVtbl->SetMasterClock(p,a)
 
#define IDirectMusic_Activate(p, a)   (p)->lpVtbl->Activate(p,a)
 
#define IDirectMusic_GetDefaultPort(p, a)   (p)->lpVtbl->GetDefaultPort(p,a)
 
#define IDirectMusic_SetDirectSound(p, a, b)   (p)->lpVtbl->SetDirectSound(p,a,b)
 
#define INTERFACE   IDirectMusic8
 
#define IDirectMusic8_QueryInterface(p, a, b)   (p)->lpVtbl->QueryInterface(p,a,b)
 
#define IDirectMusic8_AddRef(p)   (p)->lpVtbl->AddRef(p)
 
#define IDirectMusic8_Release(p)   (p)->lpVtbl->Release(p)
 
#define IDirectMusic8_EnumPort(p, a, b)   (p)->lpVtbl->EnumPort(p,a,b)
 
#define IDirectMusic8_CreateMusicBuffer(p, a, b, c)   (p)->lpVtbl->CreateMusicBuffer(p,a,b,c)
 
#define IDirectMusic8_CreatePort(p, a, b, c, d)   (p)->lpVtbl->CreatePort(p,a,b,c,d)
 
#define IDirectMusic8_EnumMasterClock(p, a, b)   (p)->lpVtbl->EnumMasterClock(p,a,b)
 
#define IDirectMusic8_GetMasterClock(p, a, b)   (p)->lpVtbl->GetMasterClock(p,a,b)
 
#define IDirectMusic8_SetMasterClock(p, a)   (p)->lpVtbl->SetMasterClock(p,a)
 
#define IDirectMusic8_Activate(p, a)   (p)->lpVtbl->Activate(p,a)
 
#define IDirectMusic8_GetDefaultPort(p, a)   (p)->lpVtbl->GetDefaultPort(p,a)
 
#define IDirectMusic8_SetDirectSound(p, a, b)   (p)->lpVtbl->SetDirectSound(p,a,b)
 
#define IDirectMusic8_SetExternalMasterClock(p, a)   (p)->lpVtbl->SetExternalMasterClock(p,a)
 
#define INTERFACE   IDirectMusicBuffer
 
#define IDirectMusicBuffer_QueryInterface(p, a, b)   (p)->lpVtbl->QueryInterface(p,a,b)
 
#define IDirectMusicBuffer_AddRef(p)   (p)->lpVtbl->AddRef(p)
 
#define IDirectMusicBuffer_Release(p)   (p)->lpVtbl->Release(p)
 
#define IDirectMusicBuffer_Flush(p)   (p)->lpVtbl->Flush(p)
 
#define IDirectMusicBuffer_TotalTime(p, a)   (p)->lpVtbl->TotalTime(p,a)
 
#define IDirectMusicBuffer_PackStructured(p, a, b, c)   (p)->lpVtbl->PackStructured(p,a,b,c)
 
#define IDirectMusicBuffer_PackUnstructured(p, a, b, c, d)   (p)->lpVtbl->PackUnstructured(p,a,b,c,d)
 
#define IDirectMusicBuffer_ResetReadPtr(p)   (p)->lpVtbl->ResetReadPtr(p)
 
#define IDirectMusicBuffer_GetNextEvent(p, a, b, c, d)   (p)->lpVtbl->GetNextEvent(p,a,b,c,d)
 
#define IDirectMusicBuffer_GetRawBufferPtr(p, a)   (p)->lpVtbl->GetRawBufferPtr(p,a)
 
#define IDirectMusicBuffer_GetStartTime(p, a)   (p)->lpVtbl->GetStartTime(p,a)
 
#define IDirectMusicBuffer_GetUsedBytes(p, a)   (p)->lpVtbl->GetUsedBytes(p,a)
 
#define IDirectMusicBuffer_GetMaxBytes(p, a)   (p)->lpVtbl->GetMaxBytes(p,a)
 
#define IDirectMusicBuffer_GetBufferFormat(p, a)   (p)->lpVtbl->GetBufferFormat(p,a)
 
#define IDirectMusicBuffer_SetStartTime(p, a)   (p)->lpVtbl->SetStartTime(p,a)
 
#define IDirectMusicBuffer_SetUsedBytes(p, a)   (p)->lpVtbl->SetUsedBytes(p,a)
 
#define INTERFACE   IDirectMusicInstrument
 
#define IDirectMusicInstrument_QueryInterface(p, a, b)   (p)->lpVtbl->QueryInterface(p,a,b)
 
#define IDirectMusicInstrument_AddRef(p)   (p)->lpVtbl->AddRef(p)
 
#define IDirectMusicInstrument_Release(p)   (p)->lpVtbl->Release(p)
 
#define IDirectMusicInstrument_GetPatch(p, a)   (p)->lpVtbl->GetPatch(p,a)
 
#define IDirectMusicInstrument_SetPatch(p, a)   (p)->lpVtbl->SetPatch(p,a)
 
#define INTERFACE   IDirectMusicDownloadedInstrument
 
#define IDirectMusicDownloadedInstrument_QueryInterface(p, a, b)   (p)->lpVtbl->QueryInterface(p,a,b)
 
#define IDirectMusicDownloadedInstrument_AddRef(p)   (p)->lpVtbl->AddRef(p)
 
#define IDirectMusicDownloadedInstrument_Release(p)   (p)->lpVtbl->Release(p)
 
#define INTERFACE   IDirectMusicCollection
 
#define IDirectMusicCollection_QueryInterface(p, a, b)   (p)->lpVtbl->QueryInterface(p,a,b)
 
#define IDirectMusicCollection_AddRef(p)   (p)->lpVtbl->AddRef(p)
 
#define IDirectMusicCollection_Release(p)   (p)->lpVtbl->Release(p)
 
#define IDirectMusicCollection_GetInstrument(p, a, b)   (p)->lpVtbl->GetInstrument(p,a,b)
 
#define IDirectMusicCollection_EnumInstrument(p, a, b, c, d)   (p)->lpVtbl->EnumInstrument(p,a,b,c,d)
 
#define INTERFACE   IDirectMusicDownload
 
#define IDirectMusicDownload_QueryInterface(p, a, b)   (p)->lpVtbl->QueryInterface(p,a,b)
 
#define IDirectMusicDownload_AddRef(p)   (p)->lpVtbl->AddRef(p)
 
#define IDirectMusicDownload_Release(p)   (p)->lpVtbl->Release(p)
 
#define IDirectMusicDownload_GetBuffer(p, a, b)   (p)->lpVtbl->GetBuffer(p,a,b)
 
#define INTERFACE   IDirectMusicPortDownload
 
#define IDirectMusicPortDownload_QueryInterface(p, a, b)   (p)->lpVtbl->QueryInterface(p,a,b)
 
#define IDirectMusicPortDownload_AddRef(p)   (p)->lpVtbl->AddRef(p)
 
#define IDirectMusicPortDownload_Release(p)   (p)->lpVtbl->Release(p)
 
#define IDirectMusicPortDownload_GetBuffer(p, a, b)   (p)->lpVtbl->GetBuffer(p,a,b)
 
#define IDirectMusicPortDownload_AllocateBuffer(p, a, b)   (p)->lpVtbl->AllocateBuffer(p,a,b)
 
#define IDirectMusicPortDownload_GetDLId(p, a, b)   (p)->lpVtbl->GetDLId(p,a,b)
 
#define IDirectMusicPortDownload_GetAppend(p, a)   (p)->lpVtbl->GetAppend(p,a)
 
#define IDirectMusicPortDownload_Download(p, a)   (p)->lpVtbl->Download(p,a)
 
#define IDirectMusicPortDownload_Unload(p, a)   (p)->lpVtbl->GetBuffer(p,a)
 
#define INTERFACE   IDirectMusicPort
 
#define IDirectMusicPort_QueryInterface(p, a, b)   (p)->lpVtbl->QueryInterface(p,a,b)
 
#define IDirectMusicPort_AddRef(p)   (p)->lpVtbl->AddRef(p)
 
#define IDirectMusicPort_Release(p)   (p)->lpVtbl->Release(p)
 
#define IDirectMusicPort_PlayBuffer(p, a)   (p)->lpVtbl->PlayBuffer(p,a)
 
#define IDirectMusicPort_SetReadNotificationHandle(p, a)   (p)->lpVtbl->SetReadNotificationHandle(p,a)
 
#define IDirectMusicPort_Read(p, a)   (p)->lpVtbl->Read(p,a)
 
#define IDirectMusicPort_DownloadInstrument(p, a, b, c, d)   (p)->lpVtbl->DownloadInstrument(p,a,b,c,d)
 
#define IDirectMusicPort_UnloadInstrument(p, a)   (p)->lpVtbl->UnloadInstrument(p,a)
 
#define IDirectMusicPort_GetLatencyClock(p, a)   (p)->lpVtbl->GetLatencyClock(p,a)
 
#define IDirectMusicPort_GetRunningStats(p, a)   (p)->lpVtbl->GetRunningStats(p,a)
 
#define IDirectMusicPort_Compact(p)   (p)->lpVtbl->Compact(p)
 
#define IDirectMusicPort_GetCaps(p, a)   (p)->lpVtbl->GetCaps(p,a)
 
#define IDirectMusicPort_DeviceIoControl(p, a, b, c, d, e, f, g)   (p)->lpVtbl->DeviceIoControl(p,a,b,c,d,e,f,g)
 
#define IDirectMusicPort_SetNumChannelGroups(p, a)   (p)->lpVtbl->SetNumChannelGroups(p,a)
 
#define IDirectMusicPort_GetNumChannelGroups(p, a)   (p)->lpVtbl->GetNumChannelGroups(p,a)
 
#define IDirectMusicPort_Activate(p, a)   (p)->lpVtbl->Activate(p,a)
 
#define IDirectMusicPort_SetChannelPriority(p, a, b, c)   (p)->lpVtbl->SetChannelPriority(p,a,b,c)
 
#define IDirectMusicPort_GetChannelPriority(p, a, b, c)   (p)->lpVtbl->GetChannelPriority(p,a,b,c)
 
#define IDirectMusicPort_SetDirectSound(p, a, b)   (p)->lpVtbl->SetDirectSound(p,a,b)
 
#define IDirectMusicPort_GetFormat(p, a, b, c)   (p)->lpVtbl->GetFormat(p,a,b,c)
 
#define INTERFACE   IDirectMusicThru
 
#define IDirectMusicThru_QueryInterface(p, a, b)   (p)->lpVtbl->QueryInterface(p,a,b)
 
#define IDirectMusicThru_AddRef(p)   (p)->lpVtbl->AddRef(p)
 
#define IDirectMusicThru_Release(p)   (p)->lpVtbl->Release(p)
 
#define IDirectMusicThru_ThruChannel(p, a, b, c, d, e)   (p)->lpVtbl->ThruChannel(p,a,b,c,d,e)
 
#define __IReferenceClock_INTERFACE_DEFINED__
 
#define INTERFACE   IReferenceClock
 
#define IReferenceClock_QueryInterface(p, a, b)   (p)->lpVtbl->QueryInterface(p,a,b)
 
#define IReferenceClock_AddRef(p)   (p)->lpVtbl->AddRef(p)
 
#define IReferenceClock_Release(p)   (p)->lpVtbl->Release(p)
 
#define IReferenceClock_GetTime(p, a)   (p)->lpVtbl->GetTime(p,a)
 
#define IReferenceClock_AdviseTime(p, a, b, c, d)   (p)->lpVtbl->AdviseTime(p,a,b,c,d)
 
#define IReferenceClock_AdvisePeriodic(p, a, b, c, d)   (p)->lpVtbl->AdvisePeriodic(p,a,b,c,d)
 
#define IReferenceClock_Unadvise(p, a)   (p)->lpVtbl->Unadvise(p,a)
 

Typedefs

typedef struct IDirectMusic * LPDIRECTMUSIC
 
typedef struct IDirectMusic8 * LPDIRECTMUSIC8
 
typedef struct IDirectMusicBuffer * LPDIRECTMUSICBUFFER
 
typedef struct IDirectMusicBuffer IDirectMusicBuffer8
 
typedef struct IDirectMusicBuffer * LPDIRECTMUSICBUFFER8
 
typedef struct IDirectMusicInstrument * LPDIRECTMUSICINSTRUMENT
 
typedef struct IDirectMusicInstrument IDirectMusicInstrument8
 
typedef struct IDirectMusicInstrument * LPDIRECTMUSICINSTRUMENT8
 
typedef struct IDirectMusicDownloadedInstrument * LPDIRECTMUSICDOWNLOADEDINSTRUMENT
 
typedef struct IDirectMusicDownloadedInstrument IDirectMusicDownloadedInstrument8
 
typedef struct IDirectMusicDownloadedInstrument * LPDIRECTMUSICDOWNLOADEDINSTRUMENT8
 
typedef struct IDirectMusicCollection * LPDIRECTMUSICCOLLECTION
 
typedef struct IDirectMusicCollection IDirectMusicCollection8
 
typedef struct IDirectMusicCollection * LPDIRECTMUSICCOLLECTION8
 
typedef struct IDirectMusicDownload * LPDIRECTMUSICDOWNLOAD
 
typedef struct IDirectMusicDownload IDirectMusicDownload8
 
typedef struct IDirectMusicDownload * LPDIRECTMUSICDOWNLOAD8
 
typedef struct IDirectMusicPortDownload * LPDIRECTMUSICPORTDOWNLOAD
 
typedef struct IDirectMusicPortDownload IDirectMusicPortDownload8
 
typedef struct IDirectMusicPortDownload * LPDIRECTMUSICPORTDOWNLOAD8
 
typedef struct IDirectMusicPort * LPDIRECTMUSICPORT
 
typedef struct IDirectMusicPort IDirectMusicPort8
 
typedef struct IDirectMusicPort * LPDIRECTMUSICPORT8
 
typedef struct IDirectMusicThru * LPDIRECTMUSICTHRU
 
typedef struct IDirectMusicThru IDirectMusicThru8
 
typedef struct IDirectMusicThru * LPDIRECTMUSICTHRU8
 
typedef struct IReferenceClockLPREFERENCECLOCK
 
typedef ULONGLONG SAMPLE_TIME
 
typedef ULONGLONGLPSAMPLE_TIME
 
typedef ULONGLONG SAMPLE_POSITION
 
typedef ULONGLONGLPSAMPLE_POSITION
 
typedef struct _DMUS_BUFFERDESC DMUS_BUFFERDESC
 
typedef struct _DMUS_BUFFERDESCLPDMUS_BUFFERDESC
 
typedef struct _DMUS_PORTCAPS DMUS_PORTCAPS
 
typedef struct _DMUS_PORTCAPSLPDMUS_PORTCAPS
 
typedef struct _DMUS_PORTPARAMS DMUS_PORTPARAMS7
 
typedef struct _DMUS_PORTPARAMSLPDMUS_PORTPARAMS7
 
typedef struct _DMUS_PORTPARAMS8 DMUS_PORTPARAMS8
 
typedef struct _DMUS_PORTPARAMS8LPDMUS_PORTPARAMS8
 
typedef DMUS_PORTPARAMS8 DMUS_PORTPARAMS
 
typedef DMUS_PORTPARAMS8LPDMUS_PORTPARAMS
 
typedef struct _DMUS_SYNTHSTATS DMUS_SYNTHSTATS
 
typedef struct _DMUS_SYNTHSTATSLPDMUS_SYNTHSTATS
 
typedef struct _DMUS_SYNTHSTATS8 DMUS_SYNTHSTATS8
 
typedef struct _DMUS_SYNTHSTATS8LPDMUS_SYNTHSTATS8
 
typedef struct _DMUS_WAVES_REVERB_PARAMS DMUS_WAVES_REVERB_PARAMS
 
typedef struct _DMUS_WAVES_REVERB_PARAMSLPDMUS_WAVES_REVERB_PARAMS
 
typedef struct _DMUS_CLOCKINFO7 DMUS_CLOCKINFO7
 
typedef struct _DMUS_CLOCKINFO7LPDMUS_CLOCKINFO7
 
typedef struct _DMUS_CLOCKINFO8 DMUS_CLOCKINFO8
 
typedef struct _DMUS_CLOCKINFO8LPDMUS_CLOCKINFO8
 
typedef DMUS_CLOCKINFO8 DMUS_CLOCKINFO
 
typedef DMUS_CLOCKINFO8LPDMUS_CLOCKINFO
 

Enumerations

enum  DMUS_CLOCKTYPE { DMUS_CLOCK_SYSTEM = 0x0 , DMUS_CLOCK_WAVE = 0x1 }
 

Functions

 DEFINE_GUID (CLSID_DirectMusic, 0x636b9f10, 0x0c7d, 0x11d1, 0x95, 0xb2, 0x00, 0x20, 0xaf, 0xdc, 0x74, 0x21)
 
 DEFINE_GUID (CLSID_DirectMusicCollection, 0x480ff4b0, 0x28b2, 0x11d1, 0xbe, 0xf7, 0x00, 0xc0, 0x4f, 0xbf, 0x8f, 0xef)
 
 DEFINE_GUID (CLSID_DirectMusicSynth, 0x58c2b4d0, 0x46e7, 0x11d1, 0x89, 0xac, 0x00, 0xa0, 0xc9, 0x05, 0x41, 0x29)
 
 DEFINE_GUID (IID_IDirectMusic, 0x6536115a, 0x7b2d, 0x11d2, 0xba, 0x18, 0x00, 0x00, 0xf8, 0x75, 0xac, 0x12)
 
 DEFINE_GUID (IID_IDirectMusic2, 0x6fc2cae1, 0xbc78, 0x11d2, 0xaf, 0xa6, 0x00, 0xaa, 0x00, 0x24, 0xd8, 0xb6)
 
 DEFINE_GUID (IID_IDirectMusic8, 0x2d3629f7, 0x813d, 0x4939, 0x85, 0x08, 0xf0, 0x5c, 0x6b, 0x75, 0xfd, 0x97)
 
 DEFINE_GUID (IID_IDirectMusicBuffer, 0xd2ac2878, 0xb39b, 0x11d1, 0x87, 0x04, 0x00, 0x60, 0x08, 0x93, 0xb1, 0xbd)
 
 DEFINE_GUID (IID_IDirectMusicCollection, 0xd2ac287c, 0xb39b, 0x11d1, 0x87, 0x04, 0x00, 0x60, 0x08, 0x93, 0xb1, 0xbd)
 
 DEFINE_GUID (IID_IDirectMusicDownload, 0xd2ac287b, 0xb39b, 0x11d1, 0x87, 0x04, 0x00, 0x60, 0x08, 0x93, 0xb1, 0xbd)
 
 DEFINE_GUID (IID_IDirectMusicDownloadedInstrument, 0xd2ac287e, 0xb39b, 0x11d1, 0x87, 0x04, 0x00, 0x60, 0x08, 0x93, 0xb1, 0xbd)
 
 DEFINE_GUID (IID_IDirectMusicInstrument, 0xd2ac287d, 0xb39b, 0x11d1, 0x87, 0x04, 0x00, 0x60, 0x08, 0x93, 0xb1, 0xbd)
 
 DEFINE_GUID (IID_IDirectMusicPort, 0x08f2d8c9, 0x37c2, 0x11d2, 0xb9, 0xf9, 0x00, 0x00, 0xf8, 0x75, 0xac, 0x12)
 
 DEFINE_GUID (IID_IDirectMusicPortDownload, 0xd2ac287a, 0xb39b, 0x11d1, 0x87, 0x04, 0x00, 0x60, 0x08, 0x93, 0xb1, 0xbd)
 
 DEFINE_GUID (IID_IDirectMusicThru, 0xced153e7, 0x3606, 0x11d2, 0xb9, 0xf9, 0x00, 0x00, 0xf8, 0x75, 0xac, 0x12)
 
 DEFINE_GUID (GUID_DMUS_PROP_GM_Hardware, 0x178f2f24, 0xc364, 0x11d1, 0xa7, 0x60, 0x00, 0x00, 0xf8, 0x75, 0xac, 0x12)
 
 DEFINE_GUID (GUID_DMUS_PROP_GS_Capable, 0x6496aba2, 0x61b0, 0x11d2, 0xaf, 0xa6, 0x00, 0xaa, 0x00, 0x24, 0xd8, 0xb6)
 
 DEFINE_GUID (GUID_DMUS_PROP_GS_Hardware, 0x178f2f25, 0xc364, 0x11d1, 0xa7, 0x60, 0x00, 0x00, 0xf8, 0x75, 0xac, 0x12)
 
 DEFINE_GUID (GUID_DMUS_PROP_DLS1, 0x178f2f27, 0xc364, 0x11d1, 0xa7, 0x60, 0x00, 0x00, 0xf8, 0x75, 0xac, 0x12)
 
 DEFINE_GUID (GUID_DMUS_PROP_DLS2, 0xf14599e5, 0x4689, 0x11d2, 0xaf, 0xa6, 0x00, 0xaa, 0x00, 0x24, 0xd8, 0xb6)
 
 DEFINE_GUID (GUID_DMUS_PROP_Effects, 0xcda8d611, 0x684a, 0x11d2, 0x87, 0x1e, 0x00, 0x60, 0x08, 0x93, 0xb1, 0xbd)
 
 DEFINE_GUID (GUID_DMUS_PROP_INSTRUMENT2, 0x865fd372, 0x9f67, 0x11d2, 0x87, 0x2a, 0x00, 0x60, 0x08, 0x93, 0xb1, 0xbd)
 
 DEFINE_GUID (GUID_DMUS_PROP_LegacyCaps, 0xcfa7cdc2, 0x00a1, 0x11d2, 0xaa, 0xd5, 0x00, 0x00, 0xf8, 0x75, 0xac, 0x12)
 
 DEFINE_GUID (GUID_DMUS_PROP_MemorySize, 0x178f2f28, 0xc364, 0x11d1, 0xa7, 0x60, 0x00, 0x00, 0xf8, 0x75, 0xac, 0x12)
 
 DEFINE_GUID (GUID_DMUS_PROP_SampleMemorySize, 0x178f2f28, 0xc364, 0x11d1, 0xa7, 0x60, 0x00, 0x00, 0xf8, 0x75, 0xac, 0x12)
 
 DEFINE_GUID (GUID_DMUS_PROP_SamplePlaybackRate, 0x2a91f713, 0xa4bf, 0x11d2, 0xbb, 0xdf, 0x00, 0x60, 0x08, 0x33, 0xdb, 0xd8)
 
 DEFINE_GUID (GUID_DMUS_PROP_SynthSink_DSOUND, 0x0aa97844, 0xc877, 0x11d1, 0x87, 0x0c, 0x00, 0x60, 0x08, 0x93, 0xb1, 0xbd)
 
 DEFINE_GUID (GUID_DMUS_PROP_SynthSink_WAVE, 0x0aa97845, 0xc877, 0x11d1, 0x87, 0x0c, 0x00, 0x60, 0x08, 0x93, 0xb1, 0xbd)
 
 DEFINE_GUID (GUID_DMUS_PROP_Volume, 0xfedfae25, 0xe46e, 0x11d1, 0xaa, 0xce, 0x00, 0x00, 0xf8, 0x75, 0xac, 0x12)
 
 DEFINE_GUID (GUID_DMUS_PROP_WavesReverb, 0x04cb5622, 0x32e5, 0x11d2, 0xaf, 0xa6, 0x00, 0xaa, 0x00, 0x24, 0xd8, 0xb6)
 
 DEFINE_GUID (GUID_DMUS_PROP_WriteLatency, 0x268a0fa0, 0x60f2, 0x11d2, 0xaf, 0xa6, 0x00, 0xaa, 0x00, 0x24, 0xd8, 0xb6)
 
 DEFINE_GUID (GUID_DMUS_PROP_WritePeriod, 0x268a0fa1, 0x60f2, 0x11d2, 0xaf, 0xa6, 0x00, 0xaa, 0x00, 0x24, 0xd8, 0xb6)
 
 DEFINE_GUID (GUID_DMUS_PROP_XG_Capable, 0x6496aba1, 0x61b0, 0x11d2, 0xaf, 0xa6, 0x00, 0xaa, 0x00, 0x24, 0xd8, 0xb6)
 
 DEFINE_GUID (GUID_DMUS_PROP_XG_Hardware, 0x178f2f26, 0xc364, 0x11d1, 0xa7, 0x60, 0x00, 0x00, 0xf8, 0x75, 0xac, 0x12)
 
 DECLARE_INTERFACE_ (IDirectMusic, IUnknown)
 
 DECLARE_INTERFACE_ (IDirectMusic8, IDirectMusic)
 
 DECLARE_INTERFACE_ (IDirectMusicBuffer, IUnknown)
 
 DECLARE_INTERFACE_ (IDirectMusicInstrument, IUnknown)
 
 DECLARE_INTERFACE_ (IDirectMusicDownloadedInstrument, IUnknown)
 
 DECLARE_INTERFACE_ (IDirectMusicCollection, IUnknown)
 
 DECLARE_INTERFACE_ (IDirectMusicDownload, IUnknown)
 
 DECLARE_INTERFACE_ (IDirectMusicPortDownload, IUnknown)
 
 DECLARE_INTERFACE_ (IDirectMusicPort, IUnknown)
 
 DECLARE_INTERFACE_ (IDirectMusicThru, IUnknown)
 
 DEFINE_GUID (IID_IReferenceClock, 0x56a86897, 0x0ad4, 0x11ce, 0xb0, 0x3a, 0x00, 0x20, 0xaf, 0x0b, 0xa7, 0x70)
 
 DECLARE_INTERFACE_ (IReferenceClock, IUnknown)
 

Macro Definition Documentation

◆ __IReferenceClock_INTERFACE_DEFINED__

#define __IReferenceClock_INTERFACE_DEFINED__

Definition at line 727 of file dmusicc.h.

◆ _DIRECTAUDIO_PRIORITIES_DEFINED_

#define _DIRECTAUDIO_PRIORITIES_DEFINED_

Definition at line 127 of file dmusicc.h.

◆ COM_NO_WINDOWS_H

#define COM_NO_WINDOWS_H

Definition at line 27 of file dmusicc.h.

◆ DAUD_CHAN10_DEF_VOICE_PRIORITY

#define DAUD_CHAN10_DEF_VOICE_PRIORITY   (DAUD_STANDARD_VOICE_PRIORITY | DAUD_CHAN10_VOICE_PRIORITY_OFFSET)

Definition at line 161 of file dmusicc.h.

◆ DAUD_CHAN10_VOICE_PRIORITY_OFFSET

#define DAUD_CHAN10_VOICE_PRIORITY_OFFSET   0x0000000F

Definition at line 144 of file dmusicc.h.

◆ DAUD_CHAN11_DEF_VOICE_PRIORITY

#define DAUD_CHAN11_DEF_VOICE_PRIORITY   (DAUD_STANDARD_VOICE_PRIORITY | DAUD_CHAN11_VOICE_PRIORITY_OFFSET)

Definition at line 162 of file dmusicc.h.

◆ DAUD_CHAN11_VOICE_PRIORITY_OFFSET

#define DAUD_CHAN11_VOICE_PRIORITY_OFFSET   0x00000005

Definition at line 145 of file dmusicc.h.

◆ DAUD_CHAN12_DEF_VOICE_PRIORITY

#define DAUD_CHAN12_DEF_VOICE_PRIORITY   (DAUD_STANDARD_VOICE_PRIORITY | DAUD_CHAN12_VOICE_PRIORITY_OFFSET)

Definition at line 163 of file dmusicc.h.

◆ DAUD_CHAN12_VOICE_PRIORITY_OFFSET

#define DAUD_CHAN12_VOICE_PRIORITY_OFFSET   0x00000004

Definition at line 146 of file dmusicc.h.

◆ DAUD_CHAN13_DEF_VOICE_PRIORITY

#define DAUD_CHAN13_DEF_VOICE_PRIORITY   (DAUD_STANDARD_VOICE_PRIORITY | DAUD_CHAN13_VOICE_PRIORITY_OFFSET)

Definition at line 164 of file dmusicc.h.

◆ DAUD_CHAN13_VOICE_PRIORITY_OFFSET

#define DAUD_CHAN13_VOICE_PRIORITY_OFFSET   0x00000003

Definition at line 147 of file dmusicc.h.

◆ DAUD_CHAN14_DEF_VOICE_PRIORITY

#define DAUD_CHAN14_DEF_VOICE_PRIORITY   (DAUD_STANDARD_VOICE_PRIORITY | DAUD_CHAN14_VOICE_PRIORITY_OFFSET)

Definition at line 165 of file dmusicc.h.

◆ DAUD_CHAN14_VOICE_PRIORITY_OFFSET

#define DAUD_CHAN14_VOICE_PRIORITY_OFFSET   0x00000002

Definition at line 148 of file dmusicc.h.

◆ DAUD_CHAN15_DEF_VOICE_PRIORITY

#define DAUD_CHAN15_DEF_VOICE_PRIORITY   (DAUD_STANDARD_VOICE_PRIORITY | DAUD_CHAN15_VOICE_PRIORITY_OFFSET)

Definition at line 166 of file dmusicc.h.

◆ DAUD_CHAN15_VOICE_PRIORITY_OFFSET

#define DAUD_CHAN15_VOICE_PRIORITY_OFFSET   0x00000001

Definition at line 149 of file dmusicc.h.

◆ DAUD_CHAN16_DEF_VOICE_PRIORITY

#define DAUD_CHAN16_DEF_VOICE_PRIORITY   (DAUD_STANDARD_VOICE_PRIORITY | DAUD_CHAN16_VOICE_PRIORITY_OFFSET)

Definition at line 167 of file dmusicc.h.

◆ DAUD_CHAN16_VOICE_PRIORITY_OFFSET

#define DAUD_CHAN16_VOICE_PRIORITY_OFFSET   0x00000000

Definition at line 150 of file dmusicc.h.

◆ DAUD_CHAN1_DEF_VOICE_PRIORITY

#define DAUD_CHAN1_DEF_VOICE_PRIORITY   (DAUD_STANDARD_VOICE_PRIORITY | DAUD_CHAN1_VOICE_PRIORITY_OFFSET)

Definition at line 152 of file dmusicc.h.

◆ DAUD_CHAN1_VOICE_PRIORITY_OFFSET

#define DAUD_CHAN1_VOICE_PRIORITY_OFFSET   0x0000000E

Definition at line 135 of file dmusicc.h.

◆ DAUD_CHAN2_DEF_VOICE_PRIORITY

#define DAUD_CHAN2_DEF_VOICE_PRIORITY   (DAUD_STANDARD_VOICE_PRIORITY | DAUD_CHAN2_VOICE_PRIORITY_OFFSET)

Definition at line 153 of file dmusicc.h.

◆ DAUD_CHAN2_VOICE_PRIORITY_OFFSET

#define DAUD_CHAN2_VOICE_PRIORITY_OFFSET   0x0000000D

Definition at line 136 of file dmusicc.h.

◆ DAUD_CHAN3_DEF_VOICE_PRIORITY

#define DAUD_CHAN3_DEF_VOICE_PRIORITY   (DAUD_STANDARD_VOICE_PRIORITY | DAUD_CHAN3_VOICE_PRIORITY_OFFSET)

Definition at line 154 of file dmusicc.h.

◆ DAUD_CHAN3_VOICE_PRIORITY_OFFSET

#define DAUD_CHAN3_VOICE_PRIORITY_OFFSET   0x0000000C

Definition at line 137 of file dmusicc.h.

◆ DAUD_CHAN4_DEF_VOICE_PRIORITY

#define DAUD_CHAN4_DEF_VOICE_PRIORITY   (DAUD_STANDARD_VOICE_PRIORITY | DAUD_CHAN4_VOICE_PRIORITY_OFFSET)

Definition at line 155 of file dmusicc.h.

◆ DAUD_CHAN4_VOICE_PRIORITY_OFFSET

#define DAUD_CHAN4_VOICE_PRIORITY_OFFSET   0x0000000B

Definition at line 138 of file dmusicc.h.

◆ DAUD_CHAN5_DEF_VOICE_PRIORITY

#define DAUD_CHAN5_DEF_VOICE_PRIORITY   (DAUD_STANDARD_VOICE_PRIORITY | DAUD_CHAN5_VOICE_PRIORITY_OFFSET)

Definition at line 156 of file dmusicc.h.

◆ DAUD_CHAN5_VOICE_PRIORITY_OFFSET

#define DAUD_CHAN5_VOICE_PRIORITY_OFFSET   0x0000000A

Definition at line 139 of file dmusicc.h.

◆ DAUD_CHAN6_DEF_VOICE_PRIORITY

#define DAUD_CHAN6_DEF_VOICE_PRIORITY   (DAUD_STANDARD_VOICE_PRIORITY | DAUD_CHAN6_VOICE_PRIORITY_OFFSET)

Definition at line 157 of file dmusicc.h.

◆ DAUD_CHAN6_VOICE_PRIORITY_OFFSET

#define DAUD_CHAN6_VOICE_PRIORITY_OFFSET   0x00000009

Definition at line 140 of file dmusicc.h.

◆ DAUD_CHAN7_DEF_VOICE_PRIORITY

#define DAUD_CHAN7_DEF_VOICE_PRIORITY   (DAUD_STANDARD_VOICE_PRIORITY | DAUD_CHAN7_VOICE_PRIORITY_OFFSET)

Definition at line 158 of file dmusicc.h.

◆ DAUD_CHAN7_VOICE_PRIORITY_OFFSET

#define DAUD_CHAN7_VOICE_PRIORITY_OFFSET   0x00000008

Definition at line 141 of file dmusicc.h.

◆ DAUD_CHAN8_DEF_VOICE_PRIORITY

#define DAUD_CHAN8_DEF_VOICE_PRIORITY   (DAUD_STANDARD_VOICE_PRIORITY | DAUD_CHAN8_VOICE_PRIORITY_OFFSET)

Definition at line 159 of file dmusicc.h.

◆ DAUD_CHAN8_VOICE_PRIORITY_OFFSET

#define DAUD_CHAN8_VOICE_PRIORITY_OFFSET   0x00000007

Definition at line 142 of file dmusicc.h.

◆ DAUD_CHAN9_DEF_VOICE_PRIORITY

#define DAUD_CHAN9_DEF_VOICE_PRIORITY   (DAUD_STANDARD_VOICE_PRIORITY | DAUD_CHAN9_VOICE_PRIORITY_OFFSET)

Definition at line 160 of file dmusicc.h.

◆ DAUD_CHAN9_VOICE_PRIORITY_OFFSET

#define DAUD_CHAN9_VOICE_PRIORITY_OFFSET   0x00000006

Definition at line 143 of file dmusicc.h.

◆ DAUD_CRITICAL_VOICE_PRIORITY

#define DAUD_CRITICAL_VOICE_PRIORITY   0xF0000000

Definition at line 129 of file dmusicc.h.

◆ DAUD_HIGH_VOICE_PRIORITY

#define DAUD_HIGH_VOICE_PRIORITY   0xC0000000

Definition at line 130 of file dmusicc.h.

◆ DAUD_LOW_VOICE_PRIORITY

#define DAUD_LOW_VOICE_PRIORITY   0x40000000

Definition at line 132 of file dmusicc.h.

◆ DAUD_PERSIST_VOICE_PRIORITY

#define DAUD_PERSIST_VOICE_PRIORITY   0x10000000

Definition at line 133 of file dmusicc.h.

◆ DAUD_STANDARD_VOICE_PRIORITY

#define DAUD_STANDARD_VOICE_PRIORITY   0x80000000

Definition at line 131 of file dmusicc.h.

◆ DMUS_CLOCKF_GLOBAL

#define DMUS_CLOCKF_GLOBAL   0x1

Definition at line 170 of file dmusicc.h.

◆ DMUS_EFFECT_CHORUS

#define DMUS_EFFECT_CHORUS   0x2

Definition at line 174 of file dmusicc.h.

◆ DMUS_EFFECT_DELAY

#define DMUS_EFFECT_DELAY   0x4

Definition at line 175 of file dmusicc.h.

◆ DMUS_EFFECT_NONE

#define DMUS_EFFECT_NONE   0x0

Definition at line 172 of file dmusicc.h.

◆ DMUS_EFFECT_REVERB

#define DMUS_EFFECT_REVERB   0x1

Definition at line 173 of file dmusicc.h.

◆ DMUS_MAX_DESCRIPTION

#define DMUS_MAX_DESCRIPTION   0x80

Definition at line 177 of file dmusicc.h.

◆ DMUS_MAX_DRIVER

#define DMUS_MAX_DRIVER   0x80

Definition at line 178 of file dmusicc.h.

◆ DMUS_PC_AUDIOPATH

#define DMUS_PC_AUDIOPATH   0x00000400

Definition at line 193 of file dmusicc.h.

◆ DMUS_PC_DIRECTSOUND

#define DMUS_PC_DIRECTSOUND   0x00000080

Definition at line 190 of file dmusicc.h.

◆ DMUS_PC_DLS

#define DMUS_PC_DLS   0x00000001

Definition at line 183 of file dmusicc.h.

◆ DMUS_PC_DLS2

#define DMUS_PC_DLS2   0x00000200

Definition at line 192 of file dmusicc.h.

◆ DMUS_PC_EXTERNAL

#define DMUS_PC_EXTERNAL   0x00000002

Definition at line 184 of file dmusicc.h.

◆ DMUS_PC_GMINHARDWARE

#define DMUS_PC_GMINHARDWARE   0x00000010

Definition at line 187 of file dmusicc.h.

◆ DMUS_PC_GSINHARDWARE

#define DMUS_PC_GSINHARDWARE   0x00000020

Definition at line 188 of file dmusicc.h.

◆ DMUS_PC_INPUTCLASS

#define DMUS_PC_INPUTCLASS   0x0

Definition at line 180 of file dmusicc.h.

◆ DMUS_PC_MEMORYSIZEFIXED

#define DMUS_PC_MEMORYSIZEFIXED   0x00000008

Definition at line 186 of file dmusicc.h.

◆ DMUS_PC_OUTPUTCLASS

#define DMUS_PC_OUTPUTCLASS   0x1

Definition at line 181 of file dmusicc.h.

◆ DMUS_PC_SHAREABLE

#define DMUS_PC_SHAREABLE   0x00000100

Definition at line 191 of file dmusicc.h.

◆ DMUS_PC_SOFTWARESYNTH

#define DMUS_PC_SOFTWARESYNTH   0x00000004

Definition at line 185 of file dmusicc.h.

◆ DMUS_PC_SYSTEMMEMORY

#define DMUS_PC_SYSTEMMEMORY   0x7FFFFFFF

Definition at line 195 of file dmusicc.h.

◆ DMUS_PC_WAVE

#define DMUS_PC_WAVE   0x00000800

Definition at line 194 of file dmusicc.h.

◆ DMUS_PC_XGINHARDWARE

#define DMUS_PC_XGINHARDWARE   0x00000040

Definition at line 189 of file dmusicc.h.

◆ DMUS_PORT_FEATURE_AUDIOPATH

#define DMUS_PORT_FEATURE_AUDIOPATH   0x1

Definition at line 201 of file dmusicc.h.

◆ DMUS_PORT_FEATURE_STREAMING

#define DMUS_PORT_FEATURE_STREAMING   0x2

Definition at line 202 of file dmusicc.h.

◆ DMUS_PORT_KERNEL_MODE

#define DMUS_PORT_KERNEL_MODE   0x2

Definition at line 199 of file dmusicc.h.

◆ DMUS_PORT_USER_MODE_SYNTH

#define DMUS_PORT_USER_MODE_SYNTH   0x1

Definition at line 198 of file dmusicc.h.

◆ DMUS_PORT_WINMM_DRIVER

#define DMUS_PORT_WINMM_DRIVER   0x0

Definition at line 197 of file dmusicc.h.

◆ DMUS_PORTPARAMS_AUDIOCHANNELS

#define DMUS_PORTPARAMS_AUDIOCHANNELS   0x04

Definition at line 206 of file dmusicc.h.

◆ DMUS_PORTPARAMS_CHANNELGROUPS

#define DMUS_PORTPARAMS_CHANNELGROUPS   0x02

Definition at line 205 of file dmusicc.h.

◆ DMUS_PORTPARAMS_EFFECTS

#define DMUS_PORTPARAMS_EFFECTS   0x20

Definition at line 208 of file dmusicc.h.

◆ DMUS_PORTPARAMS_FEATURES

#define DMUS_PORTPARAMS_FEATURES   0x80

Definition at line 210 of file dmusicc.h.

◆ DMUS_PORTPARAMS_SAMPLERATE

#define DMUS_PORTPARAMS_SAMPLERATE   0x08

Definition at line 207 of file dmusicc.h.

◆ DMUS_PORTPARAMS_SHARE

#define DMUS_PORTPARAMS_SHARE   0x40

Definition at line 209 of file dmusicc.h.

◆ DMUS_PORTPARAMS_VOICES

#define DMUS_PORTPARAMS_VOICES   0x01

Definition at line 204 of file dmusicc.h.

◆ DMUS_SYNTHSTATS_CPU_PER_VOICE

#define DMUS_SYNTHSTATS_CPU_PER_VOICE   0x04

Definition at line 217 of file dmusicc.h.

◆ DMUS_SYNTHSTATS_FREE_MEMORY

#define DMUS_SYNTHSTATS_FREE_MEMORY   0x20

Definition at line 220 of file dmusicc.h.

◆ DMUS_SYNTHSTATS_LOST_NOTES

#define DMUS_SYNTHSTATS_LOST_NOTES   0x08

Definition at line 218 of file dmusicc.h.

◆ DMUS_SYNTHSTATS_PEAK_VOLUME

#define DMUS_SYNTHSTATS_PEAK_VOLUME   0x10

Definition at line 219 of file dmusicc.h.

◆ DMUS_SYNTHSTATS_SYSTEMMEMORY

#define DMUS_SYNTHSTATS_SYSTEMMEMORY   DMUS_PC_SYSTEMMEMORY

Definition at line 221 of file dmusicc.h.

◆ DMUS_SYNTHSTATS_TOTAL_CPU

#define DMUS_SYNTHSTATS_TOTAL_CPU   0x02

Definition at line 216 of file dmusicc.h.

◆ DMUS_SYNTHSTATS_VOICES

#define DMUS_SYNTHSTATS_VOICES   0x01

Definition at line 215 of file dmusicc.h.

◆ DMUS_VOLUME_MAX

#define DMUS_VOLUME_MAX   2000

Definition at line 212 of file dmusicc.h.

◆ DMUS_VOLUME_MIN

#define DMUS_VOLUME_MIN   -20000

Definition at line 213 of file dmusicc.h.

◆ DSBUSID_BACK_CENTER

#define DSBUSID_BACK_CENTER   0x00000008

Definition at line 234 of file dmusicc.h.

◆ DSBUSID_BACK_LEFT

#define DSBUSID_BACK_LEFT   0x00000004

Definition at line 230 of file dmusicc.h.

◆ DSBUSID_BACK_RIGHT

#define DSBUSID_BACK_RIGHT   0x00000005

Definition at line 231 of file dmusicc.h.

◆ DSBUSID_CHORUS_SEND

#define DSBUSID_CHORUS_SEND   0x00000041

Definition at line 248 of file dmusicc.h.

◆ DSBUSID_DYNAMIC_0

#define DSBUSID_DYNAMIC_0   0x00000200

Definition at line 250 of file dmusicc.h.

◆ DSBUSID_FIRST_SPKR_LOC

#define DSBUSID_FIRST_SPKR_LOC   0x00000000

Definition at line 223 of file dmusicc.h.

◆ DSBUSID_FRONT_CENTER

#define DSBUSID_FRONT_CENTER   0x00000002

Definition at line 228 of file dmusicc.h.

◆ DSBUSID_FRONT_LEFT

#define DSBUSID_FRONT_LEFT   0x00000000

Definition at line 224 of file dmusicc.h.

◆ DSBUSID_FRONT_LEFT_OF_CENTER

#define DSBUSID_FRONT_LEFT_OF_CENTER   0x00000006

Definition at line 232 of file dmusicc.h.

◆ DSBUSID_FRONT_RIGHT

#define DSBUSID_FRONT_RIGHT   0x00000001

Definition at line 226 of file dmusicc.h.

◆ DSBUSID_FRONT_RIGHT_OF_CENTER

#define DSBUSID_FRONT_RIGHT_OF_CENTER   0x00000007

Definition at line 233 of file dmusicc.h.

◆ DSBUSID_IS_SPKR_LOC

#define DSBUSID_IS_SPKR_LOC (   id)    (((id) >= DSBUSID_FIRST_SPKR_LOC) && ((id) <= DSBUSID_LAST_SPKR_LOC))

Definition at line 245 of file dmusicc.h.

◆ DSBUSID_LAST_SPKR_LOC

#define DSBUSID_LAST_SPKR_LOC   0x00000011

Definition at line 244 of file dmusicc.h.

◆ DSBUSID_LEFT

#define DSBUSID_LEFT   0x00000000

Definition at line 225 of file dmusicc.h.

◆ DSBUSID_LOW_FREQUENCY

#define DSBUSID_LOW_FREQUENCY   0x00000003

Definition at line 229 of file dmusicc.h.

◆ DSBUSID_NULL

#define DSBUSID_NULL   0xFFFFFFFF

Definition at line 252 of file dmusicc.h.

◆ DSBUSID_REVERB_SEND

#define DSBUSID_REVERB_SEND   0x00000040

Definition at line 247 of file dmusicc.h.

◆ DSBUSID_RIGHT

#define DSBUSID_RIGHT   0x00000001

Definition at line 227 of file dmusicc.h.

◆ DSBUSID_SIDE_LEFT

#define DSBUSID_SIDE_LEFT   0x00000009

Definition at line 235 of file dmusicc.h.

◆ DSBUSID_SIDE_RIGHT

#define DSBUSID_SIDE_RIGHT   0x0000000A

Definition at line 236 of file dmusicc.h.

◆ DSBUSID_TOP_BACK_CENTER

#define DSBUSID_TOP_BACK_CENTER   0x00000010

Definition at line 242 of file dmusicc.h.

◆ DSBUSID_TOP_BACK_LEFT

#define DSBUSID_TOP_BACK_LEFT   0x0000000F

Definition at line 241 of file dmusicc.h.

◆ DSBUSID_TOP_BACK_RIGHT

#define DSBUSID_TOP_BACK_RIGHT   0x011

Definition at line 243 of file dmusicc.h.

◆ DSBUSID_TOP_CENTER

#define DSBUSID_TOP_CENTER   0x0000000B

Definition at line 237 of file dmusicc.h.

◆ DSBUSID_TOP_FRONT_CENTER

#define DSBUSID_TOP_FRONT_CENTER   0x0000000D

Definition at line 239 of file dmusicc.h.

◆ DSBUSID_TOP_FRONT_LEFT

#define DSBUSID_TOP_FRONT_LEFT   0x0000000C

Definition at line 238 of file dmusicc.h.

◆ DSBUSID_TOP_FRONT_RIGHT

#define DSBUSID_TOP_FRONT_RIGHT   0x0000000E

Definition at line 240 of file dmusicc.h.

◆ IDirectMusic8_Activate

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

Definition at line 449 of file dmusicc.h.

◆ IDirectMusic8_AddRef

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

Definition at line 440 of file dmusicc.h.

◆ IDirectMusic8_CreateMusicBuffer

#define IDirectMusic8_CreateMusicBuffer (   p,
  a,
  b,
  c 
)    (p)->lpVtbl->CreateMusicBuffer(p,a,b,c)

Definition at line 444 of file dmusicc.h.

◆ IDirectMusic8_CreatePort

#define IDirectMusic8_CreatePort (   p,
  a,
  b,
  c,
  d 
)    (p)->lpVtbl->CreatePort(p,a,b,c,d)

Definition at line 445 of file dmusicc.h.

◆ IDirectMusic8_EnumMasterClock

#define IDirectMusic8_EnumMasterClock (   p,
  a,
  b 
)    (p)->lpVtbl->EnumMasterClock(p,a,b)

Definition at line 446 of file dmusicc.h.

◆ IDirectMusic8_EnumPort

#define IDirectMusic8_EnumPort (   p,
  a,
  b 
)    (p)->lpVtbl->EnumPort(p,a,b)

Definition at line 443 of file dmusicc.h.

◆ IDirectMusic8_GetDefaultPort

#define IDirectMusic8_GetDefaultPort (   p,
  a 
)    (p)->lpVtbl->GetDefaultPort(p,a)

Definition at line 450 of file dmusicc.h.

◆ IDirectMusic8_GetMasterClock

#define IDirectMusic8_GetMasterClock (   p,
  a,
  b 
)    (p)->lpVtbl->GetMasterClock(p,a,b)

Definition at line 447 of file dmusicc.h.

◆ IDirectMusic8_QueryInterface

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

Definition at line 439 of file dmusicc.h.

◆ IDirectMusic8_Release

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

Definition at line 441 of file dmusicc.h.

◆ IDirectMusic8_SetDirectSound

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

Definition at line 451 of file dmusicc.h.

◆ IDirectMusic8_SetExternalMasterClock

#define IDirectMusic8_SetExternalMasterClock (   p,
  a 
)    (p)->lpVtbl->SetExternalMasterClock(p,a)

Definition at line 453 of file dmusicc.h.

◆ IDirectMusic8_SetMasterClock

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

Definition at line 448 of file dmusicc.h.

◆ IDirectMusic_Activate

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

Definition at line 406 of file dmusicc.h.

◆ IDirectMusic_AddRef

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

Definition at line 397 of file dmusicc.h.

◆ IDirectMusic_CreateMusicBuffer

#define IDirectMusic_CreateMusicBuffer (   p,
  a,
  b,
  c 
)    (p)->lpVtbl->CreateMusicBuffer(p,a,b,c)

Definition at line 401 of file dmusicc.h.

◆ IDirectMusic_CreatePort

#define IDirectMusic_CreatePort (   p,
  a,
  b,
  c,
  d 
)    (p)->lpVtbl->CreatePort(p,a,b,c,d)

Definition at line 402 of file dmusicc.h.

◆ IDirectMusic_EnumMasterClock

#define IDirectMusic_EnumMasterClock (   p,
  a,
  b 
)    (p)->lpVtbl->EnumMasterClock(p,a,b)

Definition at line 403 of file dmusicc.h.

◆ IDirectMusic_EnumPort

#define IDirectMusic_EnumPort (   p,
  a,
  b 
)    (p)->lpVtbl->EnumPort(p,a,b)

Definition at line 400 of file dmusicc.h.

◆ IDirectMusic_GetDefaultPort

#define IDirectMusic_GetDefaultPort (   p,
  a 
)    (p)->lpVtbl->GetDefaultPort(p,a)

Definition at line 407 of file dmusicc.h.

◆ IDirectMusic_GetMasterClock

#define IDirectMusic_GetMasterClock (   p,
  a,
  b 
)    (p)->lpVtbl->GetMasterClock(p,a,b)

Definition at line 404 of file dmusicc.h.

◆ IDirectMusic_QueryInterface

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

Definition at line 396 of file dmusicc.h.

◆ IDirectMusic_Release

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

Definition at line 398 of file dmusicc.h.

◆ IDirectMusic_SetDirectSound

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

Definition at line 408 of file dmusicc.h.

◆ IDirectMusic_SetMasterClock

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

Definition at line 405 of file dmusicc.h.

◆ IDirectMusicBuffer_AddRef

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

Definition at line 487 of file dmusicc.h.

◆ IDirectMusicBuffer_Flush

#define IDirectMusicBuffer_Flush (   p)    (p)->lpVtbl->Flush(p)

Definition at line 490 of file dmusicc.h.

◆ IDirectMusicBuffer_GetBufferFormat

#define IDirectMusicBuffer_GetBufferFormat (   p,
  a 
)    (p)->lpVtbl->GetBufferFormat(p,a)

Definition at line 500 of file dmusicc.h.

◆ IDirectMusicBuffer_GetMaxBytes

#define IDirectMusicBuffer_GetMaxBytes (   p,
  a 
)    (p)->lpVtbl->GetMaxBytes(p,a)

Definition at line 499 of file dmusicc.h.

◆ IDirectMusicBuffer_GetNextEvent

#define IDirectMusicBuffer_GetNextEvent (   p,
  a,
  b,
  c,
  d 
)    (p)->lpVtbl->GetNextEvent(p,a,b,c,d)

Definition at line 495 of file dmusicc.h.

◆ IDirectMusicBuffer_GetRawBufferPtr

#define IDirectMusicBuffer_GetRawBufferPtr (   p,
  a 
)    (p)->lpVtbl->GetRawBufferPtr(p,a)

Definition at line 496 of file dmusicc.h.

◆ IDirectMusicBuffer_GetStartTime

#define IDirectMusicBuffer_GetStartTime (   p,
  a 
)    (p)->lpVtbl->GetStartTime(p,a)

Definition at line 497 of file dmusicc.h.

◆ IDirectMusicBuffer_GetUsedBytes

#define IDirectMusicBuffer_GetUsedBytes (   p,
  a 
)    (p)->lpVtbl->GetUsedBytes(p,a)

Definition at line 498 of file dmusicc.h.

◆ IDirectMusicBuffer_PackStructured

#define IDirectMusicBuffer_PackStructured (   p,
  a,
  b,
  c 
)    (p)->lpVtbl->PackStructured(p,a,b,c)

Definition at line 492 of file dmusicc.h.

◆ IDirectMusicBuffer_PackUnstructured

#define IDirectMusicBuffer_PackUnstructured (   p,
  a,
  b,
  c,
  d 
)    (p)->lpVtbl->PackUnstructured(p,a,b,c,d)

Definition at line 493 of file dmusicc.h.

◆ IDirectMusicBuffer_QueryInterface

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

Definition at line 486 of file dmusicc.h.

◆ IDirectMusicBuffer_Release

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

Definition at line 488 of file dmusicc.h.

◆ IDirectMusicBuffer_ResetReadPtr

#define IDirectMusicBuffer_ResetReadPtr (   p)    (p)->lpVtbl->ResetReadPtr(p)

Definition at line 494 of file dmusicc.h.

◆ IDirectMusicBuffer_SetStartTime

#define IDirectMusicBuffer_SetStartTime (   p,
  a 
)    (p)->lpVtbl->SetStartTime(p,a)

Definition at line 501 of file dmusicc.h.

◆ IDirectMusicBuffer_SetUsedBytes

#define IDirectMusicBuffer_SetUsedBytes (   p,
  a 
)    (p)->lpVtbl->SetUsedBytes(p,a)

Definition at line 502 of file dmusicc.h.

◆ IDirectMusicBuffer_TotalTime

#define IDirectMusicBuffer_TotalTime (   p,
  a 
)    (p)->lpVtbl->TotalTime(p,a)

Definition at line 491 of file dmusicc.h.

◆ IDirectMusicCollection_AddRef

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

Definition at line 576 of file dmusicc.h.

◆ IDirectMusicCollection_EnumInstrument

#define IDirectMusicCollection_EnumInstrument (   p,
  a,
  b,
  c,
  d 
)    (p)->lpVtbl->EnumInstrument(p,a,b,c,d)

Definition at line 580 of file dmusicc.h.

◆ IDirectMusicCollection_GetInstrument

#define IDirectMusicCollection_GetInstrument (   p,
  a,
  b 
)    (p)->lpVtbl->GetInstrument(p,a,b)

Definition at line 579 of file dmusicc.h.

◆ IDirectMusicCollection_QueryInterface

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

Definition at line 575 of file dmusicc.h.

◆ IDirectMusicCollection_Release

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

Definition at line 577 of file dmusicc.h.

◆ IDirectMusicDownload_AddRef

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

Definition at line 602 of file dmusicc.h.

◆ IDirectMusicDownload_GetBuffer

#define IDirectMusicDownload_GetBuffer (   p,
  a,
  b 
)    (p)->lpVtbl->GetBuffer(p,a,b)

Definition at line 605 of file dmusicc.h.

◆ IDirectMusicDownload_QueryInterface

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

Definition at line 601 of file dmusicc.h.

◆ IDirectMusicDownload_Release

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

Definition at line 603 of file dmusicc.h.

◆ IDirectMusicDownloadedInstrument_AddRef

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

Definition at line 550 of file dmusicc.h.

◆ IDirectMusicDownloadedInstrument_QueryInterface

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

Definition at line 549 of file dmusicc.h.

◆ IDirectMusicDownloadedInstrument_Release

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

Definition at line 551 of file dmusicc.h.

◆ IDirectMusicInstrument_AddRef

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

Definition at line 525 of file dmusicc.h.

◆ IDirectMusicInstrument_GetPatch

#define IDirectMusicInstrument_GetPatch (   p,
  a 
)    (p)->lpVtbl->GetPatch(p,a)

Definition at line 528 of file dmusicc.h.

◆ IDirectMusicInstrument_QueryInterface

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

Definition at line 524 of file dmusicc.h.

◆ IDirectMusicInstrument_Release

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

Definition at line 526 of file dmusicc.h.

◆ IDirectMusicInstrument_SetPatch

#define IDirectMusicInstrument_SetPatch (   p,
  a 
)    (p)->lpVtbl->SetPatch(p,a)

Definition at line 529 of file dmusicc.h.

◆ IDirectMusicPort_Activate

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

Definition at line 693 of file dmusicc.h.

◆ IDirectMusicPort_AddRef

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

Definition at line 678 of file dmusicc.h.

◆ IDirectMusicPort_Compact

#define IDirectMusicPort_Compact (   p)    (p)->lpVtbl->Compact(p)

Definition at line 688 of file dmusicc.h.

◆ IDirectMusicPort_DeviceIoControl

#define IDirectMusicPort_DeviceIoControl (   p,
  a,
  b,
  c,
  d,
  e,
  f,
  g 
)    (p)->lpVtbl->DeviceIoControl(p,a,b,c,d,e,f,g)

Definition at line 690 of file dmusicc.h.

◆ IDirectMusicPort_DownloadInstrument

#define IDirectMusicPort_DownloadInstrument (   p,
  a,
  b,
  c,
  d 
)    (p)->lpVtbl->DownloadInstrument(p,a,b,c,d)

Definition at line 684 of file dmusicc.h.

◆ IDirectMusicPort_GetCaps

#define IDirectMusicPort_GetCaps (   p,
  a 
)    (p)->lpVtbl->GetCaps(p,a)

Definition at line 689 of file dmusicc.h.

◆ IDirectMusicPort_GetChannelPriority

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

Definition at line 695 of file dmusicc.h.

◆ IDirectMusicPort_GetFormat

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

Definition at line 697 of file dmusicc.h.

◆ IDirectMusicPort_GetLatencyClock

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

Definition at line 686 of file dmusicc.h.

◆ IDirectMusicPort_GetNumChannelGroups

#define IDirectMusicPort_GetNumChannelGroups (   p,
  a 
)    (p)->lpVtbl->GetNumChannelGroups(p,a)

Definition at line 692 of file dmusicc.h.

◆ IDirectMusicPort_GetRunningStats

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

Definition at line 687 of file dmusicc.h.

◆ IDirectMusicPort_PlayBuffer

#define IDirectMusicPort_PlayBuffer (   p,
  a 
)    (p)->lpVtbl->PlayBuffer(p,a)

Definition at line 681 of file dmusicc.h.

◆ IDirectMusicPort_QueryInterface

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

Definition at line 677 of file dmusicc.h.

◆ IDirectMusicPort_Read

#define IDirectMusicPort_Read (   p,
  a 
)    (p)->lpVtbl->Read(p,a)

Definition at line 683 of file dmusicc.h.

◆ IDirectMusicPort_Release

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

Definition at line 679 of file dmusicc.h.

◆ IDirectMusicPort_SetChannelPriority

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

Definition at line 694 of file dmusicc.h.

◆ IDirectMusicPort_SetDirectSound

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

Definition at line 696 of file dmusicc.h.

◆ IDirectMusicPort_SetNumChannelGroups

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

Definition at line 691 of file dmusicc.h.

◆ IDirectMusicPort_SetReadNotificationHandle

#define IDirectMusicPort_SetReadNotificationHandle (   p,
  a 
)    (p)->lpVtbl->SetReadNotificationHandle(p,a)

Definition at line 682 of file dmusicc.h.

◆ IDirectMusicPort_UnloadInstrument

#define IDirectMusicPort_UnloadInstrument (   p,
  a 
)    (p)->lpVtbl->UnloadInstrument(p,a)

Definition at line 685 of file dmusicc.h.

◆ IDirectMusicPortDownload_AddRef

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

Definition at line 632 of file dmusicc.h.

◆ IDirectMusicPortDownload_AllocateBuffer

#define IDirectMusicPortDownload_AllocateBuffer (   p,
  a,
  b 
)    (p)->lpVtbl->AllocateBuffer(p,a,b)

Definition at line 636 of file dmusicc.h.

◆ IDirectMusicPortDownload_Download

#define IDirectMusicPortDownload_Download (   p,
  a 
)    (p)->lpVtbl->Download(p,a)

Definition at line 639 of file dmusicc.h.

◆ IDirectMusicPortDownload_GetAppend

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

Definition at line 638 of file dmusicc.h.

◆ IDirectMusicPortDownload_GetBuffer

#define IDirectMusicPortDownload_GetBuffer (   p,
  a,
  b 
)    (p)->lpVtbl->GetBuffer(p,a,b)

Definition at line 635 of file dmusicc.h.

◆ IDirectMusicPortDownload_GetDLId

#define IDirectMusicPortDownload_GetDLId (   p,
  a,
  b 
)    (p)->lpVtbl->GetDLId(p,a,b)

Definition at line 637 of file dmusicc.h.

◆ IDirectMusicPortDownload_QueryInterface

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

Definition at line 631 of file dmusicc.h.

◆ IDirectMusicPortDownload_Release

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

Definition at line 633 of file dmusicc.h.

◆ IDirectMusicPortDownload_Unload

#define IDirectMusicPortDownload_Unload (   p,
  a 
)    (p)->lpVtbl->GetBuffer(p,a)

Definition at line 640 of file dmusicc.h.

◆ IDirectMusicThru_AddRef

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

Definition at line 719 of file dmusicc.h.

◆ IDirectMusicThru_QueryInterface

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

Definition at line 718 of file dmusicc.h.

◆ IDirectMusicThru_Release

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

Definition at line 720 of file dmusicc.h.

◆ IDirectMusicThru_ThruChannel

#define IDirectMusicThru_ThruChannel (   p,
  a,
  b,
  c,
  d,
  e 
)    (p)->lpVtbl->ThruChannel(p,a,b,c,d,e)

Definition at line 722 of file dmusicc.h.

◆ IID_IDirectMusicCollection8

#define IID_IDirectMusicCollection8   IID_IDirectMusicCollection

Definition at line 65 of file dmusicc.h.

◆ IID_IDirectMusicDownload8

#define IID_IDirectMusicDownload8   IID_IDirectMusicDownload

Definition at line 66 of file dmusicc.h.

◆ IID_IDirectMusicDownloadedInstrument8

#define IID_IDirectMusicDownloadedInstrument8   IID_IDirectMusicDownloadedInstrument

Definition at line 67 of file dmusicc.h.

◆ IID_IDirectMusicInstrument8

#define IID_IDirectMusicInstrument8   IID_IDirectMusicInstrument

Definition at line 68 of file dmusicc.h.

◆ IID_IDirectMusicPort8

#define IID_IDirectMusicPort8   IID_IDirectMusicPort

Definition at line 69 of file dmusicc.h.

◆ IID_IDirectMusicPortDownload8

#define IID_IDirectMusicPortDownload8   IID_IDirectMusicPortDownload

Definition at line 70 of file dmusicc.h.

◆ IID_IDirectMusicThru8

#define IID_IDirectMusicThru8   IID_IDirectMusicThru

Definition at line 71 of file dmusicc.h.

◆ INTERFACE [1/11]

#define INTERFACE   IDirectMusic

Definition at line 733 of file dmusicc.h.

◆ INTERFACE [2/11]

#define INTERFACE   IDirectMusic8

Definition at line 733 of file dmusicc.h.

◆ INTERFACE [3/11]

#define INTERFACE   IDirectMusicBuffer

Definition at line 733 of file dmusicc.h.

◆ INTERFACE [4/11]

#define INTERFACE   IDirectMusicInstrument

Definition at line 733 of file dmusicc.h.

◆ INTERFACE [5/11]

#define INTERFACE   IDirectMusicDownloadedInstrument

Definition at line 733 of file dmusicc.h.

◆ INTERFACE [6/11]

#define INTERFACE   IDirectMusicCollection

Definition at line 733 of file dmusicc.h.

◆ INTERFACE [7/11]

#define INTERFACE   IDirectMusicDownload

Definition at line 733 of file dmusicc.h.

◆ INTERFACE [8/11]

#define INTERFACE   IDirectMusicPortDownload

Definition at line 733 of file dmusicc.h.

◆ INTERFACE [9/11]

#define INTERFACE   IDirectMusicPort

Definition at line 733 of file dmusicc.h.

◆ INTERFACE [10/11]

#define INTERFACE   IDirectMusicThru

Definition at line 733 of file dmusicc.h.

◆ INTERFACE [11/11]

Definition at line 733 of file dmusicc.h.

◆ IReferenceClock_AddRef

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

Definition at line 751 of file dmusicc.h.

◆ IReferenceClock_AdvisePeriodic

#define IReferenceClock_AdvisePeriodic (   p,
  a,
  b,
  c,
  d 
)    (p)->lpVtbl->AdvisePeriodic(p,a,b,c,d)

Definition at line 756 of file dmusicc.h.

◆ IReferenceClock_AdviseTime

#define IReferenceClock_AdviseTime (   p,
  a,
  b,
  c,
  d 
)    (p)->lpVtbl->AdviseTime(p,a,b,c,d)

Definition at line 755 of file dmusicc.h.

◆ IReferenceClock_GetTime

#define IReferenceClock_GetTime (   p,
  a 
)    (p)->lpVtbl->GetTime(p,a)

Definition at line 754 of file dmusicc.h.

◆ IReferenceClock_QueryInterface

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

Definition at line 750 of file dmusicc.h.

◆ IReferenceClock_Release

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

Definition at line 752 of file dmusicc.h.

◆ IReferenceClock_Unadvise

#define IReferenceClock_Unadvise (   p,
  a 
)    (p)->lpVtbl->Unadvise(p,a)

Definition at line 757 of file dmusicc.h.

Typedef Documentation

◆ DMUS_BUFFERDESC

Definition at line 267 of file dmusicc.h.

◆ DMUS_CLOCKINFO

Definition at line 277 of file dmusicc.h.

◆ DMUS_CLOCKINFO7

Definition at line 275 of file dmusicc.h.

◆ DMUS_CLOCKINFO8

Definition at line 276 of file dmusicc.h.

◆ DMUS_PORTCAPS

Definition at line 268 of file dmusicc.h.

◆ DMUS_PORTPARAMS

Definition at line 271 of file dmusicc.h.

◆ DMUS_PORTPARAMS7

Definition at line 269 of file dmusicc.h.

◆ DMUS_PORTPARAMS8

Definition at line 270 of file dmusicc.h.

◆ DMUS_SYNTHSTATS

Definition at line 272 of file dmusicc.h.

◆ DMUS_SYNTHSTATS8

Definition at line 273 of file dmusicc.h.

◆ DMUS_WAVES_REVERB_PARAMS

◆ IDirectMusicBuffer8

typedef struct IDirectMusicBuffer IDirectMusicBuffer8

Definition at line 98 of file dmusicc.h.

◆ IDirectMusicCollection8

typedef struct IDirectMusicCollection IDirectMusicCollection8

Definition at line 104 of file dmusicc.h.

◆ IDirectMusicDownload8

typedef struct IDirectMusicDownload IDirectMusicDownload8

Definition at line 106 of file dmusicc.h.

◆ IDirectMusicDownloadedInstrument8

typedef struct IDirectMusicDownloadedInstrument IDirectMusicDownloadedInstrument8

Definition at line 102 of file dmusicc.h.

◆ IDirectMusicInstrument8

typedef struct IDirectMusicInstrument IDirectMusicInstrument8

Definition at line 100 of file dmusicc.h.

◆ IDirectMusicPort8

typedef struct IDirectMusicPort IDirectMusicPort8

Definition at line 110 of file dmusicc.h.

◆ IDirectMusicPortDownload8

typedef struct IDirectMusicPortDownload IDirectMusicPortDownload8

Definition at line 108 of file dmusicc.h.

◆ IDirectMusicThru8

typedef struct IDirectMusicThru IDirectMusicThru8

Definition at line 112 of file dmusicc.h.

◆ LPDIRECTMUSIC

typedef struct IDirectMusic* LPDIRECTMUSIC

Definition at line 95 of file dmusicc.h.

◆ LPDIRECTMUSIC8

typedef struct IDirectMusic8* LPDIRECTMUSIC8

Definition at line 96 of file dmusicc.h.

◆ LPDIRECTMUSICBUFFER

typedef struct IDirectMusicBuffer* LPDIRECTMUSICBUFFER

Definition at line 97 of file dmusicc.h.

◆ LPDIRECTMUSICBUFFER8

typedef struct IDirectMusicBuffer * LPDIRECTMUSICBUFFER8

Definition at line 98 of file dmusicc.h.

◆ LPDIRECTMUSICCOLLECTION

typedef struct IDirectMusicCollection* LPDIRECTMUSICCOLLECTION

Definition at line 103 of file dmusicc.h.

◆ LPDIRECTMUSICCOLLECTION8

typedef struct IDirectMusicCollection * LPDIRECTMUSICCOLLECTION8

Definition at line 104 of file dmusicc.h.

◆ LPDIRECTMUSICDOWNLOAD

typedef struct IDirectMusicDownload* LPDIRECTMUSICDOWNLOAD

Definition at line 105 of file dmusicc.h.

◆ LPDIRECTMUSICDOWNLOAD8

typedef struct IDirectMusicDownload * LPDIRECTMUSICDOWNLOAD8

Definition at line 106 of file dmusicc.h.

◆ LPDIRECTMUSICDOWNLOADEDINSTRUMENT

typedef struct IDirectMusicDownloadedInstrument* LPDIRECTMUSICDOWNLOADEDINSTRUMENT

Definition at line 101 of file dmusicc.h.

◆ LPDIRECTMUSICDOWNLOADEDINSTRUMENT8

typedef struct IDirectMusicDownloadedInstrument * LPDIRECTMUSICDOWNLOADEDINSTRUMENT8

Definition at line 102 of file dmusicc.h.

◆ LPDIRECTMUSICINSTRUMENT

typedef struct IDirectMusicInstrument* LPDIRECTMUSICINSTRUMENT

Definition at line 99 of file dmusicc.h.

◆ LPDIRECTMUSICINSTRUMENT8

typedef struct IDirectMusicInstrument * LPDIRECTMUSICINSTRUMENT8

Definition at line 100 of file dmusicc.h.

◆ LPDIRECTMUSICPORT

typedef struct IDirectMusicPort* LPDIRECTMUSICPORT

Definition at line 109 of file dmusicc.h.

◆ LPDIRECTMUSICPORT8

typedef struct IDirectMusicPort * LPDIRECTMUSICPORT8

Definition at line 110 of file dmusicc.h.

◆ LPDIRECTMUSICPORTDOWNLOAD

typedef struct IDirectMusicPortDownload* LPDIRECTMUSICPORTDOWNLOAD

Definition at line 107 of file dmusicc.h.

◆ LPDIRECTMUSICPORTDOWNLOAD8

typedef struct IDirectMusicPortDownload * LPDIRECTMUSICPORTDOWNLOAD8

Definition at line 108 of file dmusicc.h.

◆ LPDIRECTMUSICTHRU

typedef struct IDirectMusicThru* LPDIRECTMUSICTHRU

Definition at line 111 of file dmusicc.h.

◆ LPDIRECTMUSICTHRU8

typedef struct IDirectMusicThru * LPDIRECTMUSICTHRU8

Definition at line 112 of file dmusicc.h.

◆ LPDMUS_BUFFERDESC

Definition at line 267 of file dmusicc.h.

◆ LPDMUS_CLOCKINFO

Definition at line 277 of file dmusicc.h.

◆ LPDMUS_CLOCKINFO7

Definition at line 275 of file dmusicc.h.

◆ LPDMUS_CLOCKINFO8

Definition at line 276 of file dmusicc.h.

◆ LPDMUS_PORTCAPS

Definition at line 268 of file dmusicc.h.

◆ LPDMUS_PORTPARAMS

Definition at line 271 of file dmusicc.h.

◆ LPDMUS_PORTPARAMS7

Definition at line 269 of file dmusicc.h.

◆ LPDMUS_PORTPARAMS8

Definition at line 270 of file dmusicc.h.

◆ LPDMUS_SYNTHSTATS

Definition at line 272 of file dmusicc.h.

◆ LPDMUS_SYNTHSTATS8

Definition at line 273 of file dmusicc.h.

◆ LPDMUS_WAVES_REVERB_PARAMS

◆ LPREFERENCECLOCK

Definition at line 113 of file dmusicc.h.

◆ LPSAMPLE_POSITION

Definition at line 120 of file dmusicc.h.

◆ LPSAMPLE_TIME

Definition at line 119 of file dmusicc.h.

◆ SAMPLE_POSITION

Definition at line 120 of file dmusicc.h.

◆ SAMPLE_TIME

Definition at line 119 of file dmusicc.h.

Enumeration Type Documentation

◆ DMUS_CLOCKTYPE

Enumerator
DMUS_CLOCK_SYSTEM 
DMUS_CLOCK_WAVE 

Definition at line 257 of file dmusicc.h.

257 {
258 DMUS_CLOCK_SYSTEM = 0x0,
259 DMUS_CLOCK_WAVE = 0x1
DMUS_CLOCKTYPE
Definition: dmusicc.h:257
@ DMUS_CLOCK_SYSTEM
Definition: dmusicc.h:258
@ DMUS_CLOCK_WAVE
Definition: dmusicc.h:259

Function Documentation

◆ DECLARE_INTERFACE_() [1/11]

DECLARE_INTERFACE_ ( IDirectMusic  ,
IUnknown   
)

Definition at line 375 of file dmusicc.h.

376{
377 /*** IUnknown methods ***/
381 /*** IDirectMusic methods ***/
382 STDMETHOD(EnumPort)(THIS_ DWORD dwIndex, LPDMUS_PORTCAPS pPortCaps) PURE;
383 STDMETHOD(CreateMusicBuffer)(THIS_ LPDMUS_BUFFERDESC pBufferDesc, LPDIRECTMUSICBUFFER *ppBuffer, LPUNKNOWN pUnkOuter) PURE;
384 STDMETHOD(CreatePort)(THIS_ REFCLSID rclsidPort, LPDMUS_PORTPARAMS pPortParams, LPDIRECTMUSICPORT *ppPort, LPUNKNOWN pUnkOuter) PURE;
385 STDMETHOD(EnumMasterClock)(THIS_ DWORD dwIndex, LPDMUS_CLOCKINFO lpClockInfo) PURE;
386 STDMETHOD(GetMasterClock)(THIS_ LPGUID pguidClock, struct IReferenceClock **ppReferenceClock) PURE;
387 STDMETHOD(SetMasterClock)(THIS_ REFGUID rguidClock) PURE;
388 STDMETHOD(Activate)(THIS_ BOOL fEnable) PURE;
389 STDMETHOD(GetDefaultPort)(THIS_ LPGUID pguidPort) PURE;
390 STDMETHOD(SetDirectSound)(THIS_ LPDIRECTSOUND pDirectSound, HWND hWnd) PURE;
391};
HWND hWnd
Definition: settings.c:17
#define PURE
Definition: basetyps.h:64
#define THIS_
Definition: basetyps.h:65
#define THIS
Definition: basetyps.h:66
#define STDMETHOD_(t, m)
Definition: basetyps.h:63
#define STDMETHOD(m)
Definition: basetyps.h:62
_In_ BOOLEAN Release
Definition: cdrom.h:920
struct IDirectMusicPort * LPDIRECTMUSICPORT
Definition: dmusicc.h:109
struct IDirectMusicBuffer * LPDIRECTMUSICBUFFER
Definition: dmusicc.h:97
struct IDirectSound * LPDIRECTSOUND
Definition: dsound.h:70
unsigned int BOOL
Definition: ntddk_ex.h:94
unsigned long DWORD
Definition: ntddk_ex.h:95
REFIID riid
Definition: atlbase.h:39
static HRESULT QueryInterface(REFIID, void **)
Definition: events.c:2587
static ULONG WINAPI AddRef(IStream *iface)
Definition: clist.c:90
static LPUNKNOWN
Definition: ndr_ole.c:49
#define REFIID
Definition: guiddef.h:118
#define REFCLSID
Definition: guiddef.h:117
Definition: scsiwmi.h:51
uint32_t ULONG
Definition: typedefs.h:59
_In_ void _In_ PCCERT_CONTEXT _In_opt_ LPFILETIME _In_ DWORD _In_ DWORD _Outptr_opt_ void ** ppvObject
Definition: wincrypt.h:6082

◆ DECLARE_INTERFACE_() [2/11]

DECLARE_INTERFACE_ ( IDirectMusic8  ,
IDirectMusic   
)

Definition at line 416 of file dmusicc.h.

417{
418 /*** IUnknown methods ***/
422 /*** IDirectMusic methods ***/
423 STDMETHOD(EnumPort)(THIS_ DWORD dwIndex, LPDMUS_PORTCAPS pPortCaps) PURE;
424 STDMETHOD(CreateMusicBuffer)(THIS_ LPDMUS_BUFFERDESC pBufferDesc, LPDIRECTMUSICBUFFER *ppBuffer, LPUNKNOWN pUnkOuter) PURE;
425 STDMETHOD(CreatePort)(THIS_ REFCLSID rclsidPort, LPDMUS_PORTPARAMS pPortParams, LPDIRECTMUSICPORT *ppPort, LPUNKNOWN pUnkOuter) PURE;
426 STDMETHOD(EnumMasterClock)(THIS_ DWORD dwIndex, LPDMUS_CLOCKINFO lpClockInfo) PURE;
427 STDMETHOD(GetMasterClock)(THIS_ LPGUID pguidClock, struct IReferenceClock **ppReferenceClock) PURE;
428 STDMETHOD(SetMasterClock)(THIS_ REFGUID rguidClock) PURE;
429 STDMETHOD(Activate)(THIS_ BOOL fEnable) PURE;
430 STDMETHOD(GetDefaultPort)(THIS_ LPGUID pguidPort) PURE;
431 STDMETHOD(SetDirectSound)(THIS_ LPDIRECTSOUND pDirectSound, HWND hWnd) PURE;
432 /*** IDirectMusic8 methods ***/
433 STDMETHOD(SetExternalMasterClock)(THIS_ struct IReferenceClock *pClock) PURE;
434};

◆ DECLARE_INTERFACE_() [3/11]

DECLARE_INTERFACE_ ( IDirectMusicBuffer  ,
IUnknown   
)

Definition at line 461 of file dmusicc.h.

462{
463 /*** IUnknown methods ***/
467 /*** IDirectMusicBuffer methods ***/
469 STDMETHOD(TotalTime)(THIS_ LPREFERENCE_TIME prtTime) PURE;
470 STDMETHOD(PackStructured)(THIS_ REFERENCE_TIME rt, DWORD dwChannelGroup, DWORD dwChannelMessage) PURE;
471 STDMETHOD(PackUnstructured)(THIS_ REFERENCE_TIME rt, DWORD dwChannelGroup, DWORD cb, LPBYTE lpb) PURE;
472 STDMETHOD(ResetReadPtr)(THIS) PURE;
473 STDMETHOD(GetNextEvent)(THIS_ LPREFERENCE_TIME prt, LPDWORD pdwChannelGroup, LPDWORD pdwLength, LPBYTE *ppData) PURE;
474 STDMETHOD(GetRawBufferPtr)(THIS_ LPBYTE *ppData) PURE;
475 STDMETHOD(GetStartTime)(THIS_ LPREFERENCE_TIME prt) PURE;
476 STDMETHOD(GetUsedBytes)(THIS_ LPDWORD pcb) PURE;
477 STDMETHOD(GetMaxBytes)(THIS_ LPDWORD pcb) PURE;
478 STDMETHOD(GetBufferFormat)(THIS_ LPGUID pGuidFormat) PURE;
479 STDMETHOD(SetStartTime)(THIS_ REFERENCE_TIME rt) PURE;
480 STDMETHOD(SetUsedBytes)(THIS_ DWORD cb) PURE;
481};
REFERENCE_TIME * LPREFERENCE_TIME
Definition: dmdls.h:21
LONGLONG REFERENCE_TIME
Definition: dmusicks.h:9
@ Flush
Definition: fatprocs.h:1054
PSDBQUERYRESULT_VISTA PVOID * ppData
Definition: env.c:56
static HMODULE MODULEINFO DWORD cb
Definition: module.c:33
unsigned char * LPBYTE
Definition: typedefs.h:53
uint32_t * LPDWORD
Definition: typedefs.h:59

◆ DECLARE_INTERFACE_() [4/11]

DECLARE_INTERFACE_ ( IDirectMusicCollection  ,
IUnknown   
)

Definition at line 561 of file dmusicc.h.

562{
563 /*** IUnknown methods ***/
567 /*** IDirectMusicCollection methods ***/
568 STDMETHOD(GetInstrument)(THIS_ DWORD dwPatch, IDirectMusicInstrument **ppInstrument) PURE;
569 STDMETHOD(EnumInstrument)(THIS_ DWORD dwIndex, DWORD *pdwPatch, LPWSTR pwszName, DWORD dwNameLen) PURE;
570};
WCHAR * LPWSTR
Definition: xmlstorage.h:184

◆ DECLARE_INTERFACE_() [5/11]

DECLARE_INTERFACE_ ( IDirectMusicDownload  ,
IUnknown   
)

Definition at line 588 of file dmusicc.h.

589{
590 /*** IUnknown methods ***/
594 /*** IDirectMusicDownload methods ***/
595 STDMETHOD(GetBuffer)(THIS_ void **ppvBuffer, DWORD *pdwSize) PURE;
596};
return pMemory GetBuffer()

◆ DECLARE_INTERFACE_() [6/11]

DECLARE_INTERFACE_ ( IDirectMusicDownloadedInstrument  ,
IUnknown   
)

Definition at line 537 of file dmusicc.h.

538{
539 /*** IUnknown methods ***/
543 /* no IDirectMusicDownloadedInstrument methods at this time */
544};

◆ DECLARE_INTERFACE_() [7/11]

DECLARE_INTERFACE_ ( IDirectMusicInstrument  ,
IUnknown   
)

Definition at line 510 of file dmusicc.h.

511{
512 /*** IUnknown methods ***/
516 /*** IDirectMusicInstrument methods ***/
517 STDMETHOD(GetPatch)(THIS_ DWORD *pdwPatch) PURE;
518 STDMETHOD(SetPatch)(THIS_ DWORD dwPatch) PURE;
519};

◆ DECLARE_INTERFACE_() [8/11]

DECLARE_INTERFACE_ ( IDirectMusicPort  ,
IUnknown   
)

Definition at line 648 of file dmusicc.h.

649{
650 /*** IUnknown methods ***/
654 /*** IDirectMusicPort methods ***/
656 STDMETHOD(SetReadNotificationHandle)(THIS_ HANDLE hEvent) PURE;
658 STDMETHOD(DownloadInstrument)(THIS_ IDirectMusicInstrument *pInstrument, IDirectMusicDownloadedInstrument **ppDownloadedInstrument, DMUS_NOTERANGE *pNoteRanges, DWORD dwNumNoteRanges) PURE;
659 STDMETHOD(UnloadInstrument)(THIS_ IDirectMusicDownloadedInstrument *pDownloadedInstrument) PURE;
660 STDMETHOD(GetLatencyClock)(THIS_ struct IReferenceClock **ppClock) PURE;
661 STDMETHOD(GetRunningStats)(THIS_ LPDMUS_SYNTHSTATS pStats) PURE;
662 STDMETHOD(Compact)(THIS) PURE;
663 STDMETHOD(GetCaps)(THIS_ LPDMUS_PORTCAPS pPortCaps) PURE;
665 STDMETHOD(SetNumChannelGroups)(THIS_ DWORD dwChannelGroups) PURE;
666 STDMETHOD(GetNumChannelGroups)(THIS_ LPDWORD pdwChannelGroups) PURE;
667 STDMETHOD(Activate)(THIS_ BOOL fActive) PURE;
668 STDMETHOD(SetChannelPriority)(THIS_ DWORD dwChannelGroup, DWORD dwChannel, DWORD dwPriority) PURE;
669 STDMETHOD(GetChannelPriority)(THIS_ DWORD dwChannelGroup, DWORD dwChannel, LPDWORD pdwPriority) PURE;
670 STDMETHOD(SetDirectSound)(THIS_ LPDIRECTSOUND pDirectSound, LPDIRECTSOUNDBUFFER pDirectSoundBuffer) PURE;
671 STDMETHOD(GetFormat)(THIS_ LPWAVEFORMATEX pWaveFormatEx, LPDWORD pdwWaveFormatExSize, LPDWORD pdwBufferSize) PURE;
672};
BOOL WINAPI DeviceIoControl(IN HANDLE hDevice, IN DWORD dwIoControlCode, IN LPVOID lpInBuffer OPTIONAL, IN DWORD nInBufferSize OPTIONAL, OUT LPVOID lpOutBuffer OPTIONAL, IN DWORD nOutBufferSize OPTIONAL, OUT LPDWORD lpBytesReturned OPTIONAL, IN LPOVERLAPPED lpOverlapped OPTIONAL)
Definition: deviceio.c:136
struct IDirectSoundBuffer * LPDIRECTSOUNDBUFFER
Definition: dsound.h:76
static HANDLE hEvent
Definition: comm.c:54
_In_ HANDLE _In_ DWORD _In_ DWORD _Inout_opt_ LPOVERLAPPED lpOverlapped
Definition: mswsock.h:93
PVOID pBuffer
_In_ BOOLEAN Read
Definition: strmini.h:479
_In_ DWORD _In_ DWORD _In_ DWORD _Out_ LPDWORD lpBytesReturned
Definition: winddi.h:1705
_In_ DWORD dwIoControlCode
Definition: winddi.h:1700

◆ DECLARE_INTERFACE_() [9/11]

DECLARE_INTERFACE_ ( IDirectMusicPortDownload  ,
IUnknown   
)

Definition at line 613 of file dmusicc.h.

614{
615 /*** IUnknown methods ***/
619 /*** IDirectMusicPortDownload methods ***/
620 STDMETHOD(GetBuffer)(THIS_ DWORD dwDLId, IDirectMusicDownload **ppIDMDownload) PURE;
621 STDMETHOD(AllocateBuffer)(THIS_ DWORD dwSize, IDirectMusicDownload **ppIDMDownload) PURE;
622 STDMETHOD(GetDLId)(THIS_ DWORD *pdwStartDLId, DWORD dwCount) PURE;
623 STDMETHOD(GetAppend)(THIS_ DWORD *pdwAppend) PURE;
624 STDMETHOD(Download)(THIS_ IDirectMusicDownload *pIDMDownload) PURE;
625 STDMETHOD(Unload)(THIS_ IDirectMusicDownload *pIDMDownload) PURE;
626};
static VOID NTAPI Unload(PDRIVER_OBJECT DriverObject)
Definition: floppy.c:377
PSDBQUERYRESULT_VISTA PVOID DWORD * dwSize
Definition: env.c:56

◆ DECLARE_INTERFACE_() [10/11]

DECLARE_INTERFACE_ ( IDirectMusicThru  ,
IUnknown   
)

Definition at line 705 of file dmusicc.h.

706{
707 /*** IUnknown methods ***/
711 /*** IDirectMusicThru methods ***/
712 STDMETHOD(ThruChannel)(THIS_ DWORD dwSourceChannelGroup, DWORD dwSourceChannel, DWORD dwDestinationChannelGroup, DWORD dwDestinationChannel, LPDIRECTMUSICPORT pDestinationPort) PURE;
713};

◆ DECLARE_INTERFACE_() [11/11]

DECLARE_INTERFACE_ ( IReferenceClock  ,
IUnknown   
)

Definition at line 734 of file dmusicc.h.

735{
736 /*** IUnknown methods ***/
740 /*** IReferenceClock methods ***/
742 STDMETHOD(AdviseTime)(THIS_ REFERENCE_TIME baseTime, REFERENCE_TIME streamTime, HANDLE hEvent, DWORD *pdwAdviseCookie) PURE;
743 STDMETHOD(AdvisePeriodic)(THIS_ REFERENCE_TIME startTime, REFERENCE_TIME periodTime, HANDLE hSemaphore, DWORD *pdwAdviseCookie) PURE;
744 STDMETHOD(Unadvise)(THIS_ DWORD dwAdviseCookie) PURE;
745};
static ULONGLONG startTime
Definition: main.c:113
#define GetTime(fmt)
Definition: lcformat.c:111
_In_ PCCERT_CONTEXT _In_opt_ LPFILETIME pTime
Definition: wincrypt.h:4837

◆ DEFINE_GUID() [1/34]

DEFINE_GUID ( CLSID_DirectMusic  ,
0x636b9f10  ,
0x0c7d  ,
0x11d1  ,
0x95  ,
0xb2  ,
0x00  ,
0x20  ,
0xaf  ,
0xdc  ,
0x74  ,
0x21   
)

◆ DEFINE_GUID() [2/34]

DEFINE_GUID ( CLSID_DirectMusicCollection  ,
0x480ff4b0  ,
0x28b2  ,
0x11d1  ,
0xbe  ,
0xf7  ,
0x00  ,
0xc0  ,
0x4f  ,
0xbf  ,
0x8f  ,
0xef   
)

◆ DEFINE_GUID() [3/34]

DEFINE_GUID ( CLSID_DirectMusicSynth  ,
0x58c2b4d0  ,
0x46e7  ,
0x11d1  ,
0x89  ,
0xac  ,
0x00  ,
0xa0  ,
0xc9  ,
0x05  ,
0x41  ,
0x29   
)

◆ DEFINE_GUID() [4/34]

DEFINE_GUID ( GUID_DMUS_PROP_DLS1  ,
0x178f2f27  ,
0xc364  ,
0x11d1  ,
0xa7  ,
0x60  ,
0x00  ,
0x00  ,
0xf8  ,
0x75  ,
0xac  ,
0x12   
)

◆ DEFINE_GUID() [5/34]

DEFINE_GUID ( GUID_DMUS_PROP_DLS2  ,
0xf14599e5  ,
0x4689  ,
0x11d2  ,
0xaf  ,
0xa6  ,
0x00  ,
0xaa  ,
0x00  ,
0x24  ,
0xd8  ,
0xb6   
)

◆ DEFINE_GUID() [6/34]

DEFINE_GUID ( GUID_DMUS_PROP_Effects  ,
0xcda8d611  ,
0x684a  ,
0x11d2  ,
0x87  ,
0x1e  ,
0x00  ,
0x60  ,
0x08  ,
0x93  ,
0xb1  ,
0xbd   
)

◆ DEFINE_GUID() [7/34]

DEFINE_GUID ( GUID_DMUS_PROP_GM_Hardware  ,
0x178f2f24  ,
0xc364  ,
0x11d1  ,
0xa7  ,
0x60  ,
0x00  ,
0x00  ,
0xf8  ,
0x75  ,
0xac  ,
0x12   
)

◆ DEFINE_GUID() [8/34]

DEFINE_GUID ( GUID_DMUS_PROP_GS_Capable  ,
0x6496aba2  ,
0x61b0  ,
0x11d2  ,
0xaf  ,
0xa6  ,
0x00  ,
0xaa  ,
0x00  ,
0x24  ,
0xd8  ,
0xb6   
)

◆ DEFINE_GUID() [9/34]

DEFINE_GUID ( GUID_DMUS_PROP_GS_Hardware  ,
0x178f2f25  ,
0xc364  ,
0x11d1  ,
0xa7  ,
0x60  ,
0x00  ,
0x00  ,
0xf8  ,
0x75  ,
0xac  ,
0x12   
)

◆ DEFINE_GUID() [10/34]

DEFINE_GUID ( GUID_DMUS_PROP_INSTRUMENT2  ,
0x865fd372  ,
0x9f67  ,
0x11d2  ,
0x87  ,
0x2a  ,
0x00  ,
0x60  ,
0x08  ,
0x93  ,
0xb1  ,
0xbd   
)

◆ DEFINE_GUID() [11/34]

DEFINE_GUID ( GUID_DMUS_PROP_LegacyCaps  ,
0xcfa7cdc2  ,
0x00a1  ,
0x11d2  ,
0xaa  ,
0xd5  ,
0x00  ,
0x00  ,
0xf8  ,
0x75  ,
0xac  ,
0x12   
)

◆ DEFINE_GUID() [12/34]

DEFINE_GUID ( GUID_DMUS_PROP_MemorySize  ,
0x178f2f28  ,
0xc364  ,
0x11d1  ,
0xa7  ,
0x60  ,
0x00  ,
0x00  ,
0xf8  ,
0x75  ,
0xac  ,
0x12   
)

◆ DEFINE_GUID() [13/34]

DEFINE_GUID ( GUID_DMUS_PROP_SampleMemorySize  ,
0x178f2f28  ,
0xc364  ,
0x11d1  ,
0xa7  ,
0x60  ,
0x00  ,
0x00  ,
0xf8  ,
0x75  ,
0xac  ,
0x12   
)

◆ DEFINE_GUID() [14/34]

DEFINE_GUID ( GUID_DMUS_PROP_SamplePlaybackRate  ,
0x2a91f713  ,
0xa4bf  ,
0x11d2  ,
0xbb  ,
0xdf  ,
0x00  ,
0x60  ,
0x08  ,
0x33  ,
0xdb  ,
0xd8   
)

◆ DEFINE_GUID() [15/34]

DEFINE_GUID ( GUID_DMUS_PROP_SynthSink_DSOUND  ,
0x0aa97844  ,
0xc877  ,
0x11d1  ,
0x87  ,
0x0c  ,
0x00  ,
0x60  ,
0x08  ,
0x93  ,
0xb1  ,
0xbd   
)

◆ DEFINE_GUID() [16/34]

DEFINE_GUID ( GUID_DMUS_PROP_SynthSink_WAVE  ,
0x0aa97845  ,
0xc877  ,
0x11d1  ,
0x87  ,
0x0c  ,
0x00  ,
0x60  ,
0x08  ,
0x93  ,
0xb1  ,
0xbd   
)

◆ DEFINE_GUID() [17/34]

DEFINE_GUID ( GUID_DMUS_PROP_Volume  ,
0xfedfae25  ,
0xe46e  ,
0x11d1  ,
0xaa  ,
0xce  ,
0x00  ,
0x00  ,
0xf8  ,
0x75  ,
0xac  ,
0x12   
)

◆ DEFINE_GUID() [18/34]

DEFINE_GUID ( GUID_DMUS_PROP_WavesReverb  ,
0x04cb5622  ,
0x32e5  ,
0x11d2  ,
0xaf  ,
0xa6  ,
0x00  ,
0xaa  ,
0x00  ,
0x24  ,
0xd8  ,
0xb6   
)

◆ DEFINE_GUID() [19/34]

DEFINE_GUID ( GUID_DMUS_PROP_WriteLatency  ,
0x268a0fa0  ,
0x60f2  ,
0x11d2  ,
0xaf  ,
0xa6  ,
0x00  ,
0xaa  ,
0x00  ,
0x24  ,
0xd8  ,
0xb6   
)

◆ DEFINE_GUID() [20/34]

DEFINE_GUID ( GUID_DMUS_PROP_WritePeriod  ,
0x268a0fa1  ,
0x60f2  ,
0x11d2  ,
0xaf  ,
0xa6  ,
0x00  ,
0xaa  ,
0x00  ,
0x24  ,
0xd8  ,
0xb6   
)

◆ DEFINE_GUID() [21/34]

DEFINE_GUID ( GUID_DMUS_PROP_XG_Capable  ,
0x6496aba1  ,
0x61b0  ,
0x11d2  ,
0xaf  ,
0xa6  ,
0x00  ,
0xaa  ,
0x00  ,
0x24  ,
0xd8  ,
0xb6   
)

◆ DEFINE_GUID() [22/34]

DEFINE_GUID ( GUID_DMUS_PROP_XG_Hardware  ,
0x178f2f26  ,
0xc364  ,
0x11d1  ,
0xa7  ,
0x60  ,
0x00  ,
0x00  ,
0xf8  ,
0x75  ,
0xac  ,
0x12   
)

◆ DEFINE_GUID() [23/34]

DEFINE_GUID ( IID_IDirectMusic  ,
0x6536115a  ,
0x7b2d  ,
0x11d2  ,
0xba  ,
0x18  ,
0x00  ,
0x00  ,
0xf8  ,
0x75  ,
0xac  ,
0x12   
)

◆ DEFINE_GUID() [24/34]

DEFINE_GUID ( IID_IDirectMusic2  ,
0x6fc2cae1  ,
0xbc78  ,
0x11d2  ,
0xaf  ,
0xa6  ,
0x00  ,
0xaa  ,
0x00  ,
0x24  ,
0xd8  ,
0xb6   
)

◆ DEFINE_GUID() [25/34]

DEFINE_GUID ( IID_IDirectMusic8  ,
0x2d3629f7  ,
0x813d  ,
0x4939  ,
0x85  ,
0x08  ,
0xf0  ,
0x5c  ,
0x6b  ,
0x75  ,
0xfd  ,
0x97   
)

◆ DEFINE_GUID() [26/34]

DEFINE_GUID ( IID_IDirectMusicBuffer  ,
0xd2ac2878  ,
0xb39b  ,
0x11d1  ,
0x87  ,
0x04  ,
0x00  ,
0x60  ,
0x08  ,
0x93  ,
0xb1  ,
0xbd   
)

◆ DEFINE_GUID() [27/34]

DEFINE_GUID ( IID_IDirectMusicCollection  ,
0xd2ac287c  ,
0xb39b  ,
0x11d1  ,
0x87  ,
0x04  ,
0x00  ,
0x60  ,
0x08  ,
0x93  ,
0xb1  ,
0xbd   
)

◆ DEFINE_GUID() [28/34]

DEFINE_GUID ( IID_IDirectMusicDownload  ,
0xd2ac287b  ,
0xb39b  ,
0x11d1  ,
0x87  ,
0x04  ,
0x00  ,
0x60  ,
0x08  ,
0x93  ,
0xb1  ,
0xbd   
)

◆ DEFINE_GUID() [29/34]

DEFINE_GUID ( IID_IDirectMusicDownloadedInstrument  ,
0xd2ac287e  ,
0xb39b  ,
0x11d1  ,
0x87  ,
0x04  ,
0x00  ,
0x60  ,
0x08  ,
0x93  ,
0xb1  ,
0xbd   
)

◆ DEFINE_GUID() [30/34]

DEFINE_GUID ( IID_IDirectMusicInstrument  ,
0xd2ac287d  ,
0xb39b  ,
0x11d1  ,
0x87  ,
0x04  ,
0x00  ,
0x60  ,
0x08  ,
0x93  ,
0xb1  ,
0xbd   
)

◆ DEFINE_GUID() [31/34]

DEFINE_GUID ( IID_IDirectMusicPort  ,
0x08f2d8c9  ,
0x37c2  ,
0x11d2  ,
0xb9  ,
0xf9  ,
0x00  ,
0x00  ,
0xf8  ,
0x75  ,
0xac  ,
0x12   
)

◆ DEFINE_GUID() [32/34]

DEFINE_GUID ( IID_IDirectMusicPortDownload  ,
0xd2ac287a  ,
0xb39b  ,
0x11d1  ,
0x87  ,
0x04  ,
0x00  ,
0x60  ,
0x08  ,
0x93  ,
0xb1  ,
0xbd   
)

◆ DEFINE_GUID() [33/34]

DEFINE_GUID ( IID_IDirectMusicThru  ,
0xced153e7  ,
0x3606  ,
0x11d2  ,
0xb9  ,
0xf9  ,
0x00  ,
0x00  ,
0xf8  ,
0x75  ,
0xac  ,
0x12   
)

◆ DEFINE_GUID() [34/34]

DEFINE_GUID ( IID_IReferenceClock  ,
0x56a86897  ,
0x0ad4  ,
0x11ce  ,
0xb0  ,
0x3a  ,
0x00  ,
0x20  ,
0xaf  ,
0x0b  ,
0xa7  ,
0x70   
)