dwrite: Increase a number of allocated family slots for system collection.
[wine.git] / include / mmreg.h
blob55bfd35ebc0c3ecaa78905c9b7c087cce4ad5e95
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_CREATIVE_ADPCM 0x0200 /* Creative Labs, Inc */
111 #define WAVE_FORMAT_CREATIVE_FASTSPEECH8 0x0202 /* Creative Labs, Inc */
112 #define WAVE_FORMAT_CREATIVE_FASTSPEECH10 0x0203 /* Creative Labs, Inc */
113 #define WAVE_FORMAT_FM_TOWNS_SND 0x0300 /* Fujitsu Corp. */
114 #define WAVE_FORMAT_OLIGSM 0x1000 /* Ing C. Olivetti & C., S.p.A. */
115 #define WAVE_FORMAT_OLIADPCM 0x1001 /* Ing C. Olivetti & C., S.p.A. */
116 #define WAVE_FORMAT_OLICELP 0x1002 /* Ing C. Olivetti & C., S.p.A. */
117 #define WAVE_FORMAT_OLISBC 0x1003 /* Ing C. Olivetti & C., S.p.A. */
118 #define WAVE_FORMAT_OLIOPR 0x1004 /* Ing C. Olivetti & C., S.p.A. */
120 #ifndef MM_MICROSOFT
121 #define MM_MICROSOFT 0x01
122 #endif
123 #define MM_MSFT_ACM_MSADPCM 0x21
124 #define MM_MSFT_ACM_IMAADPCM 0x22
125 #define MM_MSFT_ACM_GSM610 0x24
126 #define MM_MSFT_ACM_G711 0x25
127 #define MM_MSFT_ACM_PCM 0x26
129 #define MM_FRAUNHOFER_IIS 0xAC
130 #define MM_FHGIIS_MPEGLAYER3_DECODE 0x09
132 #if !defined(WAVE_FORMAT_EXTENSIBLE)
133 #define WAVE_FORMAT_EXTENSIBLE 0xFFFE /* Microsoft */
134 #endif
136 #define WAVE_FORMAT_DEVELOPMENT (0xFFFF)
138 typedef struct adpcmcoef_tag {
139 short iCoef1;
140 short iCoef2;
141 } ADPCMCOEFSET;
142 typedef ADPCMCOEFSET *PADPCMCOEFSET,
143 *NPADPCMCOEFSET, *LPADPCMCOEFSET;
145 typedef struct adpcmwaveformat_tag {
146 WAVEFORMATEX wfx;
147 WORD wSamplesPerBlock;
148 WORD wNumCoef;
149 /* FIXME: this should be aCoef[0] */
150 ADPCMCOEFSET aCoef[1];
151 } ADPCMWAVEFORMAT;
152 typedef ADPCMWAVEFORMAT *PADPCMWAVEFORMAT,
153 *NPADPCMWAVEFORMAT, *LPADPCMWAVEFORMAT;
155 typedef struct dvi_adpcmwaveformat_tag {
156 WAVEFORMATEX wfx;
157 WORD wSamplesPerBlock;
158 } DVIADPCMWAVEFORMAT;
159 typedef DVIADPCMWAVEFORMAT *PDVIADPCMWAVEFORMAT,
160 *NPDVIADPCMWAVEFORMAT, *LPDVIADPCMWAVEFORMAT;
162 typedef struct ima_adpcmwaveformat_tag {
163 WAVEFORMATEX wfx;
164 WORD wSamplesPerBlock;
165 } IMAADPCMWAVEFORMAT;
166 typedef IMAADPCMWAVEFORMAT *PIMAADPCMWAVEFORMAT, *NPIMAADPCMWAVEFORMAT,
167 *LPIMAADPCMWAVEFORMAT;
169 typedef struct mediaspace_adpcmwaveformat_tag {
170 WAVEFORMATEX wfx;
171 WORD wRevision;
172 } MEDIASPACEADPCMWAVEFORMAT;
173 typedef MEDIASPACEADPCMWAVEFORMAT *PMEDIASPACEADPCMWAVEFORMAT,
174 *NPMEDIASPACEADPCMWAVEFORMAT, *LPMEDIASPACEADPCMWAVEFORMAT;
176 typedef struct sierra_adpcmwaveformat_tag {
177 WAVEFORMATEX wfx;
178 WORD wRevision;
179 } SIERRAADPCMWAVEFORMAT;
180 typedef SIERRAADPCMWAVEFORMAT *PSIERRAADPCMWAVEFORMAT,
181 *NPSIERRAADPCMWAVEFORMAT, *LPSIERRAADPCMWAVEFORMAT;
183 typedef struct g723_adpcmwaveformat_tag {
184 WAVEFORMATEX wfx;
185 WORD cbExtraSize;
186 WORD nAuxBlockSize;
187 } G723_ADPCMWAVEFORMAT;
188 typedef G723_ADPCMWAVEFORMAT *PG723_ADPCMWAVEFORMAT,
189 *NPG723_ADPCMWAVEFORMAT, *LPG723_ADPCMWAVEFORMAT;
191 typedef struct digistdwaveformat_tag {
192 WAVEFORMATEX wfx;
193 } DIGISTDWAVEFORMAT;
194 typedef DIGISTDWAVEFORMAT *PDIGISTDWAVEFORMAT,
195 *NPDIGISTDWAVEFORMAT, *LPDIGISTDWAVEFORMAT;
197 typedef struct digifixwaveformat_tag {
198 WAVEFORMATEX wfx;
199 } DIGIFIXWAVEFORMAT;
200 typedef DIGIFIXWAVEFORMAT *PDIGIFIXWAVEFORMAT,
201 *NPDIGIFIXWAVEFORMAT, *LPDIGIFIXWAVEFORMAT;
203 typedef struct creative_fastspeechformat_tag {
204 WAVEFORMATEX ewf;
205 } DIALOGICOKIADPCMWAVEFORMAT;
206 typedef DIALOGICOKIADPCMWAVEFORMAT *PDIALOGICOKIADPCMWAVEFORMAT,
207 *NPDIALOGICOKIADPCMWAVEFORMAT, *LPDIALOGICOKIADPCMWAVEFORMAT;
209 typedef struct yamaha_adpmcwaveformat_tag {
210 WAVEFORMATEX wfx;
211 } YAMAHA_ADPCMWAVEFORMAT;
212 typedef YAMAHA_ADPCMWAVEFORMAT *PYAMAHA_ADPCMWAVEFORMAT,
213 *NPYAMAHA_ADPCMWAVEFORMAT, *LPYAMAHA_ADPCMWAVEFORMAT;
215 typedef struct sonarcwaveformat_tag {
216 WAVEFORMATEX wfx;
217 WORD wCompType;
218 } SONARCWAVEFORMAT;
219 typedef SONARCWAVEFORMAT *PSONARCWAVEFORMAT,
220 *NPSONARCWAVEFORMAT,*LPSONARCWAVEFORMAT;
222 typedef struct truespeechwaveformat_tag {
223 WAVEFORMATEX wfx;
224 WORD wRevision;
225 WORD nSamplesPerBlock;
226 BYTE abReserved[28];
227 } TRUESPEECHWAVEFORMAT;
228 typedef TRUESPEECHWAVEFORMAT *PTRUESPEECHWAVEFORMAT,
229 *NPTRUESPEECHWAVEFORMAT, *LPTRUESPEECHWAVEFORMAT;
231 typedef struct echosc1waveformat_tag {
232 WAVEFORMATEX wfx;
233 } ECHOSC1WAVEFORMAT;
234 typedef ECHOSC1WAVEFORMAT *PECHOSC1WAVEFORMAT,
235 *NPECHOSC1WAVEFORMAT, *LPECHOSC1WAVEFORMAT;
237 typedef struct audiofile_af36waveformat_tag {
238 WAVEFORMATEX wfx;
239 } AUDIOFILE_AF36WAVEFORMAT;
240 typedef AUDIOFILE_AF36WAVEFORMAT *PAUDIOFILE_AF36WAVEFORMAT,
241 *NPAUDIOFILE_AF36WAVEFORMAT, *LPAUDIOFILE_AF36WAVEFORMAT;
243 typedef struct aptxwaveformat_tag {
244 WAVEFORMATEX wfx;
245 } APTXWAVEFORMAT;
246 typedef APTXWAVEFORMAT *PAPTXWAVEFORMAT,
247 *NPAPTXWAVEFORMAT, *LPAPTXWAVEFORMAT;
249 typedef struct audiofile_af10waveformat_tag {
250 WAVEFORMATEX wfx;
251 } AUDIOFILE_AF10WAVEFORMAT;
252 typedef AUDIOFILE_AF10WAVEFORMAT *PAUDIOFILE_AF10WAVEFORMAT,
253 *NPAUDIOFILE_AF10WAVEFORMAT, *LPAUDIOFILE_AF10WAVEFORMAT;
255 typedef struct dolbyac2waveformat_tag {
256 WAVEFORMATEX wfx;
257 WORD nAuxBitsCode;
258 } DOLBYAC2WAVEFORMAT;
260 typedef struct gsm610waveformat_tag {
261 WAVEFORMATEX wfx;
262 WORD wSamplesPerBlock;
263 } GSM610WAVEFORMAT;
264 typedef GSM610WAVEFORMAT *PGSM610WAVEFORMAT,
265 *NPGSM610WAVEFORMAT, *LPGSM610WAVEFORMAT;
267 typedef struct adpcmewaveformat_tag {
268 WAVEFORMATEX wfx;
269 WORD wSamplesPerBlock;
270 } ADPCMEWAVEFORMAT;
271 typedef ADPCMEWAVEFORMAT *PADPCMEWAVEFORMAT,
272 *NPADPCMEWAVEFORMAT, *LPADPCMEWAVEFORMAT;
274 typedef struct contres_vqlpcwaveformat_tag {
275 WAVEFORMATEX wfx;
276 WORD wSamplesPerBlock;
277 } CONTRESVQLPCWAVEFORMAT;
278 typedef CONTRESVQLPCWAVEFORMAT *PCONTRESVQLPCWAVEFORMAT,
279 *NPCONTRESVQLPCWAVEFORMAT, *LPCONTRESVQLPCWAVEFORMAT;
281 typedef struct digirealwaveformat_tag {
282 WAVEFORMATEX wfx;
283 WORD wSamplesPerBlock;
284 } DIGIREALWAVEFORMAT;
285 typedef DIGIREALWAVEFORMAT *PDIGIREALWAVEFORMAT,
286 *NPDIGIREALWAVEFORMAT, *LPDIGIREALWAVEFORMAT;
288 typedef struct digiadpcmmwaveformat_tag {
289 WAVEFORMATEX wfx;
290 WORD wSamplesPerBlock;
291 } DIGIADPCMWAVEFORMAT;
292 typedef DIGIADPCMWAVEFORMAT *PDIGIADPCMWAVEFORMAT,
293 *NPDIGIADPCMWAVEFORMAT, *LPDIGIADPCMWAVEFORMAT;
295 typedef struct contres_cr10waveformat_tag {
296 WAVEFORMATEX wfx;
297 WORD wSamplesPerBlock;
298 } CONTRESCR10WAVEFORMAT;
299 typedef CONTRESCR10WAVEFORMAT *PCONTRESCR10WAVEFORMAT,
300 *NPCONTRESCR10WAVEFORMAT, *LPCONTRESCR10WAVEFORMAT;
302 typedef struct nms_vbxadpcmmwaveformat_tag {
303 WAVEFORMATEX wfx;
304 WORD wSamplesPerBlock;
305 } NMS_VBXADPCMWAVEFORMAT;
306 typedef NMS_VBXADPCMWAVEFORMAT *PNMS_VBXADPCMWAVEFORMAT,
307 *NPNMS_VBXADPCMWAVEFORMAT, *LPNMS_VBXADPCMWAVEFORMAT;
309 typedef struct g721_adpcmwaveformat_tag {
310 WAVEFORMATEX wfx;
311 WORD nAuxBlockSize;
312 } G721_ADPCMWAVEFORMAT;
313 typedef G721_ADPCMWAVEFORMAT *PG721_ADPCMWAVEFORMAT,
314 *NG721_ADPCMWAVEFORMAT, *LPG721_ADPCMWAVEFORMAT;
316 typedef struct creative_adpcmwaveformat_tag {
317 WAVEFORMATEX wfx;
318 WORD wRevision;
319 } CREATIVEADPCMWAVEFORMAT;
320 typedef CREATIVEADPCMWAVEFORMAT *PCREATIVEADPCMWAVEFORMAT,
321 *NPCREATIVEADPCMWAVEFORMAT, *LPCREATIVEADPCMWAVEFORMAT;
323 typedef struct creative_fastspeech8format_tag {
324 WAVEFORMATEX wfx;
325 WORD wRevision;
326 } CREATIVEFASTSPEECH8WAVEFORMAT;
327 typedef CREATIVEFASTSPEECH8WAVEFORMAT *PCREATIVEFASTSPEECH8WAVEFORMAT,
328 *NPCREATIVEFASTSPEECH8WAVEFORMAT, *LPCREATIVEFASTSPEECH8WAVEFORMAT;
330 typedef struct creative_fastspeech10format_tag {
331 WAVEFORMATEX wfx;
332 WORD wRevision;
333 } CREATIVEFASTSPEECH10WAVEFORMAT;
334 typedef CREATIVEFASTSPEECH10WAVEFORMAT *PCREATIVEFASTSPEECH10WAVEFORMAT,
335 *NPCREATIVEFASTSPEECH10WAVEFORMAT, *LPCREATIVEFASTSPEECH10WAVEFORMAT;
337 typedef struct fmtowns_snd_waveformat_tag {
338 WAVEFORMATEX wfx;
339 WORD wRevision;
340 } FMTOWNS_SND_WAVEFORMAT;
341 typedef FMTOWNS_SND_WAVEFORMAT *PFMTOWNS_SND_WAVEFORMAT,
342 *NPFMTOWNS_SND_WAVEFORMAT, *LPFMTOWNS_SND_WAVEFORMAT;
344 typedef struct oligsmwaveformat_tag {
345 WAVEFORMATEX wfx;
346 } OLIGSMWAVEFORMAT;
347 typedef OLIGSMWAVEFORMAT *POLIGSMWAVEFORMAT,
348 *NPOLIGSMWAVEFORMAT, *LPOLIGSMWAVEFORMAT;
350 typedef struct oliadpcmwaveformat_tag {
351 WAVEFORMATEX wfx;
352 } OLIADPCMWAVEFORMAT;
353 typedef OLIADPCMWAVEFORMAT *POLIADPCMWAVEFORMAT,
354 *NPOLIADPCMWAVEFORMAT, *LPOLIADPCMWAVEFORMAT;
356 typedef struct olicelpwaveformat_tag {
357 WAVEFORMATEX wfx;
358 } OLICELPWAVEFORMAT;
359 typedef OLICELPWAVEFORMAT *POLICELPWAVEFORMAT,
360 *NPOLICELPWAVEFORMAT, *LPOLICELPWAVEFORMAT;
362 typedef struct olisbcwaveformat_tag {
363 WAVEFORMATEX wfx;
364 } OLISBCWAVEFORMAT;
365 typedef OLISBCWAVEFORMAT *POLISBCWAVEFORMAT,
366 *NPOLISBCWAVEFORMAT, *LPOLISBCWAVEFORMAT;
368 typedef struct olioprwaveformat_tag {
369 WAVEFORMATEX wfx;
370 } OLIOPRWAVEFORMAT;
371 typedef OLIOPRWAVEFORMAT *POLIOPRWAVEFORMAT,
372 *NPOLIOPRWAVEFORMAT, *LPOLIOPRWAVEFORMAT;
374 typedef struct csimaadpcmwaveformat_tag {
375 WAVEFORMATEX wfx;
376 } CSIMAADPCMWAVEFORMAT;
377 typedef CSIMAADPCMWAVEFORMAT *PCSIMAADPCMWAVEFORMAT,
378 *NPCSIMAADPCMWAVEFORMAT, *LPCSIMAADPCMWAVEFORMAT;
380 typedef struct mpeg1waveformat_tag {
381 WAVEFORMATEX wfx;
382 WORD fwHeadLayer;
383 DWORD dwHeadBitrate;
384 WORD fwHeadMode;
385 WORD fwHeadModeExt;
386 WORD wHeadEmphasis;
387 WORD fwHeadFlags;
388 DWORD dwPTSLow;
389 DWORD dwPTSHigh;
390 } MPEG1WAVEFORMAT,* PMPEG1WAVEFORMAT;
392 #define ACM_MPEG_LAYER1 0x0001
393 #define ACM_MPEG_LAYER2 0x0002
394 #define ACM_MPEG_LAYER3 0x0004
396 #define ACM_MPEG_STEREO 0x0001
397 #define ACM_MPEG_JOINTSTEREO 0x0002
398 #define ACM_MPEG_DUALCHANNEL 0x0004
399 #define ACM_MPEG_SINGLECHANNEL 0x0008
400 #define ACM_MPEG_PRIVATEBIT 0x0001
401 #define ACM_MPEG_COPYRIGHT 0x0002
402 #define ACM_MPEG_ORIGINALHOME 0x0004
403 #define ACM_MPEG_PROTECTIONBIT 0x0008
404 #define ACM_MPEG_ID_MPEG1 0x0010
406 typedef struct mpeglayer3waveformat_tag {
407 WAVEFORMATEX wfx;
408 WORD wID;
409 DWORD fdwFlags;
410 WORD nBlockSize;
411 WORD nFramesPerBlock;
412 WORD nCodecDelay;
413 } MPEGLAYER3WAVEFORMAT;
415 #define MPEGLAYER3_WFX_EXTRA_BYTES 12
417 #define MPEGLAYER3_ID_UNKNOWN 0
418 #define MPEGLAYER3_ID_MPEG 1
419 #define MPEGLAYER3_ID_CONSTANTFRAMESIZE 2
421 #define MPEGLAYER3_FLAG_PADDING_ISO 0x00000000
422 #define MPEGLAYER3_FLAG_PADDING_ON 0x00000001
423 #define MPEGLAYER3_FLAG_PADDING_OFF 0x00000002
425 #ifdef GUID_DEFINED
427 #ifndef _WAVEFORMATEXTENSIBLE_
428 #define _WAVEFORMATEXTENSIBLE_
429 typedef struct {
430 WAVEFORMATEX Format;
431 union {
432 WORD wValidBitsPerSample;
433 WORD wSamplesPerBlock;
434 WORD wReserved;
435 } Samples;
436 DWORD dwChannelMask;
437 GUID SubFormat;
438 } WAVEFORMATEXTENSIBLE, *PWAVEFORMATEXTENSIBLE;
439 #endif /* _WAVEFORMATEXTENSIBLE_ */
441 #endif /* GUID_DEFINED */
443 typedef WAVEFORMATEXTENSIBLE WAVEFORMATPCMEX;
444 typedef WAVEFORMATPCMEX* PWAVEFORMATPCMEX;
445 typedef WAVEFORMATPCMEX* NPWAVEFORMATPCMEX;
446 typedef WAVEFORMATPCMEX* LPWAVEFORMATPCMEX;
448 typedef WAVEFORMATEXTENSIBLE WAVEFORMATIEEEFLOATEX;
449 typedef WAVEFORMATIEEEFLOATEX* PWAVEFORMATIEEEFLOATEX;
450 typedef WAVEFORMATIEEEFLOATEX* NPWAVEFORMATIEEEFLOATEX;
451 typedef WAVEFORMATIEEEFLOATEX* LPWAVEFORMATIEEEFLOATEX;
453 #ifndef _SPEAKER_POSITIONS_
454 #define _SPEAKER_POSITIONS_
456 #define SPEAKER_FRONT_LEFT 0x00000001
457 #define SPEAKER_FRONT_RIGHT 0x00000002
458 #define SPEAKER_FRONT_CENTER 0x00000004
459 #define SPEAKER_LOW_FREQUENCY 0x00000008
460 #define SPEAKER_BACK_LEFT 0x00000010
461 #define SPEAKER_BACK_RIGHT 0x00000020
462 #define SPEAKER_FRONT_LEFT_OF_CENTER 0x00000040
463 #define SPEAKER_FRONT_RIGHT_OF_CENTER 0x00000080
464 #define SPEAKER_BACK_CENTER 0x00000100
465 #define SPEAKER_SIDE_LEFT 0x00000200
466 #define SPEAKER_SIDE_RIGHT 0x00000400
467 #define SPEAKER_TOP_CENTER 0x00000800
468 #define SPEAKER_TOP_FRONT_LEFT 0x00001000
469 #define SPEAKER_TOP_FRONT_CENTER 0x00002000
470 #define SPEAKER_TOP_FRONT_RIGHT 0x00004000
471 #define SPEAKER_TOP_BACK_LEFT 0x00008000
472 #define SPEAKER_TOP_BACK_CENTER 0x00010000
473 #define SPEAKER_TOP_BACK_RIGHT 0x00020000
474 #define SPEAKER_RESERVED 0x7FFC0000
475 #define SPEAKER_ALL 0x80000000
477 #endif /* _SPEAKER_POSITIONS_ */
480 /* DIB stuff */
482 #ifndef BI_BITFIELDS
483 #define BI_BITFIELDS 3
484 #endif
486 #ifndef QUERYDIBSUPPORT
487 #define QUERYDIBSUPPORT 3073
488 #define QDI_SETDIBITS 1
489 #define QDI_GETDIBITS 2
490 #define QDI_DIBTOSCREEN 4
491 #define QDI_STRETCHDIB 8
492 #endif
494 #ifndef NOBITMAP
495 typedef struct tagEXBMINFOHEADER {
496 BITMAPINFOHEADER bmi;
497 DWORD biExtDataOffset;
498 } EXBMINFOHEADER;
499 #endif
502 /* Video stuff */
504 #ifndef NONEWIC
506 #ifndef ICTYPE_VIDEO
507 #define ICTYPE_VIDEO mmioFOURCC('v', 'i', 'd', 'c')
508 #define ICTYPE_AUDIO mmioFOURCC('a', 'u', 'd', 'c')
509 #endif
511 #endif
513 #endif /* __WINE_MMREG_H */
515 #else /* __WIDL__ */
517 cpp_quote("#if 0")
518 #pragma pack(push, 1)
520 typedef struct tWAVEFORMATEX {
521 WORD wFormatTag;
522 WORD nChannels;
523 DWORD nSamplesPerSec;
524 DWORD nAvgBytesPerSec;
525 WORD nBlockAlign;
526 WORD wBitsPerSample;
527 WORD cbSize;
528 [size_is(cbSize)] BYTE pExtraBytes[];
529 } WAVEFORMATEX, *PWAVEFORMATEX, *NPWAVEFORMATEX, *LPWAVEFORMATEX;
531 typedef struct {
532 WORD wFormatTag;
533 WORD nChannels;
534 DWORD nSamplesPerSec;
535 DWORD nAvgBytesPerSec;
536 WORD nBlockAlign;
537 WORD wBitsPerSample;
538 WORD cbSize;
539 WORD wValidBitsPerSample;
540 DWORD dwChannelMask;
541 GUID SubFormat;
542 } WAVEFORMATEXTENSIBLE, *PWAVEFORMATEXTENSIBLE;
544 #pragma pack(pop)
545 cpp_quote("#endif")
547 #endif /* __WIDL__ */