2 * msacm.h - Declarations for MSACM
5 #ifndef MPLAYER_MSACM_H
6 #define MPLAYER_MSACM_H
12 //typedef WORD VERSION; /* major (high byte), minor (low byte) */
14 typedef UINT16 MMVERSION16
;
15 typedef UINT MMVERSION
;
16 typedef UINT16 MCIDEVICEID16
;
17 typedef UINT MCIDEVICEID
;
18 typedef UINT16 MMRESULT16
;
19 typedef UINT MMRESULT
;
20 typedef DWORD FOURCC
; /* a four character code */
24 #if !defined(WAVE_FORMAT_PCM)
25 #define WAVE_FORMAT_PCM 1
28 /***********************************************************************
32 #define ACMERR_BASE 512
33 #define ACMERR_NOTPOSSIBLE (ACMERR_BASE + 0)
34 #define ACMERR_BUSY (ACMERR_BASE + 1)
35 #define ACMERR_UNPREPARED (ACMERR_BASE + 2)
36 #define ACMERR_CANCELED (ACMERR_BASE + 3)
38 #define MM_ACM_OPEN MM_STREAM_OPEN
39 #define MM_ACM_CLOSE MM_STREAM_CLOSE
40 #define MM_ACM_DONE MM_STREAM_DONE
42 #define ACM_DRIVERADDF_FUNCTION 0x00000003L
43 #define ACM_DRIVERADDF_NOTIFYHWND 0x00000004L
44 #define ACM_DRIVERADDF_TYPEMASK 0x00000007L
45 #define ACM_DRIVERADDF_LOCAL 0x00000000L
46 #define ACM_DRIVERADDF_GLOBAL 0x00000008L
48 #define ACMDRIVERDETAILS_SHORTNAME_CHARS 32
49 #define ACMDRIVERDETAILS_LONGNAME_CHARS 128
50 #define ACMDRIVERDETAILS_COPYRIGHT_CHARS 80
51 #define ACMDRIVERDETAILS_LICENSING_CHARS 128
52 #define ACMDRIVERDETAILS_FEATURES_CHARS 512
54 #define ACMDRIVERDETAILS_FCCTYPE_AUDIOCODEC mmioFOURCC('a', 'u', 'd', 'c')
55 #define ACMDRIVERDETAILS_FCCCOMP_UNDEFINED mmioFOURCC('\0', '\0', '\0', '\0')
57 #define ACMDRIVERDETAILS_SUPPORTF_CODEC 0x00000001L
58 #define ACMDRIVERDETAILS_SUPPORTF_CONVERTER 0x00000002L
59 #define ACMDRIVERDETAILS_SUPPORTF_FILTER 0x00000004L
60 #define ACMDRIVERDETAILS_SUPPORTF_HARDWARE 0x00000008L
61 #define ACMDRIVERDETAILS_SUPPORTF_ASYNC 0x00000010L
62 #define ACMDRIVERDETAILS_SUPPORTF_LOCAL 0x40000000L
63 #define ACMDRIVERDETAILS_SUPPORTF_DISABLED 0x80000000L
65 #define ACM_DRIVERENUMF_NOLOCAL 0x40000000L
66 #define ACM_DRIVERENUMF_DISABLED 0x80000000L
68 #define ACM_DRIVERPRIORITYF_ENABLE 0x00000001L
69 #define ACM_DRIVERPRIORITYF_DISABLE 0x00000002L
70 #define ACM_DRIVERPRIORITYF_ABLEMASK 0x00000003L
71 #define ACM_DRIVERPRIORITYF_BEGIN 0x00010000L
72 #define ACM_DRIVERPRIORITYF_END 0x00020000L
73 #define ACM_DRIVERPRIORITYF_DEFERMASK 0x00030000L
75 #define MM_ACM_FILTERCHOOSE 0x8000
77 #define FILTERCHOOSE_MESSAGE 0
78 #define FILTERCHOOSE_FILTERTAG_VERIFY (FILTERCHOOSE_MESSAGE+0)
79 #define FILTERCHOOSE_FILTER_VERIFY (FILTERCHOOSE_MESSAGE+1)
80 #define FILTERCHOOSE_CUSTOM_VERIFY (FILTERCHOOSE_MESSAGE+2)
82 #define ACMFILTERCHOOSE_STYLEF_SHOWHELP 0x00000004L
83 #define ACMFILTERCHOOSE_STYLEF_ENABLEHOOK 0x00000008L
84 #define ACMFILTERCHOOSE_STYLEF_ENABLETEMPLATE 0x00000010L
85 #define ACMFILTERCHOOSE_STYLEF_ENABLETEMPLATEHANDLE 0x00000020L
86 #define ACMFILTERCHOOSE_STYLEF_INITTOFILTERSTRUCT 0x00000040L
87 #define ACMFILTERCHOOSE_STYLEF_CONTEXTHELP 0x00000080L
89 #define ACMFILTERDETAILS_FILTER_CHARS 128
91 #define ACM_FILTERDETAILSF_INDEX 0x00000000L
92 #define ACM_FILTERDETAILSF_FILTER 0x00000001L
93 #define ACM_FILTERDETAILSF_QUERYMASK 0x0000000FL
95 #define ACMFILTERTAGDETAILS_FILTERTAG_CHARS 48
97 #define ACM_FILTERTAGDETAILSF_INDEX 0x00000000L
98 #define ACM_FILTERTAGDETAILSF_FILTERTAG 0x00000001L
99 #define ACM_FILTERTAGDETAILSF_LARGESTSIZE 0x00000002L
100 #define ACM_FILTERTAGDETAILSF_QUERYMASK 0x0000000FL
102 #define ACM_FILTERENUMF_DWFILTERTAG 0x00010000L
104 #define ACMHELPMSGSTRINGA "acmchoose_help"
105 #define ACMHELPMSGSTRINGW L"acmchoose_help"
106 #define ACMHELPMSGSTRING16 "acmchoose_help"
108 #define ACMHELPMSGCONTEXTMENUA "acmchoose_contextmenu"
109 #define ACMHELPMSGCONTEXTMENUW L"acmchoose_contextmenu"
110 #define ACMHELPMSGCONTEXTMENU16 "acmchoose_contextmenu"
112 #define ACMHELPMSGCONTEXTHELPA "acmchoose_contexthelp"
113 #define ACMHELPMSGCONTEXTHELPW L"acmchoose_contexthelp"
114 #define ACMHELPMSGCONTEXTHELP16 "acmchoose_contexthelp"
116 #define MM_ACM_FORMATCHOOSE 0x8000
118 #define FORMATCHOOSE_MESSAGE 0
119 #define FORMATCHOOSE_FORMATTAG_VERIFY (FORMATCHOOSE_MESSAGE+0)
120 #define FORMATCHOOSE_FORMAT_VERIFY (FORMATCHOOSE_MESSAGE+1)
121 #define FORMATCHOOSE_CUSTOM_VERIFY (FORMATCHOOSE_MESSAGE+2)
123 #define ACMFORMATCHOOSE_STYLEF_SHOWHELP 0x00000004L
124 #define ACMFORMATCHOOSE_STYLEF_ENABLEHOOK 0x00000008L
125 #define ACMFORMATCHOOSE_STYLEF_ENABLETEMPLATE 0x00000010L
126 #define ACMFORMATCHOOSE_STYLEF_ENABLETEMPLATEHANDLE 0x00000020L
127 #define ACMFORMATCHOOSE_STYLEF_INITTOWFXSTRUCT 0x00000040L
128 #define ACMFORMATCHOOSE_STYLEF_CONTEXTHELP 0x00000080L
130 #define ACMFORMATDETAILS_FORMAT_CHARS 128
132 #define ACM_FORMATDETAILSF_INDEX 0x00000000L
133 #define ACM_FORMATDETAILSF_FORMAT 0x00000001L
134 #define ACM_FORMATDETAILSF_QUERYMASK 0x0000000FL
136 #define ACM_FORMATENUMF_WFORMATTAG 0x00010000L
137 #define ACM_FORMATENUMF_NCHANNELS 0x00020000L
138 #define ACM_FORMATENUMF_NSAMPLESPERSEC 0x00040000L
139 #define ACM_FORMATENUMF_WBITSPERSAMPLE 0x00080000L
140 #define ACM_FORMATENUMF_CONVERT 0x00100000L
141 #define ACM_FORMATENUMF_SUGGEST 0x00200000L
142 #define ACM_FORMATENUMF_HARDWARE 0x00400000L
143 #define ACM_FORMATENUMF_INPUT 0x00800000L
144 #define ACM_FORMATENUMF_OUTPUT 0x01000000L
146 #define ACM_FORMATSUGGESTF_WFORMATTAG 0x00010000L
147 #define ACM_FORMATSUGGESTF_NCHANNELS 0x00020000L
148 #define ACM_FORMATSUGGESTF_NSAMPLESPERSEC 0x00040000L
149 #define ACM_FORMATSUGGESTF_WBITSPERSAMPLE 0x00080000L
150 #define ACM_FORMATSUGGESTF_TYPEMASK 0x00FF0000L
152 #define ACMFORMATTAGDETAILS_FORMATTAG_CHARS 48
154 #define ACM_FORMATTAGDETAILSF_INDEX 0x00000000L
155 #define ACM_FORMATTAGDETAILSF_FORMATTAG 0x00000001L
156 #define ACM_FORMATTAGDETAILSF_LARGESTSIZE 0x00000002L
157 #define ACM_FORMATTAGDETAILSF_QUERYMASK 0x0000000FL
159 #define ACM_METRIC_COUNT_DRIVERS 1
160 #define ACM_METRIC_COUNT_CODECS 2
161 #define ACM_METRIC_COUNT_CONVERTERS 3
162 #define ACM_METRIC_COUNT_FILTERS 4
163 #define ACM_METRIC_COUNT_DISABLED 5
164 #define ACM_METRIC_COUNT_HARDWARE 6
165 #define ACM_METRIC_COUNT_LOCAL_DRIVERS 20
166 #define ACM_METRIC_COUNT_LOCAL_CODECS 21
167 #define ACM_METRIC_COUNT_LOCAL_CONVERTERS 22
168 #define ACM_METRIC_COUNT_LOCAL_FILTERS 23
169 #define ACM_METRIC_COUNT_LOCAL_DISABLED 24
170 #define ACM_METRIC_HARDWARE_WAVE_INPUT 30
171 #define ACM_METRIC_HARDWARE_WAVE_OUTPUT 31
172 #define ACM_METRIC_MAX_SIZE_FORMAT 50
173 #define ACM_METRIC_MAX_SIZE_FILTER 51
174 #define ACM_METRIC_DRIVER_SUPPORT 100
175 #define ACM_METRIC_DRIVER_PRIORITY 101
177 #define ACM_STREAMCONVERTF_BLOCKALIGN 0x00000004
178 #define ACM_STREAMCONVERTF_START 0x00000010
179 #define ACM_STREAMCONVERTF_END 0x00000020
181 #define ACMSTREAMHEADER_STATUSF_DONE 0x00010000L
182 #define ACMSTREAMHEADER_STATUSF_PREPARED 0x00020000L
183 #define ACMSTREAMHEADER_STATUSF_INQUEUE 0x00100000L
185 #define ACM_STREAMOPENF_QUERY 0x00000001
186 #define ACM_STREAMOPENF_ASYNC 0x00000002
187 #define ACM_STREAMOPENF_NONREALTIME 0x00000004
189 #define ACM_STREAMSIZEF_SOURCE 0x00000000L
190 #define ACM_STREAMSIZEF_DESTINATION 0x00000001L
191 #define ACM_STREAMSIZEF_QUERYMASK 0x0000000FL
193 #define ACMDM_USER (DRV_USER + 0x0000)
194 #define ACMDM_RESERVED_LOW (DRV_USER + 0x2000)
195 #define ACMDM_RESERVED_HIGH (DRV_USER + 0x2FFF)
197 #define ACMDM_BASE ACMDM_RESERVED_LOW
199 #define ACMDM_DRIVER_ABOUT (ACMDM_BASE + 11)
201 /***********************************************************************
205 typedef WIN_BOOL
CALLBACK ( *ACMDRIVERENUMCB
)(
206 HACMDRIVERID hadid
, DWORD dwInstance
, DWORD fdwSupport
209 typedef WIN_BOOL16
CALLBACK ( *ACMDRIVERENUMCB16
)(
210 HACMDRIVERID16 hadid
, DWORD dwInstance
, DWORD fdwSupport
213 typedef UINT
CALLBACK ( *ACMFILTERCHOOSEHOOKPROCA
)(
214 HWND hwnd
, UINT uMsg
, WPARAM wParam
, LPARAM lParam
217 typedef UINT
CALLBACK ( *ACMFILTERCHOOSEHOOKPROCW
)(
218 HWND hwnd
, UINT uMsg
, WPARAM wParam
, LPARAM lParam
221 typedef UINT
CALLBACK ( *ACMFILTERCHOOSEHOOKPROC16
)(
222 HWND hwnd
, UINT uMsg
, WPARAM wParam
, LPARAM lParam
225 typedef UINT
CALLBACK ( *ACMFORMATCHOOSEHOOKPROCA
)(
226 HWND hwnd
, UINT uMsg
, WPARAM wParam
, LPARAM lParam
229 typedef UINT
CALLBACK ( *ACMFORMATCHOOSEHOOKPROCW
)(
230 HWND hwnd
, UINT uMsg
, WPARAM wParam
, LPARAM lParam
233 typedef UINT16
CALLBACK ( *ACMFORMATCHOOSEHOOKPROC16
)(
234 HWND16 hwnd
, UINT16 uMsg
, WPARAM16 wParam
, LPARAM lParam
237 /***********************************************************************
241 typedef struct ACMDRIVERDETAILSA
260 CHAR szShortName
[ACMDRIVERDETAILS_SHORTNAME_CHARS
];
261 CHAR szLongName
[ACMDRIVERDETAILS_LONGNAME_CHARS
];
262 CHAR szCopyright
[ACMDRIVERDETAILS_COPYRIGHT_CHARS
];
263 CHAR szLicensing
[ACMDRIVERDETAILS_LICENSING_CHARS
];
264 CHAR szFeatures
[ACMDRIVERDETAILS_FEATURES_CHARS
];
265 } ACMDRIVERDETAILSA
, *PACMDRIVERDETAILSA
;
267 typedef struct ACMDRIVERDETAILSW
286 WCHAR szShortName
[ACMDRIVERDETAILS_SHORTNAME_CHARS
];
287 WCHAR szLongName
[ACMDRIVERDETAILS_LONGNAME_CHARS
];
288 WCHAR szCopyright
[ACMDRIVERDETAILS_COPYRIGHT_CHARS
];
289 WCHAR szLicensing
[ACMDRIVERDETAILS_LICENSING_CHARS
];
290 WCHAR szFeatures
[ACMDRIVERDETAILS_FEATURES_CHARS
];
291 } ACMDRIVERDETAILSW
, *PACMDRIVERDETAILSW
;
293 typedef struct ACMDRIVERDETAILS16
312 CHAR szShortName
[ACMDRIVERDETAILS_SHORTNAME_CHARS
];
313 CHAR szLongName
[ACMDRIVERDETAILS_LONGNAME_CHARS
];
314 CHAR szCopyright
[ACMDRIVERDETAILS_COPYRIGHT_CHARS
];
315 CHAR szLicensing
[ACMDRIVERDETAILS_LICENSING_CHARS
];
316 CHAR szFeatures
[ACMDRIVERDETAILS_FEATURES_CHARS
];
317 } ACMDRIVERDETAILS16
, *NPACMDRIVERDETAILS16
, *LPACMDRIVERDETAILS16
;
319 typedef struct ACMFILTERCHOOSEA
331 CHAR szFilterTag
[ACMFILTERTAGDETAILS_FILTERTAG_CHARS
];
332 CHAR szFilter
[ACMFILTERDETAILS_FILTER_CHARS
];
337 PWAVEFILTER pwfltrEnum
;
340 LPCSTR pszTemplateName
;
342 ACMFILTERCHOOSEHOOKPROCA pfnHook
;
343 } ACMFILTERCHOOSEA
, *PACMFILTERCHOOSEA
;
345 typedef struct ACMFILTERCHOOSEW
357 WCHAR szFilterTag
[ACMFILTERTAGDETAILS_FILTERTAG_CHARS
];
358 WCHAR szFilter
[ACMFILTERDETAILS_FILTER_CHARS
];
363 PWAVEFILTER pwfltrEnum
;
366 LPCWSTR pszTemplateName
;
368 ACMFILTERCHOOSEHOOKPROCW pfnHook
;
369 } ACMFILTERCHOOSEW
, *PACMFILTERCHOOSEW
;
371 typedef struct ACMFILTERCHOOSE16
383 char szFilterTag
[ACMFILTERTAGDETAILS_FILTERTAG_CHARS
];
384 char szFilter
[ACMFILTERDETAILS_FILTER_CHARS
];
389 LPWAVEFILTER pwfltrEnum
;
391 HINSTANCE16 hInstance
;
392 LPCSTR pszTemplateName
;
394 ACMFILTERCHOOSEHOOKPROC16 pfnHook
;
395 } ACMFILTERCHOOSE16
, *NPACMFILTERCHOOSE16
, *LPACMFILTERCHOOSE16
;
397 typedef struct ACMFILTERDETAILSA
405 CHAR szFilter
[ACMFILTERDETAILS_FILTER_CHARS
];
406 } ACMFILTERDETAILSA
, *PACMFILTERDETAILSA
;
408 typedef struct ACMFILTERDETAILSW
416 WCHAR szFilter
[ACMFILTERDETAILS_FILTER_CHARS
];
417 } ACMFILTERDETAILSW
, *PACMFILTERDETAILSW
;
419 typedef struct ACMFILTERDETAILS16
427 CHAR szFilter
[ACMFILTERDETAILS_FILTER_CHARS
];
428 } ACMFILTERDETAILS16
, *NPACMFILTERDETAILS16
, *LPACMFILTERDETAILS16
;
430 typedef struct ACMFILTERTAGDETAILSA
433 DWORD dwFilterTagIndex
;
437 DWORD cStandardFilters
;
438 CHAR szFilterTag
[ACMFILTERTAGDETAILS_FILTERTAG_CHARS
];
439 } ACMFILTERTAGDETAILSA
, *PACMFILTERTAGDETAILSA
;
441 typedef struct ACMFILTERTAGDETAILSW
444 DWORD dwFilterTagIndex
;
448 DWORD cStandardFilters
;
449 WCHAR szFilterTag
[ACMFILTERTAGDETAILS_FILTERTAG_CHARS
];
450 } ACMFILTERTAGDETAILSW
, *PACMFILTERTAGDETAILSW
;
452 typedef struct ACMFILTERTAGDETAILS16
455 DWORD dwFilterTagIndex
;
459 DWORD cStandardFilters
;
460 CHAR szFilterTag
[ACMFILTERTAGDETAILS_FILTERTAG_CHARS
];
461 } ACMFILTERTAGDETAILS16
, *NPACMFILTERTAGDETAILS16
, *LPACMFILTERTAGDETAILS16
;
463 typedef struct ACMFORMATCHOOSEA
474 CHAR szFormatTag
[ACMFORMATTAGDETAILS_FORMATTAG_CHARS
];
475 CHAR szFormat
[ACMFORMATDETAILS_FORMAT_CHARS
];
481 PWAVEFORMATEX pwfxEnum
;
484 LPCSTR pszTemplateName
;
486 ACMFORMATCHOOSEHOOKPROCA pfnHook
;
487 } ACMFORMATCHOOSEA
, *PACMFORMATCHOOSEA
;
489 typedef struct ACMFORMATCHOOSEW
500 WCHAR szFormatTag
[ACMFORMATTAGDETAILS_FORMATTAG_CHARS
];
501 WCHAR szFormat
[ACMFORMATDETAILS_FORMAT_CHARS
];
507 LPWAVEFORMATEX pwfxEnum
;
510 LPCWSTR pszTemplateName
;
512 ACMFORMATCHOOSEHOOKPROCW pfnHook
;
513 } ACMFORMATCHOOSEW
, *PACMFORMATCHOOSEW
;
515 typedef struct ACMFORMATCHOOSE16
526 CHAR szFormatTag
[ACMFORMATTAGDETAILS_FORMATTAG_CHARS
];
527 CHAR szFormat
[ACMFORMATDETAILS_FORMAT_CHARS
];
533 LPWAVEFORMATEX pwfxEnum
;
535 HINSTANCE16 hInstance
;
536 LPCSTR pszTemplateName
;
538 ACMFORMATCHOOSEHOOKPROC16 pfnHook
;
539 } ACMFORMATCHOOSE16
, *NPACMFORMATCHOOSE16
, *LPACMFORMATCHOOSE16
;
541 typedef struct ACMFORMATDETAILSA
549 CHAR szFormat
[ACMFORMATDETAILS_FORMAT_CHARS
];
550 } ACMFORMATDETAILSA
, *PACMFORMATDETAILSA
;
552 typedef struct ACMFORMATDETAILSW
560 WCHAR szFormat
[ACMFORMATDETAILS_FORMAT_CHARS
];
561 } ACMFORMATDETAILSW
, *PACMFORMATDETAILSW
;
563 typedef struct ACMFORMATDETAILS16
571 CHAR szFormat
[ACMFORMATDETAILS_FORMAT_CHARS
];
572 } ACMFORMATDETAILS16
, *NPACMFORMATDETAILS16
, *LPACMFORMATDETAILS16
;
574 typedef struct ACMFORMATTAGDETAILSA
577 DWORD dwFormatTagIndex
;
581 DWORD cStandardFormats
;
582 CHAR szFormatTag
[ACMFORMATTAGDETAILS_FORMATTAG_CHARS
];
583 } ACMFORMATTAGDETAILSA
, *PACMFORMATTAGDETAILSA
;
585 typedef struct ACMFORMATTAGDETAILSW
588 DWORD dwFormatTagIndex
;
592 DWORD cStandardFormats
;
593 WCHAR szFormatTag
[ACMFORMATTAGDETAILS_FORMATTAG_CHARS
];
594 } ACMFORMATTAGDETAILSW
, *PACMFORMATTAGDETAILSW
;
596 typedef struct ACMFORMATTAGDETAILS16
599 DWORD dwFormatTagIndex
;
603 DWORD cStandardFormats
;
604 CHAR szFormatTag
[ACMFORMATTAGDETAILS_FORMATTAG_CHARS
];
605 } ACMFORMATTAGDETAILS16
, *NPACMFORMATTAGDETAILS16
, *LPACMFORMATTAGDETAILS16
;
607 typedef struct ACMSTREAMHEADER
614 DWORD cbSrcLengthUsed
;
618 DWORD cbDstLengthUsed
;
620 DWORD dwReservedDriver
[10];
621 } ACMSTREAMHEADER16
, *NPACMSTREAMHEADER16
, *LPACMSTREAMHEADER16
,
622 ACMSTREAMHEADER
, *PACMSTREAMHEADER
;
624 /***********************************************************************
628 typedef WIN_BOOL
CALLBACK ( *ACMFILTERENUMCBA
)(
629 HACMDRIVERID hadid
, PACMFILTERDETAILSA pafd
,
630 DWORD dwInstance
, DWORD fdwSupport
633 typedef WIN_BOOL
CALLBACK ( *ACMFILTERENUMCBW
)(
634 HACMDRIVERID hadid
, PACMFILTERDETAILSW pafd
,
635 DWORD dwInstance
, DWORD fdwSupport
638 typedef WIN_BOOL16
CALLBACK ( *ACMFILTERENUMCB16
)(
639 HACMDRIVERID16 hadid
, LPACMFILTERDETAILS16 pafd
,
640 DWORD dwInstance
, DWORD fdwSupport
643 typedef WIN_BOOL
CALLBACK ( *ACMFILTERTAGENUMCBA
)(
644 HACMDRIVERID hadid
, PACMFILTERTAGDETAILSA paftd
,
645 DWORD dwInstance
, DWORD fdwSupport
648 typedef WIN_BOOL
CALLBACK ( *ACMFILTERTAGENUMCBW
)(
649 HACMDRIVERID hadid
, PACMFILTERTAGDETAILSW paftd
,
650 DWORD dwInstance
, DWORD fdwSupport
653 typedef WIN_BOOL16
CALLBACK ( *ACMFILTERTAGENUMCB16
)(
654 HACMDRIVERID16 hadid
, LPACMFILTERTAGDETAILS16 paftd
,
655 DWORD dwInstance
, DWORD fdwSupport
658 typedef WIN_BOOL
CALLBACK ( *ACMFORMATENUMCBA
)(
659 HACMDRIVERID hadid
, PACMFORMATDETAILSA pafd
,
660 DWORD dwInstance
, DWORD fdwSupport
663 typedef WIN_BOOL
CALLBACK ( *ACMFORMATENUMCBW
)(
664 HACMDRIVERID hadid
, PACMFORMATDETAILSW pafd
,
665 DWORD dwInstance
, DWORD fdwSupport
668 typedef WIN_BOOL16
CALLBACK ( *ACMFORMATENUMCB16
)(
669 HACMDRIVERID16 hadid
, LPACMFORMATDETAILS16 pafd
,
670 DWORD dwInstance
, DWORD fdwSupport
673 typedef WIN_BOOL
CALLBACK ( *ACMFORMATTAGENUMCBA
)(
674 HACMDRIVERID hadid
, PACMFORMATTAGDETAILSA paftd
,
675 DWORD dwInstance
, DWORD fdwSupport
678 typedef WIN_BOOL
CALLBACK ( *ACMFORMATTAGENUMCBW
)(
679 HACMDRIVERID hadid
, PACMFORMATTAGDETAILSW paftd
,
680 DWORD dwInstance
, DWORD fdwSupport
683 typedef WIN_BOOL16
CALLBACK ( *ACMFORMATTAGENUMCB16
)(
684 HACMDRIVERID16 hadid
, LPACMFORMATTAGDETAILS16 paftd
,
685 DWORD dwInstance
, DWORD fdwSupport
688 /***********************************************************************
692 DWORD WINAPI
acmGetVersion16(
695 MMRESULT16 WINAPI
acmMetrics16(
696 HACMOBJ16 hao
, UINT16 uMetric
, LPVOID pMetric
698 MMRESULT16 WINAPI
acmDriverEnum16(
699 ACMDRIVERENUMCB16 fnCallback
, DWORD dwInstance
, DWORD fdwEnum
701 MMRESULT16 WINAPI
acmDriverDetails16(
702 HACMDRIVERID16 hadid
, LPACMDRIVERDETAILS16 padd
, DWORD fdwDetails
704 MMRESULT16 WINAPI
acmDriverAdd16(
705 LPHACMDRIVERID16 phadid
, HINSTANCE16 hinstModule
,
706 LPARAM lParam
, DWORD dwPriority
, DWORD fdwAdd
708 MMRESULT16 WINAPI
acmDriverRemove16(
709 HACMDRIVERID16 hadid
, DWORD fdwRemove
711 MMRESULT16 WINAPI
acmDriverOpen16(
712 LPHACMDRIVER16 phad
, HACMDRIVERID16 hadid
, DWORD fdwOpen
714 MMRESULT16 WINAPI
acmDriverClose16(
715 HACMDRIVER16 had
, DWORD fdwClose
717 LRESULT WINAPI
acmDriverMessage16(
718 HACMDRIVER16 had
, UINT16 uMsg
, LPARAM lParam1
, LPARAM lParam2
720 MMRESULT16 WINAPI
acmDriverID16(
721 HACMOBJ16 hao
, LPHACMDRIVERID16 phadid
, DWORD fdwDriverID
723 MMRESULT16 WINAPI
acmDriverPriority16(
724 HACMDRIVERID16 hadid
, DWORD dwPriority
, DWORD fdwPriority
726 MMRESULT16 WINAPI
acmFormatTagDetails16(
727 HACMDRIVER16 had
, LPACMFORMATTAGDETAILS16 paftd
, DWORD fdwDetails
729 MMRESULT16 WINAPI
acmFormatTagEnum16(
730 HACMDRIVER16 had
, LPACMFORMATTAGDETAILS16 paftd
,
731 ACMFORMATTAGENUMCB16 fnCallback
, DWORD dwInstance
, DWORD fdwEnum
733 MMRESULT16 WINAPI
acmFormatChoose16(
734 LPACMFORMATCHOOSE16 pafmtc
736 MMRESULT16 WINAPI
acmFormatDetails16(
737 HACMDRIVER16 had
, LPACMFORMATDETAILS16 pafd
, DWORD fdwDetails
739 MMRESULT16 WINAPI
acmFormatEnum16(
740 HACMDRIVER16 had
, LPACMFORMATDETAILS16 pafd
,
741 ACMFORMATENUMCB16 fnCallback
, DWORD dwInstance
, DWORD fdwEnum
743 MMRESULT16 WINAPI
acmFormatSuggest16(
744 HACMDRIVER16 had
, LPWAVEFORMATEX pwfxSrc
,
745 LPWAVEFORMATEX pwfxDst
, DWORD cbwfxDst
, DWORD fdwSuggest
747 MMRESULT16 WINAPI
acmFilterTagDetails16(
748 HACMDRIVER16 had
, LPACMFILTERTAGDETAILS16 paftd
, DWORD fdwDetails
750 MMRESULT16 WINAPI
acmFilterTagEnum16(
751 HACMDRIVER16 had
, LPACMFILTERTAGDETAILS16 paftd
,
752 ACMFILTERTAGENUMCB16 fnCallback
, DWORD dwInstance
, DWORD fdwEnum
754 MMRESULT16 WINAPI
acmFilterChoose16(
755 LPACMFILTERCHOOSE16 pafltrc
757 MMRESULT16 WINAPI
acmFilterDetails16(
758 HACMDRIVER16 had
, LPACMFILTERDETAILS16 pafd
, DWORD fdwDetails
760 MMRESULT16 WINAPI
acmFilterEnum16(
761 HACMDRIVER16 had
, LPACMFILTERDETAILS16 pafd
,
762 ACMFILTERENUMCB16 fnCallback
, DWORD dwInstance
, DWORD fdwEnum
764 MMRESULT16 WINAPI
acmStreamOpen16(
765 LPHACMSTREAM16 phas
, HACMDRIVER16 had
,
766 LPWAVEFORMATEX pwfxSrc
, LPWAVEFORMATEX pwfxDst
,
767 LPWAVEFILTER pwfltr
, DWORD dwCallback
,
768 DWORD dwInstance
, DWORD fdwOpen
770 MMRESULT16 WINAPI
acmStreamClose16(
771 HACMSTREAM16 has
, DWORD fdwClose
773 MMRESULT16 WINAPI
acmStreamSize16(
774 HACMSTREAM16 has
, DWORD cbInput
,
775 LPDWORD pdwOutputBytes
, DWORD fdwSize
777 MMRESULT16 WINAPI
acmStreamConvert16(
778 HACMSTREAM16 has
, LPACMSTREAMHEADER16 pash
, DWORD fdwConvert
780 MMRESULT16 WINAPI
acmStreamReset16(
781 HACMSTREAM16 has
, DWORD fdwReset
783 MMRESULT16 WINAPI
acmStreamPrepareHeader16(
784 HACMSTREAM16 has
, LPACMSTREAMHEADER16 pash
, DWORD fdwPrepare
786 MMRESULT16 WINAPI
acmStreamUnprepareHeader16(
787 HACMSTREAM16 has
, LPACMSTREAMHEADER16 pash
, DWORD fdwUnprepare
790 /***********************************************************************
794 MMRESULT WINAPI
acmDriverAddA(
795 PHACMDRIVERID phadid
, HINSTANCE hinstModule
,
796 LPARAM lParam
, DWORD dwPriority
, DWORD fdwAdd
798 MMRESULT WINAPI
acmDriverAddW(
799 PHACMDRIVERID phadid
, HINSTANCE hinstModule
,
800 LPARAM lParam
, DWORD dwPriority
, DWORD fdwAdd
802 MMRESULT WINAPI
acmDriverClose(
803 HACMDRIVER had
, DWORD fdwClose
805 MMRESULT WINAPI
acmDriverDetailsA(
806 HACMDRIVERID hadid
, PACMDRIVERDETAILSA padd
, DWORD fdwDetails
808 MMRESULT WINAPI
acmDriverDetailsW(
809 HACMDRIVERID hadid
, PACMDRIVERDETAILSW padd
, DWORD fdwDetails
811 MMRESULT WINAPI
acmDriverEnum(
812 ACMDRIVERENUMCB fnCallback
, DWORD dwInstance
, DWORD fdwEnum
814 MMRESULT WINAPI
acmDriverID(
815 HACMOBJ hao
, PHACMDRIVERID phadid
, DWORD fdwDriverID
817 LRESULT WINAPI
acmDriverMessage(
818 HACMDRIVER had
, UINT uMsg
, LPARAM lParam1
, LPARAM lParam2
820 MMRESULT WINAPI
acmDriverOpen(
821 PHACMDRIVER phad
, HACMDRIVERID hadid
, DWORD fdwOpen
823 MMRESULT WINAPI
acmDriverPriority(
824 HACMDRIVERID hadid
, DWORD dwPriority
, DWORD fdwPriority
826 MMRESULT WINAPI
acmDriverRemove(
827 HACMDRIVERID hadid
, DWORD fdwRemove
829 MMRESULT WINAPI
acmFilterChooseA(
830 PACMFILTERCHOOSEA pafltrc
832 MMRESULT WINAPI
acmFilterChooseW(
833 PACMFILTERCHOOSEW pafltrc
835 MMRESULT WINAPI
acmFilterDetailsA(
836 HACMDRIVER had
, PACMFILTERDETAILSA pafd
, DWORD fdwDetails
838 MMRESULT WINAPI
acmFilterDetailsW(
839 HACMDRIVER had
, PACMFILTERDETAILSW pafd
, DWORD fdwDetails
841 MMRESULT WINAPI
acmFilterEnumA(
842 HACMDRIVER had
, PACMFILTERDETAILSA pafd
,
843 ACMFILTERENUMCBA fnCallback
, DWORD dwInstance
, DWORD fdwEnum
845 MMRESULT WINAPI
acmFilterEnumW(
846 HACMDRIVER had
, PACMFILTERDETAILSW pafd
,
847 ACMFILTERENUMCBW fnCallback
, DWORD dwInstance
, DWORD fdwEnum
849 MMRESULT WINAPI
acmFilterTagDetailsA(
850 HACMDRIVER had
, PACMFILTERTAGDETAILSA paftd
, DWORD fdwDetails
852 MMRESULT WINAPI
acmFilterTagDetailsW(
853 HACMDRIVER had
, PACMFILTERTAGDETAILSW paftd
, DWORD fdwDetails
855 MMRESULT WINAPI
acmFilterTagEnumA(
856 HACMDRIVER had
, PACMFILTERTAGDETAILSA paftd
,
857 ACMFILTERTAGENUMCBA fnCallback
, DWORD dwInstance
, DWORD fdwEnum
859 MMRESULT WINAPI
acmFilterTagEnumW(
860 HACMDRIVER had
, PACMFILTERTAGDETAILSW paftd
,
861 ACMFILTERTAGENUMCBW fnCallback
, DWORD dwInstance
, DWORD fdwEnum
863 MMRESULT WINAPI
acmFormatChooseA(
864 PACMFORMATCHOOSEA pafmtc
866 MMRESULT WINAPI
acmFormatChooseW(
867 PACMFORMATCHOOSEW pafmtc
869 MMRESULT WINAPI
acmFormatDetailsA(
870 HACMDRIVER had
, PACMFORMATDETAILSA pafd
, DWORD fdwDetails
872 MMRESULT WINAPI
acmFormatDetailsW(
873 HACMDRIVER had
, PACMFORMATDETAILSW pafd
, DWORD fdwDetails
875 MMRESULT WINAPI
acmFormatEnumA(
876 HACMDRIVER had
, PACMFORMATDETAILSA pafd
,
877 ACMFORMATENUMCBA fnCallback
, DWORD dwInstance
, DWORD fdwEnum
879 MMRESULT WINAPI
acmFormatEnumW(
880 HACMDRIVER had
, PACMFORMATDETAILSW pafd
,
881 ACMFORMATENUMCBW fnCallback
, DWORD dwInstance
, DWORD fdwEnum
883 MMRESULT WINAPI
acmFormatSuggest(
884 HACMDRIVER had
, PWAVEFORMATEX pwfxSrc
, PWAVEFORMATEX pwfxDst
,
885 DWORD cbwfxDst
, DWORD fdwSuggest
887 MMRESULT WINAPI
acmFormatTagDetailsA(
888 HACMDRIVER had
, PACMFORMATTAGDETAILSA paftd
, DWORD fdwDetails
890 MMRESULT WINAPI
acmFormatTagDetailsW(
891 HACMDRIVER had
, PACMFORMATTAGDETAILSW paftd
, DWORD fdwDetails
893 MMRESULT WINAPI
acmFormatTagEnumA(
894 HACMDRIVER had
, PACMFORMATTAGDETAILSA paftd
,
895 ACMFORMATTAGENUMCBA fnCallback
, DWORD dwInstance
, DWORD fdwEnum
897 MMRESULT WINAPI
acmFormatTagEnumW(
898 HACMDRIVER had
, PACMFORMATTAGDETAILSW paftd
,
899 ACMFORMATTAGENUMCBW fnCallback
, DWORD dwInstance
, DWORD fdwEnum
901 DWORD WINAPI
acmGetVersion(
904 MMRESULT WINAPI
acmMetrics(
905 HACMOBJ hao
, UINT uMetric
, LPVOID pMetric
907 MMRESULT WINAPI
acmStreamClose(
908 HACMSTREAM has
, DWORD fdwClose
910 MMRESULT WINAPI
acmStreamConvert(
911 HACMSTREAM has
, PACMSTREAMHEADER pash
, DWORD fdwConvert
913 MMRESULT WINAPI
acmStreamMessage(
914 HACMSTREAM has
, UINT uMsg
, LPARAM lParam1
, LPARAM lParam2
916 MMRESULT WINAPI
acmStreamOpen(
917 PHACMSTREAM phas
, HACMDRIVER had
, PWAVEFORMATEX pwfxSrc
,
918 PWAVEFORMATEX pwfxDst
, PWAVEFILTER pwfltr
, DWORD dwCallback
,
919 DWORD dwInstance
, DWORD fdwOpen
921 MMRESULT WINAPI
acmStreamPrepareHeader(
922 HACMSTREAM has
, PACMSTREAMHEADER pash
, DWORD fdwPrepare
924 MMRESULT WINAPI
acmStreamReset(
925 HACMSTREAM has
, DWORD fdwReset
927 MMRESULT WINAPI
acmStreamSize(
928 HACMSTREAM has
, DWORD cbInput
,
929 LPDWORD pdwOutputBytes
, DWORD fdwSize
931 MMRESULT WINAPI
acmStreamUnprepareHeader(
932 HACMSTREAM has
, PACMSTREAMHEADER pash
, DWORD fdwUnprepare
935 #endif /* MPLAYER_MSACM_H */