ReactOS  0.4.14-dev-337-gf981a68
dsconf.h
Go to the documentation of this file.
1 #ifndef __DSCONF_INCLUDED__
2 #define __DSCONF_INCLUDED__
3 
4 #ifndef __DSOUND_INCLUDED__
5 #error dsound.h not included
6 #endif
7 
8 #ifdef __cplusplus
9 extern "C" {
10 #endif
11 
12 DEFINE_GUID(CLSID_DirectSoundPrivate, 0x11AB3EC0, 0x25EC, 0x11D1, 0xA4, 0xD8, 0x0, 0xC0, 0x4F, 0xC2, 0x8A, 0xCA);
13 DEFINE_GUID(DSPROPSETID_DirectSoundDevice, 0x84624F82, 0x25EC, 0x11D1, 0xA4, 0xD8, 0x0, 0xC0, 0x4F, 0xC2, 0x8A, 0xCA);
14 
15 typedef enum
16 {
26 
27 typedef enum
28 {
33 
34 typedef enum
35 {
39 
41 {
46 
48 {
53 
55 {
66 
68 {
77 
79 {
88 
89 #if DIRECTSOUND_VERSION >= 0x0700
90  #ifdef UNICODE
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
96  #else
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
102  #endif
103 #else
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
109 #endif
110 
111 #ifdef UNICODE
112  #define DSPROPERTY_DIRECTSOUNDDEVICE_WAVEDEVICEMAPPING_DATA DSPROPERTY_DIRECTSOUNDDEVICE_WAVEDEVICEMAPPING_W_DATA
113  #define PDSPROPERTY_DIRECTSOUNDDEVICE_WAVEDEVICEMAPPING_DATA PDSPROPERTY_DIRECTSOUNDDEVICE_WAVEDEVICEMAPPING_W_DATA
114 #else
115  #define DSPROPERTY_DIRECTSOUNDDEVICE_WAVEDEVICEMAPPING_DATA DSPROPERTY_DIRECTSOUNDDEVICE_WAVEDEVICEMAPPING_A_DATA
116  #define PDSPROPERTY_DIRECTSOUNDDEVICE_WAVEDEVICEMAPPING_DATA PDSPROPERTY_DIRECTSOUNDDEVICE_WAVEDEVICEMAPPING_A_DATA
117 #endif
118 
122 
123 #if DIRECTSOUND_VERSION >= 0x0700
124  #ifdef UNICODE
125  #define LPFNDIRECTSOUNDDEVICEENUMERATECALLBACK LPFNDIRECTSOUNDDEVICEENUMERATECALLBACKW
126  #else
127  #define LPFNDIRECTSOUNDDEVICEENUMERATECALLBACK LPFNDIRECTSOUNDDEVICEENUMERATECALLBACKA
128  #endif
129 #else
130  #define LPFNDIRECTSOUNDDEVICEENUMERATECALLBACK LPFNDIRECTSOUNDDEVICEENUMERATECALLBACK1
131 #endif
132 
134 {
138 
140 {
144 
146 {
150 
151 #if DIRECTSOUND_VERSION >= 0x0700
152  #ifdef UNICODE
153  #define DSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_DATA DSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_W_DATA
154  #define PDSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_DATA PDSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_W_DATA
155  #else
156  #define DSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_DATA DSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_A_DATA
157  #define PDSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_DATA PDSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_A_DATA
158  #endif
159 #else
160  #define DSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_DATA DSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_1_DATA
161  #define PDSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_DATA PDSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_1_DATA
162 #endif
163 
164 #ifdef __cplusplus
165 }
166 #endif
167 
168 #endif
struct _DSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_W_DATA DSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_W_DATA
struct _DSPROPERTY_DIRECTSOUNDDEVICE_WAVEDEVICEMAPPING_W_DATA DSPROPERTY_DIRECTSOUNDDEVICE_WAVEDEVICEMAPPING_W_DATA
LPFNDIRECTSOUNDDEVICEENUMERATECALLBACK1 Callback
Definition: dsconf.h:135
struct _DSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_A_DATA DSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_A_DATA
BOOL(CALLBACK * LPFNDIRECTSOUNDDEVICEENUMERATECALLBACKA)(PDSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_A_DATA, LPVOID)
Definition: dsconf.h:120
GLint x0
Definition: linetemp.h:95
DIRECTSOUNDDEVICE_DATAFLOW DataFlow
Definition: dsconf.h:81
LPFNDIRECTSOUNDDEVICEENUMERATECALLBACKW Callback
Definition: dsconf.h:147
char CHAR
Definition: xmlstorage.h:175
#define CALLBACK
Definition: compat.h:27
LPFNDIRECTSOUNDDEVICEENUMERATECALLBACKA Callback
Definition: dsconf.h:141
char * LPSTR
Definition: xmlstorage.h:182
struct _DSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_1_DATA * PDSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_1_DATA
#define BOOL
Definition: nt_native.h:43
DIRECTSOUNDDEVICE_DATAFLOW DataFlow
Definition: dsconf.h:62
DIRECTSOUNDDEVICE_DATAFLOW DataFlow
Definition: dsconf.h:70
struct _DSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_1_DATA DSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_1_DATA
DIRECTSOUNDDEVICE_TYPE
Definition: dsconf.h:27
struct _DSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_W_DATA * PDSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_W_DATA
DEFINE_GUID(CLSID_DirectSoundPrivate, 0x11AB3EC0, 0x25EC, 0x11D1, 0xA4, 0xD8, 0x0, 0xC0, 0x4F, 0xC2, 0x8A, 0xCA)
struct _DSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_A_DATA DSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_A_DATA
struct _DSPROPERTY_DIRECTSOUNDDEVICE_WAVEDEVICEMAPPING_A_DATA * PDSPROPERTY_DIRECTSOUNDDEVICE_WAVEDEVICEMAPPING_A_DATA
__wchar_t WCHAR
Definition: xmlstorage.h:180
#define MAX_PATH
Definition: compat.h:26
DSPROPERTY_DIRECTSOUNDDEVICE
Definition: dsconf.h:15
#define LPVOID
Definition: nt_native.h:45
struct _DSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_1_DATA DSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_1_DATA
struct _DSPROPERTY_DIRECTSOUNDDEVICE_WAVEDEVICEMAPPING_A_DATA DSPROPERTY_DIRECTSOUNDDEVICE_WAVEDEVICEMAPPING_A_DATA
BOOL(CALLBACK * LPFNDIRECTSOUNDDEVICEENUMERATECALLBACK1)(PDSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_1_DATA, LPVOID)
Definition: dsconf.h:119
struct _DSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_A_DATA * PDSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_A_DATA
struct _DSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_1_DATA * PDSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_1_DATA
BOOL(CALLBACK * LPFNDIRECTSOUNDDEVICEENUMERATECALLBACKW)(PDSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_W_DATA, LPVOID)
Definition: dsconf.h:121
unsigned int ULONG
Definition: retypes.h:1
struct _DSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_A_DATA * PDSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_A_DATA
WCHAR * LPWSTR
Definition: xmlstorage.h:184
struct _DSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_W_DATA * PDSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_W_DATA
struct _DSPROPERTY_DIRECTSOUNDDEVICE_WAVEDEVICEMAPPING_W_DATA * PDSPROPERTY_DIRECTSOUNDDEVICE_WAVEDEVICEMAPPING_W_DATA
DIRECTSOUNDDEVICE_DATAFLOW
Definition: dsconf.h:34
struct _DSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_W_DATA DSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_W_DATA