ReactOS 0.4.16-dev-297-gc569aee
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
9extern "C" {
10#endif
11
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);
14
15typedef enum
16{
26
27typedef enum
28{
33
34typedef 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
#define MAX_PATH
Definition: compat.h:34
#define CALLBACK
Definition: compat.h:35
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
Definition: dsconf.h:16
@ DSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_1
Definition: dsconf.h:18
@ DSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_A
Definition: dsconf.h:21
@ DSPROPERTY_DIRECTSOUNDDEVICE_WAVEDEVICEMAPPING_W
Definition: dsconf.h:20
@ DSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_1
Definition: dsconf.h:19
@ DSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_W
Definition: dsconf.h:24
@ DSPROPERTY_DIRECTSOUNDDEVICE_WAVEDEVICEMAPPING_A
Definition: dsconf.h:17
@ DSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_W
Definition: dsconf.h:22
@ DSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_A
Definition: dsconf.h:23
struct _DSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_1_DATA * PDSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_1_DATA
struct _DSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_A_DATA DSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_A_DATA
DIRECTSOUNDDEVICE_TYPE
Definition: dsconf.h:28
@ DIRECTSOUNDDEVICE_TYPE_EMULATED
Definition: dsconf.h:29
@ DIRECTSOUNDDEVICE_TYPE_WDM
Definition: dsconf.h:31
@ DIRECTSOUNDDEVICE_TYPE_VXD
Definition: dsconf.h:30
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)
Definition: dsconf.h:120
struct _DSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_1_DATA * PDSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_1_DATA
DIRECTSOUNDDEVICE_DATAFLOW
Definition: dsconf.h:35
@ DIRECTSOUNDDEVICE_DATAFLOW_RENDER
Definition: dsconf.h:36
@ DIRECTSOUNDDEVICE_DATAFLOW_CAPTURE
Definition: dsconf.h:37
BOOL(CALLBACK * LPFNDIRECTSOUNDDEVICEENUMERATECALLBACKW)(PDSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_W_DATA, LPVOID)
Definition: dsconf.h:121
struct _DSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_W_DATA * PDSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_W_DATA
BOOL(CALLBACK * LPFNDIRECTSOUNDDEVICEENUMERATECALLBACK1)(PDSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_1_DATA, LPVOID)
Definition: dsconf.h:119
struct _DSPROPERTY_DIRECTSOUNDDEVICE_WAVEDEVICEMAPPING_A_DATA DSPROPERTY_DIRECTSOUNDDEVICE_WAVEDEVICEMAPPING_A_DATA
#define BOOL
Definition: nt_native.h:43
#define LPVOID
Definition: nt_native.h:45
#define DEFINE_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8)
Definition: guiddef.h:68
DIRECTSOUNDDEVICE_DATAFLOW DataFlow
Definition: dsconf.h:62
DIRECTSOUNDDEVICE_DATAFLOW DataFlow
Definition: dsconf.h:70
DIRECTSOUNDDEVICE_DATAFLOW DataFlow
Definition: dsconf.h:81
LPFNDIRECTSOUNDDEVICEENUMERATECALLBACK1 Callback
Definition: dsconf.h:135
LPFNDIRECTSOUNDDEVICEENUMERATECALLBACKA Callback
Definition: dsconf.h:141
LPFNDIRECTSOUNDDEVICEENUMERATECALLBACKW Callback
Definition: dsconf.h:147
uint32_t ULONG
Definition: typedefs.h:59
char * LPSTR
Definition: xmlstorage.h:182
__wchar_t WCHAR
Definition: xmlstorage.h:180
WCHAR * LPWSTR
Definition: xmlstorage.h:184
char CHAR
Definition: xmlstorage.h:175