oleaut32/tests: Add another test for calling a varargs method.
[wine/multimedia.git] / include / mmreg.h
blobe0b1dd09c273b4742a7c23e9753584105716c113
1 /*
2 * Declarations for MultiMedia-REGistration
4 * Copyright (C) 1999 Eric Pouech
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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
21 #ifndef __WIDL__
23 #ifndef __WINE_MMREG_H
24 #define __WINE_MMREG_H
26 /***********************************************************************
27 * Defines/Enums
30 #ifndef _ACM_WAVEFILTER
31 #define _ACM_WAVEFILTER
33 #define WAVE_FILTER_UNKNOWN 0x0000
34 #define WAVE_FILTER_DEVELOPMENT 0xFFFF
36 typedef struct _WAVEFILTER {
37 DWORD cbStruct;
38 DWORD dwFilterTag;
39 DWORD fdwFilter;
40 DWORD dwReserved[5];
41 } WAVEFILTER, *PWAVEFILTER, *NPWAVEFILTER, *LPWAVEFILTER;
42 #endif /* _ACM_WAVEFILTER */
44 #ifndef WAVE_FILTER_VOLUME
45 #define WAVE_FILTER_VOLUME 0x0001
47 typedef struct _WAVEFILTER_VOLUME {
48 WAVEFILTER wfltr;
49 DWORD dwVolume;
50 } VOLUMEWAVEFILTER, *PVOLUMEWAVEFILTER, *NPVOLUMEWAVEFILTER, *LPVOLUMEWAVEFILTER;
51 #endif /* WAVE_FILTER_VOLUME */
53 #ifndef WAVE_FILTER_ECHO
54 #define WAVE_FILTER_ECHO 0x0002
56 typedef struct WAVEFILTER_ECHO {
57 WAVEFILTER wfltr;
58 DWORD dwVolume;
59 DWORD dwDelay;
60 } ECHOWAVEFILTER, *PECHOWAVEFILTER, *NPECHOWAVEFILTER, *LPECHOWAVEFILTER;
61 #endif /* WAVEFILTER_ECHO */
63 #ifndef _WAVEFORMATEX_
64 #define _WAVEFORMATEX_
65 typedef struct _WAVEFORMATEX {
66 WORD wFormatTag;
67 WORD nChannels;
68 DWORD nSamplesPerSec;
69 DWORD nAvgBytesPerSec;
70 WORD nBlockAlign;
71 WORD wBitsPerSample;
72 WORD cbSize;
73 } WAVEFORMATEX, *PWAVEFORMATEX, *NPWAVEFORMATEX, *LPWAVEFORMATEX;
74 #endif /* _WAVEFORMATEX_ */
76 /* WAVE form wFormatTag IDs */
77 #define WAVE_FORMAT_UNKNOWN 0x0000 /* Microsoft Corporation */
78 #define WAVE_FORMAT_ADPCM 0x0002 /* Microsoft Corporation */
79 #define WAVE_FORMAT_IEEE_FLOAT 0x0003 /* Microsoft Corporation */
80 #define WAVE_FORMAT_IBM_CVSD 0x0005 /* IBM Corporation */
81 #define WAVE_FORMAT_ALAW 0x0006 /* Microsoft Corporation */
82 #define WAVE_FORMAT_MULAW 0x0007 /* Microsoft Corporation */
83 #define WAVE_FORMAT_OKI_ADPCM 0x0010 /* OKI */
84 #define WAVE_FORMAT_DVI_ADPCM 0x0011 /* Intel Corporation */
85 #define WAVE_FORMAT_IMA_ADPCM (WAVE_FORMAT_DVI_ADPCM) /* Intel Corporation */
86 #define WAVE_FORMAT_MEDIASPACE_ADPCM 0x0012 /* Videologic */
87 #define WAVE_FORMAT_SIERRA_ADPCM 0x0013 /* Sierra Semiconductor Corp */
88 #define WAVE_FORMAT_G723_ADPCM 0x0014 /* Antex Electronics Corporation */
89 #define WAVE_FORMAT_DIGISTD 0x0015 /* DSP Solutions, Inc. */
90 #define WAVE_FORMAT_DIGIFIX 0x0016 /* DSP Solutions, Inc. */
91 #define WAVE_FORMAT_DIALOGIC_OKI_ADPCM 0x0017 /* Dialogic Corporation */
92 #define WAVE_FORMAT_YAMAHA_ADPCM 0x0020 /* Yamaha Corporation of America */
93 #define WAVE_FORMAT_SONARC 0x0021 /* Speech Compression */
94 #define WAVE_FORMAT_DSPGROUP_TRUESPEECH 0x0022 /* DSP Group, Inc */
95 #define WAVE_FORMAT_ECHOSC1 0x0023 /* Echo Speech Corporation */
96 #define WAVE_FORMAT_AUDIOFILE_AF36 0x0024 /* */
97 #define WAVE_FORMAT_APTX 0x0025 /* Audio Processing Technology */
98 #define WAVE_FORMAT_AUDIOFILE_AF10 0x0026 /* */
99 #define WAVE_FORMAT_DOLBY_AC2 0x0030 /* Dolby Laboratories */
100 #define WAVE_FORMAT_GSM610 0x0031 /* Microsoft Corporation */
101 #define WAVE_FORMAT_ANTEX_ADPCME 0x0033 /* Antex Electronics Corporation */
102 #define WAVE_FORMAT_CONTROL_RES_VQLPC 0x0034 /* Control Resources Limited */
103 #define WAVE_FORMAT_DIGIREAL 0x0035 /* DSP Solutions, Inc. */
104 #define WAVE_FORMAT_DIGIADPCM 0x0036 /* DSP Solutions, Inc. */
105 #define WAVE_FORMAT_CONTROL_RES_CR10 0x0037 /* Control Resources Limited */
106 #define WAVE_FORMAT_NMS_VBXADPCM 0x0038 /* Natural MicroSystems */
107 #define WAVE_FORMAT_G721_ADPCM 0x0040 /* Antex Electronics Corporation */
108 #define WAVE_FORMAT_MPEG 0x0050 /* Microsoft Corporation */
109 #define WAVE_FORMAT_MPEGLAYER3 0x0055
110 #define WAVE_FORMAT_MSRT24 0x0082 /* Microsoft Corporation */
111 #define WAVE_FORMAT_CREATIVE_ADPCM 0x0200 /* Creative Labs, Inc */
112 #define WAVE_FORMAT_CREATIVE_FASTSPEECH8 0x0202 /* Creative Labs, Inc */
113 #define WAVE_FORMAT_CREATIVE_FASTSPEECH10 0x0203 /* Creative Labs, Inc */
114 #define WAVE_FORMAT_FM_TOWNS_SND 0x0300 /* Fujitsu Corp. */
115 #define WAVE_FORMAT_OLIGSM 0x1000 /* Ing C. Olivetti & C., S.p.A. */
116 #define WAVE_FORMAT_OLIADPCM 0x1001 /* Ing C. Olivetti & C., S.p.A. */
117 #define WAVE_FORMAT_OLICELP 0x1002 /* Ing C. Olivetti & C., S.p.A. */
118 #define WAVE_FORMAT_OLISBC 0x1003 /* Ing C. Olivetti & C., S.p.A. */
119 #define WAVE_FORMAT_OLIOPR 0x1004 /* Ing C. Olivetti & C., S.p.A. */
121 #ifndef MM_MICROSOFT
122 #define MM_MICROSOFT 0x01
123 #endif
124 #define MM_MSFT_ACM_MSADPCM 0x21
125 #define MM_MSFT_ACM_IMAADPCM 0x22
126 #define MM_MSFT_ACM_GSM610 0x24
127 #define MM_MSFT_ACM_G711 0x25
128 #define MM_MSFT_ACM_PCM 0x26
130 #define MM_FRAUNHOFER_IIS 0xAC
131 #define MM_FHGIIS_MPEGLAYER3_DECODE 0x09
133 #if !defined(WAVE_FORMAT_EXTENSIBLE)
134 #define WAVE_FORMAT_EXTENSIBLE 0xFFFE /* Microsoft */
135 #endif
137 #define WAVE_FORMAT_DEVELOPMENT (0xFFFF)
139 typedef struct adpcmcoef_tag {
140 short iCoef1;
141 short iCoef2;
142 } ADPCMCOEFSET;
143 typedef ADPCMCOEFSET *PADPCMCOEFSET,
144 *NPADPCMCOEFSET, *LPADPCMCOEFSET;
146 typedef struct adpcmwaveformat_tag {
147 WAVEFORMATEX wfx;
148 WORD wSamplesPerBlock;
149 WORD wNumCoef;
150 /* FIXME: this should be aCoef[0] */
151 ADPCMCOEFSET aCoef[1];
152 } ADPCMWAVEFORMAT;
153 typedef ADPCMWAVEFORMAT *PADPCMWAVEFORMAT,
154 *NPADPCMWAVEFORMAT, *LPADPCMWAVEFORMAT;
156 typedef struct dvi_adpcmwaveformat_tag {
157 WAVEFORMATEX wfx;
158 WORD wSamplesPerBlock;
159 } DVIADPCMWAVEFORMAT;
160 typedef DVIADPCMWAVEFORMAT *PDVIADPCMWAVEFORMAT,
161 *NPDVIADPCMWAVEFORMAT, *LPDVIADPCMWAVEFORMAT;
163 typedef struct ima_adpcmwaveformat_tag {
164 WAVEFORMATEX wfx;
165 WORD wSamplesPerBlock;
166 } IMAADPCMWAVEFORMAT;
167 typedef IMAADPCMWAVEFORMAT *PIMAADPCMWAVEFORMAT, *NPIMAADPCMWAVEFORMAT,
168 *LPIMAADPCMWAVEFORMAT;
170 typedef struct mediaspace_adpcmwaveformat_tag {
171 WAVEFORMATEX wfx;
172 WORD wRevision;
173 } MEDIASPACEADPCMWAVEFORMAT;
174 typedef MEDIASPACEADPCMWAVEFORMAT *PMEDIASPACEADPCMWAVEFORMAT,
175 *NPMEDIASPACEADPCMWAVEFORMAT, *LPMEDIASPACEADPCMWAVEFORMAT;
177 typedef struct sierra_adpcmwaveformat_tag {
178 WAVEFORMATEX wfx;
179 WORD wRevision;
180 } SIERRAADPCMWAVEFORMAT;
181 typedef SIERRAADPCMWAVEFORMAT *PSIERRAADPCMWAVEFORMAT,
182 *NPSIERRAADPCMWAVEFORMAT, *LPSIERRAADPCMWAVEFORMAT;
184 typedef struct g723_adpcmwaveformat_tag {
185 WAVEFORMATEX wfx;
186 WORD cbExtraSize;
187 WORD nAuxBlockSize;
188 } G723_ADPCMWAVEFORMAT;
189 typedef G723_ADPCMWAVEFORMAT *PG723_ADPCMWAVEFORMAT,
190 *NPG723_ADPCMWAVEFORMAT, *LPG723_ADPCMWAVEFORMAT;
192 typedef struct digistdwaveformat_tag {
193 WAVEFORMATEX wfx;
194 } DIGISTDWAVEFORMAT;
195 typedef DIGISTDWAVEFORMAT *PDIGISTDWAVEFORMAT,
196 *NPDIGISTDWAVEFORMAT, *LPDIGISTDWAVEFORMAT;
198 typedef struct digifixwaveformat_tag {
199 WAVEFORMATEX wfx;
200 } DIGIFIXWAVEFORMAT;
201 typedef DIGIFIXWAVEFORMAT *PDIGIFIXWAVEFORMAT,
202 *NPDIGIFIXWAVEFORMAT, *LPDIGIFIXWAVEFORMAT;
204 typedef struct creative_fastspeechformat_tag {
205 WAVEFORMATEX ewf;
206 } DIALOGICOKIADPCMWAVEFORMAT;
207 typedef DIALOGICOKIADPCMWAVEFORMAT *PDIALOGICOKIADPCMWAVEFORMAT,
208 *NPDIALOGICOKIADPCMWAVEFORMAT, *LPDIALOGICOKIADPCMWAVEFORMAT;
210 typedef struct yamaha_adpmcwaveformat_tag {
211 WAVEFORMATEX wfx;
212 } YAMAHA_ADPCMWAVEFORMAT;
213 typedef YAMAHA_ADPCMWAVEFORMAT *PYAMAHA_ADPCMWAVEFORMAT,
214 *NPYAMAHA_ADPCMWAVEFORMAT, *LPYAMAHA_ADPCMWAVEFORMAT;
216 typedef struct sonarcwaveformat_tag {
217 WAVEFORMATEX wfx;
218 WORD wCompType;
219 } SONARCWAVEFORMAT;
220 typedef SONARCWAVEFORMAT *PSONARCWAVEFORMAT,
221 *NPSONARCWAVEFORMAT,*LPSONARCWAVEFORMAT;
223 typedef struct truespeechwaveformat_tag {
224 WAVEFORMATEX wfx;
225 WORD wRevision;
226 WORD nSamplesPerBlock;
227 BYTE abReserved[28];
228 } TRUESPEECHWAVEFORMAT;
229 typedef TRUESPEECHWAVEFORMAT *PTRUESPEECHWAVEFORMAT,
230 *NPTRUESPEECHWAVEFORMAT, *LPTRUESPEECHWAVEFORMAT;
232 typedef struct echosc1waveformat_tag {
233 WAVEFORMATEX wfx;
234 } ECHOSC1WAVEFORMAT;
235 typedef ECHOSC1WAVEFORMAT *PECHOSC1WAVEFORMAT,
236 *NPECHOSC1WAVEFORMAT, *LPECHOSC1WAVEFORMAT;
238 typedef struct audiofile_af36waveformat_tag {
239 WAVEFORMATEX wfx;
240 } AUDIOFILE_AF36WAVEFORMAT;
241 typedef AUDIOFILE_AF36WAVEFORMAT *PAUDIOFILE_AF36WAVEFORMAT,
242 *NPAUDIOFILE_AF36WAVEFORMAT, *LPAUDIOFILE_AF36WAVEFORMAT;
244 typedef struct aptxwaveformat_tag {
245 WAVEFORMATEX wfx;
246 } APTXWAVEFORMAT;
247 typedef APTXWAVEFORMAT *PAPTXWAVEFORMAT,
248 *NPAPTXWAVEFORMAT, *LPAPTXWAVEFORMAT;
250 typedef struct audiofile_af10waveformat_tag {
251 WAVEFORMATEX wfx;
252 } AUDIOFILE_AF10WAVEFORMAT;
253 typedef AUDIOFILE_AF10WAVEFORMAT *PAUDIOFILE_AF10WAVEFORMAT,
254 *NPAUDIOFILE_AF10WAVEFORMAT, *LPAUDIOFILE_AF10WAVEFORMAT;
256 typedef struct dolbyac2waveformat_tag {
257 WAVEFORMATEX wfx;
258 WORD nAuxBitsCode;
259 } DOLBYAC2WAVEFORMAT;
261 typedef struct gsm610waveformat_tag {
262 WAVEFORMATEX wfx;
263 WORD wSamplesPerBlock;
264 } GSM610WAVEFORMAT;
265 typedef GSM610WAVEFORMAT *PGSM610WAVEFORMAT,
266 *NPGSM610WAVEFORMAT, *LPGSM610WAVEFORMAT;
268 typedef struct adpcmewaveformat_tag {
269 WAVEFORMATEX wfx;
270 WORD wSamplesPerBlock;
271 } ADPCMEWAVEFORMAT;
272 typedef ADPCMEWAVEFORMAT *PADPCMEWAVEFORMAT,
273 *NPADPCMEWAVEFORMAT, *LPADPCMEWAVEFORMAT;
275 typedef struct contres_vqlpcwaveformat_tag {
276 WAVEFORMATEX wfx;
277 WORD wSamplesPerBlock;
278 } CONTRESVQLPCWAVEFORMAT;
279 typedef CONTRESVQLPCWAVEFORMAT *PCONTRESVQLPCWAVEFORMAT,
280 *NPCONTRESVQLPCWAVEFORMAT, *LPCONTRESVQLPCWAVEFORMAT;
282 typedef struct digirealwaveformat_tag {
283 WAVEFORMATEX wfx;
284 WORD wSamplesPerBlock;
285 } DIGIREALWAVEFORMAT;
286 typedef DIGIREALWAVEFORMAT *PDIGIREALWAVEFORMAT,
287 *NPDIGIREALWAVEFORMAT, *LPDIGIREALWAVEFORMAT;
289 typedef struct digiadpcmmwaveformat_tag {
290 WAVEFORMATEX wfx;
291 WORD wSamplesPerBlock;
292 } DIGIADPCMWAVEFORMAT;
293 typedef DIGIADPCMWAVEFORMAT *PDIGIADPCMWAVEFORMAT,
294 *NPDIGIADPCMWAVEFORMAT, *LPDIGIADPCMWAVEFORMAT;
296 typedef struct contres_cr10waveformat_tag {
297 WAVEFORMATEX wfx;
298 WORD wSamplesPerBlock;
299 } CONTRESCR10WAVEFORMAT;
300 typedef CONTRESCR10WAVEFORMAT *PCONTRESCR10WAVEFORMAT,
301 *NPCONTRESCR10WAVEFORMAT, *LPCONTRESCR10WAVEFORMAT;
303 typedef struct nms_vbxadpcmmwaveformat_tag {
304 WAVEFORMATEX wfx;
305 WORD wSamplesPerBlock;
306 } NMS_VBXADPCMWAVEFORMAT;
307 typedef NMS_VBXADPCMWAVEFORMAT *PNMS_VBXADPCMWAVEFORMAT,
308 *NPNMS_VBXADPCMWAVEFORMAT, *LPNMS_VBXADPCMWAVEFORMAT;
310 typedef struct g721_adpcmwaveformat_tag {
311 WAVEFORMATEX wfx;
312 WORD nAuxBlockSize;
313 } G721_ADPCMWAVEFORMAT;
314 typedef G721_ADPCMWAVEFORMAT *PG721_ADPCMWAVEFORMAT,
315 *NG721_ADPCMWAVEFORMAT, *LPG721_ADPCMWAVEFORMAT;
317 typedef struct creative_adpcmwaveformat_tag {
318 WAVEFORMATEX wfx;
319 WORD wRevision;
320 } CREATIVEADPCMWAVEFORMAT;
321 typedef CREATIVEADPCMWAVEFORMAT *PCREATIVEADPCMWAVEFORMAT,
322 *NPCREATIVEADPCMWAVEFORMAT, *LPCREATIVEADPCMWAVEFORMAT;
324 typedef struct creative_fastspeech8format_tag {
325 WAVEFORMATEX wfx;
326 WORD wRevision;
327 } CREATIVEFASTSPEECH8WAVEFORMAT;
328 typedef CREATIVEFASTSPEECH8WAVEFORMAT *PCREATIVEFASTSPEECH8WAVEFORMAT,
329 *NPCREATIVEFASTSPEECH8WAVEFORMAT, *LPCREATIVEFASTSPEECH8WAVEFORMAT;
331 typedef struct creative_fastspeech10format_tag {
332 WAVEFORMATEX wfx;
333 WORD wRevision;
334 } CREATIVEFASTSPEECH10WAVEFORMAT;
335 typedef CREATIVEFASTSPEECH10WAVEFORMAT *PCREATIVEFASTSPEECH10WAVEFORMAT,
336 *NPCREATIVEFASTSPEECH10WAVEFORMAT, *LPCREATIVEFASTSPEECH10WAVEFORMAT;
338 typedef struct fmtowns_snd_waveformat_tag {
339 WAVEFORMATEX wfx;
340 WORD wRevision;
341 } FMTOWNS_SND_WAVEFORMAT;
342 typedef FMTOWNS_SND_WAVEFORMAT *PFMTOWNS_SND_WAVEFORMAT,
343 *NPFMTOWNS_SND_WAVEFORMAT, *LPFMTOWNS_SND_WAVEFORMAT;
345 typedef struct oligsmwaveformat_tag {
346 WAVEFORMATEX wfx;
347 } OLIGSMWAVEFORMAT;
348 typedef OLIGSMWAVEFORMAT *POLIGSMWAVEFORMAT,
349 *NPOLIGSMWAVEFORMAT, *LPOLIGSMWAVEFORMAT;
351 typedef struct oliadpcmwaveformat_tag {
352 WAVEFORMATEX wfx;
353 } OLIADPCMWAVEFORMAT;
354 typedef OLIADPCMWAVEFORMAT *POLIADPCMWAVEFORMAT,
355 *NPOLIADPCMWAVEFORMAT, *LPOLIADPCMWAVEFORMAT;
357 typedef struct olicelpwaveformat_tag {
358 WAVEFORMATEX wfx;
359 } OLICELPWAVEFORMAT;
360 typedef OLICELPWAVEFORMAT *POLICELPWAVEFORMAT,
361 *NPOLICELPWAVEFORMAT, *LPOLICELPWAVEFORMAT;
363 typedef struct olisbcwaveformat_tag {
364 WAVEFORMATEX wfx;
365 } OLISBCWAVEFORMAT;
366 typedef OLISBCWAVEFORMAT *POLISBCWAVEFORMAT,
367 *NPOLISBCWAVEFORMAT, *LPOLISBCWAVEFORMAT;
369 typedef struct olioprwaveformat_tag {
370 WAVEFORMATEX wfx;
371 } OLIOPRWAVEFORMAT;
372 typedef OLIOPRWAVEFORMAT *POLIOPRWAVEFORMAT,
373 *NPOLIOPRWAVEFORMAT, *LPOLIOPRWAVEFORMAT;
375 typedef struct csimaadpcmwaveformat_tag {
376 WAVEFORMATEX wfx;
377 } CSIMAADPCMWAVEFORMAT;
378 typedef CSIMAADPCMWAVEFORMAT *PCSIMAADPCMWAVEFORMAT,
379 *NPCSIMAADPCMWAVEFORMAT, *LPCSIMAADPCMWAVEFORMAT;
381 typedef struct mpeg1waveformat_tag {
382 WAVEFORMATEX wfx;
383 WORD fwHeadLayer;
384 DWORD dwHeadBitrate;
385 WORD fwHeadMode;
386 WORD fwHeadModeExt;
387 WORD wHeadEmphasis;
388 WORD fwHeadFlags;
389 DWORD dwPTSLow;
390 DWORD dwPTSHigh;
391 } MPEG1WAVEFORMAT,* PMPEG1WAVEFORMAT;
393 #define ACM_MPEG_LAYER1 0x0001
394 #define ACM_MPEG_LAYER2 0x0002
395 #define ACM_MPEG_LAYER3 0x0004
397 #define ACM_MPEG_STEREO 0x0001
398 #define ACM_MPEG_JOINTSTEREO 0x0002
399 #define ACM_MPEG_DUALCHANNEL 0x0004
400 #define ACM_MPEG_SINGLECHANNEL 0x0008
401 #define ACM_MPEG_PRIVATEBIT 0x0001
402 #define ACM_MPEG_COPYRIGHT 0x0002
403 #define ACM_MPEG_ORIGINALHOME 0x0004
404 #define ACM_MPEG_PROTECTIONBIT 0x0008
405 #define ACM_MPEG_ID_MPEG1 0x0010
407 typedef struct mpeglayer3waveformat_tag {
408 WAVEFORMATEX wfx;
409 WORD wID;
410 DWORD fdwFlags;
411 WORD nBlockSize;
412 WORD nFramesPerBlock;
413 WORD nCodecDelay;
414 } MPEGLAYER3WAVEFORMAT;
416 #define MPEGLAYER3_WFX_EXTRA_BYTES 12
418 #define MPEGLAYER3_ID_UNKNOWN 0
419 #define MPEGLAYER3_ID_MPEG 1
420 #define MPEGLAYER3_ID_CONSTANTFRAMESIZE 2
422 #define MPEGLAYER3_FLAG_PADDING_ISO 0x00000000
423 #define MPEGLAYER3_FLAG_PADDING_ON 0x00000001
424 #define MPEGLAYER3_FLAG_PADDING_OFF 0x00000002
426 #ifdef GUID_DEFINED
428 #ifndef _WAVEFORMATEXTENSIBLE_
429 #define _WAVEFORMATEXTENSIBLE_
430 typedef struct {
431 WAVEFORMATEX Format;
432 union {
433 WORD wValidBitsPerSample;
434 WORD wSamplesPerBlock;
435 WORD wReserved;
436 } Samples;
437 DWORD dwChannelMask;
438 GUID SubFormat;
439 } WAVEFORMATEXTENSIBLE, *PWAVEFORMATEXTENSIBLE;
440 #endif /* _WAVEFORMATEXTENSIBLE_ */
442 #endif /* GUID_DEFINED */
444 typedef WAVEFORMATEXTENSIBLE WAVEFORMATPCMEX;
445 typedef WAVEFORMATPCMEX* PWAVEFORMATPCMEX;
446 typedef WAVEFORMATPCMEX* NPWAVEFORMATPCMEX;
447 typedef WAVEFORMATPCMEX* LPWAVEFORMATPCMEX;
449 typedef WAVEFORMATEXTENSIBLE WAVEFORMATIEEEFLOATEX;
450 typedef WAVEFORMATIEEEFLOATEX* PWAVEFORMATIEEEFLOATEX;
451 typedef WAVEFORMATIEEEFLOATEX* NPWAVEFORMATIEEEFLOATEX;
452 typedef WAVEFORMATIEEEFLOATEX* LPWAVEFORMATIEEEFLOATEX;
454 #ifndef _SPEAKER_POSITIONS_
455 #define _SPEAKER_POSITIONS_
457 #define SPEAKER_FRONT_LEFT 0x00000001
458 #define SPEAKER_FRONT_RIGHT 0x00000002
459 #define SPEAKER_FRONT_CENTER 0x00000004
460 #define SPEAKER_LOW_FREQUENCY 0x00000008
461 #define SPEAKER_BACK_LEFT 0x00000010
462 #define SPEAKER_BACK_RIGHT 0x00000020
463 #define SPEAKER_FRONT_LEFT_OF_CENTER 0x00000040
464 #define SPEAKER_FRONT_RIGHT_OF_CENTER 0x00000080
465 #define SPEAKER_BACK_CENTER 0x00000100
466 #define SPEAKER_SIDE_LEFT 0x00000200
467 #define SPEAKER_SIDE_RIGHT 0x00000400
468 #define SPEAKER_TOP_CENTER 0x00000800
469 #define SPEAKER_TOP_FRONT_LEFT 0x00001000
470 #define SPEAKER_TOP_FRONT_CENTER 0x00002000
471 #define SPEAKER_TOP_FRONT_RIGHT 0x00004000
472 #define SPEAKER_TOP_BACK_LEFT 0x00008000
473 #define SPEAKER_TOP_BACK_CENTER 0x00010000
474 #define SPEAKER_TOP_BACK_RIGHT 0x00020000
475 #define SPEAKER_RESERVED 0x7FFC0000
476 #define SPEAKER_ALL 0x80000000
478 #endif /* _SPEAKER_POSITIONS_ */
481 /* DIB stuff */
483 #ifndef BI_BITFIELDS
484 #define BI_BITFIELDS 3
485 #endif
487 #ifndef QUERYDIBSUPPORT
488 #define QUERYDIBSUPPORT 3073
489 #define QDI_SETDIBITS 1
490 #define QDI_GETDIBITS 2
491 #define QDI_DIBTOSCREEN 4
492 #define QDI_STRETCHDIB 8
493 #endif
495 #ifndef NOBITMAP
496 typedef struct tagEXBMINFOHEADER {
497 BITMAPINFOHEADER bmi;
498 DWORD biExtDataOffset;
499 } EXBMINFOHEADER;
500 #endif
503 /* Video stuff */
505 #ifndef NONEWIC
507 #ifndef ICTYPE_VIDEO
508 #define ICTYPE_VIDEO mmioFOURCC('v', 'i', 'd', 'c')
509 #define ICTYPE_AUDIO mmioFOURCC('a', 'u', 'd', 'c')
510 #endif
512 #endif
514 #endif /* __WINE_MMREG_H */
516 #else /* __WIDL__ */
518 cpp_quote("#if 0")
519 #pragma pack(push, 1)
521 typedef struct tWAVEFORMATEX {
522 WORD wFormatTag;
523 WORD nChannels;
524 DWORD nSamplesPerSec;
525 DWORD nAvgBytesPerSec;
526 WORD nBlockAlign;
527 WORD wBitsPerSample;
528 WORD cbSize;
529 [size_is(cbSize)] BYTE pExtraBytes[];
530 } WAVEFORMATEX, *PWAVEFORMATEX, *NPWAVEFORMATEX, *LPWAVEFORMATEX;
532 typedef struct {
533 WORD wFormatTag;
534 WORD nChannels;
535 DWORD nSamplesPerSec;
536 DWORD nAvgBytesPerSec;
537 WORD nBlockAlign;
538 WORD wBitsPerSample;
539 WORD cbSize;
540 WORD wValidBitsPerSample;
541 DWORD dwChannelMask;
542 GUID SubFormat;
543 } WAVEFORMATEXTENSIBLE, *PWAVEFORMATEXTENSIBLE;
545 #pragma pack(pop)
546 cpp_quote("#endif")
548 #endif /* __WIDL__ */