1#ifndef __DSCONF_INCLUDED__
2#define __DSCONF_INCLUDED__
4#ifndef __DSOUND_INCLUDED__
5#error dsound.h not included
12DEFINE_GUID(CLSID_DirectSoundPrivate, 0x11AB3EC0, 0x25EC, 0x11D1, 0xA4, 0xD8, 0x0, 0xC0, 0x4F, 0xC2, 0x8A, 0xCA);
13DEFINE_GUID(DSPROPSETID_DirectSoundDevice, 0x84624F82, 0x25EC, 0x11D1, 0xA4, 0xD8, 0x0, 0xC0, 0x4F, 0xC2, 0x8A, 0xCA);
89#if DIRECTSOUND_VERSION >= 0x0700
91 #define DSPROPERTY_DIRECTSOUNDDEVICE_WAVEDEVICEMAPPING DSPROPERTY_DIRECTSOUNDDEVICE_WAVEDEVICEMAPPING_W
92 #define DSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION DSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_W
93 #define DSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE DSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_W
94 #define DSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_DATA DSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_W_DATA
95 #define PDSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_DATA PDSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_W_DATA
97 #define DSPROPERTY_DIRECTSOUNDDEVICE_WAVEDEVICEMAPPING DSPROPERTY_DIRECTSOUNDDEVICE_WAVEDEVICEMAPPING_A
98 #define DSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION DSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_A
99 #define DSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE DSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_A
100 #define DSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_DATA DSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_A_DATA
101 #define PDSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_DATA PDSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_A_DATA
104 #define DSPROPERTY_DIRECTSOUNDDEVICE_WAVEDEVICEMAPPING DSPROPERTY_DIRECTSOUNDDEVICE_WAVEDEVICEMAPPING_A
105 #define DSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION DSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_1
106 #define DSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE DSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_1
107 #define DSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_DATA DSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_1_DATA
108#define PDSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_DATA PDSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_1_DATA
112 #define DSPROPERTY_DIRECTSOUNDDEVICE_WAVEDEVICEMAPPING_DATA DSPROPERTY_DIRECTSOUNDDEVICE_WAVEDEVICEMAPPING_W_DATA
113 #define PDSPROPERTY_DIRECTSOUNDDEVICE_WAVEDEVICEMAPPING_DATA PDSPROPERTY_DIRECTSOUNDDEVICE_WAVEDEVICEMAPPING_W_DATA
115 #define DSPROPERTY_DIRECTSOUNDDEVICE_WAVEDEVICEMAPPING_DATA DSPROPERTY_DIRECTSOUNDDEVICE_WAVEDEVICEMAPPING_A_DATA
116 #define PDSPROPERTY_DIRECTSOUNDDEVICE_WAVEDEVICEMAPPING_DATA PDSPROPERTY_DIRECTSOUNDDEVICE_WAVEDEVICEMAPPING_A_DATA
123#if DIRECTSOUND_VERSION >= 0x0700
125 #define LPFNDIRECTSOUNDDEVICEENUMERATECALLBACK LPFNDIRECTSOUNDDEVICEENUMERATECALLBACKW
127 #define LPFNDIRECTSOUNDDEVICEENUMERATECALLBACK LPFNDIRECTSOUNDDEVICEENUMERATECALLBACKA
130 #define LPFNDIRECTSOUNDDEVICEENUMERATECALLBACK LPFNDIRECTSOUNDDEVICEENUMERATECALLBACK1
151#if DIRECTSOUND_VERSION >= 0x0700
153 #define DSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_DATA DSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_W_DATA
154 #define PDSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_DATA PDSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_W_DATA
156 #define DSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_DATA DSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_A_DATA
157 #define PDSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_DATA PDSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_A_DATA
160 #define DSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_DATA DSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_1_DATA
161 #define PDSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_DATA PDSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_1_DATA
struct _DSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_1_DATA DSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_1_DATA
struct _DSPROPERTY_DIRECTSOUNDDEVICE_WAVEDEVICEMAPPING_W_DATA * PDSPROPERTY_DIRECTSOUNDDEVICE_WAVEDEVICEMAPPING_W_DATA
struct _DSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_1_DATA DSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_1_DATA
struct _DSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_A_DATA * PDSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_A_DATA
struct _DSPROPERTY_DIRECTSOUNDDEVICE_WAVEDEVICEMAPPING_A_DATA * PDSPROPERTY_DIRECTSOUNDDEVICE_WAVEDEVICEMAPPING_A_DATA
struct _DSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_A_DATA DSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_A_DATA
struct _DSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_W_DATA * PDSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_W_DATA
struct _DSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_A_DATA * PDSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_A_DATA
struct _DSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_W_DATA DSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_W_DATA
DSPROPERTY_DIRECTSOUNDDEVICE
@ DSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_1
@ DSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_A
@ DSPROPERTY_DIRECTSOUNDDEVICE_WAVEDEVICEMAPPING_W
@ DSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_1
@ DSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_W
@ DSPROPERTY_DIRECTSOUNDDEVICE_WAVEDEVICEMAPPING_A
@ DSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_W
@ DSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_A
struct _DSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_1_DATA * PDSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_1_DATA
struct _DSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_A_DATA DSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_A_DATA
@ DIRECTSOUNDDEVICE_TYPE_EMULATED
@ DIRECTSOUNDDEVICE_TYPE_WDM
@ DIRECTSOUNDDEVICE_TYPE_VXD
struct _DSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_W_DATA DSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_W_DATA
struct _DSPROPERTY_DIRECTSOUNDDEVICE_WAVEDEVICEMAPPING_W_DATA DSPROPERTY_DIRECTSOUNDDEVICE_WAVEDEVICEMAPPING_W_DATA
BOOL(CALLBACK * LPFNDIRECTSOUNDDEVICEENUMERATECALLBACKA)(PDSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_A_DATA, LPVOID)
struct _DSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_1_DATA * PDSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_1_DATA
DIRECTSOUNDDEVICE_DATAFLOW
@ DIRECTSOUNDDEVICE_DATAFLOW_RENDER
@ DIRECTSOUNDDEVICE_DATAFLOW_CAPTURE
BOOL(CALLBACK * LPFNDIRECTSOUNDDEVICEENUMERATECALLBACKW)(PDSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_W_DATA, LPVOID)
struct _DSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_W_DATA * PDSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_W_DATA
BOOL(CALLBACK * LPFNDIRECTSOUNDDEVICEENUMERATECALLBACK1)(PDSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_1_DATA, LPVOID)
struct _DSPROPERTY_DIRECTSOUNDDEVICE_WAVEDEVICEMAPPING_A_DATA DSPROPERTY_DIRECTSOUNDDEVICE_WAVEDEVICEMAPPING_A_DATA
#define DEFINE_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8)
WCHAR DescriptionW[0x100]
DIRECTSOUNDDEVICE_TYPE Type
DIRECTSOUNDDEVICE_DATAFLOW DataFlow
DIRECTSOUNDDEVICE_DATAFLOW DataFlow
DIRECTSOUNDDEVICE_TYPE Type
DIRECTSOUNDDEVICE_TYPE Type
DIRECTSOUNDDEVICE_DATAFLOW DataFlow
LPFNDIRECTSOUNDDEVICEENUMERATECALLBACK1 Callback
LPFNDIRECTSOUNDDEVICEENUMERATECALLBACKA Callback
LPFNDIRECTSOUNDDEVICEENUMERATECALLBACKW Callback
DIRECTSOUNDDEVICE_DATAFLOW DataFlow
DIRECTSOUNDDEVICE_DATAFLOW DataFlow