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
20 import
"wmsbuffer.idl";
21 import
"drmexternals.idl";
23 typedef struct _WMMediaType
27 BOOL bFixedSizeSamples
;
28 BOOL bTemporalCompression
;
33 [size_is(cbFormat
)] BYTE *pbFormat
;
36 typedef struct _WMWriterStatistics
40 QWORD qwDroppedSampleCount
;
41 QWORD qwDroppedByteCount
;
42 DWORD dwCurrentBitrate
;
43 DWORD dwAverageBitrate
;
44 DWORD dwExpectedBitrate
;
45 DWORD dwCurrentSampleRate
;
46 DWORD dwAverageSampleRate
;
47 DWORD dwExpectedSampleRate
;
48 } WM_WRITER_STATISTICS
;
50 typedef struct _WMWriterStatisticsEx
52 DWORD dwBitratePlusOverhead
;
53 DWORD dwCurrentSampleDropRateInQueue
;
54 DWORD dwCurrentSampleDropRateInCodec
;
55 DWORD dwCurrentSampleDropRateInMultiplexer
;
56 DWORD dwTotalSampleDropsInQueue
;
57 DWORD dwTotalSampleDropsInCodec
;
58 DWORD dwTotalSampleDropsInMultiplexer
;
59 } WM_WRITER_STATISTICS_EX
;
61 typedef struct _WMReaderStatistics
65 DWORD cPacketsReceived
;
66 DWORD cPacketsRecovered
;
69 } WM_READER_STATISTICS
;
71 typedef struct _WMReaderClientInfo
75 WCHAR
*wszBrowserUserAgent
;
76 WCHAR
*wszBrowserWebPage
;
81 WCHAR
*wszPlayerUserAgent
;
82 } WM_READER_CLIENTINFO
;
84 typedef enum WMT_ATTR_DATATYPE
95 typedef enum WMT_STATUS
99 WMT_BUFFERING_START
= 2,
100 WMT_BUFFERING_STOP
= 3,
103 WMT_END_OF_SEGMENT
= 5,
104 WMT_END_OF_STREAMING
= 6,
108 WMT_MISSING_CODEC
= 10,
114 WMT_INDEX_PROGRESS
= 16,
115 WMT_SAVEAS_START
= 17,
116 WMT_SAVEAS_STOP
= 18,
117 WMT_NEW_SOURCEFLAGS
= 19,
118 WMT_NEW_METADATA
= 20,
119 WMT_BACKUPRESTORE_BEGIN
= 21,
120 WMT_SOURCE_SWITCH
= 22,
121 WMT_ACQUIRE_LICENSE
= 23,
122 WMT_INDIVIDUALIZE
= 24,
123 WMT_NEEDS_INDIVIDUALIZATION
= 25,
124 WMT_NO_RIGHTS_EX
= 26,
125 WMT_BACKUPRESTORE_END
= 27,
126 WMT_BACKUPRESTORE_CONNECTING
= 28,
127 WMT_BACKUPRESTORE_DISCONNECTING
= 29,
128 WMT_ERROR_WITHURL
= 30,
129 WMT_RESTRICTED_LICENSE
= 31,
130 WMT_CLIENT_CONNECT
= 32,
131 WMT_CLIENT_DISCONNECT
= 33,
132 WMT_NATIVE_OUTPUT_PROPS_CHANGED
= 34,
133 WMT_RECONNECT_START
= 35,
134 WMT_RECONNECT_END
= 36,
135 WMT_CLIENT_CONNECT_EX
= 37,
136 WMT_CLIENT_DISCONNECT_EX
= 38,
137 WMT_SET_FEC_SPAN
= 39,
138 WMT_PREROLL_READY
= 40,
139 WMT_PREROLL_COMPLETE
= 41,
140 WMT_CLIENT_PROPERTIES
= 42,
141 WMT_LICENSEURL_SIGNATURE_STATE
= 43,
142 WMT_INIT_PLAYLIST_BURN
= 44,
143 WMT_TRANSCRYPTOR_INIT
= 45,
144 WMT_TRANSCRYPTOR_SEEKED
= 46,
145 WMT_TRANSCRYPTOR_READ
= 47,
146 WMT_TRANSCRYPTOR_CLOSED
= 48,
147 WMT_PROXIMITY_RESULT
= 49,
148 WMT_PROXIMITY_COMPLETED
= 50,
149 WMT_CONTENT_ENABLER
= 51
152 typedef enum WMT_STREAM_SELECTION
155 WMT_CLEANPOINT_ONLY
= 1,
157 } WMT_STREAM_SELECTION
;
159 typedef enum WMT_VERSION
161 WMT_VER_4_0
= 0x00040000,
162 WMT_VER_7_0
= 0x00070000,
163 WMT_VER_8_0
= 0x00080000,
164 WMT_VER_9_0
= 0x00090000
167 typedef enum WMT_PLAY_MODE
169 WMT_PLAY_MODE_AUTOSELECT
,
171 WMT_PLAY_MODE_DOWNLOAD
,
172 WMT_PLAY_MODE_STREAMING
175 typedef enum tagWMT_OFFSET_FORMAT
177 WMT_OFFSET_FORMAT_100NS
,
178 WMT_OFFSET_FORMAT_FRAME_NUMBERS
,
179 WMT_OFFSET_FORMAT_PLAYLIST_OFFSET
,
180 WMT_OFFSET_FORMAT_TIMECODE
,
181 WMT_OFFSET_FORMAT_100NS_APPROXIMATE
184 typedef enum WMT_CODEC_INFO_TYPE
186 WMT_CODECINFO_AUDIO
= 0,
187 WMT_CODECINFO_VIDEO
= 1,
188 WMT_CODECINFO_UNKNOWN
= 0xFFFFFFFF,
189 } WMT_CODEC_INFO_TYPE
;
191 typedef enum WMT_PROXY_SETTINGS
193 WMT_PROXY_SETTING_NONE
= 0,
194 WMT_PROXY_SETTING_MANUAL
= 1,
195 WMT_PROXY_SETTING_AUTO
= 2,
196 WMT_PROXY_SETTING_BROWSER
= 3,
197 WMT_PROXY_SETTING_MAX
198 } WMT_PROXY_SETTINGS
;
200 typedef enum tagWMT_STORAGE_FORMAT
202 WMT_Storage_Format_MP3
= 0,
203 WMT_Storage_Format_V1
= 1
204 } WMT_STORAGE_FORMAT
;
206 #include
<pshpack2.h
>
207 typedef struct _WMStreamPrioritizationRecord
211 } WM_STREAM_PRIORITY_RECORD
;
214 typedef struct _WM_PORT_NUMBER_RANGE
218 } WM_PORT_NUMBER_RANGE
;
220 typedef LPCWSTR LPCWSTR_WMSDK_TYPE_SAFE
;
224 uuid(6d7cdc70
-9888-11d3
-8edc
-00c04f6109cf
),
225 pointer_default(unique),
228 interface IWMStatusCallback
: IUnknown
231 [in] WMT_STATUS Status
,
233 [in] WMT_ATTR_DATATYPE dwType
,
235 [in] void *pvContext
);
240 uuid(96406bd8
-2b2b
-11d3
-b36b
-00c04f6108ff
),
241 pointer_default(unique),
244 interface IWMReaderCallback
: IWMStatusCallback
247 [in] DWORD dwOutputNum
,
248 [in] QWORD cnsSampleTime
,
249 [in] QWORD cnsSampleDuration
,
251 [in] INSSBuffer
*pSample
,
252 [in] void *pvContext
);
257 uuid(96406Bdd
-2b2b
-11d3
-b36b
-00c04f6108ff
),
258 pointer_default(unique),
261 interface IWMStreamList
: IUnknown
264 [out, size_is(*pcStreams
)] WORD
*pwStreamNumArray
,
265 [in, out] WORD
*pcStreams
);
267 HRESULT AddStream
([in] WORD wStreamNum
);
268 HRESULT RemoveStream
([in] WORD wStreamNum
);
273 uuid(96406Bde
-2b2b
-11d3
-b36b
-00c04f6108ff
),
274 pointer_default(unique),
277 interface IWMMutualExclusion
: IWMStreamList
279 HRESULT GetType
([out] GUID
*pguidType
);
280 HRESULT SetType
([in] REFGUID guidType
);
285 uuid(ad694af1
-f8d9
-42f8
-bc47
-70311b0c4f9e
),
286 pointer_default(unique),
289 interface IWMBandwidthSharing
: IWMStreamList
291 HRESULT GetType
([out] GUID
*guid
);
292 HRESULT SetType
([in] REFGUID guid
);
294 HRESULT GetBandwidth
(
295 [out] DWORD
*bitrate
,
296 [out] DWORD
*buffer
);
298 HRESULT SetBandwidth
(
305 uuid(8c1c6090
-f9a8
-4748-8ec3
-dd1108ba1e77
),
306 pointer_default(unique),
309 interface IWMStreamPrioritization
: IUnknown
311 HRESULT GetPriorityRecords
(
312 [out] WM_STREAM_PRIORITY_RECORD
*array
,
313 [in, out] WORD
*records
);
315 HRESULT SetPriorityRecords
(
316 [in] WM_STREAM_PRIORITY_RECORD
*array
,
322 uuid(96406Bdc
-2b2b
-11d3
-b36b
-00c04f6108ff
),
323 pointer_default(unique),
326 interface IWMStreamConfig
: IUnknown
328 HRESULT GetStreamType
([out] GUID
*pguidStreamType
);
329 HRESULT GetStreamNumber
([out] WORD
*pwStreamNum
);
330 HRESULT SetStreamNumber
([in] WORD wStreamNum
);
332 HRESULT GetStreamName
(
333 [out, size_is(*pcchStreamName
)] WCHAR
*pwszStreamName
,
334 [in, out] WORD
*pcchStreamName
);
336 HRESULT SetStreamName
([in] LPCWSTR_WMSDK_TYPE_SAFE pwszStreamName
);
338 HRESULT GetConnectionName
(
339 [out, size_is(*pcchInputName
)] WCHAR
*pwszInputName
,
340 [in, out] WORD
*pcchInputName
);
342 HRESULT SetConnectionName
([in] LPCWSTR_WMSDK_TYPE_SAFE pwszInputName
);
343 HRESULT GetBitrate
([out] DWORD
*pdwBitrate
);
344 HRESULT SetBitrate
([in] DWORD pdwBitrate
);
345 HRESULT GetBufferWindow
([out] DWORD
*pmsBufferWindow
);
346 HRESULT SetBufferWindow
([in] DWORD msBufferWindow
);
351 uuid(96406bdb
-2b2b
-11d3
-b36b
-00c04f6108ff
),
352 pointer_default(unique),
355 interface IWMProfile
: IUnknown
358 [out] WMT_VERSION
*pdwVersion
);
361 [out, size_is(*pcchName
)] WCHAR
*pwszName
,
362 [in, out] DWORD
*pcchName
);
365 [in] const WCHAR
*pwszName
);
367 HRESULT GetDescription
(
368 [out, size_is(*pcchDescription
)] WCHAR
*pwszDescription
,
369 [in, out] DWORD
*pcchDescription
);
371 HRESULT SetDescription
(
372 [in] const WCHAR
*pwszDescription
);
374 HRESULT GetStreamCount
(
375 [out] DWORD
*pcStreams
);
378 [in] DWORD dwStreamIndex
,
379 [out] IWMStreamConfig
**ppConfig
);
381 HRESULT GetStreamByNumber
(
382 [in] WORD wStreamNum
,
383 [out] IWMStreamConfig
**ppConfig
);
385 HRESULT RemoveStream
(
386 [in] IWMStreamConfig
*pConfig
);
388 HRESULT RemoveStreamByNumber
(
389 [in] WORD wStreamNum
);
392 [in] IWMStreamConfig
*pConfig
);
394 HRESULT ReconfigStream
(
395 [in] IWMStreamConfig
*pConfig
);
397 HRESULT CreateNewStream
(
398 [in] REFGUID guidStreamType
,
399 [out] IWMStreamConfig
**ppConfig
);
401 HRESULT GetMutualExclusionCount
(
404 HRESULT GetMutualExclusion
(
405 [in] DWORD dwMEIndex
,
406 [out] IWMMutualExclusion
**ppME
);
408 HRESULT RemoveMutualExclusion
(
409 [in] IWMMutualExclusion
*pME
);
411 HRESULT AddMutualExclusion
(
412 [in] IWMMutualExclusion
*pME
);
414 HRESULT CreateNewMutualExclusion
(
415 [out] IWMMutualExclusion
**ppME
);
420 uuid(07e72d33
-d94e
-4be7
-8843-60ae5ff7e5f5
),
421 pointer_default(unique),
424 interface IWMProfile2
: IWMProfile
426 HRESULT GetProfileID
([out] GUID
*guid
);
431 uuid(00ef96cc
-a461
-4546-8bcd
-c9a28f0e06f5
),
432 pointer_default(unique),
435 interface IWMProfile3
: IWMProfile2
437 HRESULT GetStorageFormat
([out] WMT_STORAGE_FORMAT
*storage
);
438 HRESULT SetStorageFormat
([in] WMT_STORAGE_FORMAT storage
);
440 HRESULT GetBandwidthSharingCount
([out] DWORD
*count
);
442 HRESULT GetBandwidthSharing
(
444 [out] IWMBandwidthSharing
**bandwidth
);
446 HRESULT RemoveBandwidthSharing
([in] IWMBandwidthSharing
*bandwidth
);
448 HRESULT AddBandwidthSharing
([in] IWMBandwidthSharing
*bandwidth
);
450 HRESULT CreateNewBandwidthSharing
([out] IWMBandwidthSharing
**bandwidth
);
452 HRESULT GetStreamPrioritization
([out] IWMStreamPrioritization
**stream
);
454 HRESULT SetStreamPrioritization
([in] IWMStreamPrioritization
*stream
);
456 HRESULT RemoveStreamPrioritization
();
458 HRESULT CreateNewStreamPrioritization
([out] IWMStreamPrioritization
**stream
);
460 HRESULT GetExpectedPacketCount
(
462 [out] QWORD
*packets
);
467 uuid(d16679f2
-6ca0
-472d
-8d31
-2f5d55aee155
),
468 pointer_default(unique),
471 interface IWMProfileManager
: IUnknown
473 HRESULT CreateEmptyProfile
(
474 [in] WMT_VERSION dwVersion
,
475 [out] IWMProfile
**ppProfile
);
477 HRESULT LoadProfileByID
(
478 [in] REFGUID guidProfile
,
479 [out] IWMProfile
**ppProfile
);
481 HRESULT LoadProfileByData
(
482 [in] const WCHAR
*pwszProfile
,
483 [out] IWMProfile
**ppProfile
);
486 [in] IWMProfile
*pIWMProfile
,
487 [in] WCHAR
*pwszProfile
,
488 [in, out] DWORD
*pdwLength
);
490 HRESULT GetSystemProfileCount
(
491 [out] DWORD
*pcProfiles
);
493 HRESULT LoadSystemProfile
(
494 [in] DWORD dwProfileIndex
,
495 [out] IWMProfile
**ppProfile
);
498 cpp_quote
("HRESULT WINAPI WMCreateProfileManager(IWMProfileManager**);")
502 uuid(96406bce
-2b2b
-11d3
-b36b
-00c04f6108ff
),
503 pointer_default(unique),
506 interface IWMMediaProps
: IUnknown
509 [out] GUID
*pguidType
);
511 HRESULT GetMediaType
(
512 [out] WM_MEDIA_TYPE
*pType
,
513 [in, out] DWORD
*pcbType
);
515 HRESULT SetMediaType
(
516 [in] WM_MEDIA_TYPE
*pType
);
521 uuid(96406bd7
-2b2b
-11d3
-b36b
-00c04f6108ff
),
522 pointer_default(unique),
525 interface IWMOutputMediaProps
: IWMMediaProps
527 HRESULT GetStreamGroupName
(
528 [out, size_is(*pcchName
)] WCHAR
*pwszName
,
529 [in, out] WORD
*pcchName
);
531 HRESULT GetConnectionName
(
532 [out, size_is(*pcchName
)] WCHAR
*pwszName
,
533 [in, out] WORD
*pcchName
);
538 uuid(96406bd9
-2b2b
-11d3
-b36b
-00c04f6108ff
),
539 pointer_default(unique),
542 interface IWMMetadataEditor
: IUnknown
545 [in] const WCHAR
*pwszFilename
);
554 uuid(96406bd6
-2b2b
-11d3
-b36b
-00c04f6108ff
),
555 pointer_default(unique),
558 interface IWMReader
: IUnknown
561 [in] const WCHAR
*pwszURL
,
562 [in] IWMReaderCallback
*pCallback
,
563 [in] void *pvContext
);
567 HRESULT GetOutputCount
(
568 [out] DWORD
*pcOutputs
);
570 HRESULT GetOutputProps
(
571 [in] DWORD dwOutputNum
,
572 [out] IWMOutputMediaProps
**ppOutput
);
574 HRESULT SetOutputProps
(
575 [in] DWORD dwOutputNum
,
576 [in] IWMOutputMediaProps
*pOutput
);
578 HRESULT GetOutputFormatCount
(
579 [in] DWORD dwOutputNumber
,
580 [out] DWORD
*pcFormats
);
582 HRESULT GetOutputFormat
(
583 [in] DWORD dwOutputNumber
,
584 [in] DWORD dwFormatNumber
,
585 [out] IWMOutputMediaProps
** ppProps
);
589 [in] QWORD cnsDuration
,
591 [in] void *pvContext
);
602 uuid(e5b7ca9a
-0f1c
-4f66
-9002-74ec50d8b304
),
603 pointer_default(unique),
606 interface IWMPlayerHook
: IUnknown
613 uuid(96406bea
-2b2b
-11d3
-b36b
-00c04f6108ff
),
614 pointer_default(unique),
617 interface IWMReaderAdvanced
: IUnknown
619 HRESULT SetUserProvidedClock
(
620 [in] BOOL fUserClock
);
622 HRESULT GetUserProvidedClock
(
623 [out] BOOL
*pfUserClock
);
628 HRESULT SetManualStreamSelection
(
629 [in] BOOL fSelection
);
631 HRESULT GetManualStreamSelection
(
632 [out] BOOL
*pfSelection
);
634 HRESULT SetStreamsSelected
(
635 [in] WORD cStreamCount
,
636 [in] WORD
*pwStreamNumbers
,
637 [in] WMT_STREAM_SELECTION
*pSelections
);
639 HRESULT GetStreamSelected
(
640 [in] WORD wStreamNum
,
641 [out] WMT_STREAM_SELECTION
*pSelection
);
643 HRESULT SetReceiveSelectionCallbacks
(
644 [in] BOOL fGetCallbacks
);
646 HRESULT GetReceiveSelectionCallbacks
(
647 [out] BOOL
*pfGetCallbacks
);
649 HRESULT SetReceiveStreamSamples
(
650 [in] WORD wStreamNum
,
651 [in] BOOL fReceiveStreamSamples
);
653 HRESULT GetReceiveStreamSamples
(
654 [in] WORD wStreamNum
,
655 [out] BOOL
*pfReceiveStreamSamples
);
657 HRESULT SetAllocateForOutput
(
658 [in] DWORD dwOutputNum
,
659 [in] BOOL fAllocate
);
661 HRESULT GetAllocateForOutput
(
662 [in] DWORD dwOutputNum
,
663 [out] BOOL
*pfAllocate
);
665 HRESULT SetAllocateForStream
(
666 [in] WORD wStreamNum
,
667 [in] BOOL fAllocate
);
669 HRESULT GetAllocateForStream
(
670 [in] WORD dwStreamNum
,
671 [out] BOOL
*pfAllocate
);
673 HRESULT GetStatistics
(
674 [in, out] WM_READER_STATISTICS
*pStatistics
);
676 HRESULT SetClientInfo
(
677 [in] WM_READER_CLIENTINFO
*pClientInfo
);
679 HRESULT GetMaxOutputSampleSize
(
681 [out] DWORD
*pcbMax
);
683 HRESULT GetMaxStreamSampleSize
(
685 [out] DWORD
*pcbMax
);
687 HRESULT NotifyLateDelivery
(
693 uuid(ae14a945
-b90c
-4d0d
-9127-80d665f7d73e
),
694 pointer_default(unique),
697 interface IWMReaderAdvanced2
: IWMReaderAdvanced
700 [in] WMT_PLAY_MODE Mode
);
703 [out] WMT_PLAY_MODE
*pMode
);
705 HRESULT GetBufferProgress
(
706 [out] DWORD
*pdwPercent
,
707 [out] QWORD
*pcnsBuffering
);
709 HRESULT GetDownloadProgress
(
710 [out] DWORD
*pdwPercent
,
711 [out] QWORD
*pqwBytesDownloaded
,
712 [out] QWORD
*pcnsDownload
);
714 HRESULT GetSaveAsProgress
(
715 [out] DWORD
*pdwPercent
);
718 [in] const WCHAR
*pwszFilename
);
720 HRESULT GetProtocolName
(
721 [out, size_is(*pcchProtocol
)] WCHAR
*pwszProtocol
,
722 [in, out] DWORD
*pcchProtocol
);
724 HRESULT StartAtMarker
(
725 [in] WORD wMarkerIndex
,
726 [in] QWORD cnsDuration
,
728 [in] void *pvContext
);
730 HRESULT GetOutputSetting
(
731 [in] DWORD dwOutputNum
,
732 [in] LPCWSTR pszName
,
733 [out] WMT_ATTR_DATATYPE
*pType
,
734 [out, size_is(*pcbLength
)] BYTE *pValue
,
735 [in, out] WORD
*pcbLength
);
737 HRESULT SetOutputSetting
(
738 [in] DWORD dwOutputNum
,
739 [in] LPCWSTR pszName
,
740 [in] WMT_ATTR_DATATYPE Type
,
741 [in, size_is(cbLength
)] const BYTE *pValue
,
746 [in] QWORD cnsDuration
,
749 HRESULT SetLogClientID
(
750 [in] BOOL fLogClientID
);
752 HRESULT GetLogClientID
(
753 [out] BOOL
*pfLogClientID
);
755 HRESULT StopBuffering
();
758 [in] IStream
*pStream
,
759 [in] IWMReaderCallback
*pCallback
,
760 [in] void *pvContext
);
765 uuid(5dc0674b
-f04B
-4a4e
-9f2a
-b1afde2c8100
),
766 pointer_default(unique),
769 interface IWMReaderAdvanced3
: IWMReaderAdvanced2
771 HRESULT StopNetStreaming
();
773 HRESULT StartAtPosition
(
774 [in] WORD wStreamNum
,
775 [in] void *pvOffsetStart
,
776 [in] void *pvDuration
,
777 [in] WMT_OFFSET_FORMAT dwOffsetFormat
,
779 [in] void *pvContext
);
784 uuid(945a76a2
-12ae
-4d48
-bd3c
-cd1d90399b85
),
785 pointer_default(unique),
788 interface IWMReaderAdvanced4
: IWMReaderAdvanced3
790 HRESULT GetLanguageCount
(
791 [in] DWORD dwOutputNum
,
792 [out] WORD
*pwLanguageCount
);
795 [in] DWORD dwOutputNum
,
797 [out, size_is(*pcchLanguageStringLength
)] WCHAR
*pwszLanguageString
,
798 [in, out] WORD
*pcchLanguageStringLength
);
800 HRESULT GetMaxSpeedFactor
(
801 [out] double *pdblFactor
);
803 HRESULT IsUsingFastCache
(
804 [out] BOOL
*pfUsingFastCache
);
807 [in] LPCWSTR wszNameSpace
,
808 [in] LPCWSTR wszName
,
809 [in] LPCWSTR wszValue
);
811 HRESULT SendLogParams
();
813 HRESULT CanSaveFileAs
(
814 [out] BOOL
*pfCanSave
);
816 HRESULT CancelSaveFileAs
();
819 [out, size_is(*pcchURL
)] WCHAR
*pwszURL
,
820 [in, out] DWORD
*pcchURL
);
825 uuid(24c44db0
-55d1
-49ae
-a5cc
-f13815e36363
),
826 pointer_default(unique),
829 interface IWMReaderAdvanced5
: IWMReaderAdvanced4
831 HRESULT SetPlayerHook
(
832 [in] DWORD dwOutputNum
,
833 [in] IWMPlayerHook
*pHook
);
838 uuid(18a2e7f8
-428f
-4acd
-8a00
-e64639bc93de
),
839 pointer_default(unique),
842 interface IWMReaderAdvanced6
: IWMReaderAdvanced5
844 HRESULT SetProtectStreamSamples
(
845 [in, size_is(cbCertificate
)] BYTE *pbCertificate
,
846 [in] DWORD cbCertificate
,
847 [in] DWORD dwCertificateType
,
849 [out, size_is(*pcbInitializationVector
)] BYTE *pbInitializationVector
,
850 [in, out] DWORD
*pcbInitializationVector
);
855 uuid(9397f121
-7705-4dc9
-b049
-98b698188414
),
856 pointer_default( unique ),
859 interface IWMSyncReader
: IUnknown
862 [in] const WCHAR
*pwszFilename
);
867 [in] QWORD cnsStartTime
,
868 [in] LONGLONG cnsDuration
);
870 HRESULT SetRangeByFrame
(
871 [in] WORD wStreamNum
,
872 [in] QWORD qwFrameNumber
,
873 [in] LONGLONG cFramesToRead
);
875 HRESULT GetNextSample
(
876 [in] WORD wStreamNum
,
877 [out] INSSBuffer
**ppSample
,
878 [out] QWORD
*pcnsSampleTime
,
879 [out] QWORD
*pcnsDuration
,
880 [out] DWORD
*pdwFlags
,
881 [out] DWORD
*pdwOutputNum
,
882 [out] WORD
*pwStreamNum
);
884 HRESULT SetStreamsSelected
(
885 [in] WORD cStreamCount
,
886 [in] WORD
*pwStreamNumbers
,
887 [in] WMT_STREAM_SELECTION
*pSelections
);
889 HRESULT GetStreamSelected
(
890 [in] WORD wStreamNum
,
891 [out] WMT_STREAM_SELECTION
*pSelection
);
893 HRESULT SetReadStreamSamples
(
894 [in] WORD wStreamNum
,
895 [in] BOOL fCompressed
);
897 HRESULT GetReadStreamSamples
(
898 [in] WORD wStreamNum
,
899 [out] BOOL
*pfCompressed
);
901 HRESULT GetOutputSetting
(
902 [in] DWORD dwOutputNum
,
903 [in] LPCWSTR pszName
,
904 [out] WMT_ATTR_DATATYPE
*pType
,
905 [out, size_is(*pcbLength
)] BYTE *pValue
,
906 [in, out] WORD
*pcbLength
);
908 HRESULT SetOutputSetting
(
909 [in] DWORD dwOutputNum
,
910 [in] LPCWSTR pszName
,
911 [in] WMT_ATTR_DATATYPE Type
,
912 [in, size_is(cbLength
)] const BYTE *pValue
,
915 HRESULT GetOutputCount
(
916 [out] DWORD
*pcOutputs
);
918 HRESULT GetOutputProps
(
919 [in] DWORD dwOutputNum
,
920 [out] IWMOutputMediaProps
**ppOutput
);
922 HRESULT SetOutputProps
(
923 [in] DWORD dwOutputNum
,
924 [in] IWMOutputMediaProps
*pOutput
);
926 HRESULT GetOutputFormatCount
(
927 [in] DWORD dwOutputNum
,
928 [out] DWORD
*pcFormats
);
930 HRESULT GetOutputFormat
(
931 [in] DWORD dwOutputNum
,
932 [in] DWORD dwFormatNum
,
933 [out] IWMOutputMediaProps
**ppProps
);
935 HRESULT GetOutputNumberForStream
(
936 [in] WORD wStreamNum
,
937 [out] DWORD
*pdwOutputNum
);
939 HRESULT GetStreamNumberForOutput
(
940 [in] DWORD dwOutputNum
,
941 [out] WORD
*pwStreamNum
);
943 HRESULT GetMaxOutputSampleSize
(
945 [out] DWORD
*pcbMax
);
947 HRESULT GetMaxStreamSampleSize
(
949 [out] DWORD
*pcbMax
);
952 [in] IStream
*pStream
);
957 uuid(96406bd5
-2b2b
-11d3
-b36b
-00c04f6108ff
),
958 pointer_default(unique),
961 interface IWMInputMediaProps
: IWMMediaProps
963 HRESULT GetConnectionName
(
964 [out, size_is(*pcchName
)] WCHAR
*pwszName
,
965 [in, out] WORD
*pcchName
);
967 HRESULT GetGroupName
(
968 [out, size_is(*pcchName
)] WCHAR
*pwszName
,
969 [in, out] WORD
*pcchName
);
974 uuid(96406be4
-2b2b
-11d3
-b36b
-00c04f6108ff
),
975 pointer_default(unique),
978 interface IWMWriterSink
: IUnknown
981 [in] INSSBuffer
*pHeader
);
984 [out] BOOL
*pfRealTime
);
986 HRESULT AllocateDataUnit
(
987 [in] DWORD cbDataUnit
,
988 [out] INSSBuffer
**ppDataUnit
);
991 [in] INSSBuffer
*pDataUnit
);
993 HRESULT OnEndWriting
();
998 uuid(96406bd4
-2b2b
-11d3
-b36b
-00c04f6108ff
),
999 pointer_default(unique),
1002 interface IWMWriter
: IUnknown
1004 HRESULT SetProfileByID
(
1005 [in] REFGUID guidProfile
);
1008 [in] IWMProfile
*pProfile
);
1010 HRESULT SetOutputFilename
(
1011 [in] const WCHAR
*pwszFilename
);
1013 HRESULT GetInputCount
(
1014 [out] DWORD
*pcInputs
);
1016 HRESULT GetInputProps
(
1017 [in] DWORD dwInputNum
,
1018 [out] IWMInputMediaProps
**ppInput
);
1020 HRESULT SetInputProps
(
1021 [in] DWORD dwInputNum
,
1022 [in] IWMInputMediaProps
*pInput
);
1024 HRESULT GetInputFormatCount
(
1025 [in] DWORD dwInputNumber
,
1026 [out] DWORD
*pcFormats
);
1028 HRESULT GetInputFormat
(
1029 [in] DWORD dwInputNumber
,
1030 [in] DWORD dwFormatNumber
,
1031 [out] IWMInputMediaProps
**pProps
);
1033 HRESULT BeginWriting
();
1035 HRESULT EndWriting
();
1037 HRESULT AllocateSample
(
1038 [in] DWORD dwSampleSize
,
1039 [out] INSSBuffer
**ppSample
);
1041 HRESULT WriteSample
(
1042 [in] DWORD dwInputNum
,
1043 [in] QWORD cnsSampleTime
,
1045 [in] INSSBuffer
*pSample
);
1052 uuid(96406be3
-2b2b
-11d3
-b36b
-00C04f6108ff
),
1053 pointer_default(unique),
1056 interface IWMWriterAdvanced
: IUnknown
1058 HRESULT GetSinkCount
(
1059 [out] DWORD
*pcSinks
);
1062 [in] DWORD dwSinkNum
,
1063 [out] IWMWriterSink
**ppSink
);
1066 [in] IWMWriterSink
*pSink
);
1069 [in] IWMWriterSink
*pSink
);
1071 HRESULT WriteStreamSample
(
1072 [in] WORD wStreamNum
,
1073 [in] QWORD cnsSampleTime
,
1074 [in] DWORD msSampleSendTime
,
1075 [in] QWORD cnsSampleDuration
,
1077 [in] INSSBuffer
*pSample
);
1079 HRESULT SetLiveSource
(
1080 BOOL fIsLiveSource
);
1083 [out] BOOL
*pfRealTime
);
1085 HRESULT GetWriterTime
(
1086 [out] QWORD
*pCurrentTime
);
1088 HRESULT GetStatistics
(
1089 [in] WORD wStreamNum
,
1090 [out] WM_WRITER_STATISTICS
*pStats
);
1092 HRESULT SetSyncTolerance
(
1093 [in] DWORD msWindow
);
1095 HRESULT GetSyncTolerance
(
1096 [out] DWORD
*pmsWindow
);
1101 uuid(962dc1ec
-c046
-4db8
-9cc7
-26ceae500817
),
1102 pointer_default(unique),
1105 interface IWMWriterAdvanced2
: IWMWriterAdvanced
1107 HRESULT GetInputSetting
(
1108 [in] DWORD dwInputNum
,
1109 [in] LPCWSTR pszName
,
1110 [out] WMT_ATTR_DATATYPE
*pType
,
1111 [out, size_is(*pcbLength
)] BYTE *pValue
,
1112 [in, out] WORD
*pcbLength
);
1114 HRESULT SetInputSetting
(
1115 [in] DWORD dwInputNum
,
1116 [in] LPCWSTR pszName
,
1117 [in] WMT_ATTR_DATATYPE Type
,
1118 [in, size_is(cbLength
)] const BYTE *pValue
,
1119 [in] WORD cbLength
);
1124 uuid(2cd6492d
-7c37
-4e76
-9d3b
-59261183a22e
),
1125 pointer_default(unique),
1128 interface IWMWriterAdvanced3
: IWMWriterAdvanced2
1130 HRESULT GetStatisticsEx
(
1131 [in] WORD wStreamNum
,
1132 [out] WM_WRITER_STATISTICS_EX
*pStats
);
1134 HRESULT SetNonBlocking
();
1139 uuid(96406bda
-2b2b
-11d3
-b36b
-00c04f6108ff
),
1140 pointer_default(unique),
1143 interface IWMHeaderInfo
: IUnknown
1145 HRESULT GetAttributeCount
(
1146 [in] WORD stream_num
,
1147 [out] WORD
*attributes
);
1149 HRESULT GetAttributeByIndex
(
1151 [in, out] WORD
*stream_num
,
1152 [out, size_is( *name_len
)] WCHAR
*name
,
1153 [in, out] WORD
*name_len
,
1154 [out] WMT_ATTR_DATATYPE
*type
,
1155 [out, size_is( *length
)] BYTE *value
,
1156 [in, out] WORD
*length
);
1158 HRESULT GetAttributeByName
(
1159 [in, out] WORD
*stream_num
,
1161 [out] WMT_ATTR_DATATYPE
*type
,
1162 [out, size_is( *length
)] BYTE *value
,
1163 [in, out] WORD
*length
);
1165 HRESULT SetAttribute
(
1166 [in] WORD stream_num
,
1168 [in] WMT_ATTR_DATATYPE type
,
1169 [in, size_is( length
)] const BYTE *value
,
1172 HRESULT GetMarkerCount
(
1173 [out] WORD
*markers
);
1177 [out, size_is( *marker_len
)] WCHAR
*marker_name
,
1178 [in, out] WORD
*marker_len
,
1179 [out] QWORD
*marker_time
);
1182 [in] LPCWSTR_WMSDK_TYPE_SAFE marker_name
,
1183 [in] QWORD marker_time
);
1185 HRESULT RemoveMarker
(
1188 HRESULT GetScriptCount
(
1189 [out] WORD
*scripts
);
1193 [out, size_is( *type_len
)] WCHAR
*type
,
1194 [in, out] WORD
*type_len
,
1195 [out, size_is( *command_len
)] WCHAR
*command
,
1196 [in, out] WORD
*command_len
,
1197 [out] QWORD
*script_time
);
1200 [in] LPCWSTR_WMSDK_TYPE_SAFE type
,
1201 [in] LPCWSTR_WMSDK_TYPE_SAFE command
,
1202 [in] QWORD script_time
);
1204 HRESULT RemoveScript
(
1210 uuid(15cf9781
-454e-482e
-b393
-85fae487a810
),
1211 pointer_default(unique),
1214 interface IWMHeaderInfo2
: IWMHeaderInfo
1216 HRESULT GetCodecInfoCount
(
1217 [out] DWORD
*codec_infos
);
1219 HRESULT GetCodecInfo
(
1221 [in, out] WORD
*name_len
,
1222 [out, size_is( *name_len
)] WCHAR
*name
,
1223 [in, out] WORD
*description_len
,
1224 [out, size_is( *description_len
)] WCHAR
*description
,
1225 [out] WMT_CODEC_INFO_TYPE
*codec_type
,
1226 [in, out] WORD
*codec_info_cnt
,
1227 [out, size_is( *codec_info_cnt
)] BYTE *codec_info
);
1232 uuid(15cc68e3
-27cc
-4ecd
-b222
-3f5d02d80bd5
),
1233 pointer_default(unique),
1236 interface IWMHeaderInfo3
: IWMHeaderInfo2
1238 HRESULT GetAttributeCountEx
(
1239 [in] WORD stream_num
,
1240 [out] WORD
*attributes
);
1242 HRESULT GetAttributeIndices
(
1243 [in] WORD stream_num
,
1245 [in] WORD
*lang_index
,
1246 [out, size_is( *count
)] WORD
*indices
,
1247 [in, out] WORD
*count
);
1249 HRESULT GetAttributeByIndexEx
(
1250 [in] WORD stream_num
,
1252 [out, size_is( *name_len
)] LPWSTR name
,
1253 [in, out] WORD
*name_len
,
1254 [out] WMT_ATTR_DATATYPE
*type
,
1255 [out] WORD
*lang_index
,
1256 [out, size_is( *data_len
)] BYTE *value
,
1257 [in, out] DWORD
*data_len
);
1259 HRESULT ModifyAttribute
(
1260 [in] WORD stream_num
,
1262 [in] WMT_ATTR_DATATYPE type
,
1263 [in] WORD lang_index
,
1264 [in, size_is( length
)] const BYTE *value
,
1265 [in] DWORD length
);
1267 HRESULT AddAttribute
(
1268 [in] WORD stream_num
,
1271 [in] WMT_ATTR_DATATYPE type
,
1272 [in] WORD lang_index
,
1273 [in, size_is( length
)] const BYTE *value
,
1274 [in] DWORD length
);
1276 HRESULT DeleteAttribute
(
1277 [in] WORD stream_num
,
1280 HRESULT AddCodecInfo
(
1281 [in] LPCWSTR_WMSDK_TYPE_SAFE name
,
1282 [in] LPCWSTR_WMSDK_TYPE_SAFE description
,
1283 [in] WMT_CODEC_INFO_TYPE codec_type
,
1284 [in] WORD codec_info_cnt
,
1285 [in, size_is( codec_info_cnt
)] BYTE *codec_info
);
1290 uuid(96406bec
-2b2b
-11d3
-b36b
-00c04f6108ff
),
1291 pointer_default(unique),
1294 interface IWMReaderNetworkConfig
: IUnknown
1296 HRESULT GetBufferingTime
([out] QWORD
*buffering_time
);
1297 HRESULT SetBufferingTime
([in] QWORD buffering_time
);
1299 HRESULT GetUDPPortRanges
(
1300 [out, size_is( *ranges
)] WM_PORT_NUMBER_RANGE
*array
,
1301 [in, out] DWORD
*ranges
);
1303 HRESULT SetUDPPortRanges
(
1304 [in, size_is( ranges
)] WM_PORT_NUMBER_RANGE
*array
,
1307 HRESULT GetProxySettings
(
1308 [in] const WCHAR
*protocol
,
1309 [out] WMT_PROXY_SETTINGS
*proxy
);
1311 HRESULT SetProxySettings
(
1312 [in] LPCWSTR protocol
,
1313 [in] WMT_PROXY_SETTINGS proxy
);
1315 HRESULT GetProxyHostName
(
1316 [in] const WCHAR
*protocol
,
1317 [out, size_is( *size
)] WCHAR
*hostname
,
1318 [in, out] DWORD
*size
);
1320 HRESULT SetProxyHostName
(
1321 [in] const WCHAR
*protocol
,
1322 [in] const WCHAR
*hostname
);
1324 HRESULT GetProxyPort
(
1325 [in] const WCHAR
*protocol
,
1328 HRESULT SetProxyPort
(
1329 [in] const WCHAR
*protocol
,
1332 HRESULT GetProxyExceptionList
(
1333 [in] const WCHAR
*protocol
,
1334 [out, size_is( *count
)] WCHAR
*exceptions
,
1335 [in, out] DWORD
*count
);
1337 HRESULT SetProxyExceptionList
(
1338 [in] const WCHAR
*protocol
,
1339 [in] const WCHAR
*exceptions
);
1341 HRESULT GetProxyBypassForLocal
(
1342 [in] const WCHAR
*protocol
,
1343 [out] BOOL
*bypass
);
1345 HRESULT SetProxyBypassForLocal
(
1346 [in] const WCHAR
*protocol
,
1349 HRESULT GetForceRerunAutoProxyDetection
([out] BOOL
*detection
);
1350 HRESULT SetForceRerunAutoProxyDetection
([in] BOOL detection
);
1352 HRESULT GetEnableMulticast
([out] BOOL
*multicast
);
1353 HRESULT SetEnableMulticast
([in] BOOL multicast
);
1355 HRESULT GetEnableHTTP
([out] BOOL
*enable
);
1356 HRESULT SetEnableHTTP
([in] BOOL enable
);
1358 HRESULT GetEnableUDP
([out] BOOL
*enable
);
1359 HRESULT SetEnableUDP
([in] BOOL enable
);
1361 HRESULT GetEnableTCP
([out] BOOL
*enable
);
1362 HRESULT SetEnableTCP
([in] BOOL enable
);
1364 HRESULT ResetProtocolRollover
();
1366 HRESULT GetConnectionBandwidth
([out] DWORD
*bandwidth
);
1367 HRESULT SetConnectionBandwidth
([in] DWORD bandwidth
);
1369 HRESULT GetNumProtocolsSupported
([out] DWORD
*protocols
);
1371 HRESULT GetSupportedProtocolName
(
1372 [in] DWORD protocol_num
,
1373 [out, size_is( *size
)] WCHAR
*protocol
,
1374 [in, out] DWORD
*size
);
1376 HRESULT AddLoggingUrl
([in] const WCHAR
*url
);
1378 HRESULT GetLoggingUrl
(
1380 [out, size_is( *size
)] WCHAR
*url
,
1381 [in, out] DWORD
*size
);
1383 HRESULT GetLoggingUrlCount
([out] DWORD
*count
);
1385 HRESULT ResetLoggingUrlList
();
1390 uuid(d979a853
-042b
-4050-8387-c939db22013f
),
1391 pointer_default(unique),
1394 interface IWMReaderNetworkConfig2
: IWMReaderNetworkConfig
1396 HRESULT GetEnableContentCaching
([out] BOOL
*enable
);
1397 HRESULT SetEnableContentCaching
([in] BOOL enable
);
1399 HRESULT GetEnableFastCache
([out] BOOL
*enable
);
1400 HRESULT SetEnableFastCache
([in] BOOL enable
);
1402 HRESULT GetAcceleratedStreamingDuration
([out] QWORD
*duration
);
1403 HRESULT SetAcceleratedStreamingDuration
([in] QWORD duration
);
1405 HRESULT GetAutoReconnectLimit
([out] DWORD
*limit
);
1406 HRESULT SetAutoReconnectLimit
([in] DWORD limit
);
1408 HRESULT GetEnableResends
([out] BOOL
*enable
);
1409 HRESULT SetEnableResends
([in] BOOL enable
);
1411 HRESULT GetEnableThinning
([out] BOOL
*enable
);
1412 HRESULT SetEnableThinning
([in] BOOL enable
);
1414 HRESULT GetMaxNetPacketSize
([out] DWORD
*packet_size
);
1419 uuid(96406bed
-2b2b
-11d3
-b36b
-00c04f6108ff
),
1420 pointer_default(unique),
1424 interface IWMReaderStreamClock
: IUnknown
1426 HRESULT GetTime
([in] QWORD
*now
);
1428 HRESULT SetTimer
([in] QWORD when
,
1432 HRESULT KillTimer
([in] DWORD
id);
1437 uuid(cdfb97ab
-188f
-40b3
-b643
-5b7903975c59
),
1438 pointer_default(unique),
1441 interface IWMPacketSize
: IUnknown
1443 HRESULT GetMaxPacketSize
([out] DWORD
*size
);
1444 HRESULT SetMaxPacketSize
([in] DWORD size
);
1449 uuid(8bfc2b9e
-b646
-4233-a877
-1c6a079669dc
),
1450 pointer_default(unique),
1453 interface IWMPacketSize2
: IWMPacketSize
1455 HRESULT GetMinPacketSize
([out] DWORD
*size
);
1456 HRESULT SetMinPacketSize
([in] DWORD size
);
1461 uuid(d2827540
-3ee7
-432c
-b14c
-dc17f085d3b3
),
1462 pointer_default(unique),
1465 interface IWMDRMReader
: IUnknown
1467 HRESULT AcquireLicense
([in] DWORD flags
);
1468 HRESULT CancelLicenseAcquisition
();
1470 HRESULT Individualize
([in] DWORD flags
);
1471 HRESULT CancelIndividualization
();
1473 HRESULT MonitorLicenseAcquisition
();
1474 HRESULT CancelMonitorLicenseAcquisition
();
1476 HRESULT SetDRMProperty
(
1477 [in] const WCHAR
*name
,
1478 [in] WMT_ATTR_DATATYPE type
,
1479 [in, size_is( length
)] const BYTE *value
,
1482 HRESULT GetDRMProperty
(
1483 [in] const WCHAR
*name
,
1484 [out] WMT_ATTR_DATATYPE
*type
,
1485 [out, size_is( *length
)] BYTE *value
,
1486 [in, out] WORD
*length
);
1491 uuid(befe7a75
-9f1d
-4075-b9d9
-a3c37bda49a0
),
1492 pointer_default(unique),
1495 interface IWMDRMReader2
: IWMDRMReader
1497 HRESULT SetEvaluateOutputLevelLicenses
([in] BOOL evaluate
);
1498 HRESULT GetPlayOutputLevels
(
1499 [out, size_is( *length
)] DRM_PLAY_OPL
*play
,
1500 [in, out] DWORD
*length
,
1501 [out] DWORD
*level
);
1503 HRESULT GetCopyOutputLevels
(
1504 [out, size_is( *length
)] DRM_COPY_OPL
*copy
,
1505 [in, out] DWORD
*length
,
1506 [out] DWORD
*level
);
1508 HRESULT TryNextLicense
();
1513 uuid(e08672de
-f1e7
-4ff4
-a0a3
-fc4b08e4caf8
),
1514 pointer_default(unique),
1517 interface IWMDRMReader3
: IWMDRMReader2
1519 HRESULT GetInclusionList
(
1521 [out] DWORD
*count
);
1526 uuid(bddc4d08
-944d
-4d52
-a612
-46c3fda07dd4
),
1527 pointer_default( unique ),
1530 interface IWMReaderAccelerator
: IUnknown
1532 HRESULT GetCodecInterface
(
1535 [out] void **codec
);
1539 [in] WM_MEDIA_TYPE
*subtype
);
1544 uuid(f369e2f0
-e081
-4fe6
-8450-b810b2f410d1
),
1545 pointer_default(unique),
1548 interface IWMReaderTimecode
: IUnknown
1550 HRESULT GetTimecodeRangeCount
(
1554 HRESULT GetTimecodeRangeBounds
(
1557 [out] DWORD
*start_timecode
,
1558 [out] DWORD
*end_timecode
);
1563 uuid(fdbe5592
-81a1
-41ea
-93bd
-735cad1adc05
),
1564 pointer_default(unique),
1567 interface IWMReaderTypeNegotiation
: IUnknown
1569 HRESULT TryOutputProps
(
1571 [in] IWMOutputMediaProps
*props
);
1576 uuid(df683f00
-2d49
-4d8e
-92b7
-fb19f6a0dc57
),
1577 pointer_default(unique),
1580 interface IWMLanguageList
: IUnknown
1582 HRESULT GetLanguageCount
(
1585 HRESULT GetLanguageDetails
(
1587 [out, size_is( *length
)] WCHAR
*language
,
1588 [in, out] WORD
*length
);
1590 HRESULT AddLanguageByRFC1766String
(
1591 [in] LPCWSTR_WMSDK_TYPE_SAFE language
,
1597 uuid(f28c0300
-9baa
-4477-a846
-1744d9cbf533
),
1598 pointer_default(unique),
1601 interface IWMReaderPlaylistBurn
: IUnknown
1603 HRESULT InitPlaylistBurn
(
1605 [in] LPCWSTR_WMSDK_TYPE_SAFE
*filenames
,
1606 [in] IWMStatusCallback
*callback,
1607 [in] void *context
);
1609 HRESULT GetInitResults
(
1611 [out] HRESULT *stat
);
1615 HRESULT EndPlaylistBurn
([in] HRESULT result
);
1619 cpp_quote
("HRESULT WINAPI WMCreateWriter(IUnknown*,IWMWriter**);")
1620 cpp_quote
("HRESULT WINAPI WMCreateReader(IUnknown*,DWORD,IWMReader**);")
1622 cpp_quote
("EXTERN_GUID(WMMEDIASUBTYPE_Base, 0x00000000,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71);")
1623 cpp_quote
("EXTERN_GUID(WMMEDIATYPE_Video, 0x73646976,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71);")
1624 cpp_quote
("EXTERN_GUID(WMMEDIASUBTYPE_RGB1, 0xe436eb78,0x524f,0x11ce,0x9f,0x53,0x00,0x20,0xaf,0x0b,0xa7,0x70);")
1625 cpp_quote
("EXTERN_GUID(WMMEDIASUBTYPE_RGB4, 0xe436eb79,0x524f,0x11ce,0x9f,0x53,0x00,0x20,0xaf,0x0b,0xa7,0x70);")
1626 cpp_quote
("EXTERN_GUID(WMMEDIASUBTYPE_RGB8, 0xe436eb7a,0x524f,0x11ce,0x9f,0x53,0x00,0x20,0xaf,0x0b,0xa7,0x70);")
1627 cpp_quote
("EXTERN_GUID(WMMEDIASUBTYPE_RGB565, 0xe436eb7b,0x524f,0x11ce,0x9f,0x53,0x00,0x20,0xaf,0x0b,0xa7,0x70);")
1628 cpp_quote
("EXTERN_GUID(WMMEDIASUBTYPE_RGB555, 0xe436eb7c,0x524f,0x11ce,0x9f,0x53,0x00,0x20,0xaf,0x0b,0xa7,0x70);")
1629 cpp_quote
("EXTERN_GUID(WMMEDIASUBTYPE_RGB24, 0xe436eb7d,0x524f,0x11ce,0x9f,0x53,0x00,0x20,0xaf,0x0b,0xa7,0x70);")
1630 cpp_quote
("EXTERN_GUID(WMMEDIASUBTYPE_RGB32, 0xe436eb7e,0x524f,0x11ce,0x9f,0x53,0x00,0x20,0xaf,0x0b,0xa7,0x70);")
1631 cpp_quote
("EXTERN_GUID(WMMEDIASUBTYPE_I420, 0x30323449,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71);")
1632 cpp_quote
("EXTERN_GUID(WMMEDIASUBTYPE_IYUV, 0x56555949,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71);")
1633 cpp_quote
("EXTERN_GUID(WMMEDIASUBTYPE_YV12, 0x32315659,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71);")
1634 cpp_quote
("EXTERN_GUID(WMMEDIASUBTYPE_YUY2, 0x32595559,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71);")
1635 cpp_quote
("EXTERN_GUID(WMMEDIASUBTYPE_P422, 0x32323450,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71);")
1636 cpp_quote
("EXTERN_GUID(WMMEDIASUBTYPE_UYVY, 0x59565955,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71);")
1637 cpp_quote
("EXTERN_GUID(WMMEDIASUBTYPE_YVYU, 0x55595659,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71);")
1638 cpp_quote
("EXTERN_GUID(WMMEDIASUBTYPE_YVU9, 0x39555659,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71);")
1639 cpp_quote
("EXTERN_GUID(WMMEDIASUBTYPE_VIDEOIMAGE, 0x1d4a45f2,0xe5f6,0x4b44,0x83,0x88,0xf0,0xae,0x5c,0x0e,0x0c,0x37);")
1640 cpp_quote
("EXTERN_GUID(WMMEDIASUBTYPE_MP43, 0x3334504d,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71);")
1641 cpp_quote
("EXTERN_GUID(WMMEDIASUBTYPE_MP4S, 0x5334504d,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71);")
1642 cpp_quote
("EXTERN_GUID(WMMEDIASUBTYPE_M4S2, 0x3253344d,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71);")
1643 cpp_quote
("EXTERN_GUID(WMMEDIASUBTYPE_WMV1, 0x31564d57,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71);")
1644 cpp_quote
("EXTERN_GUID(WMMEDIASUBTYPE_WMV2, 0x32564d57,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71);")
1645 cpp_quote
("EXTERN_GUID(WMMEDIASUBTYPE_MSS1, 0x3153534d,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71);")
1646 cpp_quote
("EXTERN_GUID(WMMEDIASUBTYPE_MPEG2_VIDEO, 0xe06d8026,0xdb46,0x11cf,0xb4,0xd1,0x00,0x80,0x5f,0x6c,0xbb,0xea);")
1647 cpp_quote
("EXTERN_GUID(WMMEDIATYPE_Audio, 0x73647561,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71);")
1648 cpp_quote
("EXTERN_GUID(WMMEDIASUBTYPE_PCM, 0x00000001,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71);")
1649 cpp_quote
("EXTERN_GUID(WMMEDIASUBTYPE_DRM, 0x00000009,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71);")
1650 cpp_quote
("EXTERN_GUID(WMMEDIASUBTYPE_WMAudioV9, 0x00000162,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71);")
1651 cpp_quote
("EXTERN_GUID(WMMEDIASUBTYPE_WMAudio_Lossless, 0x00000163,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71);")
1652 cpp_quote
("EXTERN_GUID(WMMEDIASUBTYPE_MSS2, 0x3253534d,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71);")
1653 cpp_quote
("EXTERN_GUID(WMMEDIASUBTYPE_WMSP1, 0x0000000a,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71);")
1654 cpp_quote
("EXTERN_GUID(WMMEDIASUBTYPE_WMSP2, 0x0000000b,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71);")
1655 cpp_quote
("EXTERN_GUID(WMMEDIASUBTYPE_WMV3, 0x33564d57,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71);")
1656 cpp_quote
("EXTERN_GUID(WMMEDIASUBTYPE_WMVP, 0x50564d57,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71);")
1657 cpp_quote
("EXTERN_GUID(WMMEDIASUBTYPE_WVP2, 0x32505657,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71);")
1658 cpp_quote
("EXTERN_GUID(WMMEDIASUBTYPE_WMVA, 0x41564d57,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71);")
1659 cpp_quote
("EXTERN_GUID(WMMEDIASUBTYPE_WVC1, 0x31435657,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71);")