- Define interface for wdmaud.drv
[reactos.git] / reactos / drivers / wdm / audio / legacy / wdmaud / wdmaud.h
1 #ifndef WDMAUD_H__
2 #define WDMAUD_H__
3
4 #include <ntddk.h>
5 #include <portcls.h>
6 #include <ks.h>
7 #define YDEBUG
8 #include <debug.h>
9 #include <ksmedia.h>
10
11
12 #ifndef MAXPNAMELEN
13 #define MAXPNAMELEN 32
14 #endif
15
16 #ifndef WAVEOUTCAPS
17
18 typedef struct
19 {
20 USHORT wMid;
21 USHORT wPid;
22 ULONG vDriverVersion;
23 WCHAR szPname[MAXPNAMELEN];
24 ULONG dwFormats;
25 USHORT wChannels;
26 USHORT wReserved1;
27 ULONG dwSupport;
28 } WAVEOUTCAPS;
29
30 #endif
31
32 #ifndef AUXCAPS
33
34 typedef struct {
35 USHORT wMid;
36 USHORT wPid;
37 ULONG vDriverVersion;
38 WCHAR szPname[MAXPNAMELEN];
39 USHORT wTechnology;
40 USHORT wReserved1;
41 ULONG dwSupport;
42 } AUXCAPS;
43
44 #endif
45
46 #ifndef WAVEINCAPS
47
48 typedef struct
49 {
50 USHORT wMid;
51 USHORT wPid;
52 ULONG vDriverVersion;
53 WCHAR szPname[MAXPNAMELEN];
54 ULONG dwFormats;
55 USHORT wChannels;
56 USHORT wReserved1;
57 } WAVEINCAPS;
58 #endif
59
60
61
62 #include "interface.h"
63
64 typedef struct
65 {
66 LIST_ENTRY Entry;
67 HANDLE Handle;
68 UNICODE_STRING SymbolicLink;
69 PFILE_OBJECT FileObject;
70 }SYSAUDIO_ENTRY;
71
72 typedef struct
73 {
74 KSDEVICE_HEADER DeviceHeader;
75 PVOID SysAudioNotification;
76
77 ULONG NumSysAudioDevices;
78 LIST_ENTRY SysAudioDeviceList;
79
80 }WDMAUD_DEVICE_EXTENSION, *PWDMAUD_DEVICE_EXTENSION;
81
82
83
84 #endif