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 static const WCHAR ACMHELPMSGSTRINGW
[] = { 'a','c','m',
111 'c','h','o','o','s','e','_','h','e','l','p',0 };
112 #define ACMHELPMSGSTRING WINELIB_NAME_AW(ACMHELPMSGSTRING)
114 #define ACMHELPMSGCONTEXTMENUA "acmchoose_contextmenu"
115 static const WCHAR ACMHELPMSGCONTEXTMENUW
[] = { 'a','c','m',
116 'c','h','o','o','s','e','_','c','o','n','t','e','x','t','m','e','n','u',0 };
117 #define ACMHELPMSGCONTEXTMENU WINELIB_NAME_AW(ACMHELPMSGCONTEXTMENU)
119 #define ACMHELPMSGCONTEXTHELPA "acmchoose_contexthelp"
120 static const WCHAR ACMHELPMSGCONTEXTHELPW
[] = { 'a','c','m',
121 'c','h','o','o','s','e','_','c','o','n','t','e','x','t','h','e','l','p',0 };
122 #define ACMHELPMSGCONTEXTHELP WINELIB_NAME_AW(ACMHELPMSGCONTEXTHELP)
124 #define MM_ACM_FORMATCHOOSE 0x8000
126 #define FORMATCHOOSE_MESSAGE 0
127 #define FORMATCHOOSE_FORMATTAG_VERIFY (FORMATCHOOSE_MESSAGE+0)
128 #define FORMATCHOOSE_FORMAT_VERIFY (FORMATCHOOSE_MESSAGE+1)
129 #define FORMATCHOOSE_CUSTOM_VERIFY (FORMATCHOOSE_MESSAGE+2)
131 #define ACMFORMATCHOOSE_STYLEF_SHOWHELP 0x00000004L
132 #define ACMFORMATCHOOSE_STYLEF_ENABLEHOOK 0x00000008L
133 #define ACMFORMATCHOOSE_STYLEF_ENABLETEMPLATE 0x00000010L
134 #define ACMFORMATCHOOSE_STYLEF_ENABLETEMPLATEHANDLE 0x00000020L
135 #define ACMFORMATCHOOSE_STYLEF_INITTOWFXSTRUCT 0x00000040L
136 #define ACMFORMATCHOOSE_STYLEF_CONTEXTHELP 0x00000080L
138 #define ACMFORMATDETAILS_FORMAT_CHARS 128
140 #define ACM_FORMATDETAILSF_INDEX 0x00000000L
141 #define ACM_FORMATDETAILSF_FORMAT 0x00000001L
142 #define ACM_FORMATDETAILSF_QUERYMASK 0x0000000FL
144 #define ACM_FORMATENUMF_WFORMATTAG 0x00010000L
145 #define ACM_FORMATENUMF_NCHANNELS 0x00020000L
146 #define ACM_FORMATENUMF_NSAMPLESPERSEC 0x00040000L
147 #define ACM_FORMATENUMF_WBITSPERSAMPLE 0x00080000L
148 #define ACM_FORMATENUMF_CONVERT 0x00100000L
149 #define ACM_FORMATENUMF_SUGGEST 0x00200000L
150 #define ACM_FORMATENUMF_HARDWARE 0x00400000L
151 #define ACM_FORMATENUMF_INPUT 0x00800000L
152 #define ACM_FORMATENUMF_OUTPUT 0x01000000L
154 #define ACM_FORMATSUGGESTF_WFORMATTAG 0x00010000L
155 #define ACM_FORMATSUGGESTF_NCHANNELS 0x00020000L
156 #define ACM_FORMATSUGGESTF_NSAMPLESPERSEC 0x00040000L
157 #define ACM_FORMATSUGGESTF_WBITSPERSAMPLE 0x00080000L
158 #define ACM_FORMATSUGGESTF_TYPEMASK 0x00FF0000L
160 #define ACMFORMATTAGDETAILS_FORMATTAG_CHARS 48
162 #define ACM_FORMATTAGDETAILSF_INDEX 0x00000000L
163 #define ACM_FORMATTAGDETAILSF_FORMATTAG 0x00000001L
164 #define ACM_FORMATTAGDETAILSF_LARGESTSIZE 0x00000002L
165 #define ACM_FORMATTAGDETAILSF_QUERYMASK 0x0000000FL
167 #define ACM_METRIC_COUNT_DRIVERS 1
168 #define ACM_METRIC_COUNT_CODECS 2
169 #define ACM_METRIC_COUNT_CONVERTERS 3
170 #define ACM_METRIC_COUNT_FILTERS 4
171 #define ACM_METRIC_COUNT_DISABLED 5
172 #define ACM_METRIC_COUNT_HARDWARE 6
173 #define ACM_METRIC_COUNT_LOCAL_DRIVERS 20
174 #define ACM_METRIC_COUNT_LOCAL_CODECS 21
175 #define ACM_METRIC_COUNT_LOCAL_CONVERTERS 22
176 #define ACM_METRIC_COUNT_LOCAL_FILTERS 23
177 #define ACM_METRIC_COUNT_LOCAL_DISABLED 24
178 #define ACM_METRIC_HARDWARE_WAVE_INPUT 30
179 #define ACM_METRIC_HARDWARE_WAVE_OUTPUT 31
180 #define ACM_METRIC_MAX_SIZE_FORMAT 50
181 #define ACM_METRIC_MAX_SIZE_FILTER 51
182 #define ACM_METRIC_DRIVER_SUPPORT 100
183 #define ACM_METRIC_DRIVER_PRIORITY 101
185 #define ACM_STREAMCONVERTF_BLOCKALIGN 0x00000004
186 #define ACM_STREAMCONVERTF_START 0x00000010
187 #define ACM_STREAMCONVERTF_END 0x00000020
189 #define ACMSTREAMHEADER_STATUSF_DONE 0x00010000L
190 #define ACMSTREAMHEADER_STATUSF_PREPARED 0x00020000L
191 #define ACMSTREAMHEADER_STATUSF_INQUEUE 0x00100000L
193 #define ACM_STREAMOPENF_QUERY 0x00000001
194 #define ACM_STREAMOPENF_ASYNC 0x00000002
195 #define ACM_STREAMOPENF_NONREALTIME 0x00000004
197 #define ACM_STREAMSIZEF_SOURCE 0x00000000L
198 #define ACM_STREAMSIZEF_DESTINATION 0x00000001L
199 #define ACM_STREAMSIZEF_QUERYMASK 0x0000000FL
201 #define ACMDM_USER (DRV_USER + 0x0000)
202 #define ACMDM_RESERVED_LOW (DRV_USER + 0x2000)
203 #define ACMDM_RESERVED_HIGH (DRV_USER + 0x2FFF)
205 #define ACMDM_BASE ACMDM_RESERVED_LOW
207 #define ACMDM_DRIVER_ABOUT (ACMDM_BASE + 11)
211 DECLARE_HANDLE(HACMDRIVERID
);
212 DECLARE_HANDLE(HACMDRIVER
);
213 DECLARE_HANDLE(HACMSTREAM
);
214 DECLARE_HANDLE(HACMOBJ
);
216 /***********************************************************************
220 typedef BOOL (CALLBACK
*ACMDRIVERENUMCB
)(
221 HACMDRIVERID hadid
, DWORD dwInstance
, DWORD fdwSupport
224 typedef UINT (CALLBACK
*ACMFILTERCHOOSEHOOKPROCA
)(
225 HWND hwnd
, UINT uMsg
, WPARAM wParam
, LPARAM lParam
228 typedef UINT (CALLBACK
*ACMFILTERCHOOSEHOOKPROCW
)(
229 HWND hwnd
, UINT uMsg
, WPARAM wParam
, LPARAM lParam
231 #define ACMFILTERCHOOSEHOOKPROC WINELIB_NAME_AW(ACMFILTERCHOOSEHOOKPROC)
233 typedef UINT (CALLBACK
*ACMFORMATCHOOSEHOOKPROCA
)(
234 HWND hwnd
, UINT uMsg
, WPARAM wParam
, LPARAM lParam
237 typedef UINT (CALLBACK
*ACMFORMATCHOOSEHOOKPROCW
)(
238 HWND hwnd
, UINT uMsg
, WPARAM wParam
, LPARAM lParam
240 #define ACMFORMATCHOOSEHOOKPROC WINELIB_NAME_AW(ACMFORMATCHOOSEHOOKPROC)
242 /***********************************************************************
246 typedef struct _ACMDRIVERDETAILSA
265 CHAR szShortName
[ACMDRIVERDETAILS_SHORTNAME_CHARS
];
266 CHAR szLongName
[ACMDRIVERDETAILS_LONGNAME_CHARS
];
267 CHAR szCopyright
[ACMDRIVERDETAILS_COPYRIGHT_CHARS
];
268 CHAR szLicensing
[ACMDRIVERDETAILS_LICENSING_CHARS
];
269 CHAR szFeatures
[ACMDRIVERDETAILS_FEATURES_CHARS
];
270 } ACMDRIVERDETAILSA
, *PACMDRIVERDETAILSA
, *LPACMDRIVERDETAILSA
;
272 typedef struct _ACMDRIVERDETAILSW
291 WCHAR szShortName
[ACMDRIVERDETAILS_SHORTNAME_CHARS
];
292 WCHAR szLongName
[ACMDRIVERDETAILS_LONGNAME_CHARS
];
293 WCHAR szCopyright
[ACMDRIVERDETAILS_COPYRIGHT_CHARS
];
294 WCHAR szLicensing
[ACMDRIVERDETAILS_LICENSING_CHARS
];
295 WCHAR szFeatures
[ACMDRIVERDETAILS_FEATURES_CHARS
];
296 } ACMDRIVERDETAILSW
, *PACMDRIVERDETAILSW
, *LPACMDRIVERDETAILSW
;
298 DECL_WINELIB_TYPE_AW(ACMDRIVERDETAILS
)
299 DECL_WINELIB_TYPE_AW(PACMDRIVERDETAILS
)
300 DECL_WINELIB_TYPE_AW(LPACMDRIVERDETAILS
)
302 typedef struct _ACMFILTERCHOOSEA
314 CHAR szFilterTag
[ACMFILTERTAGDETAILS_FILTERTAG_CHARS
];
315 CHAR szFilter
[ACMFILTERDETAILS_FILTER_CHARS
];
320 PWAVEFILTER pwfltrEnum
;
323 LPCSTR pszTemplateName
;
325 ACMFILTERCHOOSEHOOKPROCA pfnHook
;
326 } ACMFILTERCHOOSEA
, *PACMFILTERCHOOSEA
, *LPACMFILTERCHOOSEA
;
328 typedef struct _ACMFILTERCHOOSEW
340 WCHAR szFilterTag
[ACMFILTERTAGDETAILS_FILTERTAG_CHARS
];
341 WCHAR szFilter
[ACMFILTERDETAILS_FILTER_CHARS
];
346 PWAVEFILTER pwfltrEnum
;
349 LPCWSTR pszTemplateName
;
351 ACMFILTERCHOOSEHOOKPROCW pfnHook
;
352 } ACMFILTERCHOOSEW
, *PACMFILTERCHOOSEW
, *LPACMFILTERCHOOSEW
;
354 DECL_WINELIB_TYPE_AW(ACMFILTERCHOOSE
)
355 DECL_WINELIB_TYPE_AW(PACMFILTERCHOOSE
)
356 DECL_WINELIB_TYPE_AW(LPACMFILTERCHOOSE
)
358 typedef struct _ACMFILTERDETAILSA
366 CHAR szFilter
[ACMFILTERDETAILS_FILTER_CHARS
];
367 } ACMFILTERDETAILSA
, *PACMFILTERDETAILSA
, *LPACMFILTERDETAILSA
;
369 typedef struct _ACMFILTERDETAILSW
377 WCHAR szFilter
[ACMFILTERDETAILS_FILTER_CHARS
];
378 } ACMFILTERDETAILSW
, *PACMFILTERDETAILSW
, *LPACMFILTERDETAILSW
;
380 DECL_WINELIB_TYPE_AW(ACMFILTERDETAILS
)
381 DECL_WINELIB_TYPE_AW(PACMFILTERDETAILS
)
382 DECL_WINELIB_TYPE_AW(LPACMFILTERDETAILS
)
384 typedef struct _ACMFILTERTAGDETAILSA
387 DWORD dwFilterTagIndex
;
391 DWORD cStandardFilters
;
392 CHAR szFilterTag
[ACMFILTERTAGDETAILS_FILTERTAG_CHARS
];
393 } ACMFILTERTAGDETAILSA
, *PACMFILTERTAGDETAILSA
, *LPACMFILTERTAGDETAILSA
;
395 typedef struct _ACMFILTERTAGDETAILSW
398 DWORD dwFilterTagIndex
;
402 DWORD cStandardFilters
;
403 WCHAR szFilterTag
[ACMFILTERTAGDETAILS_FILTERTAG_CHARS
];
404 } ACMFILTERTAGDETAILSW
, *PACMFILTERTAGDETAILSW
, *LPACMFILTERTAGDETAILSW
;
406 DECL_WINELIB_TYPE_AW(ACMFILTERTAGDETAILS
)
407 DECL_WINELIB_TYPE_AW(PACMFILTERTAGDETAILS
)
408 DECL_WINELIB_TYPE_AW(LPACMFILTERTAGDETAILS
)
410 typedef struct _ACMFORMATCHOOSEA
421 CHAR szFormatTag
[ACMFORMATTAGDETAILS_FORMATTAG_CHARS
];
422 CHAR szFormat
[ACMFORMATDETAILS_FORMAT_CHARS
];
428 PWAVEFORMATEX pwfxEnum
;
431 LPCSTR pszTemplateName
;
433 ACMFORMATCHOOSEHOOKPROCA pfnHook
;
434 } ACMFORMATCHOOSEA
, *PACMFORMATCHOOSEA
, *LPACMFORMATCHOOSEA
;
436 typedef struct _ACMFORMATCHOOSEW
447 WCHAR szFormatTag
[ACMFORMATTAGDETAILS_FORMATTAG_CHARS
];
448 WCHAR szFormat
[ACMFORMATDETAILS_FORMAT_CHARS
];
454 LPWAVEFORMATEX pwfxEnum
;
457 LPCWSTR pszTemplateName
;
459 ACMFORMATCHOOSEHOOKPROCW pfnHook
;
460 } ACMFORMATCHOOSEW
, *PACMFORMATCHOOSEW
, *LPACMFORMATCHOOSEW
;
462 DECL_WINELIB_TYPE_AW(ACMFORMATCHOOSE
)
463 DECL_WINELIB_TYPE_AW(PACMFORMATCHOOSE
)
464 DECL_WINELIB_TYPE_AW(LPACMFORMATCHOOSE
)
466 typedef struct _ACMFORMATDETAILSA
474 CHAR szFormat
[ACMFORMATDETAILS_FORMAT_CHARS
];
475 } ACMFORMATDETAILSA
, *PACMFORMATDETAILSA
, *LPACMFORMATDETAILSA
;
477 typedef struct _ACMFORMATDETAILSW
485 WCHAR szFormat
[ACMFORMATDETAILS_FORMAT_CHARS
];
486 } ACMFORMATDETAILSW
, *PACMFORMATDETAILSW
, *LPACMFORMATDETAILSW
;
488 DECL_WINELIB_TYPE_AW(ACMFORMATDETAILS
)
489 DECL_WINELIB_TYPE_AW(PACMFORMATDETAILS
)
490 DECL_WINELIB_TYPE_AW(LPACMFORMATDETAILS
)
492 typedef struct _ACMFORMATTAGDETAILSA
495 DWORD dwFormatTagIndex
;
499 DWORD cStandardFormats
;
500 CHAR szFormatTag
[ACMFORMATTAGDETAILS_FORMATTAG_CHARS
];
501 } ACMFORMATTAGDETAILSA
, *PACMFORMATTAGDETAILSA
, *LPACMFORMATTAGDETAILSA
;
503 typedef struct _ACMFORMATTAGDETAILSW
506 DWORD dwFormatTagIndex
;
510 DWORD cStandardFormats
;
511 WCHAR szFormatTag
[ACMFORMATTAGDETAILS_FORMATTAG_CHARS
];
512 } ACMFORMATTAGDETAILSW
, *PACMFORMATTAGDETAILSW
, *LPACMFORMATTAGDETAILSW
;
514 DECL_WINELIB_TYPE_AW(ACMFORMATTAGDETAILS
)
515 DECL_WINELIB_TYPE_AW(PACMFORMATTAGDETAILS
)
516 DECL_WINELIB_TYPE_AW(LPACMFORMATTAGDETAILS
)
518 typedef struct _ACMSTREAMHEADER
525 DWORD cbSrcLengthUsed
;
529 DWORD cbDstLengthUsed
;
531 DWORD dwReservedDriver
[10];
532 } ACMSTREAMHEADER
, *PACMSTREAMHEADER
, *LPACMSTREAMHEADER
;
534 /***********************************************************************
538 typedef BOOL (CALLBACK
*ACMFILTERENUMCBA
)(
539 HACMDRIVERID hadid
, PACMFILTERDETAILSA pafd
,
540 DWORD dwInstance
, DWORD fdwSupport
543 typedef BOOL (CALLBACK
*ACMFILTERENUMCBW
)(
544 HACMDRIVERID hadid
, PACMFILTERDETAILSW pafd
,
545 DWORD dwInstance
, DWORD fdwSupport
548 #define ACMFILTERENUMCB WINELIB_NAME_AW(ACMFILTERENUMCB)
550 typedef BOOL (CALLBACK
*ACMFILTERTAGENUMCBA
)(
551 HACMDRIVERID hadid
, PACMFILTERTAGDETAILSA paftd
,
552 DWORD dwInstance
, DWORD fdwSupport
555 typedef BOOL (CALLBACK
*ACMFILTERTAGENUMCBW
)(
556 HACMDRIVERID hadid
, PACMFILTERTAGDETAILSW paftd
,
557 DWORD dwInstance
, DWORD fdwSupport
560 #define ACMFILTERTAGENUMCB WINELIB_NAME_AW(ACMFILTERTAGENUMCB)
562 typedef BOOL (CALLBACK
*ACMFORMATENUMCBA
)(
563 HACMDRIVERID hadid
, PACMFORMATDETAILSA pafd
,
564 DWORD dwInstance
, DWORD fdwSupport
567 typedef BOOL (CALLBACK
*ACMFORMATENUMCBW
)(
568 HACMDRIVERID hadid
, PACMFORMATDETAILSW pafd
,
569 DWORD dwInstance
, DWORD fdwSupport
572 #define ACMFORMATENUMCB WINELIB_NAME_AW(ACMFORMATENUMCB)
574 typedef BOOL (CALLBACK
*ACMFORMATTAGENUMCBA
)(
575 HACMDRIVERID hadid
, PACMFORMATTAGDETAILSA paftd
,
576 DWORD dwInstance
, DWORD fdwSupport
579 typedef BOOL (CALLBACK
*ACMFORMATTAGENUMCBW
)(
580 HACMDRIVERID hadid
, PACMFORMATTAGDETAILSW paftd
,
581 DWORD dwInstance
, DWORD fdwSupport
584 #define ACMFORMATTAGENUMCB WINELIB_NAME_AW(ACMFORMATTAGENUMCB)
586 /***********************************************************************
590 MMRESULT WINAPI
acmDriverAddA(
591 PHACMDRIVERID phadid
, HINSTANCE hinstModule
,
592 LPARAM lParam
, DWORD dwPriority
, DWORD fdwAdd
594 MMRESULT WINAPI
acmDriverAddW(
595 PHACMDRIVERID phadid
, HINSTANCE hinstModule
,
596 LPARAM lParam
, DWORD dwPriority
, DWORD fdwAdd
598 #define acmDriverAdd WINELIB_NAME_AW(acmDriverAdd)
600 MMRESULT WINAPI
acmDriverClose(
601 HACMDRIVER had
, DWORD fdwClose
603 MMRESULT WINAPI
acmDriverDetailsA(
604 HACMDRIVERID hadid
, PACMDRIVERDETAILSA padd
, DWORD fdwDetails
606 MMRESULT WINAPI
acmDriverDetailsW(
607 HACMDRIVERID hadid
, PACMDRIVERDETAILSW padd
, DWORD fdwDetails
609 #define acmDriverDetails WINELIB_NAME_AW(acmDriverDetails)
611 MMRESULT WINAPI
acmDriverEnum(
612 ACMDRIVERENUMCB fnCallback
, DWORD dwInstance
, DWORD fdwEnum
614 MMRESULT WINAPI
acmDriverID(
615 HACMOBJ hao
, PHACMDRIVERID phadid
, DWORD fdwDriverID
617 LRESULT WINAPI
acmDriverMessage(
618 HACMDRIVER had
, UINT uMsg
, LPARAM lParam1
, LPARAM lParam2
620 MMRESULT WINAPI
acmDriverOpen(
621 PHACMDRIVER phad
, HACMDRIVERID hadid
, DWORD fdwOpen
623 MMRESULT WINAPI
acmDriverPriority(
624 HACMDRIVERID hadid
, DWORD dwPriority
, DWORD fdwPriority
626 MMRESULT WINAPI
acmDriverRemove(
627 HACMDRIVERID hadid
, DWORD fdwRemove
629 MMRESULT WINAPI
acmFilterChooseA(
630 PACMFILTERCHOOSEA pafltrc
632 MMRESULT WINAPI
acmFilterChooseW(
633 PACMFILTERCHOOSEW pafltrc
635 #define acmFilterChoose WINELIB_NAME_AW(acmFilterChoose)
637 MMRESULT WINAPI
acmFilterDetailsA(
638 HACMDRIVER had
, PACMFILTERDETAILSA pafd
, DWORD fdwDetails
640 MMRESULT WINAPI
acmFilterDetailsW(
641 HACMDRIVER had
, PACMFILTERDETAILSW pafd
, DWORD fdwDetails
643 #define acmFilterDetails WINELIB_NAME_AW(acmFilterDetails)
645 MMRESULT WINAPI
acmFilterEnumA(
646 HACMDRIVER had
, PACMFILTERDETAILSA pafd
,
647 ACMFILTERENUMCBA fnCallback
, DWORD dwInstance
, DWORD fdwEnum
649 MMRESULT WINAPI
acmFilterEnumW(
650 HACMDRIVER had
, PACMFILTERDETAILSW pafd
,
651 ACMFILTERENUMCBW fnCallback
, DWORD dwInstance
, DWORD fdwEnum
653 #define acmFilterEnum WINELIB_NAME_AW(acmFilterEnum)
655 MMRESULT WINAPI
acmFilterTagDetailsA(
656 HACMDRIVER had
, PACMFILTERTAGDETAILSA paftd
, DWORD fdwDetails
658 MMRESULT WINAPI
acmFilterTagDetailsW(
659 HACMDRIVER had
, PACMFILTERTAGDETAILSW paftd
, DWORD fdwDetails
661 #define acmFilterTagDetails WINELIB_NAME_AW(acmFilterTagDetails)
663 MMRESULT WINAPI
acmFilterTagEnumA(
664 HACMDRIVER had
, PACMFILTERTAGDETAILSA paftd
,
665 ACMFILTERTAGENUMCBA fnCallback
, DWORD dwInstance
, DWORD fdwEnum
667 MMRESULT WINAPI
acmFilterTagEnumW(
668 HACMDRIVER had
, PACMFILTERTAGDETAILSW paftd
,
669 ACMFILTERTAGENUMCBW fnCallback
, DWORD dwInstance
, DWORD fdwEnum
671 #define acmFilterTagEnum WINELIB_NAME_AW(acmFilterTagEnum)
673 MMRESULT WINAPI
acmFormatChooseA(
674 PACMFORMATCHOOSEA pafmtc
676 MMRESULT WINAPI
acmFormatChooseW(
677 PACMFORMATCHOOSEW pafmtc
679 #define acmFormatChoose WINELIB_NAME_AW(acmFormatChoose)
681 MMRESULT WINAPI
acmFormatDetailsA(
682 HACMDRIVER had
, PACMFORMATDETAILSA pafd
, DWORD fdwDetails
684 MMRESULT WINAPI
acmFormatDetailsW(
685 HACMDRIVER had
, PACMFORMATDETAILSW pafd
, DWORD fdwDetails
687 #define acmFormatDetails WINELIB_NAME_AW(acmFormatDetails)
689 MMRESULT WINAPI
acmFormatEnumA(
690 HACMDRIVER had
, PACMFORMATDETAILSA pafd
,
691 ACMFORMATENUMCBA fnCallback
, DWORD dwInstance
, DWORD fdwEnum
693 MMRESULT WINAPI
acmFormatEnumW(
694 HACMDRIVER had
, PACMFORMATDETAILSW pafd
,
695 ACMFORMATENUMCBW fnCallback
, DWORD dwInstance
, DWORD fdwEnum
697 #define acmFormatEnum WINELIB_NAME_AW(acmFormatEnum)
699 MMRESULT WINAPI
acmFormatSuggest(
700 HACMDRIVER had
, PWAVEFORMATEX pwfxSrc
, PWAVEFORMATEX pwfxDst
,
701 DWORD cbwfxDst
, DWORD fdwSuggest
703 MMRESULT WINAPI
acmFormatTagDetailsA(
704 HACMDRIVER had
, PACMFORMATTAGDETAILSA paftd
, DWORD fdwDetails
706 MMRESULT WINAPI
acmFormatTagDetailsW(
707 HACMDRIVER had
, PACMFORMATTAGDETAILSW paftd
, DWORD fdwDetails
709 #define acmFormatTagDetails WINELIB_NAME_AW(acmFormatTagDetails)
711 MMRESULT WINAPI
acmFormatTagEnumA(
712 HACMDRIVER had
, PACMFORMATTAGDETAILSA paftd
,
713 ACMFORMATTAGENUMCBA fnCallback
, DWORD dwInstance
, DWORD fdwEnum
715 MMRESULT WINAPI
acmFormatTagEnumW(
716 HACMDRIVER had
, PACMFORMATTAGDETAILSW paftd
,
717 ACMFORMATTAGENUMCBW fnCallback
, DWORD dwInstance
, DWORD fdwEnum
719 #define acmFormatTagEnum WINELIB_NAME_AW(acmFormatTagEnum)
721 DWORD WINAPI
acmGetVersion(void
723 MMRESULT WINAPI
acmMetrics(
724 HACMOBJ hao
, UINT uMetric
, LPVOID pMetric
726 MMRESULT WINAPI
acmStreamClose(
727 HACMSTREAM has
, DWORD fdwClose
729 MMRESULT WINAPI
acmStreamConvert(
730 HACMSTREAM has
, PACMSTREAMHEADER pash
, DWORD fdwConvert
732 MMRESULT WINAPI
acmStreamMessage(
733 HACMSTREAM has
, UINT uMsg
, LPARAM lParam1
, LPARAM lParam2
735 MMRESULT WINAPI
acmStreamOpen(
736 PHACMSTREAM phas
, HACMDRIVER had
, PWAVEFORMATEX pwfxSrc
,
737 PWAVEFORMATEX pwfxDst
, PWAVEFILTER pwfltr
, DWORD dwCallback
,
738 DWORD dwInstance
, DWORD fdwOpen
740 MMRESULT WINAPI
acmStreamPrepareHeader(
741 HACMSTREAM has
, PACMSTREAMHEADER pash
, DWORD fdwPrepare
743 MMRESULT WINAPI
acmStreamReset(
744 HACMSTREAM has
, DWORD fdwReset
746 MMRESULT WINAPI
acmStreamSize(
747 HACMSTREAM has
, DWORD cbInput
,
748 LPDWORD pdwOutputBytes
, DWORD fdwSize
750 MMRESULT WINAPI
acmStreamUnprepareHeader(
751 HACMSTREAM has
, PACMSTREAMHEADER pash
, DWORD fdwUnprepare
756 #endif /* defined(__cplusplus) */
758 #endif /* __WINE_MSACM_H */