10 #ifndef __DSCONF_INCLUDED__ 11 #define __DSCONF_INCLUDED__ 18 #ifndef __DSOUND_INCLUDED__ 19 #error dsound.h not included 20 #endif // __DSOUND_INCLUDED__ 28 DEFINE_GUID(CLSID_DirectSoundPrivate, 0x11ab3ec0, 0x25ec, 0x11d1, 0xa4, 0xd8, 0x0, 0xc0, 0x4f, 0xc2, 0x8a, 0xca);
35 DEFINE_GUID(DSPROPSETID_DirectSoundDevice, 0x84624f82, 0x25ec, 0x11d1, 0xa4, 0xd8, 0x0, 0xc0, 0x4f, 0xc2, 0x8a, 0xca);
49 #if DIRECTSOUND_VERSION >= 0x0700 51 #define DSPROPERTY_DIRECTSOUNDDEVICE_WAVEDEVICEMAPPING DSPROPERTY_DIRECTSOUNDDEVICE_WAVEDEVICEMAPPING_W 52 #define DSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION DSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_W 53 #define DSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE DSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_W 55 #define DSPROPERTY_DIRECTSOUNDDEVICE_WAVEDEVICEMAPPING DSPROPERTY_DIRECTSOUNDDEVICE_WAVEDEVICEMAPPING_A 56 #define DSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION DSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_A 57 #define DSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE DSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_A 59 #else // DIRECTSOUND_VERSION >= 0x0700 60 #define DSPROPERTY_DIRECTSOUNDDEVICE_WAVEDEVICEMAPPING DSPROPERTY_DIRECTSOUNDDEVICE_WAVEDEVICEMAPPING_A 61 #define DSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION DSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_1 62 #define DSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE DSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_1 63 #endif // DIRECTSOUND_VERSION >= 0x0700 94 #define DSPROPERTY_DIRECTSOUNDDEVICE_WAVEDEVICEMAPPING_DATA DSPROPERTY_DIRECTSOUNDDEVICE_WAVEDEVICEMAPPING_W_DATA 95 #define PDSPROPERTY_DIRECTSOUNDDEVICE_WAVEDEVICEMAPPING_DATA PDSPROPERTY_DIRECTSOUNDDEVICE_WAVEDEVICEMAPPING_W_DATA 97 #define DSPROPERTY_DIRECTSOUNDDEVICE_WAVEDEVICEMAPPING_DATA DSPROPERTY_DIRECTSOUNDDEVICE_WAVEDEVICEMAPPING_A_DATA 98 #define PDSPROPERTY_DIRECTSOUNDDEVICE_WAVEDEVICEMAPPING_DATA PDSPROPERTY_DIRECTSOUNDDEVICE_WAVEDEVICEMAPPING_A_DATA 136 #if DIRECTSOUND_VERSION >= 0x0700 138 #define DSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_DATA DSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_W_DATA 139 #define PDSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_DATA PDSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_W_DATA 141 #define DSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_DATA DSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_A_DATA 142 #define PDSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_DATA PDSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_A_DATA 144 #else // DIRECTSOUND_VERSION >= 0x0700 145 #define DSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_DATA DSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_1_DATA 146 #define PDSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_DATA PDSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_1_DATA 147 #endif // DIRECTSOUND_VERSION >= 0x0700 153 #if DIRECTSOUND_VERSION >= 0x0700 155 #define LPFNDIRECTSOUNDDEVICEENUMERATECALLBACK LPFNDIRECTSOUNDDEVICEENUMERATECALLBACKW 157 #define LPFNDIRECTSOUNDDEVICEENUMERATECALLBACK LPFNDIRECTSOUNDDEVICEENUMERATECALLBACKA 159 #else // DIRECTSOUND_VERSION >= 0x0700 160 #define LPFNDIRECTSOUNDDEVICEENUMERATECALLBACK LPFNDIRECTSOUNDDEVICEENUMERATECALLBACK1 161 #endif // DIRECTSOUND_VERSION >= 0x0700 181 #if DIRECTSOUND_VERSION >= 0x0700 183 #define DSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_DATA DSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_W_DATA 184 #define PDSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_DATA PDSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_W_DATA 186 #define DSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_DATA DSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_A_DATA 187 #define PDSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_DATA PDSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_A_DATA 189 #else // DIRECTSOUND_VERSION >= 0x0700 190 #define DSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_DATA DSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_1_DATA 191 #define PDSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_DATA PDSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_1_DATA 192 #endif // DIRECTSOUND_VERSION >= 0x0700 197 #endif // __cplusplus 203 #endif // __DSCONF_INCLUDED__
DIRECTSOUNDDEVICE_DATAFLOW DataFlow
Definition: dsconf.h:89
LPVOID Context
Definition: dsconf.h:178
LPFNDIRECTSOUNDDEVICEENUMERATECALLBACKW Callback
Definition: dsconf.h:177
struct _DSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_1_DATA * PDSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_1_DATA
LPVOID Context
Definition: dsconf.h:166
struct _DSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_1_DATA * PDSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_1_DATA
struct _DSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_W_DATA * PDSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_W_DATA
DIRECTSOUNDDEVICE_TYPE Type
Definition: dsconf.h:116
struct _DSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_A_DATA DSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_A_DATA
ULONG WaveDeviceId
Definition: dsconf.h:133
DIRECTSOUNDDEVICE_DATAFLOW DataFlow
Definition: dsconf.h:128
WCHAR DescriptionW[0x100]
Definition: dsconf.h:105
struct _DSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_A_DATA * PDSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_A_DATA
BOOL(CALLBACK * LPFNDIRECTSOUNDDEVICEENUMERATECALLBACKA)(PDSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_A_DATA, LPVOID)
Definition: dsconf.h:150
LPSTR Module
Definition: dsconf.h:120
LPWSTR DeviceName
Definition: dsconf.h:88
LPFNDIRECTSOUNDDEVICEENUMERATECALLBACK1 Callback
Definition: dsconf.h:165
LPWSTR Description
Definition: dsconf.h:130
DIRECTSOUNDDEVICE_TYPE
Definition: dsconf.h:65
DIRECTSOUNDDEVICE_DATAFLOW DataFlow
Definition: dsconf.h:82
struct _DSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_1_DATA DSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_1_DATA
GUID DeviceId
Definition: dsconf.h:129
LPWSTR Module
Definition: dsconf.h:131
GUID DeviceId
Definition: dsconf.h:90
struct _DSPROPERTY_DIRECTSOUNDDEVICE_WAVEDEVICEMAPPING_A_DATA * PDSPROPERTY_DIRECTSOUNDDEVICE_WAVEDEVICEMAPPING_A_DATA
struct _DSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_1_DATA DSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_1_DATA
GUID DeviceId
Definition: dsconf.h:103
WCHAR ModuleW[MAX_PATH]
Definition: dsconf.h:107
DIRECTSOUNDDEVICE_DATAFLOW DataFlow
Definition: dsconf.h:109
struct _DSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_W_DATA DSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_W_DATA
struct _DSPROPERTY_DIRECTSOUNDDEVICE_WAVEDEVICEMAPPING_W_DATA * PDSPROPERTY_DIRECTSOUNDDEVICE_WAVEDEVICEMAPPING_W_DATA
struct _DSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_W_DATA * PDSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_W_DATA
DIRECTSOUNDDEVICE_DATAFLOW
Definition: dsconf.h:72
GUID DeviceId
Definition: dsconf.h:83
LPFNDIRECTSOUNDDEVICEENUMERATECALLBACKA Callback
Definition: dsconf.h:171
DIRECTSOUNDDEVICE_DATAFLOW DataFlow
Definition: dsconf.h:117
BOOL(CALLBACK * LPFNDIRECTSOUNDDEVICEENUMERATECALLBACKW)(PDSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_W_DATA, LPVOID)
Definition: dsconf.h:151
GUID DeviceId
Definition: dsconf.h:118
LPVOID Context
Definition: dsconf.h:172
ULONG WaveDeviceId
Definition: dsconf.h:122
DIRECTSOUNDDEVICE_TYPE Type
Definition: dsconf.h:108
BOOL(CALLBACK * LPFNDIRECTSOUNDDEVICEENUMERATECALLBACK1)(PDSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_1_DATA, LPVOID)
Definition: dsconf.h:149
DSPROPERTY_DIRECTSOUNDDEVICE
Definition: dsconf.h:37
unsigned int BOOL
Definition: gctypes.h:51
ULONG Devnode
Definition: dsconf.h:111
struct _DSPROPERTY_DIRECTSOUNDDEVICE_WAVEDEVICEMAPPING_W_DATA DSPROPERTY_DIRECTSOUNDDEVICE_WAVEDEVICEMAPPING_W_DATA
CHAR ModuleA[MAX_PATH]
Definition: dsconf.h:106
LPSTR DeviceName
Definition: dsconf.h:81
CHAR DescriptionA[0x100]
Definition: dsconf.h:104
struct _DSPROPERTY_DIRECTSOUNDDEVICE_WAVEDEVICEMAPPING_A_DATA DSPROPERTY_DIRECTSOUNDDEVICE_WAVEDEVICEMAPPING_A_DATA
LPSTR Interface
Definition: dsconf.h:121
ULONG WaveDeviceId
Definition: dsconf.h:110
struct _DSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_W_DATA DSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_W_DATA
DIRECTSOUNDDEVICE_TYPE Type
Definition: dsconf.h:127
struct _DSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_A_DATA DSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_A_DATA
struct _DSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_A_DATA * PDSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_A_DATA
LPSTR Description
Definition: dsconf.h:119
LPWSTR Interface
Definition: dsconf.h:132
DEFINE_GUID(CLSID_DirectSoundPrivate, 0x11ab3ec0, 0x25ec, 0x11d1, 0xa4, 0xd8, 0x0, 0xc0, 0x4f, 0xc2, 0x8a, 0xca)