2 * Declarations for MSACM
4 * Copyright (C) the Wine project
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21 #ifndef __WINE_MSACM_H
22 #define __WINE_MSACM_H
30 #endif /* defined(__cplusplus) */
34 /***********************************************************************
37 #define ACMERR_BASE 512
38 #define ACMERR_NOTPOSSIBLE (ACMERR_BASE + 0)
39 #define ACMERR_BUSY (ACMERR_BASE + 1)
40 #define ACMERR_UNPREPARED (ACMERR_BASE + 2)
41 #define ACMERR_CANCELED (ACMERR_BASE + 3)
43 #define MM_ACM_OPEN MM_STREAM_OPEN
44 #define MM_ACM_CLOSE MM_STREAM_CLOSE
45 #define MM_ACM_DONE MM_STREAM_DONE
47 #define ACM_DRIVERADDF_FUNCTION 0x00000003L
48 #define ACM_DRIVERADDF_NOTIFYHWND 0x00000004L
49 #define ACM_DRIVERADDF_TYPEMASK 0x00000007L
50 #define ACM_DRIVERADDF_LOCAL 0x00000000L
51 #define ACM_DRIVERADDF_GLOBAL 0x00000008L
53 #define ACMDRIVERDETAILS_SHORTNAME_CHARS 32
54 #define ACMDRIVERDETAILS_LONGNAME_CHARS 128
55 #define ACMDRIVERDETAILS_COPYRIGHT_CHARS 80
56 #define ACMDRIVERDETAILS_LICENSING_CHARS 128
57 #define ACMDRIVERDETAILS_FEATURES_CHARS 512
59 #define ACMDRIVERDETAILS_FCCTYPE_AUDIOCODEC mmioFOURCC('a', 'u', 'd', 'c')
60 #define ACMDRIVERDETAILS_FCCCOMP_UNDEFINED mmioFOURCC('\0', '\0', '\0', '\0')
62 #define ACMDRIVERDETAILS_SUPPORTF_CODEC 0x00000001L
63 #define ACMDRIVERDETAILS_SUPPORTF_CONVERTER 0x00000002L
64 #define ACMDRIVERDETAILS_SUPPORTF_FILTER 0x00000004L
65 #define ACMDRIVERDETAILS_SUPPORTF_HARDWARE 0x00000008L
66 #define ACMDRIVERDETAILS_SUPPORTF_ASYNC 0x00000010L
67 #define ACMDRIVERDETAILS_SUPPORTF_LOCAL 0x40000000L
68 #define ACMDRIVERDETAILS_SUPPORTF_DISABLED 0x80000000L
70 #define ACM_DRIVERENUMF_NOLOCAL 0x40000000L
71 #define ACM_DRIVERENUMF_DISABLED 0x80000000L
73 #define ACM_DRIVERPRIORITYF_ENABLE 0x00000001L
74 #define ACM_DRIVERPRIORITYF_DISABLE 0x00000002L
75 #define ACM_DRIVERPRIORITYF_ABLEMASK 0x00000003L
76 #define ACM_DRIVERPRIORITYF_BEGIN 0x00010000L
77 #define ACM_DRIVERPRIORITYF_END 0x00020000L
78 #define ACM_DRIVERPRIORITYF_DEFERMASK 0x00030000L
80 #define MM_ACM_FILTERCHOOSE 0x8000
82 #define FILTERCHOOSE_MESSAGE 0
83 #define FILTERCHOOSE_FILTERTAG_VERIFY (FILTERCHOOSE_MESSAGE+0)
84 #define FILTERCHOOSE_FILTER_VERIFY (FILTERCHOOSE_MESSAGE+1)
85 #define FILTERCHOOSE_CUSTOM_VERIFY (FILTERCHOOSE_MESSAGE+2)
87 #define ACMFILTERCHOOSE_STYLEF_SHOWHELP 0x00000004L
88 #define ACMFILTERCHOOSE_STYLEF_ENABLEHOOK 0x00000008L
89 #define ACMFILTERCHOOSE_STYLEF_ENABLETEMPLATE 0x00000010L
90 #define ACMFILTERCHOOSE_STYLEF_ENABLETEMPLATEHANDLE 0x00000020L
91 #define ACMFILTERCHOOSE_STYLEF_INITTOFILTERSTRUCT 0x00000040L
92 #define ACMFILTERCHOOSE_STYLEF_CONTEXTHELP 0x00000080L
94 #define ACMFILTERDETAILS_FILTER_CHARS 128
96 #define ACM_FILTERDETAILSF_INDEX 0x00000000L
97 #define ACM_FILTERDETAILSF_FILTER 0x00000001L
98 #define ACM_FILTERDETAILSF_QUERYMASK 0x0000000FL
100 #define ACMFILTERTAGDETAILS_FILTERTAG_CHARS 48
102 #define ACM_FILTERTAGDETAILSF_INDEX 0x00000000L
103 #define ACM_FILTERTAGDETAILSF_FILTERTAG 0x00000001L
104 #define ACM_FILTERTAGDETAILSF_LARGESTSIZE 0x00000002L
105 #define ACM_FILTERTAGDETAILSF_QUERYMASK 0x0000000FL
107 #define ACM_FILTERENUMF_DWFILTERTAG 0x00010000L
109 #define ACMHELPMSGSTRINGA "acmchoose_help"
110 #if defined(__GNUC__)
111 # define ACMHELPMSGSTRINGW (const WCHAR []){ 'a','c','m', \
112 'c','h','o','o','s','e','_','h','e','l','p',0 }
113 #elif defined(_MSC_VER)
114 # define ACMHELPMSGSTRINGW L"acmchoose_help"
116 static const WCHAR ACMHELPMSGSTRINGW
[] = { 'a','c','m',
117 'c','h','o','o','s','e','_','h','e','l','p',0 };
119 #define ACMHELPMSGSTRING WINELIB_NAME_AW(ACMHELPMSGSTRING)
121 #define ACMHELPMSGCONTEXTMENUA "acmchoose_contextmenu"
122 #if defined(__GNUC__)
123 # define ACMHELPMSGCONTEXTMENUW (const WCHAR []){ 'a','c','m', \
124 'c','h','o','o','s','e','_','c','o','n','t','e','x','t','m','e','n','u',0 }
125 #elif defined(_MSC_VER)
126 # define ACMHELPMSGCONTEXTMENUW L"acmchoose_contextmenu"
128 static const WCHAR ACMHELPMSGCONTEXTMENUW
[] = { 'a','c','m',
129 'c','h','o','o','s','e','_','c','o','n','t','e','x','t','m','e','n','u',0 };
131 #define ACMHELPMSGCONTEXTMENU WINELIB_NAME_AW(ACMHELPMSGCONTEXTMENU)
133 #define ACMHELPMSGCONTEXTHELPA "acmchoose_contexthelp"
134 #if defined(__GNUC__)
135 # define ACMHELPMSGCONTEXTHELPW (const WCHAR []){ 'a','c','m', \
136 'c','h','o','o','s','e','_','c','o','n','t','e','x','t','h','e','l','p',0 }
137 #elif defined(_MSC_VER)
138 # define ACMHELPMSGCONTEXTHELPW L"acmchoose_contexthelp"
140 static const WCHAR ACMHELPMSGCONTEXTHELPW
[] = { 'a','c','m',
141 'c','h','o','o','s','e','_','c','o','n','t','e','x','t','h','e','l','p',0 };
143 #define ACMHELPMSGCONTEXTHELP WINELIB_NAME_AW(ACMHELPMSGCONTEXTHELP)
145 #define MM_ACM_FORMATCHOOSE 0x8000
147 #define FORMATCHOOSE_MESSAGE 0
148 #define FORMATCHOOSE_FORMATTAG_VERIFY (FORMATCHOOSE_MESSAGE+0)
149 #define FORMATCHOOSE_FORMAT_VERIFY (FORMATCHOOSE_MESSAGE+1)
150 #define FORMATCHOOSE_CUSTOM_VERIFY (FORMATCHOOSE_MESSAGE+2)
152 #define ACMFORMATCHOOSE_STYLEF_SHOWHELP 0x00000004L
153 #define ACMFORMATCHOOSE_STYLEF_ENABLEHOOK 0x00000008L
154 #define ACMFORMATCHOOSE_STYLEF_ENABLETEMPLATE 0x00000010L
155 #define ACMFORMATCHOOSE_STYLEF_ENABLETEMPLATEHANDLE 0x00000020L
156 #define ACMFORMATCHOOSE_STYLEF_INITTOWFXSTRUCT 0x00000040L
157 #define ACMFORMATCHOOSE_STYLEF_CONTEXTHELP 0x00000080L
159 #define ACMFORMATDETAILS_FORMAT_CHARS 128
161 #define ACM_FORMATDETAILSF_INDEX 0x00000000L
162 #define ACM_FORMATDETAILSF_FORMAT 0x00000001L
163 #define ACM_FORMATDETAILSF_QUERYMASK 0x0000000FL
165 #define ACM_FORMATENUMF_WFORMATTAG 0x00010000L
166 #define ACM_FORMATENUMF_NCHANNELS 0x00020000L
167 #define ACM_FORMATENUMF_NSAMPLESPERSEC 0x00040000L
168 #define ACM_FORMATENUMF_WBITSPERSAMPLE 0x00080000L
169 #define ACM_FORMATENUMF_CONVERT 0x00100000L
170 #define ACM_FORMATENUMF_SUGGEST 0x00200000L
171 #define ACM_FORMATENUMF_HARDWARE 0x00400000L
172 #define ACM_FORMATENUMF_INPUT 0x00800000L
173 #define ACM_FORMATENUMF_OUTPUT 0x01000000L
175 #define ACM_FORMATSUGGESTF_WFORMATTAG 0x00010000L
176 #define ACM_FORMATSUGGESTF_NCHANNELS 0x00020000L
177 #define ACM_FORMATSUGGESTF_NSAMPLESPERSEC 0x00040000L
178 #define ACM_FORMATSUGGESTF_WBITSPERSAMPLE 0x00080000L
179 #define ACM_FORMATSUGGESTF_TYPEMASK 0x00FF0000L
181 #define ACMFORMATTAGDETAILS_FORMATTAG_CHARS 48
183 #define ACM_FORMATTAGDETAILSF_INDEX 0x00000000L
184 #define ACM_FORMATTAGDETAILSF_FORMATTAG 0x00000001L
185 #define ACM_FORMATTAGDETAILSF_LARGESTSIZE 0x00000002L
186 #define ACM_FORMATTAGDETAILSF_QUERYMASK 0x0000000FL
188 #define ACM_METRIC_COUNT_DRIVERS 1
189 #define ACM_METRIC_COUNT_CODECS 2
190 #define ACM_METRIC_COUNT_CONVERTERS 3
191 #define ACM_METRIC_COUNT_FILTERS 4
192 #define ACM_METRIC_COUNT_DISABLED 5
193 #define ACM_METRIC_COUNT_HARDWARE 6
194 #define ACM_METRIC_COUNT_LOCAL_DRIVERS 20
195 #define ACM_METRIC_COUNT_LOCAL_CODECS 21
196 #define ACM_METRIC_COUNT_LOCAL_CONVERTERS 22
197 #define ACM_METRIC_COUNT_LOCAL_FILTERS 23
198 #define ACM_METRIC_COUNT_LOCAL_DISABLED 24
199 #define ACM_METRIC_HARDWARE_WAVE_INPUT 30
200 #define ACM_METRIC_HARDWARE_WAVE_OUTPUT 31
201 #define ACM_METRIC_MAX_SIZE_FORMAT 50
202 #define ACM_METRIC_MAX_SIZE_FILTER 51
203 #define ACM_METRIC_DRIVER_SUPPORT 100
204 #define ACM_METRIC_DRIVER_PRIORITY 101
206 #define ACM_STREAMCONVERTF_BLOCKALIGN 0x00000004
207 #define ACM_STREAMCONVERTF_START 0x00000010
208 #define ACM_STREAMCONVERTF_END 0x00000020
210 #define ACMSTREAMHEADER_STATUSF_DONE 0x00010000L
211 #define ACMSTREAMHEADER_STATUSF_PREPARED 0x00020000L
212 #define ACMSTREAMHEADER_STATUSF_INQUEUE 0x00100000L
214 #define ACM_STREAMOPENF_QUERY 0x00000001
215 #define ACM_STREAMOPENF_ASYNC 0x00000002
216 #define ACM_STREAMOPENF_NONREALTIME 0x00000004
218 #define ACM_STREAMSIZEF_SOURCE 0x00000000L
219 #define ACM_STREAMSIZEF_DESTINATION 0x00000001L
220 #define ACM_STREAMSIZEF_QUERYMASK 0x0000000FL
222 #define ACMDM_USER (DRV_USER + 0x0000)
223 #define ACMDM_RESERVED_LOW (DRV_USER + 0x2000)
224 #define ACMDM_RESERVED_HIGH (DRV_USER + 0x2FFF)
226 #define ACMDM_BASE ACMDM_RESERVED_LOW
228 #define ACMDM_DRIVER_ABOUT (ACMDM_BASE + 11)
232 DECLARE_HANDLE(HACMDRIVERID
);
233 DECLARE_HANDLE(HACMDRIVER
);
234 DECLARE_HANDLE(HACMSTREAM
);
235 DECLARE_HANDLE(HACMOBJ
);
237 /***********************************************************************
241 typedef BOOL (CALLBACK
*ACMDRIVERENUMCB
)(
242 HACMDRIVERID hadid
, DWORD dwInstance
, DWORD fdwSupport
245 typedef UINT (CALLBACK
*ACMFILTERCHOOSEHOOKPROCA
)(
246 HWND hwnd
, UINT uMsg
, WPARAM wParam
, LPARAM lParam
249 typedef UINT (CALLBACK
*ACMFILTERCHOOSEHOOKPROCW
)(
250 HWND hwnd
, UINT uMsg
, WPARAM wParam
, LPARAM lParam
252 #define ACMFILTERCHOOSEHOOKPROC WINELIB_NAME_AW(ACMFILTERCHOOSEHOOKPROC)
254 typedef UINT (CALLBACK
*ACMFORMATCHOOSEHOOKPROCA
)(
255 HWND hwnd
, UINT uMsg
, WPARAM wParam
, LPARAM lParam
258 typedef UINT (CALLBACK
*ACMFORMATCHOOSEHOOKPROCW
)(
259 HWND hwnd
, UINT uMsg
, WPARAM wParam
, LPARAM lParam
261 #define ACMFORMATCHOOSEHOOKPROC WINELIB_NAME_AW(ACMFORMATCHOOSEHOOKPROC)
263 /***********************************************************************
267 typedef struct _ACMDRIVERDETAILSA
286 CHAR szShortName
[ACMDRIVERDETAILS_SHORTNAME_CHARS
];
287 CHAR szLongName
[ACMDRIVERDETAILS_LONGNAME_CHARS
];
288 CHAR szCopyright
[ACMDRIVERDETAILS_COPYRIGHT_CHARS
];
289 CHAR szLicensing
[ACMDRIVERDETAILS_LICENSING_CHARS
];
290 CHAR szFeatures
[ACMDRIVERDETAILS_FEATURES_CHARS
];
291 } ACMDRIVERDETAILSA
, *PACMDRIVERDETAILSA
, *LPACMDRIVERDETAILSA
;
293 typedef struct _ACMDRIVERDETAILSW
312 WCHAR szShortName
[ACMDRIVERDETAILS_SHORTNAME_CHARS
];
313 WCHAR szLongName
[ACMDRIVERDETAILS_LONGNAME_CHARS
];
314 WCHAR szCopyright
[ACMDRIVERDETAILS_COPYRIGHT_CHARS
];
315 WCHAR szLicensing
[ACMDRIVERDETAILS_LICENSING_CHARS
];
316 WCHAR szFeatures
[ACMDRIVERDETAILS_FEATURES_CHARS
];
317 } ACMDRIVERDETAILSW
, *PACMDRIVERDETAILSW
, *LPACMDRIVERDETAILSW
;
319 DECL_WINELIB_TYPE_AW(ACMDRIVERDETAILS
)
320 DECL_WINELIB_TYPE_AW(PACMDRIVERDETAILS
)
321 DECL_WINELIB_TYPE_AW(LPACMDRIVERDETAILS
)
323 typedef struct _ACMFILTERCHOOSEA
335 CHAR szFilterTag
[ACMFILTERTAGDETAILS_FILTERTAG_CHARS
];
336 CHAR szFilter
[ACMFILTERDETAILS_FILTER_CHARS
];
341 PWAVEFILTER pwfltrEnum
;
344 LPCSTR pszTemplateName
;
346 ACMFILTERCHOOSEHOOKPROCA pfnHook
;
347 } ACMFILTERCHOOSEA
, *PACMFILTERCHOOSEA
, *LPACMFILTERCHOOSEA
;
349 typedef struct _ACMFILTERCHOOSEW
361 WCHAR szFilterTag
[ACMFILTERTAGDETAILS_FILTERTAG_CHARS
];
362 WCHAR szFilter
[ACMFILTERDETAILS_FILTER_CHARS
];
367 PWAVEFILTER pwfltrEnum
;
370 LPCWSTR pszTemplateName
;
372 ACMFILTERCHOOSEHOOKPROCW pfnHook
;
373 } ACMFILTERCHOOSEW
, *PACMFILTERCHOOSEW
, *LPACMFILTERCHOOSEW
;
375 DECL_WINELIB_TYPE_AW(ACMFILTERCHOOSE
)
376 DECL_WINELIB_TYPE_AW(PACMFILTERCHOOSE
)
377 DECL_WINELIB_TYPE_AW(LPACMFILTERCHOOSE
)
379 typedef struct _ACMFILTERDETAILSA
387 CHAR szFilter
[ACMFILTERDETAILS_FILTER_CHARS
];
388 } ACMFILTERDETAILSA
, *PACMFILTERDETAILSA
, *LPACMFILTERDETAILSA
;
390 typedef struct _ACMFILTERDETAILSW
398 WCHAR szFilter
[ACMFILTERDETAILS_FILTER_CHARS
];
399 } ACMFILTERDETAILSW
, *PACMFILTERDETAILSW
, *LPACMFILTERDETAILSW
;
401 DECL_WINELIB_TYPE_AW(ACMFILTERDETAILS
)
402 DECL_WINELIB_TYPE_AW(PACMFILTERDETAILS
)
403 DECL_WINELIB_TYPE_AW(LPACMFILTERDETAILS
)
405 typedef struct _ACMFILTERTAGDETAILSA
408 DWORD dwFilterTagIndex
;
412 DWORD cStandardFilters
;
413 CHAR szFilterTag
[ACMFILTERTAGDETAILS_FILTERTAG_CHARS
];
414 } ACMFILTERTAGDETAILSA
, *PACMFILTERTAGDETAILSA
, *LPACMFILTERTAGDETAILSA
;
416 typedef struct _ACMFILTERTAGDETAILSW
419 DWORD dwFilterTagIndex
;
423 DWORD cStandardFilters
;
424 WCHAR szFilterTag
[ACMFILTERTAGDETAILS_FILTERTAG_CHARS
];
425 } ACMFILTERTAGDETAILSW
, *PACMFILTERTAGDETAILSW
, *LPACMFILTERTAGDETAILSW
;
427 DECL_WINELIB_TYPE_AW(ACMFILTERTAGDETAILS
)
428 DECL_WINELIB_TYPE_AW(PACMFILTERTAGDETAILS
)
429 DECL_WINELIB_TYPE_AW(LPACMFILTERTAGDETAILS
)
431 typedef struct _ACMFORMATCHOOSEA
442 CHAR szFormatTag
[ACMFORMATTAGDETAILS_FORMATTAG_CHARS
];
443 CHAR szFormat
[ACMFORMATDETAILS_FORMAT_CHARS
];
449 PWAVEFORMATEX pwfxEnum
;
452 LPCSTR pszTemplateName
;
454 ACMFORMATCHOOSEHOOKPROCA pfnHook
;
455 } ACMFORMATCHOOSEA
, *PACMFORMATCHOOSEA
, *LPACMFORMATCHOOSEA
;
457 typedef struct _ACMFORMATCHOOSEW
468 WCHAR szFormatTag
[ACMFORMATTAGDETAILS_FORMATTAG_CHARS
];
469 WCHAR szFormat
[ACMFORMATDETAILS_FORMAT_CHARS
];
475 LPWAVEFORMATEX pwfxEnum
;
478 LPCWSTR pszTemplateName
;
480 ACMFORMATCHOOSEHOOKPROCW pfnHook
;
481 } ACMFORMATCHOOSEW
, *PACMFORMATCHOOSEW
, *LPACMFORMATCHOOSEW
;
483 DECL_WINELIB_TYPE_AW(ACMFORMATCHOOSE
)
484 DECL_WINELIB_TYPE_AW(PACMFORMATCHOOSE
)
485 DECL_WINELIB_TYPE_AW(LPACMFORMATCHOOSE
)
487 typedef struct _ACMFORMATDETAILSA
495 CHAR szFormat
[ACMFORMATDETAILS_FORMAT_CHARS
];
496 } ACMFORMATDETAILSA
, *PACMFORMATDETAILSA
, *LPACMFORMATDETAILSA
;
498 typedef struct _ACMFORMATDETAILSW
506 WCHAR szFormat
[ACMFORMATDETAILS_FORMAT_CHARS
];
507 } ACMFORMATDETAILSW
, *PACMFORMATDETAILSW
, *LPACMFORMATDETAILSW
;
509 DECL_WINELIB_TYPE_AW(ACMFORMATDETAILS
)
510 DECL_WINELIB_TYPE_AW(PACMFORMATDETAILS
)
511 DECL_WINELIB_TYPE_AW(LPACMFORMATDETAILS
)
513 typedef struct _ACMFORMATTAGDETAILSA
516 DWORD dwFormatTagIndex
;
520 DWORD cStandardFormats
;
521 CHAR szFormatTag
[ACMFORMATTAGDETAILS_FORMATTAG_CHARS
];
522 } ACMFORMATTAGDETAILSA
, *PACMFORMATTAGDETAILSA
, *LPACMFORMATTAGDETAILSA
;
524 typedef struct _ACMFORMATTAGDETAILSW
527 DWORD dwFormatTagIndex
;
531 DWORD cStandardFormats
;
532 WCHAR szFormatTag
[ACMFORMATTAGDETAILS_FORMATTAG_CHARS
];
533 } ACMFORMATTAGDETAILSW
, *PACMFORMATTAGDETAILSW
, *LPACMFORMATTAGDETAILSW
;
535 DECL_WINELIB_TYPE_AW(ACMFORMATTAGDETAILS
)
536 DECL_WINELIB_TYPE_AW(PACMFORMATTAGDETAILS
)
537 DECL_WINELIB_TYPE_AW(LPACMFORMATTAGDETAILS
)
539 typedef struct _ACMSTREAMHEADER
546 DWORD cbSrcLengthUsed
;
550 DWORD cbDstLengthUsed
;
552 DWORD dwReservedDriver
[10];
553 } ACMSTREAMHEADER
, *PACMSTREAMHEADER
, *LPACMSTREAMHEADER
;
555 /***********************************************************************
559 typedef BOOL (CALLBACK
*ACMFILTERENUMCBA
)(
560 HACMDRIVERID hadid
, PACMFILTERDETAILSA pafd
,
561 DWORD dwInstance
, DWORD fdwSupport
564 typedef BOOL (CALLBACK
*ACMFILTERENUMCBW
)(
565 HACMDRIVERID hadid
, PACMFILTERDETAILSW pafd
,
566 DWORD dwInstance
, DWORD fdwSupport
569 #define ACMFILTERENUMCB WINELIB_NAME_AW(ACMFILTERENUMCB)
571 typedef BOOL (CALLBACK
*ACMFILTERTAGENUMCBA
)(
572 HACMDRIVERID hadid
, PACMFILTERTAGDETAILSA paftd
,
573 DWORD dwInstance
, DWORD fdwSupport
576 typedef BOOL (CALLBACK
*ACMFILTERTAGENUMCBW
)(
577 HACMDRIVERID hadid
, PACMFILTERTAGDETAILSW paftd
,
578 DWORD dwInstance
, DWORD fdwSupport
581 #define ACMFILTERTAGENUMCB WINELIB_NAME_AW(ACMFILTERTAGENUMCB)
583 typedef BOOL (CALLBACK
*ACMFORMATENUMCBA
)(
584 HACMDRIVERID hadid
, PACMFORMATDETAILSA pafd
,
585 DWORD dwInstance
, DWORD fdwSupport
588 typedef BOOL (CALLBACK
*ACMFORMATENUMCBW
)(
589 HACMDRIVERID hadid
, PACMFORMATDETAILSW pafd
,
590 DWORD dwInstance
, DWORD fdwSupport
593 #define ACMFORMATENUMCB WINELIB_NAME_AW(ACMFORMATENUMCB)
595 typedef BOOL (CALLBACK
*ACMFORMATTAGENUMCBA
)(
596 HACMDRIVERID hadid
, PACMFORMATTAGDETAILSA paftd
,
597 DWORD dwInstance
, DWORD fdwSupport
600 typedef BOOL (CALLBACK
*ACMFORMATTAGENUMCBW
)(
601 HACMDRIVERID hadid
, PACMFORMATTAGDETAILSW paftd
,
602 DWORD dwInstance
, DWORD fdwSupport
605 #define ACMFORMATTAGENUMCB WINELIB_NAME_AW(ACMFORMATTAGENUMCB)
607 /***********************************************************************
611 MMRESULT WINAPI
acmDriverAddA(
612 PHACMDRIVERID phadid
, HINSTANCE hinstModule
,
613 LPARAM lParam
, DWORD dwPriority
, DWORD fdwAdd
615 MMRESULT WINAPI
acmDriverAddW(
616 PHACMDRIVERID phadid
, HINSTANCE hinstModule
,
617 LPARAM lParam
, DWORD dwPriority
, DWORD fdwAdd
619 #define acmDriverAdd WINELIB_NAME_AW(acmDriverAdd)
621 MMRESULT WINAPI
acmDriverClose(
622 HACMDRIVER had
, DWORD fdwClose
624 MMRESULT WINAPI
acmDriverDetailsA(
625 HACMDRIVERID hadid
, PACMDRIVERDETAILSA padd
, DWORD fdwDetails
627 MMRESULT WINAPI
acmDriverDetailsW(
628 HACMDRIVERID hadid
, PACMDRIVERDETAILSW padd
, DWORD fdwDetails
630 #define acmDriverDetails WINELIB_NAME_AW(acmDriverDetails)
632 MMRESULT WINAPI
acmDriverEnum(
633 ACMDRIVERENUMCB fnCallback
, DWORD dwInstance
, DWORD fdwEnum
635 MMRESULT WINAPI
acmDriverID(
636 HACMOBJ hao
, PHACMDRIVERID phadid
, DWORD fdwDriverID
638 LRESULT WINAPI
acmDriverMessage(
639 HACMDRIVER had
, UINT uMsg
, LPARAM lParam1
, LPARAM lParam2
641 MMRESULT WINAPI
acmDriverOpen(
642 PHACMDRIVER phad
, HACMDRIVERID hadid
, DWORD fdwOpen
644 MMRESULT WINAPI
acmDriverPriority(
645 HACMDRIVERID hadid
, DWORD dwPriority
, DWORD fdwPriority
647 MMRESULT WINAPI
acmDriverRemove(
648 HACMDRIVERID hadid
, DWORD fdwRemove
650 MMRESULT WINAPI
acmFilterChooseA(
651 PACMFILTERCHOOSEA pafltrc
653 MMRESULT WINAPI
acmFilterChooseW(
654 PACMFILTERCHOOSEW pafltrc
656 #define acmFilterChoose WINELIB_NAME_AW(acmFilterChoose)
658 MMRESULT WINAPI
acmFilterDetailsA(
659 HACMDRIVER had
, PACMFILTERDETAILSA pafd
, DWORD fdwDetails
661 MMRESULT WINAPI
acmFilterDetailsW(
662 HACMDRIVER had
, PACMFILTERDETAILSW pafd
, DWORD fdwDetails
664 #define acmFilterDetails WINELIB_NAME_AW(acmFilterDetails)
666 MMRESULT WINAPI
acmFilterEnumA(
667 HACMDRIVER had
, PACMFILTERDETAILSA pafd
,
668 ACMFILTERENUMCBA fnCallback
, DWORD dwInstance
, DWORD fdwEnum
670 MMRESULT WINAPI
acmFilterEnumW(
671 HACMDRIVER had
, PACMFILTERDETAILSW pafd
,
672 ACMFILTERENUMCBW fnCallback
, DWORD dwInstance
, DWORD fdwEnum
674 #define acmFilterEnum WINELIB_NAME_AW(acmFilterEnum)
676 MMRESULT WINAPI
acmFilterTagDetailsA(
677 HACMDRIVER had
, PACMFILTERTAGDETAILSA paftd
, DWORD fdwDetails
679 MMRESULT WINAPI
acmFilterTagDetailsW(
680 HACMDRIVER had
, PACMFILTERTAGDETAILSW paftd
, DWORD fdwDetails
682 #define acmFilterTagDetails WINELIB_NAME_AW(acmFilterTagDetails)
684 MMRESULT WINAPI
acmFilterTagEnumA(
685 HACMDRIVER had
, PACMFILTERTAGDETAILSA paftd
,
686 ACMFILTERTAGENUMCBA fnCallback
, DWORD dwInstance
, DWORD fdwEnum
688 MMRESULT WINAPI
acmFilterTagEnumW(
689 HACMDRIVER had
, PACMFILTERTAGDETAILSW paftd
,
690 ACMFILTERTAGENUMCBW fnCallback
, DWORD dwInstance
, DWORD fdwEnum
692 #define acmFilterTagEnum WINELIB_NAME_AW(acmFilterTagEnum)
694 MMRESULT WINAPI
acmFormatChooseA(
695 PACMFORMATCHOOSEA pafmtc
697 MMRESULT WINAPI
acmFormatChooseW(
698 PACMFORMATCHOOSEW pafmtc
700 #define acmFormatChoose WINELIB_NAME_AW(acmFormatChoose)
702 MMRESULT WINAPI
acmFormatDetailsA(
703 HACMDRIVER had
, PACMFORMATDETAILSA pafd
, DWORD fdwDetails
705 MMRESULT WINAPI
acmFormatDetailsW(
706 HACMDRIVER had
, PACMFORMATDETAILSW pafd
, DWORD fdwDetails
708 #define acmFormatDetails WINELIB_NAME_AW(acmFormatDetails)
710 MMRESULT WINAPI
acmFormatEnumA(
711 HACMDRIVER had
, PACMFORMATDETAILSA pafd
,
712 ACMFORMATENUMCBA fnCallback
, DWORD dwInstance
, DWORD fdwEnum
714 MMRESULT WINAPI
acmFormatEnumW(
715 HACMDRIVER had
, PACMFORMATDETAILSW pafd
,
716 ACMFORMATENUMCBW fnCallback
, DWORD dwInstance
, DWORD fdwEnum
718 #define acmFormatEnum WINELIB_NAME_AW(acmFormatEnum)
720 MMRESULT WINAPI
acmFormatSuggest(
721 HACMDRIVER had
, PWAVEFORMATEX pwfxSrc
, PWAVEFORMATEX pwfxDst
,
722 DWORD cbwfxDst
, DWORD fdwSuggest
724 MMRESULT WINAPI
acmFormatTagDetailsA(
725 HACMDRIVER had
, PACMFORMATTAGDETAILSA paftd
, DWORD fdwDetails
727 MMRESULT WINAPI
acmFormatTagDetailsW(
728 HACMDRIVER had
, PACMFORMATTAGDETAILSW paftd
, DWORD fdwDetails
730 #define acmFormatTagDetails WINELIB_NAME_AW(acmFormatTagDetails)
732 MMRESULT WINAPI
acmFormatTagEnumA(
733 HACMDRIVER had
, PACMFORMATTAGDETAILSA paftd
,
734 ACMFORMATTAGENUMCBA fnCallback
, DWORD dwInstance
, DWORD fdwEnum
736 MMRESULT WINAPI
acmFormatTagEnumW(
737 HACMDRIVER had
, PACMFORMATTAGDETAILSW paftd
,
738 ACMFORMATTAGENUMCBW fnCallback
, DWORD dwInstance
, DWORD fdwEnum
740 #define acmFormatTagEnum WINELIB_NAME_AW(acmFormatTagEnum)
742 DWORD WINAPI
acmGetVersion(void
744 MMRESULT WINAPI
acmMetrics(
745 HACMOBJ hao
, UINT uMetric
, LPVOID pMetric
747 MMRESULT WINAPI
acmStreamClose(
748 HACMSTREAM has
, DWORD fdwClose
750 MMRESULT WINAPI
acmStreamConvert(
751 HACMSTREAM has
, PACMSTREAMHEADER pash
, DWORD fdwConvert
753 MMRESULT WINAPI
acmStreamMessage(
754 HACMSTREAM has
, UINT uMsg
, LPARAM lParam1
, LPARAM lParam2
756 MMRESULT WINAPI
acmStreamOpen(
757 PHACMSTREAM phas
, HACMDRIVER had
, PWAVEFORMATEX pwfxSrc
,
758 PWAVEFORMATEX pwfxDst
, PWAVEFILTER pwfltr
, DWORD dwCallback
,
759 DWORD dwInstance
, DWORD fdwOpen
761 MMRESULT WINAPI
acmStreamPrepareHeader(
762 HACMSTREAM has
, PACMSTREAMHEADER pash
, DWORD fdwPrepare
764 MMRESULT WINAPI
acmStreamReset(
765 HACMSTREAM has
, DWORD fdwReset
767 MMRESULT WINAPI
acmStreamSize(
768 HACMSTREAM has
, DWORD cbInput
,
769 LPDWORD pdwOutputBytes
, DWORD fdwSize
771 MMRESULT WINAPI
acmStreamUnprepareHeader(
772 HACMSTREAM has
, PACMSTREAMHEADER pash
, DWORD fdwUnprepare
777 #endif /* defined(__cplusplus) */
779 #endif /* __WINE_MSACM_H */