4 * Copyright 1998 Patrik Stridvall
10 #include "debugtools.h"
15 DEFAULT_DEBUG_CHANNEL(msacm
)
17 /***********************************************************************
18 * acmFormatChooseA (MSACM32.23)
20 MMRESULT WINAPI
acmFormatChooseA(
21 PACMFORMATCHOOSEA pafmtc
)
23 FIXME("(%p): stub\n", pafmtc
);
24 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
25 return MMSYSERR_ERROR
;
28 /***********************************************************************
29 * acmFormatChooseW (MSACM32.24)
31 MMRESULT WINAPI
acmFormatChooseW(
32 PACMFORMATCHOOSEW pafmtc
)
34 FIXME("(%p): stub\n", pafmtc
);
35 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
36 return MMSYSERR_ERROR
;
39 /***********************************************************************
40 * acmFormatDetailsA (MSACM32.25)
42 MMRESULT WINAPI
acmFormatDetailsA(
43 HACMDRIVER had
, PACMFORMATDETAILSA pafd
, DWORD fdwDetails
)
45 if(fdwDetails
& ~(ACM_FORMATDETAILSF_FORMAT
))
46 return MMSYSERR_INVALFLAG
;
49 * How does the driver know if the ANSI or
50 * the UNICODE variant of PACMFORMATDETAILS is used?
51 * It might check cbStruct or does it only accept ANSI.
53 return (MMRESULT
) acmDriverMessage(
54 had
, ACMDM_FORMAT_DETAILS
,
55 (LPARAM
) pafd
, (LPARAM
) fdwDetails
59 /***********************************************************************
60 * acmFormatDetailsW (MSACM32.26)
62 MMRESULT WINAPI
acmFormatDetailsW(
63 HACMDRIVER had
, PACMFORMATDETAILSW pafd
, DWORD fdwDetails
)
65 FIXME("(0x%08x, %p, %ld): stub\n", had
, pafd
, fdwDetails
);
66 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
67 return MMSYSERR_ERROR
;
70 /***********************************************************************
71 * acmFormatEnumA (MSACM32.27)
73 MMRESULT WINAPI
acmFormatEnumA(
74 HACMDRIVER had
, PACMFORMATDETAILSA pafd
,
75 ACMFORMATENUMCBA fnCallback
, DWORD dwInstance
, DWORD fdwEnum
)
77 FIXME("(0x%08x, %p, %p, %ld, %ld): stub\n",
78 had
, pafd
, fnCallback
, dwInstance
, fdwEnum
80 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
81 return MMSYSERR_ERROR
;
84 /***********************************************************************
85 * acmFormatEnumW (MSACM32.28)
87 MMRESULT WINAPI
acmFormatEnumW(
88 HACMDRIVER had
, PACMFORMATDETAILSW pafd
,
89 ACMFORMATENUMCBW fnCallback
, DWORD dwInstance
, DWORD fdwEnum
)
91 FIXME("(0x%08x, %p, %p, %ld, %ld): stub\n",
92 had
, pafd
, fnCallback
, dwInstance
, fdwEnum
94 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
95 return MMSYSERR_ERROR
;
98 /***********************************************************************
99 * acmFormatSuggest (MSACM32.29)
101 MMRESULT WINAPI
acmFormatSuggest(
102 HACMDRIVER had
, PWAVEFORMATEX pwfxSrc
, PWAVEFORMATEX pwfxDst
,
103 DWORD cbwfxDst
, DWORD fdwSuggest
)
105 FIXME("(0x%08x, %p, %p, %ld, %ld): stub\n",
106 had
, pwfxSrc
, pwfxDst
, cbwfxDst
, fdwSuggest
108 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
109 return MMSYSERR_ERROR
;
112 /***********************************************************************
113 * acmFormatTagDetailsA (MSACM32.30)
115 MMRESULT WINAPI
acmFormatTagDetailsA(
116 HACMDRIVER had
, PACMFORMATTAGDETAILSA paftd
, DWORD fdwDetails
)
119 ~(ACM_FORMATTAGDETAILSF_FORMATTAG
|ACM_FORMATTAGDETAILSF_LARGESTSIZE
))
120 return MMSYSERR_INVALFLAG
;
123 * How does the driver know if the ANSI or
124 * the UNICODE variant of PACMFORMATTAGDETAILS is used?
125 * It might check cbStruct or does it only accept ANSI.
127 return (MMRESULT
) acmDriverMessage(
128 had
, ACMDM_FORMATTAG_DETAILS
,
129 (LPARAM
) paftd
, (LPARAM
) fdwDetails
133 /***********************************************************************
134 * acmFormatTagDetailsW (MSACM32.31)
136 MMRESULT WINAPI
acmFormatTagDetailsW(
137 HACMDRIVER had
, PACMFORMATTAGDETAILSW paftd
, DWORD fdwDetails
)
139 FIXME("(0x%08x, %p, %ld): stub\n", had
, paftd
, fdwDetails
);
140 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
141 return MMSYSERR_ERROR
;
144 /***********************************************************************
145 * acmFormatTagEnumA (MSACM32.32)
147 MMRESULT WINAPI
acmFormatTagEnumA(
148 HACMDRIVER had
, PACMFORMATTAGDETAILSA paftd
,
149 ACMFORMATTAGENUMCBA fnCallback
, DWORD dwInstance
, DWORD fdwEnum
)
151 FIXME("(0x%08x, %p, %p, %ld, %ld): stub\n",
152 had
, paftd
, fnCallback
, dwInstance
, fdwEnum
154 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
155 return MMSYSERR_ERROR
;
158 /***********************************************************************
159 * acmFormatTagEnumW (MSACM32.33)
161 MMRESULT WINAPI
acmFormatTagEnumW(
162 HACMDRIVER had
, PACMFORMATTAGDETAILSW paftd
,
163 ACMFORMATTAGENUMCBW fnCallback
, DWORD dwInstance
, DWORD fdwEnum
)
165 FIXME("(0x%08x, %p, %p, %ld, %ld): stub\n",
166 had
, paftd
, fnCallback
, dwInstance
, fdwEnum
168 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
169 return MMSYSERR_ERROR
;