2 * msacm.h - Declarations for MSACM
14 #endif /* defined(__cplusplus) */
18 /***********************************************************************
21 #define ACMERR_BASE 512
22 #define ACMERR_NOTPOSSIBLE (ACMERR_BASE + 0)
23 #define ACMERR_BUSY (ACMERR_BASE + 1)
24 #define ACMERR_UNPREPARED (ACMERR_BASE + 2)
25 #define ACMERR_CANCELED (ACMERR_BASE + 3)
27 #define MM_ACM_OPEN MM_STREAM_OPEN
28 #define MM_ACM_CLOSE MM_STREAM_CLOSE
29 #define MM_ACM_DONE MM_STREAM_DONE
31 #define ACM_DRIVERADDF_FUNCTION 0x00000003L
32 #define ACM_DRIVERADDF_NOTIFYHWND 0x00000004L
33 #define ACM_DRIVERADDF_TYPEMASK 0x00000007L
34 #define ACM_DRIVERADDF_LOCAL 0x00000000L
35 #define ACM_DRIVERADDF_GLOBAL 0x00000008L
37 #define ACMDRIVERDETAILS_SHORTNAME_CHARS 32
38 #define ACMDRIVERDETAILS_LONGNAME_CHARS 128
39 #define ACMDRIVERDETAILS_COPYRIGHT_CHARS 80
40 #define ACMDRIVERDETAILS_LICENSING_CHARS 128
41 #define ACMDRIVERDETAILS_FEATURES_CHARS 512
43 #define ACMDRIVERDETAILS_FCCTYPE_AUDIOCODEC mmioFOURCC('a', 'u', 'd', 'c')
44 #define ACMDRIVERDETAILS_FCCCOMP_UNDEFINED mmioFOURCC('\0', '\0', '\0', '\0')
46 #define ACMDRIVERDETAILS_SUPPORTF_CODEC 0x00000001L
47 #define ACMDRIVERDETAILS_SUPPORTF_CONVERTER 0x00000002L
48 #define ACMDRIVERDETAILS_SUPPORTF_FILTER 0x00000004L
49 #define ACMDRIVERDETAILS_SUPPORTF_HARDWARE 0x00000008L
50 #define ACMDRIVERDETAILS_SUPPORTF_ASYNC 0x00000010L
51 #define ACMDRIVERDETAILS_SUPPORTF_LOCAL 0x40000000L
52 #define ACMDRIVERDETAILS_SUPPORTF_DISABLED 0x80000000L
54 #define ACM_DRIVERENUMF_NOLOCAL 0x40000000L
55 #define ACM_DRIVERENUMF_DISABLED 0x80000000L
57 #define ACM_DRIVERPRIORITYF_ENABLE 0x00000001L
58 #define ACM_DRIVERPRIORITYF_DISABLE 0x00000002L
59 #define ACM_DRIVERPRIORITYF_ABLEMASK 0x00000003L
60 #define ACM_DRIVERPRIORITYF_BEGIN 0x00010000L
61 #define ACM_DRIVERPRIORITYF_END 0x00020000L
62 #define ACM_DRIVERPRIORITYF_DEFERMASK 0x00030000L
64 #define MM_ACM_FILTERCHOOSE 0x8000
66 #define FILTERCHOOSE_MESSAGE 0
67 #define FILTERCHOOSE_FILTERTAG_VERIFY (FILTERCHOOSE_MESSAGE+0)
68 #define FILTERCHOOSE_FILTER_VERIFY (FILTERCHOOSE_MESSAGE+1)
69 #define FILTERCHOOSE_CUSTOM_VERIFY (FILTERCHOOSE_MESSAGE+2)
71 #define ACMFILTERCHOOSE_STYLEF_SHOWHELP 0x00000004L
72 #define ACMFILTERCHOOSE_STYLEF_ENABLEHOOK 0x00000008L
73 #define ACMFILTERCHOOSE_STYLEF_ENABLETEMPLATE 0x00000010L
74 #define ACMFILTERCHOOSE_STYLEF_ENABLETEMPLATEHANDLE 0x00000020L
75 #define ACMFILTERCHOOSE_STYLEF_INITTOFILTERSTRUCT 0x00000040L
76 #define ACMFILTERCHOOSE_STYLEF_CONTEXTHELP 0x00000080L
78 #define ACMFILTERDETAILS_FILTER_CHARS 128
80 #define ACM_FILTERDETAILSF_INDEX 0x00000000L
81 #define ACM_FILTERDETAILSF_FILTER 0x00000001L
82 #define ACM_FILTERDETAILSF_QUERYMASK 0x0000000FL
84 #define ACMFILTERTAGDETAILS_FILTERTAG_CHARS 48
86 #define ACM_FILTERTAGDETAILSF_INDEX 0x00000000L
87 #define ACM_FILTERTAGDETAILSF_FILTERTAG 0x00000001L
88 #define ACM_FILTERTAGDETAILSF_LARGESTSIZE 0x00000002L
89 #define ACM_FILTERTAGDETAILSF_QUERYMASK 0x0000000FL
91 #define ACM_FILTERENUMF_DWFILTERTAG 0x00010000L
93 #define ACMHELPMSGSTRINGA "acmchoose_help"
94 static const WCHAR ACMHELPMSGSTRINGW
[] = { 'a','c','m',
95 'c','h','o','o','s','e','_','h','e','l','p',0 };
96 #define ACMHELPMSGSTRING WINELIB_NAME_AW(ACMHELPMSGSTRING)
98 #define ACMHELPMSGCONTEXTMENUA "acmchoose_contextmenu"
99 static const WCHAR ACMHELPMSGCONTEXTMENUW
[] = { 'a','c','m',
100 'c','h','o','o','s','e','_','c','o','n','t','e','x','t','m','e','n','u',0 };
101 #define ACMHELPMSGCONTEXTMENU WINELIB_NAME_AW(ACMHELPMSGCONTEXTMENU)
103 #define ACMHELPMSGCONTEXTHELPA "acmchoose_contexthelp"
104 static const WCHAR ACMHELPMSGCONTEXTHELPW
[] = { 'a','c','m',
105 'c','h','o','o','s','e','_','c','o','n','t','e','x','t','h','e','l','p',0 };
106 #define ACMHELPMSGCONTEXTHELP WINELIB_NAME_AW(ACMHELPMSGCONTEXTHELP)
108 #define MM_ACM_FORMATCHOOSE 0x8000
110 #define FORMATCHOOSE_MESSAGE 0
111 #define FORMATCHOOSE_FORMATTAG_VERIFY (FORMATCHOOSE_MESSAGE+0)
112 #define FORMATCHOOSE_FORMAT_VERIFY (FORMATCHOOSE_MESSAGE+1)
113 #define FORMATCHOOSE_CUSTOM_VERIFY (FORMATCHOOSE_MESSAGE+2)
115 #define ACMFORMATCHOOSE_STYLEF_SHOWHELP 0x00000004L
116 #define ACMFORMATCHOOSE_STYLEF_ENABLEHOOK 0x00000008L
117 #define ACMFORMATCHOOSE_STYLEF_ENABLETEMPLATE 0x00000010L
118 #define ACMFORMATCHOOSE_STYLEF_ENABLETEMPLATEHANDLE 0x00000020L
119 #define ACMFORMATCHOOSE_STYLEF_INITTOWFXSTRUCT 0x00000040L
120 #define ACMFORMATCHOOSE_STYLEF_CONTEXTHELP 0x00000080L
122 #define ACMFORMATDETAILS_FORMAT_CHARS 128
124 #define ACM_FORMATDETAILSF_INDEX 0x00000000L
125 #define ACM_FORMATDETAILSF_FORMAT 0x00000001L
126 #define ACM_FORMATDETAILSF_QUERYMASK 0x0000000FL
128 #define ACM_FORMATENUMF_WFORMATTAG 0x00010000L
129 #define ACM_FORMATENUMF_NCHANNELS 0x00020000L
130 #define ACM_FORMATENUMF_NSAMPLESPERSEC 0x00040000L
131 #define ACM_FORMATENUMF_WBITSPERSAMPLE 0x00080000L
132 #define ACM_FORMATENUMF_CONVERT 0x00100000L
133 #define ACM_FORMATENUMF_SUGGEST 0x00200000L
134 #define ACM_FORMATENUMF_HARDWARE 0x00400000L
135 #define ACM_FORMATENUMF_INPUT 0x00800000L
136 #define ACM_FORMATENUMF_OUTPUT 0x01000000L
138 #define ACM_FORMATSUGGESTF_WFORMATTAG 0x00010000L
139 #define ACM_FORMATSUGGESTF_NCHANNELS 0x00020000L
140 #define ACM_FORMATSUGGESTF_NSAMPLESPERSEC 0x00040000L
141 #define ACM_FORMATSUGGESTF_WBITSPERSAMPLE 0x00080000L
142 #define ACM_FORMATSUGGESTF_TYPEMASK 0x00FF0000L
144 #define ACMFORMATTAGDETAILS_FORMATTAG_CHARS 48
146 #define ACM_FORMATTAGDETAILSF_INDEX 0x00000000L
147 #define ACM_FORMATTAGDETAILSF_FORMATTAG 0x00000001L
148 #define ACM_FORMATTAGDETAILSF_LARGESTSIZE 0x00000002L
149 #define ACM_FORMATTAGDETAILSF_QUERYMASK 0x0000000FL
151 #define ACM_METRIC_COUNT_DRIVERS 1
152 #define ACM_METRIC_COUNT_CODECS 2
153 #define ACM_METRIC_COUNT_CONVERTERS 3
154 #define ACM_METRIC_COUNT_FILTERS 4
155 #define ACM_METRIC_COUNT_DISABLED 5
156 #define ACM_METRIC_COUNT_HARDWARE 6
157 #define ACM_METRIC_COUNT_LOCAL_DRIVERS 20
158 #define ACM_METRIC_COUNT_LOCAL_CODECS 21
159 #define ACM_METRIC_COUNT_LOCAL_CONVERTERS 22
160 #define ACM_METRIC_COUNT_LOCAL_FILTERS 23
161 #define ACM_METRIC_COUNT_LOCAL_DISABLED 24
162 #define ACM_METRIC_HARDWARE_WAVE_INPUT 30
163 #define ACM_METRIC_HARDWARE_WAVE_OUTPUT 31
164 #define ACM_METRIC_MAX_SIZE_FORMAT 50
165 #define ACM_METRIC_MAX_SIZE_FILTER 51
166 #define ACM_METRIC_DRIVER_SUPPORT 100
167 #define ACM_METRIC_DRIVER_PRIORITY 101
169 #define ACM_STREAMCONVERTF_BLOCKALIGN 0x00000004
170 #define ACM_STREAMCONVERTF_START 0x00000010
171 #define ACM_STREAMCONVERTF_END 0x00000020
173 #define ACMSTREAMHEADER_STATUSF_DONE 0x00010000L
174 #define ACMSTREAMHEADER_STATUSF_PREPARED 0x00020000L
175 #define ACMSTREAMHEADER_STATUSF_INQUEUE 0x00100000L
177 #define ACM_STREAMOPENF_QUERY 0x00000001
178 #define ACM_STREAMOPENF_ASYNC 0x00000002
179 #define ACM_STREAMOPENF_NONREALTIME 0x00000004
181 #define ACM_STREAMSIZEF_SOURCE 0x00000000L
182 #define ACM_STREAMSIZEF_DESTINATION 0x00000001L
183 #define ACM_STREAMSIZEF_QUERYMASK 0x0000000FL
185 #define ACMDM_USER (DRV_USER + 0x0000)
186 #define ACMDM_RESERVED_LOW (DRV_USER + 0x2000)
187 #define ACMDM_RESERVED_HIGH (DRV_USER + 0x2FFF)
189 #define ACMDM_BASE ACMDM_RESERVED_LOW
191 #define ACMDM_DRIVER_ABOUT (ACMDM_BASE + 11)
193 /***********************************************************************
197 typedef BOOL
CALLBACK (*ACMDRIVERENUMCB
)(
198 HACMDRIVERID hadid
, DWORD dwInstance
, DWORD fdwSupport
201 typedef UINT
CALLBACK (*ACMFILTERCHOOSEHOOKPROCA
)(
202 HWND hwnd
, UINT uMsg
, WPARAM wParam
, LPARAM lParam
205 typedef UINT
CALLBACK (*ACMFILTERCHOOSEHOOKPROCW
)(
206 HWND hwnd
, UINT uMsg
, WPARAM wParam
, LPARAM lParam
208 #define ACMFILTERCHOOSEHOOKPROC WINELIB_NAME_AW(ACMFILTERCHOOSEHOOKPROC)
210 typedef UINT
CALLBACK (*ACMFORMATCHOOSEHOOKPROCA
)(
211 HWND hwnd
, UINT uMsg
, WPARAM wParam
, LPARAM lParam
214 typedef UINT
CALLBACK (*ACMFORMATCHOOSEHOOKPROCW
)(
215 HWND hwnd
, UINT uMsg
, WPARAM wParam
, LPARAM lParam
217 #define ACMFORMATCHOOSEHOOKPROC WINELIB_NAME_AW(ACMFORMATCHOOSEHOOKPROC)
219 /***********************************************************************
223 typedef struct _ACMDRIVERDETAILSA
242 CHAR szShortName
[ACMDRIVERDETAILS_SHORTNAME_CHARS
];
243 CHAR szLongName
[ACMDRIVERDETAILS_LONGNAME_CHARS
];
244 CHAR szCopyright
[ACMDRIVERDETAILS_COPYRIGHT_CHARS
];
245 CHAR szLicensing
[ACMDRIVERDETAILS_LICENSING_CHARS
];
246 CHAR szFeatures
[ACMDRIVERDETAILS_FEATURES_CHARS
];
247 } ACMDRIVERDETAILSA
, *PACMDRIVERDETAILSA
, *LPACMDRIVERDETAILSA
;
249 typedef struct _ACMDRIVERDETAILSW
268 WCHAR szShortName
[ACMDRIVERDETAILS_SHORTNAME_CHARS
];
269 WCHAR szLongName
[ACMDRIVERDETAILS_LONGNAME_CHARS
];
270 WCHAR szCopyright
[ACMDRIVERDETAILS_COPYRIGHT_CHARS
];
271 WCHAR szLicensing
[ACMDRIVERDETAILS_LICENSING_CHARS
];
272 WCHAR szFeatures
[ACMDRIVERDETAILS_FEATURES_CHARS
];
273 } ACMDRIVERDETAILSW
, *PACMDRIVERDETAILSW
, *LPACMDRIVERDETAILSW
;
275 DECL_WINELIB_TYPE_AW(ACMDRIVERDETAILS
)
276 DECL_WINELIB_TYPE_AW(PACMDRIVERDETAILS
)
277 DECL_WINELIB_TYPE_AW(LPACMDRIVERDETAILS
)
279 typedef struct _ACMFILTERCHOOSEA
291 CHAR szFilterTag
[ACMFILTERTAGDETAILS_FILTERTAG_CHARS
];
292 CHAR szFilter
[ACMFILTERDETAILS_FILTER_CHARS
];
297 PWAVEFILTER pwfltrEnum
;
300 LPCSTR pszTemplateName
;
302 ACMFILTERCHOOSEHOOKPROCA pfnHook
;
303 } ACMFILTERCHOOSEA
, *PACMFILTERCHOOSEA
, *LPACMFILTERCHOOSEA
;
305 typedef struct _ACMFILTERCHOOSEW
317 WCHAR szFilterTag
[ACMFILTERTAGDETAILS_FILTERTAG_CHARS
];
318 WCHAR szFilter
[ACMFILTERDETAILS_FILTER_CHARS
];
323 PWAVEFILTER pwfltrEnum
;
326 LPCWSTR pszTemplateName
;
328 ACMFILTERCHOOSEHOOKPROCW pfnHook
;
329 } ACMFILTERCHOOSEW
, *PACMFILTERCHOOSEW
, *LPACMFILTERCHOOSEW
;
331 DECL_WINELIB_TYPE_AW(ACMFILTERCHOOSE
)
332 DECL_WINELIB_TYPE_AW(PACMFILTERCHOOSE
)
333 DECL_WINELIB_TYPE_AW(LPACMFILTERCHOOSE
)
335 typedef struct _ACMFILTERDETAILSA
343 CHAR szFilter
[ACMFILTERDETAILS_FILTER_CHARS
];
344 } ACMFILTERDETAILSA
, *PACMFILTERDETAILSA
, *LPACMFILTERDETAILSA
;
346 typedef struct _ACMFILTERDETAILSW
354 WCHAR szFilter
[ACMFILTERDETAILS_FILTER_CHARS
];
355 } ACMFILTERDETAILSW
, *PACMFILTERDETAILSW
, *LPACMFILTERDETAILSW
;
357 DECL_WINELIB_TYPE_AW(ACMFILTERDETAILS
)
358 DECL_WINELIB_TYPE_AW(PACMFILTERDETAILS
)
359 DECL_WINELIB_TYPE_AW(LPACMFILTERDETAILS
)
361 typedef struct _ACMFILTERTAGDETAILSA
364 DWORD dwFilterTagIndex
;
368 DWORD cStandardFilters
;
369 CHAR szFilterTag
[ACMFILTERTAGDETAILS_FILTERTAG_CHARS
];
370 } ACMFILTERTAGDETAILSA
, *PACMFILTERTAGDETAILSA
, *LPACMFILTERTAGDETAILSA
;
372 typedef struct _ACMFILTERTAGDETAILSW
375 DWORD dwFilterTagIndex
;
379 DWORD cStandardFilters
;
380 WCHAR szFilterTag
[ACMFILTERTAGDETAILS_FILTERTAG_CHARS
];
381 } ACMFILTERTAGDETAILSW
, *PACMFILTERTAGDETAILSW
, *LPACMFILTERTAGDETAILSW
;
383 DECL_WINELIB_TYPE_AW(ACMFILTERTAGDETAILS
)
384 DECL_WINELIB_TYPE_AW(PACMFILTERTAGDETAILS
)
385 DECL_WINELIB_TYPE_AW(LPACMFILTERTAGDETAILS
)
387 typedef struct _ACMFORMATCHOOSEA
398 CHAR szFormatTag
[ACMFORMATTAGDETAILS_FORMATTAG_CHARS
];
399 CHAR szFormat
[ACMFORMATDETAILS_FORMAT_CHARS
];
405 PWAVEFORMATEX pwfxEnum
;
408 LPCSTR pszTemplateName
;
410 ACMFORMATCHOOSEHOOKPROCA pfnHook
;
411 } ACMFORMATCHOOSEA
, *PACMFORMATCHOOSEA
, *LPACMFORMATCHOOSEA
;
413 typedef struct _ACMFORMATCHOOSEW
424 WCHAR szFormatTag
[ACMFORMATTAGDETAILS_FORMATTAG_CHARS
];
425 WCHAR szFormat
[ACMFORMATDETAILS_FORMAT_CHARS
];
431 LPWAVEFORMATEX pwfxEnum
;
434 LPCWSTR pszTemplateName
;
436 ACMFORMATCHOOSEHOOKPROCW pfnHook
;
437 } ACMFORMATCHOOSEW
, *PACMFORMATCHOOSEW
, *LPACMFORMATCHOOSEW
;
439 DECL_WINELIB_TYPE_AW(ACMFORMATCHOOSE
)
440 DECL_WINELIB_TYPE_AW(PACMFORMATCHOOSE
)
441 DECL_WINELIB_TYPE_AW(LPACMFORMATCHOOSE
)
443 typedef struct _ACMFORMATDETAILSA
451 CHAR szFormat
[ACMFORMATDETAILS_FORMAT_CHARS
];
452 } ACMFORMATDETAILSA
, *PACMFORMATDETAILSA
, *LPACMFORMATDETAILSA
;
454 typedef struct _ACMFORMATDETAILSW
462 WCHAR szFormat
[ACMFORMATDETAILS_FORMAT_CHARS
];
463 } ACMFORMATDETAILSW
, *PACMFORMATDETAILSW
, *LPACMFORMATDETAILSW
;
465 DECL_WINELIB_TYPE_AW(ACMFORMATDETAILS
)
466 DECL_WINELIB_TYPE_AW(PACMFORMATDETAILS
)
467 DECL_WINELIB_TYPE_AW(LPACMFORMATDETAILS
)
469 typedef struct _ACMFORMATTAGDETAILSA
472 DWORD dwFormatTagIndex
;
476 DWORD cStandardFormats
;
477 CHAR szFormatTag
[ACMFORMATTAGDETAILS_FORMATTAG_CHARS
];
478 } ACMFORMATTAGDETAILSA
, *PACMFORMATTAGDETAILSA
, *LPACMFORMATTAGDETAILSA
;
480 typedef struct _ACMFORMATTAGDETAILSW
483 DWORD dwFormatTagIndex
;
487 DWORD cStandardFormats
;
488 WCHAR szFormatTag
[ACMFORMATTAGDETAILS_FORMATTAG_CHARS
];
489 } ACMFORMATTAGDETAILSW
, *PACMFORMATTAGDETAILSW
, *LPACMFORMATTAGDETAILSW
;
491 DECL_WINELIB_TYPE_AW(ACMFORMATTAGDETAILS
)
492 DECL_WINELIB_TYPE_AW(PACMFORMATTAGDETAILS
)
493 DECL_WINELIB_TYPE_AW(LPACMFORMATTAGDETAILS
)
495 typedef struct _ACMSTREAMHEADER
502 DWORD cbSrcLengthUsed
;
506 DWORD cbDstLengthUsed
;
508 DWORD dwReservedDriver
[10];
509 } ACMSTREAMHEADER
, *PACMSTREAMHEADER
, *LPACMSTREAMHEADER
;
511 /***********************************************************************
515 typedef BOOL
CALLBACK (*ACMFILTERENUMCBA
)(
516 HACMDRIVERID hadid
, PACMFILTERDETAILSA pafd
,
517 DWORD dwInstance
, DWORD fdwSupport
520 typedef BOOL
CALLBACK (*ACMFILTERENUMCBW
)(
521 HACMDRIVERID hadid
, PACMFILTERDETAILSW pafd
,
522 DWORD dwInstance
, DWORD fdwSupport
525 #define ACMFILTERENUMCB WINELIB_NAME_AW(ACMFILTERENUMCB)
527 typedef BOOL
CALLBACK (*ACMFILTERTAGENUMCBA
)(
528 HACMDRIVERID hadid
, PACMFILTERTAGDETAILSA paftd
,
529 DWORD dwInstance
, DWORD fdwSupport
532 typedef BOOL
CALLBACK (*ACMFILTERTAGENUMCBW
)(
533 HACMDRIVERID hadid
, PACMFILTERTAGDETAILSW paftd
,
534 DWORD dwInstance
, DWORD fdwSupport
537 #define ACMFILTERTAGENUMCB WINELIB_NAME_AW(ACMFILTERTAGENUMCB)
539 typedef BOOL
CALLBACK (*ACMFORMATENUMCBA
)(
540 HACMDRIVERID hadid
, PACMFORMATDETAILSA pafd
,
541 DWORD dwInstance
, DWORD fdwSupport
544 typedef BOOL
CALLBACK (*ACMFORMATENUMCBW
)(
545 HACMDRIVERID hadid
, PACMFORMATDETAILSW pafd
,
546 DWORD dwInstance
, DWORD fdwSupport
549 #define ACMFORMATENUMCB WINELIB_NAME_AW(ACMFORMATENUMCB)
551 typedef BOOL
CALLBACK (*ACMFORMATTAGENUMCBA
)(
552 HACMDRIVERID hadid
, PACMFORMATTAGDETAILSA paftd
,
553 DWORD dwInstance
, DWORD fdwSupport
556 typedef BOOL
CALLBACK (*ACMFORMATTAGENUMCBW
)(
557 HACMDRIVERID hadid
, PACMFORMATTAGDETAILSW paftd
,
558 DWORD dwInstance
, DWORD fdwSupport
561 #define ACMFORMATTAGENUMCB WINELIB_NAME_AW(ACMFORMATTAGENUMCB)
563 /***********************************************************************
567 MMRESULT WINAPI
acmDriverAddA(
568 PHACMDRIVERID phadid
, HINSTANCE hinstModule
,
569 LPARAM lParam
, DWORD dwPriority
, DWORD fdwAdd
571 MMRESULT WINAPI
acmDriverAddW(
572 PHACMDRIVERID phadid
, HINSTANCE hinstModule
,
573 LPARAM lParam
, DWORD dwPriority
, DWORD fdwAdd
575 #define acmDriverAdd WINELIB_NAME_AW(acmDriverAdd)
577 MMRESULT WINAPI
acmDriverClose(
578 HACMDRIVER had
, DWORD fdwClose
580 MMRESULT WINAPI
acmDriverDetailsA(
581 HACMDRIVERID hadid
, PACMDRIVERDETAILSA padd
, DWORD fdwDetails
583 MMRESULT WINAPI
acmDriverDetailsW(
584 HACMDRIVERID hadid
, PACMDRIVERDETAILSW padd
, DWORD fdwDetails
586 #define acmDriverDetails WINELIB_NAME_AW(acmDriverDetails)
588 MMRESULT WINAPI
acmDriverEnum(
589 ACMDRIVERENUMCB fnCallback
, DWORD dwInstance
, DWORD fdwEnum
591 MMRESULT WINAPI
acmDriverID(
592 HACMOBJ hao
, PHACMDRIVERID phadid
, DWORD fdwDriverID
594 LRESULT WINAPI
acmDriverMessage(
595 HACMDRIVER had
, UINT uMsg
, LPARAM lParam1
, LPARAM lParam2
597 MMRESULT WINAPI
acmDriverOpen(
598 PHACMDRIVER phad
, HACMDRIVERID hadid
, DWORD fdwOpen
600 MMRESULT WINAPI
acmDriverPriority(
601 HACMDRIVERID hadid
, DWORD dwPriority
, DWORD fdwPriority
603 MMRESULT WINAPI
acmDriverRemove(
604 HACMDRIVERID hadid
, DWORD fdwRemove
606 MMRESULT WINAPI
acmFilterChooseA(
607 PACMFILTERCHOOSEA pafltrc
609 MMRESULT WINAPI
acmFilterChooseW(
610 PACMFILTERCHOOSEW pafltrc
612 #define acmFilterChoose WINELIB_NAME_AW(acmFilterChoose)
614 MMRESULT WINAPI
acmFilterDetailsA(
615 HACMDRIVER had
, PACMFILTERDETAILSA pafd
, DWORD fdwDetails
617 MMRESULT WINAPI
acmFilterDetailsW(
618 HACMDRIVER had
, PACMFILTERDETAILSW pafd
, DWORD fdwDetails
620 #define acmFilterDetails WINELIB_NAME_AW(acmFilterDetails)
622 MMRESULT WINAPI
acmFilterEnumA(
623 HACMDRIVER had
, PACMFILTERDETAILSA pafd
,
624 ACMFILTERENUMCBA fnCallback
, DWORD dwInstance
, DWORD fdwEnum
626 MMRESULT WINAPI
acmFilterEnumW(
627 HACMDRIVER had
, PACMFILTERDETAILSW pafd
,
628 ACMFILTERENUMCBW fnCallback
, DWORD dwInstance
, DWORD fdwEnum
630 #define acmFilterEnum WINELIB_NAME_AW(acmFilterEnum)
632 MMRESULT WINAPI
acmFilterTagDetailsA(
633 HACMDRIVER had
, PACMFILTERTAGDETAILSA paftd
, DWORD fdwDetails
635 MMRESULT WINAPI
acmFilterTagDetailsW(
636 HACMDRIVER had
, PACMFILTERTAGDETAILSW paftd
, DWORD fdwDetails
638 #define acmFilterTagDetails WINELIB_NAME_AW(acmFilterTagDetails)
640 MMRESULT WINAPI
acmFilterTagEnumA(
641 HACMDRIVER had
, PACMFILTERTAGDETAILSA paftd
,
642 ACMFILTERTAGENUMCBA fnCallback
, DWORD dwInstance
, DWORD fdwEnum
644 MMRESULT WINAPI
acmFilterTagEnumW(
645 HACMDRIVER had
, PACMFILTERTAGDETAILSW paftd
,
646 ACMFILTERTAGENUMCBW fnCallback
, DWORD dwInstance
, DWORD fdwEnum
648 #define acmFilterTagEnum WINELIB_NAME_AW(acmFilterTagEnum)
650 MMRESULT WINAPI
acmFormatChooseA(
651 PACMFORMATCHOOSEA pafmtc
653 MMRESULT WINAPI
acmFormatChooseW(
654 PACMFORMATCHOOSEW pafmtc
656 #define acmFormatChoose WINELIB_NAME_AW(acmFormatChoose)
658 MMRESULT WINAPI
acmFormatDetailsA(
659 HACMDRIVER had
, PACMFORMATDETAILSA pafd
, DWORD fdwDetails
661 MMRESULT WINAPI
acmFormatDetailsW(
662 HACMDRIVER had
, PACMFORMATDETAILSW pafd
, DWORD fdwDetails
664 #define acmFormatDetails WINELIB_NAME_AW(acmFormatDetails)
666 MMRESULT WINAPI
acmFormatEnumA(
667 HACMDRIVER had
, PACMFORMATDETAILSA pafd
,
668 ACMFORMATENUMCBA fnCallback
, DWORD dwInstance
, DWORD fdwEnum
670 MMRESULT WINAPI
acmFormatEnumW(
671 HACMDRIVER had
, PACMFORMATDETAILSW pafd
,
672 ACMFORMATENUMCBW fnCallback
, DWORD dwInstance
, DWORD fdwEnum
674 #define acmFormatEnum WINELIB_NAME_AW(acmFormatEnum)
676 MMRESULT WINAPI
acmFormatSuggest(
677 HACMDRIVER had
, PWAVEFORMATEX pwfxSrc
, PWAVEFORMATEX pwfxDst
,
678 DWORD cbwfxDst
, DWORD fdwSuggest
680 MMRESULT WINAPI
acmFormatTagDetailsA(
681 HACMDRIVER had
, PACMFORMATTAGDETAILSA paftd
, DWORD fdwDetails
683 MMRESULT WINAPI
acmFormatTagDetailsW(
684 HACMDRIVER had
, PACMFORMATTAGDETAILSW paftd
, DWORD fdwDetails
686 #define acmFormatTagDetails WINELIB_NAME_AW(acmFormatTagDetails)
688 MMRESULT WINAPI
acmFormatTagEnumA(
689 HACMDRIVER had
, PACMFORMATTAGDETAILSA paftd
,
690 ACMFORMATTAGENUMCBA fnCallback
, DWORD dwInstance
, DWORD fdwEnum
692 MMRESULT WINAPI
acmFormatTagEnumW(
693 HACMDRIVER had
, PACMFORMATTAGDETAILSW paftd
,
694 ACMFORMATTAGENUMCBW fnCallback
, DWORD dwInstance
, DWORD fdwEnum
696 #define acmFormatTagEnum WINELIB_NAME_AW(acmFormatTagEnum)
698 DWORD WINAPI
acmGetVersion(void
700 MMRESULT WINAPI
acmMetrics(
701 HACMOBJ hao
, UINT uMetric
, LPVOID pMetric
703 MMRESULT WINAPI
acmStreamClose(
704 HACMSTREAM has
, DWORD fdwClose
706 MMRESULT WINAPI
acmStreamConvert(
707 HACMSTREAM has
, PACMSTREAMHEADER pash
, DWORD fdwConvert
709 MMRESULT WINAPI
acmStreamMessage(
710 HACMSTREAM has
, UINT uMsg
, LPARAM lParam1
, LPARAM lParam2
712 MMRESULT WINAPI
acmStreamOpen(
713 PHACMSTREAM phas
, HACMDRIVER had
, PWAVEFORMATEX pwfxSrc
,
714 PWAVEFORMATEX pwfxDst
, PWAVEFILTER pwfltr
, DWORD dwCallback
,
715 DWORD dwInstance
, DWORD fdwOpen
717 MMRESULT WINAPI
acmStreamPrepareHeader(
718 HACMSTREAM has
, PACMSTREAMHEADER pash
, DWORD fdwPrepare
720 MMRESULT WINAPI
acmStreamReset(
721 HACMSTREAM has
, DWORD fdwReset
723 MMRESULT WINAPI
acmStreamSize(
724 HACMSTREAM has
, DWORD cbInput
,
725 LPDWORD pdwOutputBytes
, DWORD fdwSize
727 MMRESULT WINAPI
acmStreamUnprepareHeader(
728 HACMSTREAM has
, PACMSTREAMHEADER pash
, DWORD fdwUnprepare
733 #endif /* defined(__cplusplus) */
735 #endif /* __WINE_MSACM_H */