2 * msacmdrv.h - Declarations for MSACM driver
5 #ifndef __WINE_MSACMDRV_H
6 #define __WINE_MSACMDRV_H
9 #include "wine/windef16.h"
12 /***********************************************************************
16 /***********************************************************************
20 #define MAKE_ACM_VERSION(mjr, mnr, bld) \
21 (((long)(mjr)<<24) | ((long)(mnr)<<16) | ((long)bld))
23 #define ACMDRVOPENDESC_SECTIONNAME_CHARS
25 #define ACMDM_DRIVER_NOTIFY (ACMDM_BASE + 1)
26 #define ACMDM_DRIVER_DETAILS (ACMDM_BASE + 10)
28 #define ACMDM_HARDWARE_WAVE_CAPS_INPUT (ACMDM_BASE + 20)
29 #define ACMDM_HARDWARE_WAVE_CAPS_OUTPUT (ACMDM_BASE + 21)
31 #define ACMDM_FORMATTAG_DETAILS (ACMDM_BASE + 25)
32 #define ACMDM_FORMAT_DETAILS (ACMDM_BASE + 26)
33 #define ACMDM_FORMAT_SUGGEST (ACMDM_BASE + 27)
35 #define ACMDM_FILTERTAG_DETAILS (ACMDM_BASE + 50)
36 #define ACMDM_FILTER_DETAILS (ACMDM_BASE + 51)
38 #define ACMDM_STREAM_OPEN (ACMDM_BASE + 76)
39 #define ACMDM_STREAM_CLOSE (ACMDM_BASE + 77)
40 #define ACMDM_STREAM_SIZE (ACMDM_BASE + 78)
41 #define ACMDM_STREAM_CONVERT (ACMDM_BASE + 79)
42 #define ACMDM_STREAM_RESET (ACMDM_BASE + 80)
43 #define ACMDM_STREAM_PREPARE (ACMDM_BASE + 81)
44 #define ACMDM_STREAM_UNPREPARE (ACMDM_BASE + 82)
45 #define ACMDM_STREAM_UPDATE (ACMDM_BASE + 83)
47 /***********************************************************************
51 typedef struct _ACMDRVOPENDESCA
59 LPCSTR pszSectionName;
62 } ACMDRVOPENDESCA, *PACMDRVOPENDESCA;
64 typedef struct _ACMDRVOPENDESCW
72 LPCWSTR pszSectionName;
75 } ACMDRVOPENDESCW, *PACMDRVOPENDESCW;
77 typedef struct _ACMDRVOPENDESC16
85 LPCSTR pszSectionName;
88 } ACMDRVOPENDESC16, *NPACMDRVOPENDESC16, *LPACMDRVOPENDESC16;
90 typedef struct _ACMDRVSTREAMINSTANCE16
93 LPWAVEFORMATEX pwfxSrc;
94 LPWAVEFORMATEX pwfxDst;
102 } ACMDRVSTREAMINSTANCE16, *NPACMDRVSTREAMINSTANCE16, *LPACMDRVSTREAMINSTANCE16;
104 typedef struct _ACMDRVSTREAMINSTANCE
107 PWAVEFORMATEX pwfxSrc;
108 PWAVEFORMATEX pwfxDst;
116 } ACMDRVSTREAMINSTANCE, *PACMDRVSTREAMINSTANCE;
118 typedef struct _ACMDRVSTREAMHEADER16 *LPACMDRVSTREAMHEADER16;
119 typedef struct _ACMDRVSTREAMHEADER16 {
125 DWORD cbSrcLengthUsed;
129 DWORD cbDstLengthUsed;
133 LPACMDRVSTREAMHEADER16 *padshNext;
137 /* Internal fields for ACM */
140 LPBYTE pbPreparedSrc;
141 DWORD cbPreparedSrcLength;
142 LPBYTE pbPreparedDst;
143 DWORD cbPreparedDstLength;
144 } ACMDRVSTREAMHEADER16, *NPACMDRVSTREAMHEADER16;
146 typedef struct _ACMDRVSTREAMHEADER *PACMDRVSTREAMHEADER;
147 typedef struct _ACMDRVSTREAMHEADER {
153 DWORD cbSrcLengthUsed;
157 DWORD cbDstLengthUsed;
161 PACMDRVSTREAMHEADER *padshNext;
165 /* Internal fields for ACM */
168 LPBYTE pbPreparedSrc;
169 DWORD cbPreparedSrcLength;
170 LPBYTE pbPreparedDst;
171 DWORD cbPreparedDstLength;
172 } ACMDRVSTREAMHEADER;
174 typedef struct _ACMDRVSTREAMSIZE
180 } ACMDRVSTREAMSIZE16, *NPACMDRVSTREAMSIZE16, *LPACMDRVSTREAMSIZE16,
181 ACMDRVSTREAMSIZE, *PACMDRVSTREAMSIZE;
183 typedef struct _ACMDRVFORMATSUGGEST16
187 LPWAVEFORMATEX pwfxSrc;
189 LPWAVEFORMATEX pwfxDst;
191 } ACMDRVFORMATSUGGEST16, *NPACMDRVFORMATSUGGEST, *LPACMDRVFORMATSUGGEST;
193 typedef struct _ACMDRVFORMATSUGGEST
197 PWAVEFORMATEX pwfxSrc;
199 PWAVEFORMATEX pwfxDst;
201 } ACMDRVFORMATSUGGEST, *PACMDRVFORMATSUGGEST;
203 #endif /* __WINE_MSACMDRV_H */