annotate loader/wine/msacm.h @ 92:92776006958f

ACM code cleanup, nosound at ACM error
author arpi_esp
date Mon, 12 Mar 2001 01:09:35 +0000
parents 3b5f5d1c5041
children 174e2a58b4cd
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1 /*
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
2 * msacm.h - Declarations for MSACM
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
3 */
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
4
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
5 #ifndef __WINE_MSACM_H
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
6 #define __WINE_MSACM_H
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
7
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
8 #include "windef.h"
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
9 #include "driver.h"
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
10 #include "mmreg.h"
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
11
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
12 #ifdef __cplusplus
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
13 extern "C" {
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
14 #endif /* defined(__cplusplus) */
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
15
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
16 //typedef WORD VERSION; /* major (high byte), minor (low byte) */
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
17
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
18 typedef UINT16 MMVERSION16;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
19 typedef UINT MMVERSION;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
20 typedef UINT16 MCIDEVICEID16;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
21 typedef UINT MCIDEVICEID;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
22 typedef UINT16 MMRESULT16;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
23 typedef UINT MMRESULT;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
24 typedef DWORD FOURCC; /* a four character code */
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
25
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
26
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
27
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
28 #define WAVE_FORMAT_PCM 1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
29
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
30 /***********************************************************************
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
31 * Defines/Enums
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
32 */
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
33
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
34 #define ACMERR_BASE 512
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
35 #define ACMERR_NOTPOSSIBLE (ACMERR_BASE + 0)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
36 #define ACMERR_BUSY (ACMERR_BASE + 1)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
37 #define ACMERR_UNPREPARED (ACMERR_BASE + 2)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
38 #define ACMERR_CANCELED (ACMERR_BASE + 3)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
39
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
40 #define MM_ACM_OPEN MM_STREAM_OPEN
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
41 #define MM_ACM_CLOSE MM_STREAM_CLOSE
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
42 #define MM_ACM_DONE MM_STREAM_DONE
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
43
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
44 #define ACM_DRIVERADDF_FUNCTION 0x00000003L
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
45 #define ACM_DRIVERADDF_NOTIFYHWND 0x00000004L
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
46 #define ACM_DRIVERADDF_TYPEMASK 0x00000007L
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
47 #define ACM_DRIVERADDF_LOCAL 0x00000000L
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
48 #define ACM_DRIVERADDF_GLOBAL 0x00000008L
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
49
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
50 #define ACMDRIVERDETAILS_SHORTNAME_CHARS 32
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
51 #define ACMDRIVERDETAILS_LONGNAME_CHARS 128
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
52 #define ACMDRIVERDETAILS_COPYRIGHT_CHARS 80
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
53 #define ACMDRIVERDETAILS_LICENSING_CHARS 128
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
54 #define ACMDRIVERDETAILS_FEATURES_CHARS 512
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
55
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
56 #define ACMDRIVERDETAILS_FCCTYPE_AUDIOCODEC mmioFOURCC('a', 'u', 'd', 'c')
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
57 #define ACMDRIVERDETAILS_FCCCOMP_UNDEFINED mmioFOURCC('\0', '\0', '\0', '\0')
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
58
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
59 #define ACMDRIVERDETAILS_SUPPORTF_CODEC 0x00000001L
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
60 #define ACMDRIVERDETAILS_SUPPORTF_CONVERTER 0x00000002L
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
61 #define ACMDRIVERDETAILS_SUPPORTF_FILTER 0x00000004L
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
62 #define ACMDRIVERDETAILS_SUPPORTF_HARDWARE 0x00000008L
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
63 #define ACMDRIVERDETAILS_SUPPORTF_ASYNC 0x00000010L
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
64 #define ACMDRIVERDETAILS_SUPPORTF_LOCAL 0x40000000L
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
65 #define ACMDRIVERDETAILS_SUPPORTF_DISABLED 0x80000000L
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
66
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
67 #define ACM_DRIVERENUMF_NOLOCAL 0x40000000L
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
68 #define ACM_DRIVERENUMF_DISABLED 0x80000000L
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
69
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
70 #define ACM_DRIVERPRIORITYF_ENABLE 0x00000001L
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
71 #define ACM_DRIVERPRIORITYF_DISABLE 0x00000002L
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
72 #define ACM_DRIVERPRIORITYF_ABLEMASK 0x00000003L
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
73 #define ACM_DRIVERPRIORITYF_BEGIN 0x00010000L
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
74 #define ACM_DRIVERPRIORITYF_END 0x00020000L
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
75 #define ACM_DRIVERPRIORITYF_DEFERMASK 0x00030000L
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
76
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
77 #define MM_ACM_FILTERCHOOSE 0x8000
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
78
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
79 #define FILTERCHOOSE_MESSAGE 0
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
80 #define FILTERCHOOSE_FILTERTAG_VERIFY (FILTERCHOOSE_MESSAGE+0)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
81 #define FILTERCHOOSE_FILTER_VERIFY (FILTERCHOOSE_MESSAGE+1)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
82 #define FILTERCHOOSE_CUSTOM_VERIFY (FILTERCHOOSE_MESSAGE+2)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
83
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
84 #define ACMFILTERCHOOSE_STYLEF_SHOWHELP 0x00000004L
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
85 #define ACMFILTERCHOOSE_STYLEF_ENABLEHOOK 0x00000008L
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
86 #define ACMFILTERCHOOSE_STYLEF_ENABLETEMPLATE 0x00000010L
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
87 #define ACMFILTERCHOOSE_STYLEF_ENABLETEMPLATEHANDLE 0x00000020L
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
88 #define ACMFILTERCHOOSE_STYLEF_INITTOFILTERSTRUCT 0x00000040L
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
89 #define ACMFILTERCHOOSE_STYLEF_CONTEXTHELP 0x00000080L
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
90
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
91 #define ACMFILTERDETAILS_FILTER_CHARS 128
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
92
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
93 #define ACM_FILTERDETAILSF_INDEX 0x00000000L
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
94 #define ACM_FILTERDETAILSF_FILTER 0x00000001L
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
95 #define ACM_FILTERDETAILSF_QUERYMASK 0x0000000FL
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
96
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
97 #define ACMFILTERTAGDETAILS_FILTERTAG_CHARS 48
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
98
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
99 #define ACM_FILTERTAGDETAILSF_INDEX 0x00000000L
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
100 #define ACM_FILTERTAGDETAILSF_FILTERTAG 0x00000001L
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
101 #define ACM_FILTERTAGDETAILSF_LARGESTSIZE 0x00000002L
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
102 #define ACM_FILTERTAGDETAILSF_QUERYMASK 0x0000000FL
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
103
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
104 #define ACM_FILTERENUMF_DWFILTERTAG 0x00010000L
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
105
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
106 #define ACMHELPMSGSTRINGA "acmchoose_help"
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
107 #define ACMHELPMSGSTRINGW L"acmchoose_help"
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
108 #define ACMHELPMSGSTRING16 "acmchoose_help"
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
109
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
110 #define ACMHELPMSGCONTEXTMENUA "acmchoose_contextmenu"
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
111 #define ACMHELPMSGCONTEXTMENUW L"acmchoose_contextmenu"
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
112 #define ACMHELPMSGCONTEXTMENU16 "acmchoose_contextmenu"
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
113
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
114 #define ACMHELPMSGCONTEXTHELPA "acmchoose_contexthelp"
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
115 #define ACMHELPMSGCONTEXTHELPW L"acmchoose_contexthelp"
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
116 #define ACMHELPMSGCONTEXTHELP16 "acmchoose_contexthelp"
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
117
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
118 #define MM_ACM_FORMATCHOOSE 0x8000
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
119
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
120 #define FORMATCHOOSE_MESSAGE 0
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
121 #define FORMATCHOOSE_FORMATTAG_VERIFY (FORMATCHOOSE_MESSAGE+0)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
122 #define FORMATCHOOSE_FORMAT_VERIFY (FORMATCHOOSE_MESSAGE+1)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
123 #define FORMATCHOOSE_CUSTOM_VERIFY (FORMATCHOOSE_MESSAGE+2)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
124
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
125 #define ACMFORMATCHOOSE_STYLEF_SHOWHELP 0x00000004L
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
126 #define ACMFORMATCHOOSE_STYLEF_ENABLEHOOK 0x00000008L
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
127 #define ACMFORMATCHOOSE_STYLEF_ENABLETEMPLATE 0x00000010L
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
128 #define ACMFORMATCHOOSE_STYLEF_ENABLETEMPLATEHANDLE 0x00000020L
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
129 #define ACMFORMATCHOOSE_STYLEF_INITTOWFXSTRUCT 0x00000040L
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
130 #define ACMFORMATCHOOSE_STYLEF_CONTEXTHELP 0x00000080L
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
131
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
132 #define ACMFORMATDETAILS_FORMAT_CHARS 128
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
133
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
134 #define ACM_FORMATDETAILSF_INDEX 0x00000000L
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
135 #define ACM_FORMATDETAILSF_FORMAT 0x00000001L
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
136 #define ACM_FORMATDETAILSF_QUERYMASK 0x0000000FL
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
137
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
138 #define ACM_FORMATENUMF_WFORMATTAG 0x00010000L
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
139 #define ACM_FORMATENUMF_NCHANNELS 0x00020000L
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
140 #define ACM_FORMATENUMF_NSAMPLESPERSEC 0x00040000L
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
141 #define ACM_FORMATENUMF_WBITSPERSAMPLE 0x00080000L
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
142 #define ACM_FORMATENUMF_CONVERT 0x00100000L
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
143 #define ACM_FORMATENUMF_SUGGEST 0x00200000L
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
144 #define ACM_FORMATENUMF_HARDWARE 0x00400000L
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
145 #define ACM_FORMATENUMF_INPUT 0x00800000L
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
146 #define ACM_FORMATENUMF_OUTPUT 0x01000000L
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
147
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
148 #define ACM_FORMATSUGGESTF_WFORMATTAG 0x00010000L
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
149 #define ACM_FORMATSUGGESTF_NCHANNELS 0x00020000L
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
150 #define ACM_FORMATSUGGESTF_NSAMPLESPERSEC 0x00040000L
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
151 #define ACM_FORMATSUGGESTF_WBITSPERSAMPLE 0x00080000L
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
152 #define ACM_FORMATSUGGESTF_TYPEMASK 0x00FF0000L
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
153
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
154 #define ACMFORMATTAGDETAILS_FORMATTAG_CHARS 48
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
155
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
156 #define ACM_FORMATTAGDETAILSF_INDEX 0x00000000L
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
157 #define ACM_FORMATTAGDETAILSF_FORMATTAG 0x00000001L
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
158 #define ACM_FORMATTAGDETAILSF_LARGESTSIZE 0x00000002L
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
159 #define ACM_FORMATTAGDETAILSF_QUERYMASK 0x0000000FL
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
160
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
161 #define ACM_METRIC_COUNT_DRIVERS 1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
162 #define ACM_METRIC_COUNT_CODECS 2
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
163 #define ACM_METRIC_COUNT_CONVERTERS 3
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
164 #define ACM_METRIC_COUNT_FILTERS 4
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
165 #define ACM_METRIC_COUNT_DISABLED 5
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
166 #define ACM_METRIC_COUNT_HARDWARE 6
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
167 #define ACM_METRIC_COUNT_LOCAL_DRIVERS 20
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
168 #define ACM_METRIC_COUNT_LOCAL_CODECS 21
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
169 #define ACM_METRIC_COUNT_LOCAL_CONVERTERS 22
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
170 #define ACM_METRIC_COUNT_LOCAL_FILTERS 23
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
171 #define ACM_METRIC_COUNT_LOCAL_DISABLED 24
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
172 #define ACM_METRIC_HARDWARE_WAVE_INPUT 30
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
173 #define ACM_METRIC_HARDWARE_WAVE_OUTPUT 31
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
174 #define ACM_METRIC_MAX_SIZE_FORMAT 50
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
175 #define ACM_METRIC_MAX_SIZE_FILTER 51
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
176 #define ACM_METRIC_DRIVER_SUPPORT 100
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
177 #define ACM_METRIC_DRIVER_PRIORITY 101
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
178
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
179 #define ACM_STREAMCONVERTF_BLOCKALIGN 0x00000004
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
180 #define ACM_STREAMCONVERTF_START 0x00000010
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
181 #define ACM_STREAMCONVERTF_END 0x00000020
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
182
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
183 #define ACMSTREAMHEADER_STATUSF_DONE 0x00010000L
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
184 #define ACMSTREAMHEADER_STATUSF_PREPARED 0x00020000L
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
185 #define ACMSTREAMHEADER_STATUSF_INQUEUE 0x00100000L
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
186
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
187 #define ACM_STREAMOPENF_QUERY 0x00000001
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
188 #define ACM_STREAMOPENF_ASYNC 0x00000002
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
189 #define ACM_STREAMOPENF_NONREALTIME 0x00000004
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
190
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
191 #define ACM_STREAMSIZEF_SOURCE 0x00000000L
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
192 #define ACM_STREAMSIZEF_DESTINATION 0x00000001L
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
193 #define ACM_STREAMSIZEF_QUERYMASK 0x0000000FL
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
194
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
195 #define ACMDM_USER (DRV_USER + 0x0000)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
196 #define ACMDM_RESERVED_LOW (DRV_USER + 0x2000)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
197 #define ACMDM_RESERVED_HIGH (DRV_USER + 0x2FFF)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
198
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
199 #define ACMDM_BASE ACMDM_RESERVED_LOW
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
200
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
201 #define ACMDM_DRIVER_ABOUT (ACMDM_BASE + 11)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
202
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
203 /***********************************************************************
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
204 * Callbacks
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
205 */
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
206
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
207 typedef WIN_BOOL CALLBACK ( *ACMDRIVERENUMCB)(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
208 HACMDRIVERID hadid, DWORD dwInstance, DWORD fdwSupport
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
209 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
210
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
211 typedef WIN_BOOL16 CALLBACK ( *ACMDRIVERENUMCB16)(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
212 HACMDRIVERID16 hadid, DWORD dwInstance, DWORD fdwSupport
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
213 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
214
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
215 typedef UINT CALLBACK ( *ACMFILTERCHOOSEHOOKPROCA)(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
216 HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
217 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
218
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
219 typedef UINT CALLBACK ( *ACMFILTERCHOOSEHOOKPROCW)(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
220 HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
221 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
222
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
223 typedef UINT CALLBACK ( *ACMFILTERCHOOSEHOOKPROC16)(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
224 HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
225 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
226
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
227 typedef UINT CALLBACK ( *ACMFORMATCHOOSEHOOKPROCA)(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
228 HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
229 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
230
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
231 typedef UINT CALLBACK ( *ACMFORMATCHOOSEHOOKPROCW)(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
232 HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
233 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
234
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
235 typedef UINT16 CALLBACK ( *ACMFORMATCHOOSEHOOKPROC16)(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
236 HWND16 hwnd, UINT16 uMsg, WPARAM16 wParam, LPARAM lParam
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
237 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
238
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
239 /***********************************************************************
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
240 * Structures
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
241 */
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
242
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
243 typedef struct _ACMDRIVERDETAILSA
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
244 {
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
245 DWORD cbStruct;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
246
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
247 FOURCC fccType;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
248 FOURCC fccComp;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
249
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
250 WORD wMid;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
251 WORD wPid;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
252
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
253 DWORD vdwACM;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
254 DWORD vdwDriver;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
255
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
256 DWORD fdwSupport;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
257 DWORD cFormatTags;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
258 DWORD cFilterTags;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
259
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
260 HICON hicon;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
261
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
262 CHAR szShortName[ACMDRIVERDETAILS_SHORTNAME_CHARS];
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
263 CHAR szLongName[ACMDRIVERDETAILS_LONGNAME_CHARS];
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
264 CHAR szCopyright[ACMDRIVERDETAILS_COPYRIGHT_CHARS];
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
265 CHAR szLicensing[ACMDRIVERDETAILS_LICENSING_CHARS];
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
266 CHAR szFeatures[ACMDRIVERDETAILS_FEATURES_CHARS];
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
267 } ACMDRIVERDETAILSA, *PACMDRIVERDETAILSA;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
268
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
269 typedef struct _ACMDRIVERDETAILSW
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
270 {
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
271 DWORD cbStruct;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
272
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
273 FOURCC fccType;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
274 FOURCC fccComp;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
275
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
276 WORD wMid;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
277 WORD wPid;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
278
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
279 DWORD vdwACM;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
280 DWORD vdwDriver;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
281
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
282 DWORD fdwSupport;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
283 DWORD cFormatTags;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
284 DWORD cFilterTags;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
285
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
286 HICON hicon;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
287
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
288 WCHAR szShortName[ACMDRIVERDETAILS_SHORTNAME_CHARS];
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
289 WCHAR szLongName[ACMDRIVERDETAILS_LONGNAME_CHARS];
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
290 WCHAR szCopyright[ACMDRIVERDETAILS_COPYRIGHT_CHARS];
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
291 WCHAR szLicensing[ACMDRIVERDETAILS_LICENSING_CHARS];
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
292 WCHAR szFeatures[ACMDRIVERDETAILS_FEATURES_CHARS];
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
293 } ACMDRIVERDETAILSW, *PACMDRIVERDETAILSW;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
294
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
295 typedef struct _ACMDRIVERDETAILS16
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
296 {
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
297 DWORD cbStruct;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
298
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
299 FOURCC fccType;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
300 FOURCC fccComp;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
301
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
302 WORD wMid;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
303 WORD wPid;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
304
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
305 DWORD vdwACM;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
306 DWORD vdwDriver;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
307
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
308 DWORD fdwSupport;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
309 DWORD cFormatTags;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
310 DWORD cFilterTags;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
311
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
312 HICON16 hicon;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
313
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
314 CHAR szShortName[ACMDRIVERDETAILS_SHORTNAME_CHARS];
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
315 CHAR szLongName[ACMDRIVERDETAILS_LONGNAME_CHARS];
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
316 CHAR szCopyright[ACMDRIVERDETAILS_COPYRIGHT_CHARS];
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
317 CHAR szLicensing[ACMDRIVERDETAILS_LICENSING_CHARS];
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
318 CHAR szFeatures[ACMDRIVERDETAILS_FEATURES_CHARS];
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
319 } ACMDRIVERDETAILS16, *NPACMDRIVERDETAILS16, *LPACMDRIVERDETAILS16;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
320
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
321 typedef struct _ACMFILTERCHOOSEA
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
322 {
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
323 DWORD cbStruct;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
324 DWORD fdwStyle;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
325
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
326 HWND hwndOwner;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
327
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
328 PWAVEFILTER pwfltr;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
329 DWORD cbwfltr;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
330
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
331 LPCSTR pszTitle;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
332
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
333 CHAR szFilterTag[ACMFILTERTAGDETAILS_FILTERTAG_CHARS];
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
334 CHAR szFilter[ACMFILTERDETAILS_FILTER_CHARS];
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
335 LPSTR pszName;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
336 DWORD cchName;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
337
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
338 DWORD fdwEnum;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
339 PWAVEFILTER pwfltrEnum;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
340
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
341 HINSTANCE hInstance;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
342 LPCSTR pszTemplateName;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
343 LPARAM lCustData;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
344 ACMFILTERCHOOSEHOOKPROCA pfnHook;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
345 } ACMFILTERCHOOSEA, *PACMFILTERCHOOSEA;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
346
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
347 typedef struct _ACMFILTERCHOOSEW
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
348 {
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
349 DWORD cbStruct;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
350 DWORD fdwStyle;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
351
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
352 HWND hwndOwner;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
353
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
354 PWAVEFILTER pwfltr;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
355 DWORD cbwfltr;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
356
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
357 LPCWSTR pszTitle;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
358
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
359 WCHAR szFilterTag[ACMFILTERTAGDETAILS_FILTERTAG_CHARS];
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
360 WCHAR szFilter[ACMFILTERDETAILS_FILTER_CHARS];
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
361 LPWSTR pszName;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
362 DWORD cchName;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
363
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
364 DWORD fdwEnum;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
365 PWAVEFILTER pwfltrEnum;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
366
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
367 HINSTANCE hInstance;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
368 LPCWSTR pszTemplateName;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
369 LPARAM lCustData;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
370 ACMFILTERCHOOSEHOOKPROCW pfnHook;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
371 } ACMFILTERCHOOSEW, *PACMFILTERCHOOSEW;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
372
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
373 typedef struct _ACMFILTERCHOOSE16
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
374 {
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
375 DWORD cbStruct;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
376 DWORD fdwStyle;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
377
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
378 HWND16 hwndOwner;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
379
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
380 LPWAVEFILTER pwfltr;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
381 DWORD cbwfltr;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
382
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
383 LPCSTR pszTitle;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
384
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
385 char szFilterTag[ACMFILTERTAGDETAILS_FILTERTAG_CHARS];
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
386 char szFilter[ACMFILTERDETAILS_FILTER_CHARS];
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
387 LPSTR pszName;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
388 DWORD cchName;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
389
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
390 DWORD fdwEnum;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
391 LPWAVEFILTER pwfltrEnum;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
392
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
393 HINSTANCE16 hInstance;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
394 LPCSTR pszTemplateName;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
395 LPARAM lCustData;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
396 ACMFILTERCHOOSEHOOKPROC16 pfnHook;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
397 } ACMFILTERCHOOSE16, *NPACMFILTERCHOOSE16, *LPACMFILTERCHOOSE16;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
398
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
399 typedef struct _ACMFILTERDETAILSA
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
400 {
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
401 DWORD cbStruct;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
402 DWORD dwFilterIndex;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
403 DWORD dwFilterTag;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
404 DWORD fdwSupport;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
405 PWAVEFILTER pwfltr;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
406 DWORD cbwfltr;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
407 CHAR szFilter[ACMFILTERDETAILS_FILTER_CHARS];
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
408 } ACMFILTERDETAILSA, *PACMFILTERDETAILSA;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
409
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
410 typedef struct _ACMFILTERDETAILSW
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
411 {
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
412 DWORD cbStruct;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
413 DWORD dwFilterIndex;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
414 DWORD dwFilterTag;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
415 DWORD fdwSupport;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
416 PWAVEFILTER pwfltr;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
417 DWORD cbwfltr;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
418 WCHAR szFilter[ACMFILTERDETAILS_FILTER_CHARS];
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
419 } ACMFILTERDETAILSW, *PACMFILTERDETAILSW;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
420
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
421 typedef struct _ACMFILTERDETAILS16
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
422 {
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
423 DWORD cbStruct;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
424 DWORD dwFilterIndex;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
425 DWORD dwFilterTag;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
426 DWORD fdwSupport;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
427 LPWAVEFILTER pwfltr;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
428 DWORD cbwfltr;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
429 CHAR szFilter[ACMFILTERDETAILS_FILTER_CHARS];
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
430 } ACMFILTERDETAILS16, *NPACMFILTERDETAILS16, *LPACMFILTERDETAILS16;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
431
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
432 typedef struct _ACMFILTERTAGDETAILSA
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
433 {
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
434 DWORD cbStruct;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
435 DWORD dwFilterTagIndex;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
436 DWORD dwFilterTag;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
437 DWORD cbFilterSize;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
438 DWORD fdwSupport;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
439 DWORD cStandardFilters;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
440 CHAR szFilterTag[ACMFILTERTAGDETAILS_FILTERTAG_CHARS];
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
441 } ACMFILTERTAGDETAILSA, *PACMFILTERTAGDETAILSA;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
442
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
443 typedef struct _ACMFILTERTAGDETAILSW
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
444 {
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
445 DWORD cbStruct;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
446 DWORD dwFilterTagIndex;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
447 DWORD dwFilterTag;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
448 DWORD cbFilterSize;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
449 DWORD fdwSupport;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
450 DWORD cStandardFilters;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
451 WCHAR szFilterTag[ACMFILTERTAGDETAILS_FILTERTAG_CHARS];
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
452 } ACMFILTERTAGDETAILSW, *PACMFILTERTAGDETAILSW;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
453
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
454 typedef struct _ACMFILTERTAGDETAILS16
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
455 {
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
456 DWORD cbStruct;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
457 DWORD dwFilterTagIndex;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
458 DWORD dwFilterTag;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
459 DWORD cbFilterSize;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
460 DWORD fdwSupport;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
461 DWORD cStandardFilters;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
462 CHAR szFilterTag[ACMFILTERTAGDETAILS_FILTERTAG_CHARS];
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
463 } ACMFILTERTAGDETAILS16, *NPACMFILTERTAGDETAILS16, *LPACMFILTERTAGDETAILS16;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
464
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
465 typedef struct _ACMFORMATCHOOSEA
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
466 {
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
467 DWORD cbStruct;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
468 DWORD fdwStyle;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
469
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
470 HWND hwndOwner;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
471
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
472 PWAVEFORMATEX pwfx;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
473 DWORD cbwfx;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
474 LPCSTR pszTitle;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
475
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
476 CHAR szFormatTag[ACMFORMATTAGDETAILS_FORMATTAG_CHARS];
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
477 CHAR szFormat[ACMFORMATDETAILS_FORMAT_CHARS];
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
478
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
479 LPSTR pszName;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
480 DWORD cchName;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
481
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
482 DWORD fdwEnum;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
483 PWAVEFORMATEX pwfxEnum;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
484
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
485 HINSTANCE hInstance;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
486 LPCSTR pszTemplateName;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
487 LPARAM lCustData;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
488 ACMFORMATCHOOSEHOOKPROCA pfnHook;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
489 } ACMFORMATCHOOSEA, *PACMFORMATCHOOSEA;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
490
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
491 typedef struct _ACMFORMATCHOOSEW
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
492 {
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
493 DWORD cbStruct;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
494 DWORD fdwStyle;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
495
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
496 HWND hwndOwner;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
497
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
498 PWAVEFORMATEX pwfx;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
499 DWORD cbwfx;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
500 LPCWSTR pszTitle;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
501
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
502 WCHAR szFormatTag[ACMFORMATTAGDETAILS_FORMATTAG_CHARS];
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
503 WCHAR szFormat[ACMFORMATDETAILS_FORMAT_CHARS];
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
504
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
505 LPWSTR pszName;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
506 DWORD cchName;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
507
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
508 DWORD fdwEnum;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
509 LPWAVEFORMATEX pwfxEnum;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
510
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
511 HINSTANCE hInstance;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
512 LPCWSTR pszTemplateName;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
513 LPARAM lCustData;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
514 ACMFORMATCHOOSEHOOKPROCW pfnHook;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
515 } ACMFORMATCHOOSEW, *PACMFORMATCHOOSEW;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
516
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
517 typedef struct _ACMFORMATCHOOSE16
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
518 {
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
519 DWORD cbStruct;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
520 DWORD fdwStyle;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
521
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
522 HWND16 hwndOwner;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
523
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
524 LPWAVEFORMATEX pwfx;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
525 DWORD cbwfx;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
526 LPCSTR pszTitle;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
527
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
528 CHAR szFormatTag[ACMFORMATTAGDETAILS_FORMATTAG_CHARS];
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
529 CHAR szFormat[ACMFORMATDETAILS_FORMAT_CHARS];
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
530
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
531 LPSTR pszName;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
532 DWORD cchName;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
533
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
534 DWORD fdwEnum;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
535 LPWAVEFORMATEX pwfxEnum;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
536
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
537 HINSTANCE16 hInstance;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
538 LPCSTR pszTemplateName;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
539 LPARAM lCustData;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
540 ACMFORMATCHOOSEHOOKPROC16 pfnHook;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
541 } ACMFORMATCHOOSE16, *NPACMFORMATCHOOSE16, *LPACMFORMATCHOOSE16;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
542
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
543 typedef struct _ACMFORMATDETAILSA
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
544 {
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
545 DWORD cbStruct;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
546 DWORD dwFormatIndex;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
547 DWORD dwFormatTag;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
548 DWORD fdwSupport;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
549 PWAVEFORMATEX pwfx;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
550 DWORD cbwfx;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
551 CHAR szFormat[ACMFORMATDETAILS_FORMAT_CHARS];
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
552 } ACMFORMATDETAILSA, *PACMFORMATDETAILSA;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
553
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
554 typedef struct _ACMFORMATDETAILSW
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
555 {
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
556 DWORD cbStruct;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
557 DWORD dwFormatIndex;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
558 DWORD dwFormatTag;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
559 DWORD fdwSupport;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
560 PWAVEFORMATEX pwfx;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
561 DWORD cbwfx;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
562 WCHAR szFormat[ACMFORMATDETAILS_FORMAT_CHARS];
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
563 } ACMFORMATDETAILSW, *PACMFORMATDETAILSW;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
564
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
565 typedef struct _ACMFORMATDETAILS16
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
566 {
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
567 DWORD cbStruct;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
568 DWORD dwFormatIndex;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
569 DWORD dwFormatTag;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
570 DWORD fdwSupport;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
571 LPWAVEFORMATEX pwfx;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
572 DWORD cbwfx;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
573 CHAR szFormat[ACMFORMATDETAILS_FORMAT_CHARS];
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
574 } ACMFORMATDETAILS16, *NPACMFORMATDETAILS16, *LPACMFORMATDETAILS16;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
575
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
576 typedef struct _ACMFORMATTAGDETAILSA
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
577 {
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
578 DWORD cbStruct;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
579 DWORD dwFormatTagIndex;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
580 DWORD dwFormatTag;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
581 DWORD cbFormatSize;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
582 DWORD fdwSupport;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
583 DWORD cStandardFormats;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
584 CHAR szFormatTag[ACMFORMATTAGDETAILS_FORMATTAG_CHARS];
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
585 } ACMFORMATTAGDETAILSA, *PACMFORMATTAGDETAILSA;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
586
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
587 typedef struct _ACMFORMATTAGDETAILSW
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
588 {
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
589 DWORD cbStruct;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
590 DWORD dwFormatTagIndex;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
591 DWORD dwFormatTag;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
592 DWORD cbFormatSize;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
593 DWORD fdwSupport;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
594 DWORD cStandardFormats;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
595 WCHAR szFormatTag[ACMFORMATTAGDETAILS_FORMATTAG_CHARS];
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
596 } ACMFORMATTAGDETAILSW, *PACMFORMATTAGDETAILSW;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
597
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
598 typedef struct _ACMFORMATTAGDETAILS16
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
599 {
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
600 DWORD cbStruct;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
601 DWORD dwFormatTagIndex;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
602 DWORD dwFormatTag;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
603 DWORD cbFormatSize;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
604 DWORD fdwSupport;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
605 DWORD cStandardFormats;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
606 CHAR szFormatTag[ACMFORMATTAGDETAILS_FORMATTAG_CHARS];
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
607 } ACMFORMATTAGDETAILS16, *NPACMFORMATTAGDETAILS16, *LPACMFORMATTAGDETAILS16;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
608
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
609 typedef struct _ACMSTREAMHEADER
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
610 {
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
611 DWORD cbStruct;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
612 DWORD fdwStatus;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
613 DWORD dwUser;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
614 LPBYTE pbSrc;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
615 DWORD cbSrcLength;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
616 DWORD cbSrcLengthUsed;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
617 DWORD dwSrcUser;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
618 LPBYTE pbDst;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
619 DWORD cbDstLength;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
620 DWORD cbDstLengthUsed;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
621 DWORD dwDstUser;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
622 DWORD dwReservedDriver[10];
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
623 } ACMSTREAMHEADER16, *NPACMSTREAMHEADER16, *LPACMSTREAMHEADER16,
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
624 ACMSTREAMHEADER, *PACMSTREAMHEADER;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
625
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
626 /***********************************************************************
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
627 * Callbacks 2
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
628 */
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
629
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
630 typedef WIN_BOOL CALLBACK ( *ACMFILTERENUMCBA)(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
631 HACMDRIVERID hadid, PACMFILTERDETAILSA pafd,
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
632 DWORD dwInstance, DWORD fdwSupport
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
633 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
634
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
635 typedef WIN_BOOL CALLBACK ( *ACMFILTERENUMCBW)(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
636 HACMDRIVERID hadid, PACMFILTERDETAILSW pafd,
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
637 DWORD dwInstance, DWORD fdwSupport
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
638 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
639
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
640 typedef WIN_BOOL16 CALLBACK ( *ACMFILTERENUMCB16)(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
641 HACMDRIVERID16 hadid, LPACMFILTERDETAILS16 pafd,
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
642 DWORD dwInstance, DWORD fdwSupport
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
643 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
644
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
645 typedef WIN_BOOL CALLBACK ( *ACMFILTERTAGENUMCBA)(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
646 HACMDRIVERID hadid, PACMFILTERTAGDETAILSA paftd,
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
647 DWORD dwInstance, DWORD fdwSupport
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
648 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
649
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
650 typedef WIN_BOOL CALLBACK ( *ACMFILTERTAGENUMCBW)(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
651 HACMDRIVERID hadid, PACMFILTERTAGDETAILSW paftd,
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
652 DWORD dwInstance, DWORD fdwSupport
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
653 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
654
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
655 typedef WIN_BOOL16 CALLBACK ( *ACMFILTERTAGENUMCB16)(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
656 HACMDRIVERID16 hadid, LPACMFILTERTAGDETAILS16 paftd,
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
657 DWORD dwInstance, DWORD fdwSupport
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
658 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
659
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
660 typedef WIN_BOOL CALLBACK ( *ACMFORMATENUMCBA)(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
661 HACMDRIVERID hadid, PACMFORMATDETAILSA pafd,
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
662 DWORD dwInstance, DWORD fdwSupport
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
663 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
664
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
665 typedef WIN_BOOL CALLBACK ( *ACMFORMATENUMCBW)(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
666 HACMDRIVERID hadid, PACMFORMATDETAILSW pafd,
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
667 DWORD dwInstance, DWORD fdwSupport
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
668 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
669
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
670 typedef WIN_BOOL16 CALLBACK ( *ACMFORMATENUMCB16)(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
671 HACMDRIVERID16 hadid, LPACMFORMATDETAILS16 pafd,
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
672 DWORD dwInstance, DWORD fdwSupport
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
673 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
674
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
675 typedef WIN_BOOL CALLBACK ( *ACMFORMATTAGENUMCBA)(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
676 HACMDRIVERID hadid, PACMFORMATTAGDETAILSA paftd,
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
677 DWORD dwInstance, DWORD fdwSupport
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
678 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
679
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
680 typedef WIN_BOOL CALLBACK ( *ACMFORMATTAGENUMCBW)(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
681 HACMDRIVERID hadid, PACMFORMATTAGDETAILSW paftd,
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
682 DWORD dwInstance, DWORD fdwSupport
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
683 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
684
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
685 typedef WIN_BOOL16 CALLBACK ( *ACMFORMATTAGENUMCB16)(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
686 HACMDRIVERID16 hadid, LPACMFORMATTAGDETAILS16 paftd,
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
687 DWORD dwInstance, DWORD fdwSupport
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
688 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
689
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
690 /***********************************************************************
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
691 * Functions - Win16
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
692 */
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
693
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
694 DWORD WINAPI acmGetVersion16(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
695 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
696 MMRESULT16 WINAPI acmMetrics16(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
697 HACMOBJ16 hao, UINT16 uMetric, LPVOID pMetric
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
698 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
699 MMRESULT16 WINAPI acmDriverEnum16(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
700 ACMDRIVERENUMCB16 fnCallback, DWORD dwInstance, DWORD fdwEnum
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
701 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
702 MMRESULT16 WINAPI acmDriverDetails16(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
703 HACMDRIVERID16 hadid, LPACMDRIVERDETAILS16 padd, DWORD fdwDetails
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
704 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
705 MMRESULT16 WINAPI acmDriverAdd16(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
706 LPHACMDRIVERID16 phadid, HINSTANCE16 hinstModule,
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
707 LPARAM lParam, DWORD dwPriority, DWORD fdwAdd
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
708 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
709 MMRESULT16 WINAPI acmDriverRemove16(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
710 HACMDRIVERID16 hadid, DWORD fdwRemove
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
711 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
712 MMRESULT16 WINAPI acmDriverOpen16(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
713 LPHACMDRIVER16 phad, HACMDRIVERID16 hadid, DWORD fdwOpen
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
714 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
715 MMRESULT16 WINAPI acmDriverClose16(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
716 HACMDRIVER16 had, DWORD fdwClose
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
717 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
718 LRESULT WINAPI acmDriverMessage16(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
719 HACMDRIVER16 had, UINT16 uMsg, LPARAM lParam1, LPARAM lParam2
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
720 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
721 MMRESULT16 WINAPI acmDriverID16(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
722 HACMOBJ16 hao, LPHACMDRIVERID16 phadid, DWORD fdwDriverID
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
723 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
724 MMRESULT16 WINAPI acmDriverPriority16(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
725 HACMDRIVERID16 hadid, DWORD dwPriority, DWORD fdwPriority
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
726 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
727 MMRESULT16 WINAPI acmFormatTagDetails16(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
728 HACMDRIVER16 had, LPACMFORMATTAGDETAILS16 paftd, DWORD fdwDetails
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
729 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
730 MMRESULT16 WINAPI acmFormatTagEnum16(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
731 HACMDRIVER16 had, LPACMFORMATTAGDETAILS16 paftd,
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
732 ACMFORMATTAGENUMCB16 fnCallback, DWORD dwInstance, DWORD fdwEnum
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
733 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
734 MMRESULT16 WINAPI acmFormatChoose16(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
735 LPACMFORMATCHOOSE16 pafmtc
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
736 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
737 MMRESULT16 WINAPI acmFormatDetails16(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
738 HACMDRIVER16 had, LPACMFORMATDETAILS16 pafd, DWORD fdwDetails
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
739 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
740 MMRESULT16 WINAPI acmFormatEnum16(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
741 HACMDRIVER16 had, LPACMFORMATDETAILS16 pafd,
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
742 ACMFORMATENUMCB16 fnCallback, DWORD dwInstance, DWORD fdwEnum
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
743 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
744 MMRESULT16 WINAPI acmFormatSuggest16(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
745 HACMDRIVER16 had, LPWAVEFORMATEX pwfxSrc,
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
746 LPWAVEFORMATEX pwfxDst, DWORD cbwfxDst, DWORD fdwSuggest
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
747 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
748 MMRESULT16 WINAPI acmFilterTagDetails16(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
749 HACMDRIVER16 had, LPACMFILTERTAGDETAILS16 paftd, DWORD fdwDetails
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
750 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
751 MMRESULT16 WINAPI acmFilterTagEnum16(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
752 HACMDRIVER16 had, LPACMFILTERTAGDETAILS16 paftd,
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
753 ACMFILTERTAGENUMCB16 fnCallback, DWORD dwInstance, DWORD fdwEnum
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
754 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
755 MMRESULT16 WINAPI acmFilterChoose16(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
756 LPACMFILTERCHOOSE16 pafltrc
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
757 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
758 MMRESULT16 WINAPI acmFilterDetails16(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
759 HACMDRIVER16 had, LPACMFILTERDETAILS16 pafd, DWORD fdwDetails
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
760 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
761 MMRESULT16 WINAPI acmFilterEnum16(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
762 HACMDRIVER16 had, LPACMFILTERDETAILS16 pafd,
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
763 ACMFILTERENUMCB16 fnCallback, DWORD dwInstance, DWORD fdwEnum
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
764 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
765 MMRESULT16 WINAPI acmStreamOpen16(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
766 LPHACMSTREAM16 phas, HACMDRIVER16 had,
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
767 LPWAVEFORMATEX pwfxSrc, LPWAVEFORMATEX pwfxDst,
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
768 LPWAVEFILTER pwfltr, DWORD dwCallback,
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
769 DWORD dwInstance, DWORD fdwOpen
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
770 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
771 MMRESULT16 WINAPI acmStreamClose16(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
772 HACMSTREAM16 has, DWORD fdwClose
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
773 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
774 MMRESULT16 WINAPI acmStreamSize16(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
775 HACMSTREAM16 has, DWORD cbInput,
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
776 LPDWORD pdwOutputBytes, DWORD fdwSize
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
777 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
778 MMRESULT16 WINAPI acmStreamConvert16(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
779 HACMSTREAM16 has, LPACMSTREAMHEADER16 pash, DWORD fdwConvert
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
780 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
781 MMRESULT16 WINAPI acmStreamReset16(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
782 HACMSTREAM16 has, DWORD fdwReset
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
783 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
784 MMRESULT16 WINAPI acmStreamPrepareHeader16(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
785 HACMSTREAM16 has, LPACMSTREAMHEADER16 pash, DWORD fdwPrepare
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
786 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
787 MMRESULT16 WINAPI acmStreamUnprepareHeader16(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
788 HACMSTREAM16 has, LPACMSTREAMHEADER16 pash, DWORD fdwUnprepare
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
789 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
790
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
791 /***********************************************************************
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
792 * Functions - Win32
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
793 */
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
794
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
795 MMRESULT WINAPI acmDriverAddA(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
796 PHACMDRIVERID phadid, HINSTANCE hinstModule,
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
797 LPARAM lParam, DWORD dwPriority, DWORD fdwAdd
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
798 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
799 MMRESULT WINAPI acmDriverAddW(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
800 PHACMDRIVERID phadid, HINSTANCE hinstModule,
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
801 LPARAM lParam, DWORD dwPriority, DWORD fdwAdd
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
802 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
803 MMRESULT WINAPI acmDriverClose(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
804 HACMDRIVER had, DWORD fdwClose
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
805 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
806 MMRESULT WINAPI acmDriverDetailsA(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
807 HACMDRIVERID hadid, PACMDRIVERDETAILSA padd, DWORD fdwDetails
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
808 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
809 MMRESULT WINAPI acmDriverDetailsW(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
810 HACMDRIVERID hadid, PACMDRIVERDETAILSW padd, DWORD fdwDetails
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
811 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
812 MMRESULT WINAPI acmDriverEnum(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
813 ACMDRIVERENUMCB fnCallback, DWORD dwInstance, DWORD fdwEnum
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
814 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
815 MMRESULT WINAPI acmDriverID(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
816 HACMOBJ hao, PHACMDRIVERID phadid, DWORD fdwDriverID
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
817 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
818 LRESULT WINAPI acmDriverMessage(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
819 HACMDRIVER had, UINT uMsg, LPARAM lParam1, LPARAM lParam2
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
820 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
821 MMRESULT WINAPI acmDriverOpen(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
822 PHACMDRIVER phad, HACMDRIVERID hadid, DWORD fdwOpen
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
823 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
824 MMRESULT WINAPI acmDriverPriority(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
825 HACMDRIVERID hadid, DWORD dwPriority, DWORD fdwPriority
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
826 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
827 MMRESULT WINAPI acmDriverRemove(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
828 HACMDRIVERID hadid, DWORD fdwRemove
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
829 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
830 MMRESULT WINAPI acmFilterChooseA(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
831 PACMFILTERCHOOSEA pafltrc
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
832 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
833 MMRESULT WINAPI acmFilterChooseW(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
834 PACMFILTERCHOOSEW pafltrc
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
835 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
836 MMRESULT WINAPI acmFilterDetailsA(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
837 HACMDRIVER had, PACMFILTERDETAILSA pafd, DWORD fdwDetails
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
838 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
839 MMRESULT WINAPI acmFilterDetailsW(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
840 HACMDRIVER had, PACMFILTERDETAILSW pafd, DWORD fdwDetails
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
841 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
842 MMRESULT WINAPI acmFilterEnumA(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
843 HACMDRIVER had, PACMFILTERDETAILSA pafd,
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
844 ACMFILTERENUMCBA fnCallback, DWORD dwInstance, DWORD fdwEnum
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
845 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
846 MMRESULT WINAPI acmFilterEnumW(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
847 HACMDRIVER had, PACMFILTERDETAILSW pafd,
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
848 ACMFILTERENUMCBW fnCallback, DWORD dwInstance, DWORD fdwEnum
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
849 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
850 MMRESULT WINAPI acmFilterTagDetailsA(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
851 HACMDRIVER had, PACMFILTERTAGDETAILSA paftd, DWORD fdwDetails
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
852 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
853 MMRESULT WINAPI acmFilterTagDetailsW(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
854 HACMDRIVER had, PACMFILTERTAGDETAILSW paftd, DWORD fdwDetails
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
855 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
856 MMRESULT WINAPI acmFilterTagEnumA(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
857 HACMDRIVER had, PACMFILTERTAGDETAILSA paftd,
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
858 ACMFILTERTAGENUMCBA fnCallback, DWORD dwInstance, DWORD fdwEnum
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
859 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
860 MMRESULT WINAPI acmFilterTagEnumW(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
861 HACMDRIVER had, PACMFILTERTAGDETAILSW paftd,
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
862 ACMFILTERTAGENUMCBW fnCallback, DWORD dwInstance, DWORD fdwEnum
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
863 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
864 MMRESULT WINAPI acmFormatChooseA(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
865 PACMFORMATCHOOSEA pafmtc
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
866 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
867 MMRESULT WINAPI acmFormatChooseW(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
868 PACMFORMATCHOOSEW pafmtc
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
869 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
870 MMRESULT WINAPI acmFormatDetailsA(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
871 HACMDRIVER had, PACMFORMATDETAILSA pafd, DWORD fdwDetails
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
872 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
873 MMRESULT WINAPI acmFormatDetailsW(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
874 HACMDRIVER had, PACMFORMATDETAILSW pafd, DWORD fdwDetails
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
875 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
876 MMRESULT WINAPI acmFormatEnumA(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
877 HACMDRIVER had, PACMFORMATDETAILSA pafd,
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
878 ACMFORMATENUMCBA fnCallback, DWORD dwInstance, DWORD fdwEnum
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
879 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
880 MMRESULT WINAPI acmFormatEnumW(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
881 HACMDRIVER had, PACMFORMATDETAILSW pafd,
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
882 ACMFORMATENUMCBW fnCallback, DWORD dwInstance, DWORD fdwEnum
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
883 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
884 MMRESULT WINAPI acmFormatSuggest(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
885 HACMDRIVER had, PWAVEFORMATEX pwfxSrc, PWAVEFORMATEX pwfxDst,
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
886 DWORD cbwfxDst, DWORD fdwSuggest
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
887 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
888 MMRESULT WINAPI acmFormatTagDetailsA(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
889 HACMDRIVER had, PACMFORMATTAGDETAILSA paftd, DWORD fdwDetails
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
890 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
891 MMRESULT WINAPI acmFormatTagDetailsW(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
892 HACMDRIVER had, PACMFORMATTAGDETAILSW paftd, DWORD fdwDetails
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
893 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
894 MMRESULT WINAPI acmFormatTagEnumA(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
895 HACMDRIVER had, PACMFORMATTAGDETAILSA paftd,
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
896 ACMFORMATTAGENUMCBA fnCallback, DWORD dwInstance, DWORD fdwEnum
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
897 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
898 MMRESULT WINAPI acmFormatTagEnumW(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
899 HACMDRIVER had, PACMFORMATTAGDETAILSW paftd,
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
900 ACMFORMATTAGENUMCBW fnCallback, DWORD dwInstance, DWORD fdwEnum
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
901 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
902 DWORD WINAPI acmGetVersion(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
903 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
904 MMRESULT WINAPI acmMetrics(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
905 HACMOBJ hao, UINT uMetric, LPVOID pMetric
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
906 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
907 MMRESULT WINAPI acmStreamClose(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
908 HACMSTREAM has, DWORD fdwClose
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
909 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
910 MMRESULT WINAPI acmStreamConvert(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
911 HACMSTREAM has, PACMSTREAMHEADER pash, DWORD fdwConvert
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
912 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
913 MMRESULT WINAPI acmStreamMessage(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
914 HACMSTREAM has, UINT uMsg, LPARAM lParam1, LPARAM lParam2
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
915 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
916 MMRESULT WINAPI acmStreamOpen(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
917 PHACMSTREAM phas, HACMDRIVER had, PWAVEFORMATEX pwfxSrc,
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
918 PWAVEFORMATEX pwfxDst, PWAVEFILTER pwfltr, DWORD dwCallback,
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
919 DWORD dwInstance, DWORD fdwOpen
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
920 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
921 MMRESULT WINAPI acmStreamPrepareHeader(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
922 HACMSTREAM has, PACMSTREAMHEADER pash, DWORD fdwPrepare
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
923 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
924 MMRESULT WINAPI acmStreamReset(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
925 HACMSTREAM has, DWORD fdwReset
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
926 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
927 MMRESULT WINAPI acmStreamSize(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
928 HACMSTREAM has, DWORD cbInput,
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
929 LPDWORD pdwOutputBytes, DWORD fdwSize
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
930 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
931 MMRESULT WINAPI acmStreamUnprepareHeader(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
932 HACMSTREAM has, PACMSTREAMHEADER pash, DWORD fdwUnprepare
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
933 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
934 void MSACM_RegisterAllDrivers(void);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
935
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
936 #ifdef __cplusplus
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
937 } /* extern "C" */
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
938 #endif /* defined(__cplusplus) */
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
939
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
940 #endif /* __WINE_MSACM_H */
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
941
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
942