annotate loader/wine/msacm.h @ 22997:fd0fda0c6555

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