dinput/tests: Avoid assigning values twice (PVS-Studio).
[wine/multimedia.git] / include / wmsdkidl.idl
blob1618f86315b968895e7f0b794b1a08c431c7a8fd
1 /*
2 * Copyright 2012 André Hentschel
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19 import "oaidl.idl";
20 import "wmsbuffer.idl";
21 /* import "drmexternals.idl"; */
23 typedef unsigned __int64 QWORD;
25 typedef struct _WMMediaType
27 GUID majortype;
28 GUID subtype;
29 BOOL bFixedSizeSamples;
30 BOOL bTemporalCompression;
31 ULONG lSampleSize;
32 GUID formattype;
33 IUnknown *pUnk;
34 ULONG cbFormat;
35 [size_is(cbFormat)] BYTE *pbFormat;
36 } WM_MEDIA_TYPE;
38 typedef struct _WMWriterStatistics
40 QWORD qwSampleCount;
41 QWORD qwByteCount;
42 QWORD qwDroppedSampleCount;
43 QWORD qwDroppedByteCount;
44 DWORD dwCurrentBitrate;
45 DWORD dwAverageBitrate;
46 DWORD dwExpectedBitrate;
47 DWORD dwCurrentSampleRate;
48 DWORD dwAverageSampleRate;
49 DWORD dwExpectedSampleRate;
50 } WM_WRITER_STATISTICS;
52 typedef struct _WMWriterStatisticsEx
54 DWORD dwBitratePlusOverhead;
55 DWORD dwCurrentSampleDropRateInQueue;
56 DWORD dwCurrentSampleDropRateInCodec;
57 DWORD dwCurrentSampleDropRateInMultiplexer;
58 DWORD dwTotalSampleDropsInQueue;
59 DWORD dwTotalSampleDropsInCodec;
60 DWORD dwTotalSampleDropsInMultiplexer;
61 } WM_WRITER_STATISTICS_EX;
63 typedef enum WMT_ATTR_DATATYPE
65 WMT_TYPE_DWORD = 0,
66 WMT_TYPE_STRING = 1,
67 WMT_TYPE_BINARY = 2,
68 WMT_TYPE_BOOL = 3,
69 WMT_TYPE_QWORD = 4,
70 WMT_TYPE_WORD = 5,
71 WMT_TYPE_GUID = 6,
72 } WMT_ATTR_DATATYPE;
74 typedef enum WMT_STATUS
76 WMT_ERROR = 0,
77 WMT_OPENED = 1,
78 WMT_BUFFERING_START = 2,
79 WMT_BUFFERING_STOP = 3,
80 WMT_EOF = 4,
81 WMT_END_OF_FILE = 4,
82 WMT_END_OF_SEGMENT = 5,
83 WMT_END_OF_STREAMING = 6,
84 WMT_LOCATING = 7,
85 WMT_CONNECTING = 8,
86 WMT_NO_RIGHTS = 9,
87 WMT_MISSING_CODEC = 10,
88 WMT_STARTED = 11,
89 WMT_STOPPED = 12,
90 WMT_CLOSED = 13,
91 WMT_STRIDING = 14,
92 WMT_TIMER = 15,
93 WMT_INDEX_PROGRESS = 16,
94 WMT_SAVEAS_START = 17,
95 WMT_SAVEAS_STOP = 18,
96 WMT_NEW_SOURCEFLAGS = 19,
97 WMT_NEW_METADATA = 20,
98 WMT_BACKUPRESTORE_BEGIN = 21,
99 WMT_SOURCE_SWITCH = 22,
100 WMT_ACQUIRE_LICENSE = 23,
101 WMT_INDIVIDUALIZE = 24,
102 WMT_NEEDS_INDIVIDUALIZATION = 25,
103 WMT_NO_RIGHTS_EX = 26,
104 WMT_BACKUPRESTORE_END = 27,
105 WMT_BACKUPRESTORE_CONNECTING = 28,
106 WMT_BACKUPRESTORE_DISCONNECTING = 29,
107 WMT_ERROR_WITHURL = 30,
108 WMT_RESTRICTED_LICENSE = 31,
109 WMT_CLIENT_CONNECT = 32,
110 WMT_CLIENT_DISCONNECT = 33,
111 WMT_NATIVE_OUTPUT_PROPS_CHANGED = 34,
112 WMT_RECONNECT_START = 35,
113 WMT_RECONNECT_END = 36,
114 WMT_CLIENT_CONNECT_EX = 37,
115 WMT_CLIENT_DISCONNECT_EX = 38,
116 WMT_SET_FEC_SPAN = 39,
117 WMT_PREROLL_READY = 40,
118 WMT_PREROLL_COMPLETE = 41,
119 WMT_CLIENT_PROPERTIES = 42,
120 WMT_LICENSEURL_SIGNATURE_STATE = 43,
121 WMT_INIT_PLAYLIST_BURN = 44,
122 WMT_TRANSCRYPTOR_INIT = 45,
123 WMT_TRANSCRYPTOR_SEEKED = 46,
124 WMT_TRANSCRYPTOR_READ = 47,
125 WMT_TRANSCRYPTOR_CLOSED = 48,
126 WMT_PROXIMITY_RESULT = 49,
127 WMT_PROXIMITY_COMPLETED = 50,
128 WMT_CONTENT_ENABLER = 51
129 } WMT_STATUS;
131 typedef enum WMT_STREAM_SELECTION
133 WMT_OFF = 0,
134 WMT_CLEANPOINT_ONLY = 1,
135 WMT_ON = 2,
136 } WMT_STREAM_SELECTION;
138 typedef enum WMT_VERSION
140 WMT_VER_4_0 = 0x00040000,
141 WMT_VER_7_0 = 0x00070000,
142 WMT_VER_8_0 = 0x00080000,
143 WMT_VER_9_0 = 0x00090000
144 } WMT_VERSION;
146 typedef LPCWSTR LPCWSTR_WMSDK_TYPE_SAFE;
149 object,
150 uuid(6d7cdc70-9888-11d3-8edc-00c04f6109cf),
151 pointer_default(unique),
152 local
154 interface IWMStatusCallback : IUnknown
156 HRESULT OnStatus(
157 [in] WMT_STATUS Status,
158 [in] HRESULT hr,
159 [in] WMT_ATTR_DATATYPE dwType,
160 [in] BYTE *pValue,
161 [in] void *pvContext);
165 object,
166 uuid(96406bd8-2b2b-11d3-b36b-00c04f6108ff),
167 pointer_default(unique),
168 local
170 interface IWMReaderCallback : IWMStatusCallback
172 HRESULT OnSample(
173 [in] DWORD dwOutputNum,
174 [in] QWORD cnsSampleTime,
175 [in] QWORD cnsSampleDuration,
176 [in] DWORD dwFlags,
177 [in] INSSBuffer *pSample,
178 [in] void *pvContext);
182 object,
183 uuid(96406Bdd-2b2b-11d3-b36b-00c04f6108ff),
184 pointer_default(unique),
185 local
187 interface IWMStreamList : IUnknown
189 HRESULT GetStreams(
190 [out, size_is(*pcStreams)] WORD *pwStreamNumArray,
191 [in, out] WORD *pcStreams);
193 HRESULT AddStream([in] WORD wStreamNum);
194 HRESULT RemoveStream([in] WORD wStreamNum);
198 object,
199 uuid(96406Bde-2b2b-11d3-b36b-00c04f6108ff),
200 pointer_default(unique),
201 local
203 interface IWMMutualExclusion : IWMStreamList
205 HRESULT GetType([out] GUID *pguidType);
206 HRESULT SetType([in] REFGUID guidType);
210 object,
211 uuid(96406Bdc-2b2b-11d3-b36b-00c04f6108ff),
212 pointer_default(unique),
213 local
215 interface IWMStreamConfig : IUnknown
217 HRESULT GetStreamType([out] GUID *pguidStreamType);
218 HRESULT GetStreamNumber([out] WORD *pwStreamNum);
219 HRESULT SetStreamNumber([in] WORD wStreamNum);
221 HRESULT GetStreamName(
222 [out, size_is(*pcchStreamName)] WCHAR *pwszStreamName,
223 [in, out] WORD *pcchStreamName);
225 HRESULT SetStreamName([in] LPCWSTR_WMSDK_TYPE_SAFE pwszStreamName);
227 HRESULT GetConnectionName(
228 [out, size_is(*pcchInputName)] WCHAR *pwszInputName,
229 [in, out] WORD *pcchInputName);
231 HRESULT SetConnectionName([in] LPCWSTR_WMSDK_TYPE_SAFE pwszInputName);
232 HRESULT GetBitrate([out] DWORD *pdwBitrate);
233 HRESULT SetBitrate([in] DWORD pdwBitrate);
234 HRESULT GetBufferWindow([out] DWORD *pmsBufferWindow);
235 HRESULT SetBufferWindow([in] DWORD msBufferWindow);
239 object,
240 uuid(96406bdb-2b2b-11d3-b36b-00c04f6108ff),
241 pointer_default(unique),
242 local
244 interface IWMProfile : IUnknown
246 HRESULT GetVersion(
247 [out] WMT_VERSION *pdwVersion);
249 HRESULT GetName(
250 [out, size_is(*pcchName)] WCHAR *pwszName,
251 [in, out] DWORD *pcchName);
253 HRESULT SetName(
254 [in] const WCHAR *pwszName);
256 HRESULT GetDescription(
257 [out, size_is(*pcchDescription)] WCHAR *pwszDescription,
258 [in, out] DWORD *pcchDescription);
260 HRESULT SetDescription(
261 [in] const WCHAR *pwszDescription);
263 HRESULT GetStreamCount(
264 [out] DWORD *pcStreams);
266 HRESULT GetStream(
267 [in] DWORD dwStreamIndex,
268 [out] IWMStreamConfig **ppConfig);
270 HRESULT GetStreamByNumber(
271 [in] WORD wStreamNum,
272 [out] IWMStreamConfig **ppConfig);
274 HRESULT RemoveStream(
275 [in] IWMStreamConfig *pConfig);
277 HRESULT RemoveStreamByNumber(
278 [in] WORD wStreamNum);
280 HRESULT AddStream(
281 [in] IWMStreamConfig *pConfig);
283 HRESULT ReconfigStream(
284 [in] IWMStreamConfig *pConfig);
286 HRESULT CreateNewStream(
287 [in] REFGUID guidStreamType,
288 [out] IWMStreamConfig **ppConfig);
290 HRESULT GetMutualExclusionCount(
291 [out] DWORD *pcME);
293 HRESULT GetMutualExclusion(
294 [in] DWORD dwMEIndex,
295 [out] IWMMutualExclusion **ppME);
297 HRESULT RemoveMutualExclusion(
298 [in] IWMMutualExclusion *pME);
300 HRESULT AddMutualExclusion(
301 [in] IWMMutualExclusion *pME);
303 HRESULT CreateNewMutualExclusion(
304 [out] IWMMutualExclusion **ppME);
308 object,
309 uuid(d16679f2-6ca0-472d-8d31-2f5d55aee155),
310 pointer_default(unique),
311 local
313 interface IWMProfileManager : IUnknown
315 HRESULT CreateEmptyProfile(
316 [in] WMT_VERSION dwVersion,
317 [out] IWMProfile **ppProfile);
319 HRESULT LoadProfileByID(
320 [in] REFGUID guidProfile,
321 [out] IWMProfile **ppProfile);
323 HRESULT LoadProfileByData(
324 [in] const WCHAR *pwszProfile,
325 [out] IWMProfile **ppProfile);
327 HRESULT SaveProfile(
328 [in] IWMProfile *pIWMProfile,
329 [in] WCHAR *pwszProfile,
330 [in, out] DWORD *pdwLength);
332 HRESULT GetSystemProfileCount(
333 [out] DWORD *pcProfiles);
335 HRESULT LoadSystemProfile(
336 [in] DWORD dwProfileIndex,
337 [out] IWMProfile **ppProfile);
340 cpp_quote("HRESULT WINAPI WMCreateProfileManager(IWMProfileManager**);")
343 object,
344 uuid(96406bce-2b2b-11d3-b36b-00c04f6108ff),
345 pointer_default(unique),
346 local
348 interface IWMMediaProps : IUnknown
350 HRESULT GetType(
351 [out] GUID *pguidType);
353 HRESULT GetMediaType(
354 [out] WM_MEDIA_TYPE *pType,
355 [in, out] DWORD *pcbType);
357 HRESULT SetMediaType(
358 [in] WM_MEDIA_TYPE *pType);
362 object,
363 uuid(96406bd7-2b2b-11d3-b36b-00c04f6108ff),
364 pointer_default(unique),
365 local
367 interface IWMOutputMediaProps : IWMMediaProps
369 HRESULT GetStreamGroupName(
370 [out, size_is(*pcchName)] WCHAR *pwszName,
371 [in, out] WORD *pcchName);
373 HRESULT GetConnectionName(
374 [out, size_is(*pcchName)] WCHAR *pwszName,
375 [in, out] WORD *pcchName);
379 object,
380 uuid(96406bd9-2b2b-11d3-b36b-00c04f6108ff),
381 pointer_default(unique),
382 local
384 interface IWMMetadataEditor : IUnknown
386 HRESULT Open(
387 [in] const WCHAR *pwszFilename);
389 HRESULT Close();
391 HRESULT Flush();
395 object,
396 uuid(96406bd6-2b2b-11d3-b36b-00c04f6108ff),
397 pointer_default(unique),
398 local
400 interface IWMReader : IUnknown
402 HRESULT Open(
403 [in] const WCHAR *pwszURL,
404 [in] IWMReaderCallback *pCallback,
405 [in] void *pvContext);
407 HRESULT Close();
409 HRESULT GetOutputCount(
410 [out] DWORD *pcOutputs);
412 HRESULT GetOutputProps(
413 [in] DWORD dwOutputNum,
414 [out] IWMOutputMediaProps **ppOutput);
416 HRESULT SetOutputProps(
417 [in] DWORD dwOutputNum,
418 [in] IWMOutputMediaProps *pOutput);
420 HRESULT GetOutputFormatCount(
421 [in] DWORD dwOutputNumber,
422 [out] DWORD *pcFormats);
424 HRESULT GetOutputFormat(
425 [in] DWORD dwOutputNumber,
426 [in] DWORD dwFormatNumber,
427 [out] IWMOutputMediaProps** ppProps);
429 HRESULT Start(
430 [in] QWORD cnsStart,
431 [in] QWORD cnsDuration,
432 [in] float fRate,
433 [in] void *pvContext);
435 HRESULT Stop();
437 HRESULT Pause();
439 HRESULT Resume();
443 object,
444 uuid(9397f121-7705-4dc9-b049-98b698188414),
445 pointer_default( unique ),
446 local
448 interface IWMSyncReader : IUnknown
450 HRESULT Open(
451 [in] const WCHAR *pwszFilename);
453 HRESULT Close();
455 HRESULT SetRange(
456 [in] QWORD cnsStartTime,
457 [in] LONGLONG cnsDuration);
459 HRESULT SetRangeByFrame(
460 [in] WORD wStreamNum,
461 [in] QWORD qwFrameNumber,
462 [in] LONGLONG cFramesToRead);
464 HRESULT GetNextSample(
465 [in] WORD wStreamNum,
466 [out] INSSBuffer **ppSample,
467 [out] QWORD *pcnsSampleTime,
468 [out] QWORD *pcnsDuration,
469 [out] DWORD *pdwFlags,
470 [out] DWORD *pdwOutputNum,
471 [out] WORD *pwStreamNum);
473 HRESULT SetStreamsSelected(
474 [in] WORD cStreamCount,
475 [in] WORD *pwStreamNumbers,
476 [in] WMT_STREAM_SELECTION *pSelections);
478 HRESULT GetStreamSelected(
479 [in] WORD wStreamNum,
480 [out] WMT_STREAM_SELECTION *pSelection);
482 HRESULT SetReadStreamSamples(
483 [in] WORD wStreamNum,
484 [in] BOOL fCompressed);
486 HRESULT GetReadStreamSamples(
487 [in] WORD wStreamNum,
488 [out] BOOL *pfCompressed);
490 HRESULT GetOutputSetting(
491 [in] DWORD dwOutputNum,
492 [in] LPCWSTR pszName,
493 [out] WMT_ATTR_DATATYPE *pType,
494 [out, size_is(*pcbLength)] BYTE *pValue,
495 [in, out] WORD *pcbLength);
497 HRESULT SetOutputSetting(
498 [in] DWORD dwOutputNum,
499 [in] LPCWSTR pszName,
500 [in] WMT_ATTR_DATATYPE Type,
501 [in, size_is(cbLength)] const BYTE *pValue,
502 [in] WORD cbLength);
504 HRESULT GetOutputCount(
505 [out] DWORD *pcOutputs);
507 HRESULT GetOutputProps(
508 [in] DWORD dwOutputNum,
509 [out] IWMOutputMediaProps **ppOutput);
511 HRESULT SetOutputProps(
512 [in] DWORD dwOutputNum,
513 [in] IWMOutputMediaProps *pOutput);
515 HRESULT GetOutputFormatCount(
516 [in] DWORD dwOutputNum,
517 [out] DWORD *pcFormats);
519 HRESULT GetOutputFormat(
520 [in] DWORD dwOutputNum,
521 [in] DWORD dwFormatNum,
522 [out] IWMOutputMediaProps **ppProps);
524 HRESULT GetOutputNumberForStream(
525 [in] WORD wStreamNum,
526 [out] DWORD *pdwOutputNum);
528 HRESULT GetStreamNumberForOutput(
529 [in] DWORD dwOutputNum,
530 [out] WORD *pwStreamNum);
532 HRESULT GetMaxOutputSampleSize(
533 [in] DWORD dwOutput,
534 [out] DWORD *pcbMax);
536 HRESULT GetMaxStreamSampleSize(
537 [in] WORD wStream,
538 [out] DWORD *pcbMax);
540 HRESULT OpenStream(
541 [in] IStream *pStream);
545 object,
546 uuid(96406bd5-2b2b-11d3-b36b-00c04f6108ff),
547 pointer_default(unique),
548 local
550 interface IWMInputMediaProps : IWMMediaProps
552 HRESULT GetConnectionName(
553 [out, size_is(*pcchName)] WCHAR *pwszName,
554 [in, out] WORD *pcchName);
556 HRESULT GetGroupName(
557 [out, size_is(*pcchName)] WCHAR *pwszName,
558 [in, out] WORD *pcchName);
562 object,
563 uuid(96406be4-2b2b-11d3-b36b-00c04f6108ff),
564 pointer_default(unique),
565 local
567 interface IWMWriterSink : IUnknown
569 HRESULT OnHeader(
570 [in] INSSBuffer *pHeader);
572 HRESULT IsRealTime(
573 [out] BOOL *pfRealTime);
575 HRESULT AllocateDataUnit(
576 [in] DWORD cbDataUnit,
577 [out] INSSBuffer **ppDataUnit);
579 HRESULT OnDataUnit(
580 [in] INSSBuffer *pDataUnit);
582 HRESULT OnEndWriting();
586 object,
587 uuid(96406bd4-2b2b-11d3-b36b-00c04f6108ff),
588 pointer_default(unique),
589 local
591 interface IWMWriter : IUnknown
593 HRESULT SetProfileByID(
594 [in] REFGUID guidProfile);
596 HRESULT SetProfile(
597 [in] IWMProfile *pProfile);
599 HRESULT SetOutputFilename(
600 [in] const WCHAR *pwszFilename);
602 HRESULT GetInputCount(
603 [out] DWORD *pcInputs);
605 HRESULT GetInputProps(
606 [in] DWORD dwInputNum,
607 [out] IWMInputMediaProps **ppInput);
609 HRESULT SetInputProps(
610 [in] DWORD dwInputNum,
611 [in] IWMInputMediaProps *pInput);
613 HRESULT GetInputFormatCount(
614 [in] DWORD dwInputNumber,
615 [out] DWORD *pcFormats);
617 HRESULT GetInputFormat(
618 [in] DWORD dwInputNumber,
619 [in] DWORD dwFormatNumber,
620 [out] IWMInputMediaProps **pProps);
622 HRESULT BeginWriting();
624 HRESULT EndWriting();
626 HRESULT AllocateSample(
627 [in] DWORD dwSampleSize,
628 [out] INSSBuffer **ppSample);
630 HRESULT WriteSample(
631 [in] DWORD dwInputNum,
632 [in] QWORD cnsSampleTime,
633 [in] DWORD dwFlags,
634 [in] INSSBuffer *pSample);
636 HRESULT Flush();
640 object,
641 uuid(96406be3-2b2b-11d3-b36b-00C04f6108ff),
642 pointer_default(unique),
643 local
645 interface IWMWriterAdvanced : IUnknown
647 HRESULT GetSinkCount(
648 [out] DWORD *pcSinks);
650 HRESULT GetSink(
651 [in] DWORD dwSinkNum,
652 [out] IWMWriterSink **ppSink);
654 HRESULT AddSink(
655 [in] IWMWriterSink *pSink);
657 HRESULT RemoveSink(
658 [in] IWMWriterSink *pSink);
660 HRESULT WriteStreamSample(
661 [in] WORD wStreamNum,
662 [in] QWORD cnsSampleTime,
663 [in] DWORD msSampleSendTime,
664 [in] QWORD cnsSampleDuration,
665 [in] DWORD dwFlags,
666 [in] INSSBuffer *pSample);
668 HRESULT SetLiveSource(
669 BOOL fIsLiveSource);
671 HRESULT IsRealTime(
672 [out] BOOL *pfRealTime);
674 HRESULT GetWriterTime(
675 [out] QWORD *pCurrentTime);
677 HRESULT GetStatistics(
678 [in] WORD wStreamNum,
679 [out] WM_WRITER_STATISTICS *pStats);
681 HRESULT SetSyncTolerance(
682 [in] DWORD msWindow);
684 HRESULT GetSyncTolerance(
685 [out] DWORD *pmsWindow);
689 object,
690 uuid(962dc1ec-c046-4db8-9cc7-26ceae500817),
691 pointer_default(unique),
692 local
694 interface IWMWriterAdvanced2 : IWMWriterAdvanced
696 HRESULT GetInputSetting(
697 [in] DWORD dwInputNum,
698 [in] LPCWSTR pszName,
699 [out] WMT_ATTR_DATATYPE *pType,
700 [out, size_is(*pcbLength)] BYTE *pValue,
701 [in, out] WORD *pcbLength);
703 HRESULT SetInputSetting(
704 [in] DWORD dwInputNum,
705 [in] LPCWSTR pszName,
706 [in] WMT_ATTR_DATATYPE Type,
707 [in, size_is(cbLength)] const BYTE *pValue,
708 [in] WORD cbLength);
712 object,
713 uuid(2cd6492d-7c37-4e76-9d3b-59261183a22e),
714 pointer_default(unique),
715 local
717 interface IWMWriterAdvanced3 : IWMWriterAdvanced2
719 HRESULT GetStatisticsEx(
720 [in] WORD wStreamNum,
721 [out] WM_WRITER_STATISTICS_EX *pStats);
723 HRESULT SetNonBlocking();
726 cpp_quote("HRESULT WINAPI WMCreateWriter(IUnknown*,IWMWriter**);")
728 cpp_quote("EXTERN_GUID(WMMEDIASUBTYPE_Base, 0x00000000,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71);")
729 cpp_quote("EXTERN_GUID(WMMEDIATYPE_Video, 0x73646976,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71);")
730 cpp_quote("EXTERN_GUID(WMMEDIASUBTYPE_RGB1, 0xe436eb78,0x524f,0x11ce,0x9f,0x53,0x00,0x20,0xaf,0x0b,0xa7,0x70);")
731 cpp_quote("EXTERN_GUID(WMMEDIASUBTYPE_RGB4, 0xe436eb79,0x524f,0x11ce,0x9f,0x53,0x00,0x20,0xaf,0x0b,0xa7,0x70);")
732 cpp_quote("EXTERN_GUID(WMMEDIASUBTYPE_RGB8, 0xe436eb7a,0x524f,0x11ce,0x9f,0x53,0x00,0x20,0xaf,0x0b,0xa7,0x70);")
733 cpp_quote("EXTERN_GUID(WMMEDIASUBTYPE_RGB565, 0xe436eb7b,0x524f,0x11ce,0x9f,0x53,0x00,0x20,0xaf,0x0b,0xa7,0x70);")
734 cpp_quote("EXTERN_GUID(WMMEDIASUBTYPE_RGB555, 0xe436eb7c,0x524f,0x11ce,0x9f,0x53,0x00,0x20,0xaf,0x0b,0xa7,0x70);")
735 cpp_quote("EXTERN_GUID(WMMEDIASUBTYPE_RGB24, 0xe436eb7d,0x524f,0x11ce,0x9f,0x53,0x00,0x20,0xaf,0x0b,0xa7,0x70);")
736 cpp_quote("EXTERN_GUID(WMMEDIASUBTYPE_RGB32, 0xe436eb7e,0x524f,0x11ce,0x9f,0x53,0x00,0x20,0xaf,0x0b,0xa7,0x70);")
737 cpp_quote("EXTERN_GUID(WMMEDIASUBTYPE_I420, 0x30323449,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71);")
738 cpp_quote("EXTERN_GUID(WMMEDIASUBTYPE_IYUV, 0x56555949,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71);")
739 cpp_quote("EXTERN_GUID(WMMEDIASUBTYPE_YV12, 0x32315659,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71);")
740 cpp_quote("EXTERN_GUID(WMMEDIASUBTYPE_YUY2, 0x32595559,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71);")
741 cpp_quote("EXTERN_GUID(WMMEDIASUBTYPE_P422, 0x32323450,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71);")
742 cpp_quote("EXTERN_GUID(WMMEDIASUBTYPE_UYVY, 0x59565955,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71);")
743 cpp_quote("EXTERN_GUID(WMMEDIASUBTYPE_YVYU, 0x55595659,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71);")
744 cpp_quote("EXTERN_GUID(WMMEDIASUBTYPE_YVU9, 0x39555659,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71);")
745 cpp_quote("EXTERN_GUID(WMMEDIASUBTYPE_VIDEOIMAGE, 0x1d4a45f2,0xe5f6,0x4b44,0x83,0x88,0xf0,0xae,0x5c,0x0e,0x0c,0x37);")
746 cpp_quote("EXTERN_GUID(WMMEDIASUBTYPE_MP43, 0x3334504d,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71);")
747 cpp_quote("EXTERN_GUID(WMMEDIASUBTYPE_MP4S, 0x5334504d,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71);")
748 cpp_quote("EXTERN_GUID(WMMEDIASUBTYPE_M4S2, 0x3253344d,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71);")
749 cpp_quote("EXTERN_GUID(WMMEDIASUBTYPE_WMV1, 0x31564d57,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71);")
750 cpp_quote("EXTERN_GUID(WMMEDIASUBTYPE_WMV2, 0x32564d57,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71);")
751 cpp_quote("EXTERN_GUID(WMMEDIASUBTYPE_MSS1, 0x3153534d,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71);")
752 cpp_quote("EXTERN_GUID(WMMEDIASUBTYPE_MPEG2_VIDEO, 0xe06d8026,0xdb46,0x11cf,0xb4,0xd1,0x00,0x80,0x5f,0x6c,0xbb,0xea);")
753 cpp_quote("EXTERN_GUID(WMMEDIATYPE_Audio, 0x73647561,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71);")
754 cpp_quote("EXTERN_GUID(WMMEDIASUBTYPE_PCM, 0x00000001,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71);")
755 cpp_quote("EXTERN_GUID(WMMEDIASUBTYPE_DRM, 0x00000009,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71);")
756 cpp_quote("EXTERN_GUID(WMMEDIASUBTYPE_WMAudioV9, 0x00000162,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71);")
757 cpp_quote("EXTERN_GUID(WMMEDIASUBTYPE_WMAudio_Lossless, 0x00000163,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71);")
758 cpp_quote("EXTERN_GUID(WMMEDIASUBTYPE_MSS2, 0x3253534d,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71);")
759 cpp_quote("EXTERN_GUID(WMMEDIASUBTYPE_WMSP1, 0x0000000a,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71);")
760 cpp_quote("EXTERN_GUID(WMMEDIASUBTYPE_WMSP2, 0x0000000b,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71);")
761 cpp_quote("EXTERN_GUID(WMMEDIASUBTYPE_WMV3, 0x33564d57,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71);")
762 cpp_quote("EXTERN_GUID(WMMEDIASUBTYPE_WMVP, 0x50564d57,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71);")
763 cpp_quote("EXTERN_GUID(WMMEDIASUBTYPE_WVP2, 0x32505657,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71);")
764 cpp_quote("EXTERN_GUID(WMMEDIASUBTYPE_WMVA, 0x41564d57,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71);")
765 cpp_quote("EXTERN_GUID(WMMEDIASUBTYPE_WVC1, 0x31435657,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71);")