ReactOS 0.4.16-dev-300-g2aadf2e
interface.h
Go to the documentation of this file.
1#pragma once
2
7
8// These are now in sndtypes.h
9/*
10typedef enum
11{
12 DEVICE_TYPE_NONE = 0,
13 DEVICE_TYPE_WAVE_OUT,
14 DEVICE_TYPE_WAVE_IN,
15 DEVICE_TYPE_MIDI_IN,
16 DEVICE_TYPE_MIDI_OUT,
17 DEVICE_TYPE_AUX_IN,
18 DEVICE_TYPE_AUX_OUT
19
20}AUDIO_DEVICE_TYPE;
21*/
22
23#include <sndtypes.h>
24
25typedef struct
26{
30
34
35 union
36 {
48 struct
49 {
53
54 struct
55 {
59 }MixerEvent;
65 }u;
66
68
69
70
81
82#define IOCTL_OPEN_WDMAUD \
83 CTL_CODE(FILE_DEVICE_SOUND, \
84 0, \
85 METHOD_BUFFERED, \
86 FILE_CREATE_TREE_CONNECTION | FILE_ANY_ACCESS)
87
88
98
99#define IOCTL_CLOSE_WDMAUD \
100 CTL_CODE(FILE_DEVICE_SOUND, \
101 1, \
102 METHOD_BUFFERED, \
103 FILE_CREATE_TREE_CONNECTION | FILE_ANY_ACCESS) \
104
105
116
117#define IOCTL_GETNUMDEVS_TYPE \
118 CTL_CODE(FILE_DEVICE_SOUND, \
119 2, \
120 METHOD_BUFFERED, \
121 FILE_CREATE_TREE_CONNECTION | FILE_ANY_ACCESS)
122
123
133
134#define IOCTL_SETDEVICE_STATE \
135 CTL_CODE(FILE_DEVICE_SOUND, \
136 3, \
137 METHOD_BUFFERED, \
138 FILE_CREATE_TREE_CONNECTION | FILE_ANY_ACCESS)
139
140
151
152#define IOCTL_GETDEVID \
153 CTL_CODE(FILE_DEVICE_SOUND, \
154 4, \
155 METHOD_BUFFERED, \
156 FILE_CREATE_TREE_CONNECTION | FILE_ANY_ACCESS)
157
158
169
170#define IOCTL_GETVOLUME \
171 CTL_CODE(FILE_DEVICE_SOUND, \
172 5, \
173 METHOD_BUFFERED, \
174 FILE_CREATE_TREE_CONNECTION | FILE_ANY_ACCESS)
175
176
186
187#define IOCTL_SETVOLUME \
188 CTL_CODE(FILE_DEVICE_SOUND, \
189 6, \
190 METHOD_BUFFERED, \
191 FILE_CREATE_TREE_CONNECTION | FILE_ANY_ACCESS)
192
193
203
204#define IOCTL_GETCAPABILITIES \
205 CTL_CODE(FILE_DEVICE_SOUND, \
206 7, \
207 METHOD_BUFFERED, \
208 FILE_CREATE_TREE_CONNECTION | FILE_ANY_ACCESS)
209
210
220
221#define IOCTL_WRITEDATA \
222 CTL_CODE(FILE_DEVICE_SOUND, \
223 8, \
224 METHOD_BUFFERED, \
225 FILE_CREATE_TREE_CONNECTION | FILE_ANY_ACCESS)
226
237
238#define IOCTL_GETPOS \
239 CTL_CODE(FILE_DEVICE_SOUND, \
240 9, \
241 METHOD_BUFFERED, \
242 FILE_CREATE_TREE_CONNECTION | FILE_ANY_ACCESS)
243
254
255#define IOCTL_GETFRAMESIZE \
256 CTL_CODE(FILE_DEVICE_SOUND, \
257 10, \
258 METHOD_BUFFERED, \
259 FILE_CREATE_TREE_CONNECTION | FILE_ANY_ACCESS)
260
271
272#define IOCTL_GETLINEINFO \
273 CTL_CODE(FILE_DEVICE_SOUND, \
274 11, \
275 METHOD_BUFFERED, \
276 FILE_CREATE_TREE_CONNECTION | FILE_ANY_ACCESS)
277
278
289
290#define IOCTL_GETLINECONTROLS \
291 CTL_CODE(FILE_DEVICE_SOUND, \
292 12, \
293 METHOD_BUFFERED, \
294 FILE_CREATE_TREE_CONNECTION | FILE_ANY_ACCESS)
295
296
306
307#define IOCTL_SETCONTROLDETAILS \
308 CTL_CODE(FILE_DEVICE_SOUND, \
309 13, \
310 METHOD_BUFFERED, \
311 FILE_CREATE_TREE_CONNECTION | FILE_ANY_ACCESS)
312
313
324
325#define IOCTL_GETCONTROLDETAILS \
326 CTL_CODE(FILE_DEVICE_SOUND, \
327 14, \
328 METHOD_BUFFERED, \
329 FILE_CREATE_TREE_CONNECTION | FILE_ANY_ACCESS)
330
331
342
343#define IOCTL_QUERYDEVICEINTERFACESTRING \
344 CTL_CODE(FILE_DEVICE_SOUND, \
345 15, \
346 METHOD_BUFFERED, \
347 FILE_CREATE_TREE_CONNECTION | FILE_ANY_ACCESS)
348
358
359#define IOCTL_GET_MIXER_EVENT \
360 CTL_CODE(FILE_DEVICE_SOUND, \
361 16, \
362 METHOD_BUFFERED, \
363 FILE_CREATE_TREE_CONNECTION | FILE_ANY_ACCESS)
364
373
374#define IOCTL_RESET_STREAM \
375 CTL_CODE(FILE_DEVICE_SOUND, \
376 17, \
377 METHOD_BUFFERED, \
378 FILE_CREATE_TREE_CONNECTION | FILE_ANY_ACCESS)
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble * u
Definition: glfuncs.h:240
KSRESET
Definition: ks.h:1226
KSSTATE
Definition: ks.h:1214
SOUND_DEVICE_TYPE
Definition: sndtypes.h:26
LPWSTR DeviceInterfaceString
Definition: interface.h:50
SOUND_DEVICE_TYPE DeviceType
Definition: interface.h:28
ULONG NotificationType
Definition: interface.h:57
HANDLE hNotifyEvent
Definition: interface.h:64
WAVEOUTCAPSW WaveOutCaps
Definition: interface.h:42
WAVEFORMATEX WaveFormatEx
Definition: interface.h:41
MIXERCONTROLDETAILS MixDetails
Definition: interface.h:38
MIDIOUTCAPSW MidiOutCaps
Definition: interface.h:46
MIXERLINEW MixLine
Definition: interface.h:40
MIDIINCAPSW MidiInCaps
Definition: interface.h:45
ULONG_PTR DeviceIndex
Definition: interface.h:29
ULONG DeviceInterfaceStringSize
Definition: interface.h:51
MIXERCAPSW MixCaps
Definition: interface.h:37
KSSTREAM_HEADER Header
Definition: interface.h:27
WAVEINCAPSW WaveInCaps
Definition: interface.h:44
KSRESET ResetStream
Definition: interface.h:61
MIXERLINECONTROLSW MixControls
Definition: interface.h:39
ULONGLONG Position
Definition: interface.h:47
AUXCAPSW AuxCaps
Definition: interface.h:43
uint32_t ULONG_PTR
Definition: typedefs.h:65
uint32_t ULONG
Definition: typedefs.h:59
uint64_t ULONGLONG
Definition: typedefs.h:67
_Must_inspect_result_ _In_ WDFDEVICE _In_ LPCGUID _Out_ PINTERFACE Interface
Definition: wdffdo.h:465
struct WDMAUD_DEVICE_INFO * PWDMAUD_DEVICE_INFO
WCHAR * LPWSTR
Definition: xmlstorage.h:184