2 * Copyright 2016 Michael Müller
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
"mfobjects.idl";
20 import
"mftransform.idl";
22 typedef unsigned __int64 TOPOID
;
23 typedef LONGLONG MFTIME
;
24 typedef DWORD MFSequencerElementId
;
26 typedef enum MF_TOPOLOGY_TYPE
28 MF_TOPOLOGY_OUTPUT_NODE
,
29 MF_TOPOLOGY_SOURCESTREAM_NODE
,
30 MF_TOPOLOGY_TRANSFORM_NODE
,
32 MF_TOPOLOGY_MAX
= 0xffffffff
35 typedef enum _MFCLOCK_STATE
37 MFCLOCK_STATE_INVALID
,
38 MFCLOCK_STATE_RUNNING
,
39 MFCLOCK_STATE_STOPPED
,
43 typedef enum MF_OBJECT_TYPE
45 MF_OBJECT_MEDIASOURCE
,
50 cpp_quote
("#define MFCLOCK_FREQUENCY_HNS 10000000")
51 cpp_quote
("#define MFCLOCK_TOLERANCE_UNKNOWN 50000")
52 cpp_quote
("#define MFCLOCK_JITTER_ISR 1000")
53 cpp_quote
("#define MFCLOCK_JITTER_DPC 4000")
54 cpp_quote
("#define MFCLOCK_JITTER_PASSIVE 10000")
56 typedef struct _MFCLOCK_PROPERTIES
58 unsigned __int64 qwCorrelationRate
;
61 unsigned __int64 qwClockFrequency
;
62 DWORD dwClockTolerance
;
66 typedef enum _MFCLOCK_CHARACTERISTICS_FLAGS
68 MFCLOCK_CHARACTERISTICS_FLAG_FREQUENCY_10MHZ
= 0x00000002,
69 MFCLOCK_CHARACTERISTICS_FLAG_ALWAYS_RUNNING
= 0x00000004,
70 MFCLOCK_CHARACTERISTICS_FLAG_IS_SYSTEM_CLOCK
= 0x00000008,
71 } MFCLOCK_CHARACTERISTICS_FLAGS
;
73 typedef enum MFSESSION_SETTOPOLOGY_FLAGS
75 MFSESSION_SETTOPOLOGY_IMMEDIATE
= 0x00000001,
76 MFSESSION_SETTOPOLOGY_NORESOLUTION
= 0x00000002,
77 MFSESSION_SETTOPOLOGY_CLEAR_CURRENT
= 0x00000004,
78 } MFSESSION_SETTOPOLOGY_FLAGS
;
80 typedef enum MFSESSION_GETFULLTOPOLOGY_FLAGS
82 MFSESSION_GETFULLTOPOLOGY_CURRENT
= 0x00000001,
83 } MFSESSION_GETFULLTOPOLOGY_FLAGS
;
85 typedef enum MFPMPSESSION_CREATION_FLAGS
87 MFPMPSESSION_UNPROTECTED_PROCESS
= 0x1,
88 MFPMPSESSION_IN_PROCESS
= 0x2,
89 } MFPMPSESSION_CREATION_FLAGS
;
91 typedef enum _MF_CONNECT_METHOD
93 MF_CONNECT_DIRECT
= 0x00000000,
94 MF_CONNECT_ALLOW_CONVERTER
= 0x00000001,
95 MF_CONNECT_ALLOW_DECODER
= 0x00000003,
96 MF_CONNECT_RESOLVE_INDEPENDENT_OUTPUTTYPES
= 0x00000004,
97 MF_CONNECT_AS_OPTIONAL
= 0x00010000,
98 MF_CONNECT_AS_OPTIONAL_BRANCH
= 0x00020000,
101 typedef enum _MF_TOPOLOGY_RESOLUTION_STATUS_FLAGS
103 MF_TOPOLOGY_RESOLUTION_SUCCEEDED
= 0x00000000,
104 MF_OPTIONAL_NODE_REJECTED_MEDIA_TYPE
= 0x00000001,
105 MF_OPTIONAL_NODE_REJECTED_PROTECTED_PROCESS
= 0x00000002,
106 } MF_TOPOLOGY_RESOLUTION_STATUS_FLAGS
;
108 typedef enum _MFSTREAMSINK_MARKER_TYPE
110 MFSTREAMSINK_MARKER_DEFAULT
,
111 MFSTREAMSINK_MARKER_ENDOFSEGMENT
,
112 MFSTREAMSINK_MARKER_TICK
,
113 MFSTREAMSINK_MARKER_EVENT
,
114 } MFSTREAMSINK_MARKER_TYPE
;
116 typedef enum _MF_TRANSCODE_TOPOLOGYMODE_FLAGS
118 MF_TRANSCODE_TOPOLOGYMODE_SOFTWARE_ONLY
= 0,
119 MF_TRANSCODE_TOPOLOGYMODE_HARDWARE_ALLOWED
= 1,
120 } MF_TRANSCODE_TOPOLOGYMODE_FLAGS
;
122 typedef enum _MF_TRANSCODE_ADJUST_PROFILE_FLAGS
124 MF_TRANSCODE_ADJUST_PROFILE_DEFAULT
= 0,
125 MF_TRANSCODE_ADJUST_PROFILE_USE_SOURCE_ATTRIBUTES
= 1,
126 } MF_TRANSCODE_ADJUST_PROFILE_FLAGS
;
128 typedef enum _MF_VIDEO_PROCESSOR_ALGORITHM_TYPE
130 MF_VIDEO_PROCESSOR_ALGORITHM_DEFAULT
= 0,
131 MF_VIDEO_PROCESSOR_ALGORITHM_MRF_CRF_444
= 1,
132 } MF_VIDEO_PROCESSOR_ALGORITHM_TYPE
;
134 typedef enum MFTOPOLOGY_DXVA_MODE
136 MFTOPOLOGY_DXVA_DEFAULT
= 0,
137 MFTOPOLOGY_DXVA_NONE
= 1,
138 MFTOPOLOGY_DXVA_FULL
= 2,
139 } MFTOPOLOGY_DXVA_MODE
;
143 uuid(2eb1e945
-18b8
-4139-9b1a
-d5d584818530
),
145 interface IMFClock
: IUnknown
147 HRESULT GetClockCharacteristics
([out] DWORD
*characteristics
);
148 HRESULT GetCorrelatedTime
([in] DWORD reserved
, [out] LONGLONG
*clock_time
, [out] MFTIME
*system_time
);
149 HRESULT GetContinuityKey
([out] DWORD
*key
);
150 HRESULT GetState
([in] DWORD reserved
, [out] MFCLOCK_STATE
*state
);
151 HRESULT GetProperties
([out] MFCLOCK_PROPERTIES
*props
);
154 typedef enum _MFRATE_DIRECTION
162 uuid(0a9ccdbc
-d797
-4563-9667-94ec5d79292d
),
164 interface IMFRateSupport
: IUnknown
166 HRESULT GetSlowestRate
(
167 [in] MFRATE_DIRECTION direction
,
171 HRESULT GetFastestRate
(
172 [in] MFRATE_DIRECTION direction
,
176 HRESULT IsRateSupported
(
179 [in, out, unique] float *nearest_supported_rate
);
184 uuid(88ddcd21
-03c3
-4275-91ed
-55ee3929328f
)
186 interface IMFRateControl
: IUnknown
192 [in, out, unique] BOOL
*thin
,
193 [in, out, unique] float *rate
);
196 typedef enum MFTIMER_FLAGS
198 MFTIMER_RELATIVE
= 0x00000001,
203 uuid(e56e4cbd
-8f70
-49d8
-a0f8
-edb3d6ab9bf2
),
206 interface IMFTimer
: IUnknown
211 [in] IMFAsyncCallback
*callback,
212 [in] IUnknown
*state
,
213 [out] IUnknown
**key
);
220 uuid(83cf873a
-f6da
-4bc8
-823f
-bacfd55dc430
),
222 interface IMFTopologyNode
: IMFAttributes
224 HRESULT SetObject
([in] IUnknown
*object);
225 HRESULT GetObject
([out] IUnknown
**object);
226 HRESULT GetNodeType
([out] MF_TOPOLOGY_TYPE
*type
);
227 HRESULT GetTopoNodeID
([out] TOPOID
*id);
228 HRESULT SetTopoNodeID
([in] TOPOID
id);
229 HRESULT GetInputCount
([out] DWORD
*count
);
230 HRESULT GetOutputCount
([out] DWORD
*count
);
231 [local] HRESULT ConnectOutput
([in] DWORD output_index
, [in] IMFTopologyNode
*node
, [in] DWORD input_index
);
232 [local] HRESULT DisconnectOutput
([in] DWORD index
);
233 HRESULT GetInput
([in] DWORD input_index
, [out] IMFTopologyNode
**node
, [out] DWORD
*output_index
);
234 HRESULT GetOutput
([in] DWORD output_index
, [out] IMFTopologyNode
**node
, [out] DWORD
*input_index
);
235 [local] HRESULT SetOutputPrefType
([in] DWORD index
, [in] IMFMediaType
*type
);
236 [local] HRESULT GetOutputPrefType
([in] DWORD output_index
, [out] IMFMediaType
**type
);
237 [call_as
(GetOutputPrefType
)] HRESULT RemoteGetOutputPrefType
([in] DWORD index
, [out] DWORD
*length
,
238 [out, size_is(, *length
)] BYTE **data
);
239 [local] HRESULT SetInputPrefType
([in] DWORD index
, [in] IMFMediaType
*type
);
240 [local] HRESULT GetInputPrefType
([in] DWORD index
, [out] IMFMediaType
**type
);
241 [call_as
(GetInputPrefType
)] HRESULT RemoteGetInputPrefType
([in] DWORD index
, [out] DWORD
*length
,
242 [out, size_is(, *length
)] BYTE **data
);
243 HRESULT CloneFrom
([in] IMFTopologyNode
*node
);
248 uuid(83cf873a
-f6da
-4bc8
-823f
-bacfd55dc433
),
250 interface IMFTopology
: IMFAttributes
252 HRESULT GetTopologyID
([out] TOPOID
*id);
253 [local] HRESULT AddNode
([in] IMFTopologyNode
*node
);
254 [local] HRESULT RemoveNode
([in] IMFTopologyNode
*node
);
255 HRESULT GetNodeCount
([out] WORD
*nodes
);
256 HRESULT GetNode
([in] WORD index
, [out] IMFTopologyNode
**node
);
257 [local] HRESULT Clear
();
258 HRESULT CloneFrom
([in] IMFTopology
*topology
);
259 HRESULT GetNodeByID
([in] TOPOID
id, [out] IMFTopologyNode
**node
);
260 HRESULT GetSourceNodeCollection
([out] IMFCollection
**collection
);
261 HRESULT GetOutputNodeCollection
([out] IMFCollection
**collection
);
264 typedef struct _MFTOPONODE_ATTRIBUTE_UPDATE
267 GUID guidAttributeKey
;
268 MF_ATTRIBUTE_TYPE attrType
;
269 [switch_type(DWORD
), switch_is(attrType
)] union
271 [case(MF_ATTRIBUTE_UINT32
)] UINT32 u32
;
272 [case(MF_ATTRIBUTE_UINT64
)] UINT64 u64
;
273 [case(MF_ATTRIBUTE_DOUBLE
)] double d
;
275 } MFTOPONODE_ATTRIBUTE_UPDATE
;
279 uuid(676aa6dd
-238a
-410d
-bb99
-65668d01605a
),
281 interface IMFTopologyNodeAttributeEditor
: IUnknown
283 HRESULT UpdateNodeAttributes
([in] TOPOID
id, [in] DWORD count
,
284 [in, size_is(count
)] MFTOPONODE_ATTRIBUTE_UPDATE
*attr_updates
);
289 uuid(de9a6157
-f660
-4643-b56a
-df9f7998c7cd
),
292 interface IMFTopoLoader
: IUnknown
294 HRESULT Load
([in] IMFTopology
*input_topology
, [out] IMFTopology
**output_topology
,
295 [in] IMFTopology
*current_topology
);
300 uuid(90377834-21d0
-4dee
-8214-ba2e3e6c1127
),
302 interface IMFMediaSession
: IMFMediaEventGenerator
304 HRESULT SetTopology
([in] DWORD flags
, [in] IMFTopology
*topology
);
305 HRESULT ClearTopologies
();
306 HRESULT Start
([in, unique] const GUID
*format
, [in, unique] const PROPVARIANT
*start
);
311 HRESULT GetClock
([out] IMFClock
**clock
);
312 HRESULT GetSessionCapabilities
([out] DWORD
*caps
);
313 HRESULT GetFullTopology
([in] DWORD flags
, [in] TOPOID
id, [out] IMFTopology
**topology
);
318 uuid(bb420aa4
-765b
-4a1f
-91fe
-d6a8a143924c
),
321 interface IMFByteStreamHandler
: IUnknown
323 HRESULT BeginCreateObject
(
324 [in] IMFByteStream
*stream
,
325 [in] const WCHAR
*url
,
327 [in] IPropertyStore
*props
,
328 [out] IUnknown
**cancel_cookie
,
329 [in] IMFAsyncCallback
*callback,
330 [in] IUnknown
*state
);
332 HRESULT EndCreateObject
(
333 [in] IMFAsyncResult
*result
,
334 [out] MF_OBJECT_TYPE
*obj_type
,
335 [out] IUnknown
**object);
337 HRESULT CancelObjectCreation
(
338 [in] IUnknown
*cancel_cookie
);
340 HRESULT GetMaxNumberOfBytesRequiredForResolution
(
344 typedef [public] struct _MF_LEAKY_BUCKET_PAIR
347 DWORD msBufferWindow
;
348 } MF_LEAKY_BUCKET_PAIR
;
350 typedef [public] struct _MFBYTESTREAM_BUFFERING_PARAMS
352 QWORD cbTotalFileSize
;
353 QWORD cbPlayableDataSize
;
354 MF_LEAKY_BUCKET_PAIR
*prgBuckets
;
356 QWORD qwNetBufferingTime
;
357 QWORD qwExtraBufferingTimeDuringSeek
;
358 QWORD qwPlayDuration
;
360 } MFBYTESTREAM_BUFFERING_PARAMS
;
364 uuid(6d66d782
-1d4f
-4db7
-8c63
-cb8c77f1ef5e
),
366 interface IMFByteStreamBuffering
: IUnknown
368 HRESULT SetBufferingParams
(
369 [in] MFBYTESTREAM_BUFFERING_PARAMS
*params
);
371 HRESULT EnableBuffering
(
374 HRESULT StopBuffering
();
379 uuid(f5042ea4
-7a96
-4a75
-aa7b
-2be1ef7f88d5
),
381 interface IMFByteStreamCacheControl
: IUnknown
383 HRESULT StopBackgroundTransfer
();
388 uuid(64976bfa
-fb61
-4041-9069-8c9a5f659beb
),
390 interface IMFByteStreamTimeSeek
: IUnknown
392 HRESULT IsTimeSeekSupported
(
393 [out] BOOL
*is_supported
);
396 [in] QWORD position
);
398 HRESULT GetTimeSeekResult
(
399 [out] QWORD
*start_time
,
400 [out] QWORD
*stop_time
,
401 [out] QWORD
*duration
);
406 uuid(6d4c7b74
-52a0
-4bb7
-b0db
-55f29f47a668
),
409 interface IMFSchemeHandler
: IUnknown
411 HRESULT BeginCreateObject
(
412 [in] const WCHAR
*url
,
414 [in] IPropertyStore
*props
,
415 [out] IUnknown
**cancel_cookie
,
416 [in] IMFAsyncCallback
*callback,
417 [in] IUnknown
*state
);
419 HRESULT EndCreateObject
(
420 [in] IMFAsyncResult
*result
,
421 [out] MF_OBJECT_TYPE
*obj_type
,
422 [out] IUnknown
**object);
424 HRESULT CancelObjectCreation
(
425 [in] IUnknown
*cancel_cookie
);
430 uuid(fbe5a32d
-a497
-4b61
-bb85
-97b1a848a6e3
)
432 interface IMFSourceResolver
: IUnknown
434 [local] HRESULT CreateObjectFromURL
([in] const WCHAR
*url
, [in] DWORD flags
, [in] IPropertyStore
*props
,
435 [out] MF_OBJECT_TYPE
*obj_type
, [out] IUnknown
**object);
436 [local] HRESULT CreateObjectFromByteStream
([in] IMFByteStream
*stream
, [in] const WCHAR
*url
, [in] DWORD flags
,
437 [in] IPropertyStore
*props
, [out] MF_OBJECT_TYPE
*obj_type
, [out] IUnknown
**object);
438 [local] HRESULT BeginCreateObjectFromURL
([in] const WCHAR
*url
, [in] DWORD flags
, [in] IPropertyStore
*props
,
439 [out] IUnknown
**cancel_cookie
, [in] IMFAsyncCallback
*callback, [in] IUnknown
*unk_state
);
440 [call_as
(BeginCreateObjectFromURL
)] HRESULT RemoteBeginCreateObjectFromURL
([in, string] const WCHAR
*url
,
441 [in] DWORD flags
, [in] IPropertyStore
*props
, [in] IMFRemoteAsyncCallback
*callback);
442 [local] HRESULT EndCreateObjectFromURL
([in] IMFAsyncResult
*result
, [out] MF_OBJECT_TYPE
*obj_type
,
443 [out] IUnknown
**object);
444 [call_as
(EndCreateObjectFromURL
)] HRESULT RemoteEndCreateObjectFromURL
([in] IUnknown
*result
,
445 [out] MF_OBJECT_TYPE
*obj_type
, [out] IUnknown
**object);
446 [local] HRESULT BeginCreateObjectFromByteStream
([in] IMFByteStream
*stream
, [in] const WCHAR
*url
,
447 [in] DWORD flags
, [in] IPropertyStore
*props
, [out] IUnknown
**cancel_cookie
,
448 [in] IMFAsyncCallback
*callback, [in] IUnknown
*unk_state
);
449 [call_as
(BeginCreateObjectFromByteStream
)] HRESULT RemoteBeginCreateObjectFromByteStream
([in] IMFByteStream
*stream
,
450 [in, unique] const WCHAR
*url
, [in] DWORD flags
, [in, unique] IPropertyStore
*props
,
451 [in] IMFRemoteAsyncCallback
*callback);
452 [local] HRESULT EndCreateObjectFromByteStream
([in] IMFAsyncResult
*result
, [out] MF_OBJECT_TYPE
*obj_type
,
453 [out] IUnknown
**object);
454 [call_as
(EndCreateObjectFromByteStream
)] HRESULT RemoteEndCreateObjectFromByteStream
([in] IUnknown
*result
,
455 [out] MF_OBJECT_TYPE
*obj_type
, [out] IUnknown
**object);
456 [local] HRESULT CancelObjectCreation
([in] IUnknown
*cancel_cookie
);
461 uuid(e93dcf6c
-4b07
-4e1e
-8123
-aa16ed6eadf5
)
463 interface IMFMediaTypeHandler
: IUnknown
466 HRESULT IsMediaTypeSupported
([in] IMFMediaType
*in_type
, [out] IMFMediaType
**out_type
);
468 [call_as
(IsMediaTypeSupported
)]
469 HRESULT RemoteIsMediaTypeSupported
([in, size_is(size
)] BYTE *data
, [in] DWORD size
,
470 [out, size_is(, *match_count
)] BYTE **match
, [out] DWORD
*match_count
);
472 HRESULT GetMediaTypeCount
([out] DWORD
*count
);
475 HRESULT GetMediaTypeByIndex
([in] DWORD index
, [out] IMFMediaType
**type
);
477 [call_as
(GetMediaTypeByIndex
)]
478 HRESULT RemoteGetMediaTypeByIndex
([in] DWORD index
, [out, size_is(, *count
)] BYTE **data
,
482 HRESULT SetCurrentMediaType
([in] IMFMediaType
*type
);
484 [call_as
(SetCurrentMediaType
)]
485 HRESULT RemoteSetCurrentMediaType
([in, size_is(count
)] BYTE *data
, [in] DWORD count
);
488 HRESULT GetCurrentMediaType
([out] IMFMediaType
**type
);
490 [call_as
(GetCurrentMediaType
)]
491 HRESULT RemoteGetCurrentMediaType
([out, size_is(, *count
)] BYTE **data
, [out] DWORD
*count
);
493 HRESULT GetMajorType
([out] GUID
*type
);
498 uuid(56c03d9c
-9dbb
-45f5
-ab4b
-d80f47c05938
)
500 interface IMFStreamDescriptor
: IMFAttributes
502 HRESULT GetStreamIdentifier
([out] DWORD
*identifier
);
504 HRESULT GetMediaTypeHandler
([out] IMFMediaTypeHandler
**handler
);
509 uuid(f6696e82
-74f7
-4f3d
-a178
-8a5e09c3659f
)
511 interface IMFClockStateSink
: IUnknown
513 HRESULT OnClockStart
(
514 [in] MFTIME hnsSystemTime
,
515 [in] LONGLONG llClockStartOffset
518 [in] MFTIME hnssSystemTime
520 HRESULT OnClockPause
(
521 [in] MFTIME hnsSystemTime
523 HRESULT OnClockRestart
(
524 [in] MFTIME hnsSystemTime
526 HRESULT OnClockSetRate
(
527 [in] MFTIME hnsSystemTime
,
534 uuid(fa993888
-4383-415a
-a930
-dd472a8cf6f7
)
536 interface IMFGetService
: IUnknown
539 [in] REFGUID guidService
,
541 [out, iid_is(riid
)] LPVOID
*ppvObject
547 uuid(03cb2711
-24d7
-4db6
-a17f
-f3a7a479a536
),
549 interface IMFPresentationDescriptor
: IMFAttributes
551 HRESULT GetStreamDescriptorCount
(
552 [out] DWORD
*count
);
554 HRESULT GetStreamDescriptorByIndex
(
556 [out] BOOL
*selected
,
557 [out] IMFStreamDescriptor
**descriptor
);
559 HRESULT SelectStream
(
562 HRESULT DeselectStream
(
566 [out] IMFPresentationDescriptor
**descriptor
);
571 uuid(f88cfb8c
-ef16
-4991-b450
-cb8c69e51704
)
573 interface IMFMetadata
: IUnknown
576 [in] const WCHAR
*lang
);
581 HRESULT GetAllLanguages
(
582 [out] PROPVARIANT
*languages
);
585 [in] const WCHAR
*name
,
586 [in] const PROPVARIANT
*values
);
589 [in] const WCHAR
*name
,
590 [out] PROPVARIANT
*values
);
592 HRESULT DeleteProperty
(
593 [in] const WCHAR
*name
);
595 HRESULT GetAllPropertyNames
(
596 [out] PROPVARIANT
*names
);
601 uuid(56181d2d
-e221
-4adb
-b1c8
-3cee6a53f76f
)
603 interface IMFMetadataProvider
: IUnknown
605 HRESULT GetMFMetadata
(
606 [in] IMFPresentationDescriptor
*descriptor
,
607 [in] DWORD identifier
,
609 [out] IMFMetadata
**metadata
);
614 uuid(197cd219
-19cb
-4de1
-a64c
-acf2edcbe59e
),
617 interface IMFSequencerSource
: IUnknown
619 HRESULT AppendTopology
(
620 [in] IMFTopology
*topology
,
622 [out] MFSequencerElementId
*element
);
624 HRESULT DeleteTopology
(
625 [in] MFSequencerElementId element
);
627 HRESULT GetPresentationContext
(
628 [in] IMFPresentationDescriptor
*pd
,
629 [out, optional] MFSequencerElementId
*id,
630 [out, optional] IMFTopology
**topology
);
632 HRESULT UpdateTopology
(
633 [in] MFSequencerElementId od
,
634 [in] IMFTopology
*topology
);
636 HRESULT UpdateTopologyFlags
(
637 [in] MFSequencerElementId
id,
641 interface IMFPresentationClock
;
645 uuid(8c7b80bf
-ee42
-4b59
-b1df
-55668e1bdca8
),
648 interface IMFSampleGrabberSinkCallback
: IMFClockStateSink
650 HRESULT OnSetPresentationClock
(
651 [in] IMFPresentationClock
*clock
);
653 HRESULT OnProcessSample
(
654 [in] REFGUID major_type
,
655 [in] DWORD sample_flags
,
656 [in] LONGLONG sample_time
,
657 [in] LONGLONG sample_duration
,
658 [in] const BYTE *buffer
,
659 [in] DWORD sample_size
);
661 HRESULT OnShutdown
();
666 uuid(ca86aa50
-c46e
-429e
-ab27
-16d6ac6844cb
),
669 interface IMFSampleGrabberSinkCallback2
: IMFSampleGrabberSinkCallback
671 HRESULT OnProcessSampleEx
(
672 [in] REFGUID major_type
,
673 [in] DWORD sample_flags
,
674 [in] LONGLONG sample_time
,
675 [in] LONGLONG sample_duration
,
676 [in] const BYTE *buffer
,
677 [in] DWORD sample_size
,
678 [in] IMFAttributes
*attributes
);
683 uuid(26afea53
-d9ed
-42b5
-ab80
-e64f9ee34779
),
686 interface IMFSeekInfo
: IUnknown
688 HRESULT GetNearestKeyFrames
(
689 [in] const GUID
*format
,
690 [in] const PROPVARIANT
*position
,
691 [out] PROPVARIANT
*prev_frame
,
692 [out] PROPVARIANT
*next_frame
);
695 cpp_quote
("HRESULT WINAPI CreatePropertyStore(IPropertyStore **store);")
696 cpp_quote
("HRESULT WINAPI MFCreate3GPMediaSink(IMFByteStream *stream, IMFMediaType *video_type,")
697 cpp_quote
(" IMFMediaType *audio_type, IMFMediaSink **sink);")
698 cpp_quote
("HRESULT WINAPI MFCreateAC3MediaSink(IMFByteStream *stream, IMFMediaType *audio_type,")
699 cpp_quote
(" IMFMediaSink **sink);")
700 cpp_quote
("HRESULT WINAPI MFCreateADTSMediaSink(IMFByteStream *stream, IMFMediaType *audio_type,")
701 cpp_quote
(" IMFMediaSink **sink);")
702 cpp_quote
("HRESULT WINAPI MFCreateAudioRenderer(IMFAttributes *config, IMFMediaSink **sink);")
703 cpp_quote
("HRESULT WINAPI MFCreateAudioRendererActivate(IMFActivate **activate);")
704 cpp_quote
("HRESULT WINAPI MFCreateFMPEG4MediaSink(IMFByteStream *stream, IMFMediaType *video_type,")
705 cpp_quote
(" IMFMediaType *audio_type, IMFMediaSink **sink);")
706 cpp_quote
("HRESULT WINAPI MFCreateMediaSession(IMFAttributes *config, IMFMediaSession **session);")
707 cpp_quote
("HRESULT WINAPI MFCreateMFByteStreamOnStream(IStream *stream, IMFByteStream **bytestream);" )
708 cpp_quote
("HRESULT WINAPI MFCreateMFByteStreamOnStreamEx(IUnknown *stream, IMFByteStream **bytestream);")
709 cpp_quote
("HRESULT WINAPI MFCreateMP3MediaSink(IMFByteStream *stream, IMFMediaSink **sink);")
710 cpp_quote
("HRESULT WINAPI MFCreateMPEG4MediaSink(IMFByteStream *stream, IMFMediaType *video_type,")
711 cpp_quote
(" IMFMediaType *audio_type, IMFMediaSink **sink);")
712 cpp_quote
("HRESULT WINAPI MFCreatePresentationClock(IMFPresentationClock **clock);")
713 cpp_quote
("HRESULT WINAPI MFCreatePresentationDescriptor(DWORD count, IMFStreamDescriptor **descriptors,")
714 cpp_quote
(" IMFPresentationDescriptor **presentation_desc);")
715 cpp_quote
("HRESULT WINAPI MFCreateSimpleTypeHandler(IMFMediaTypeHandler **handler);")
716 cpp_quote
("HRESULT WINAPI MFCreateSampleCopierMFT(IMFTransform **transform);")
717 cpp_quote
("HRESULT WINAPI MFCreateSampleGrabberSinkActivate(IMFMediaType *media_type,")
718 cpp_quote
(" IMFSampleGrabberSinkCallback *callback, IMFActivate **activate);")
719 cpp_quote
("HRESULT WINAPI MFCreateSequencerSegmentOffset(MFSequencerElementId id, MFTIME offset, PROPVARIANT *segment_offset);")
720 cpp_quote
("HRESULT WINAPI MFCreateSequencerSource(IUnknown *reserved, IMFSequencerSource **seq_source);" )
721 cpp_quote
("HRESULT WINAPI MFCreateSourceResolver(IMFSourceResolver **resolver);")
722 cpp_quote
("HRESULT WINAPI MFCreateStandardQualityManager(IMFQualityManager **manager);")
723 cpp_quote
("HRESULT WINAPI MFCreateStreamDescriptor(DWORD identifier, DWORD cMediaTypes,")
724 cpp_quote
(" IMFMediaType **types, IMFStreamDescriptor **descriptor);")
725 cpp_quote
("HRESULT WINAPI MFCreateSystemTimeSource(IMFPresentationTimeSource **time_source);")
726 cpp_quote
("HRESULT WINAPI MFCreateTopology(IMFTopology **topology);")
727 cpp_quote
("HRESULT WINAPI MFCreateTopologyNode(MF_TOPOLOGY_TYPE node_type, IMFTopologyNode **node);")
728 cpp_quote
("HRESULT WINAPI MFCreateTopoLoader(IMFTopoLoader **loader);")
729 cpp_quote
("HRESULT WINAPI MFCreateVideoRendererActivate(HWND hwnd, IMFActivate **activate);")
730 cpp_quote
("HRESULT WINAPI MFCreateWAVEMediaSink(IMFByteStream *stream, IMFMediaType *media_type, IMFMediaSink **sink);")
731 cpp_quote
("HRESULT WINAPI MFEnumDeviceSources(IMFAttributes *attributes, IMFActivate ***sources, UINT32 *count);")
732 cpp_quote
("HRESULT WINAPI MFGetSupportedMimeTypes(PROPVARIANT *array);")
733 cpp_quote
("HRESULT WINAPI MFGetSupportedSchemes(PROPVARIANT *array);")
734 cpp_quote
("HRESULT WINAPI MFGetService(IUnknown *object, REFGUID service, REFIID iid, void **obj);")
735 cpp_quote
("MFTIME WINAPI MFGetSystemTime(void);")
736 cpp_quote
("HRESULT WINAPI MFGetTopoNodeCurrentType(IMFTopologyNode *node, DWORD stream, BOOL output, IMFMediaType **type);")
737 cpp_quote
("HRESULT WINAPI MFShutdownObject(IUnknown *object);")
738 cpp_quote
("HRESULT WINAPI MFCreateTrackedSample(IMFTrackedSample **sample);")
739 cpp_quote
("HRESULT WINAPI MFRequireProtectedEnvironment(IMFPresentationDescriptor *pd);")
741 typedef enum _MFMEDIASOURCE_CHARACTERISTICS
743 MFMEDIASOURCE_IS_LIVE
= 0x1,
744 MFMEDIASOURCE_CAN_SEEK
= 0x2,
745 MFMEDIASOURCE_CAN_PAUSE
= 0x4,
746 MFMEDIASOURCE_HAS_SLOW_SEEK
= 0x8,
747 MFMEDIASOURCE_HAS_MULTIPLE_PRESENTATIONS
= 0x10,
748 MFMEDIASOURCE_CAN_SKIPFORWARD
= 0x20,
749 MFMEDIASOURCE_CAN_SKIPBACKWARD
= 0x40,
750 MFMEDIASOURCE_DOES_NOT_USE_NETWORK
= 0x80,
751 } MFMEDIASOURCE_CHARACTERISTICS
;
755 uuid(279a808d
-aec7
-40c8
-9c6b
-a6b492c78a66
),
757 interface IMFMediaSource
: IMFMediaEventGenerator
759 HRESULT GetCharacteristics
(
760 [out] DWORD
*characteristics
);
763 HRESULT CreatePresentationDescriptor
(
764 [out] IMFPresentationDescriptor
**descriptor
);
765 [call_as
(CreatePresentationDescriptor
)]
766 HRESULT RemoteCreatePresentationDescriptor
(
768 [out, size_is(,*count
)] BYTE **data
,
769 [out] IMFPresentationDescriptor
**descriptor
);
772 [in] IMFPresentationDescriptor
*descriptor
,
773 [in, unique] const GUID
*time_format
,
774 [in, unique] const PROPVARIANT
*start_position
);
783 uuid(3c9b2eb9
-86d5
-4514-a394
-f56664f9f0d8
)
785 interface IMFMediaSourceEx
: IMFMediaSource
787 HRESULT GetSourceAttributes
([out] IMFAttributes
**attributes
);
788 HRESULT GetStreamAttributes
(
790 [out] IMFAttributes
**attributes
);
791 HRESULT SetD3DManager
([in] IUnknown
*manager
);
796 uuid(d182108f
-4ec6
-443f
-aa42
-a71106ec825f
),
798 interface IMFMediaStream
: IMFMediaEventGenerator
800 HRESULT GetMediaSource
(
801 [out] IMFMediaSource
**source);
803 HRESULT GetStreamDescriptor
(
804 [out] IMFStreamDescriptor
**descriptor
);
807 HRESULT RequestSample
(
808 [in] IUnknown
*token
);
810 [call_as
(RequestSample
)]
811 HRESULT RemoteRequestSample
();
814 interface IMFStreamSink
;
818 uuid(7ff12cce
-f76f
-41c2
-863b
-1666c8e5e139
)
820 interface IMFPresentationTimeSource
: IMFClock
822 HRESULT GetUnderlyingClock
([out] IMFClock
**clock
);
825 cpp_quote
("#define PRESENTATION_CURRENT_POSITION 0x7fffffffffffffff")
829 uuid(868ce85c
-8ea9
-4f55
-ab82
-b009a910a805
)
831 interface IMFPresentationClock
: IMFClock
833 HRESULT SetTimeSource
([in] IMFPresentationTimeSource
*time_source
);
834 HRESULT GetTimeSource
([out] IMFPresentationTimeSource
**time_source
);
835 HRESULT GetTime
([out] MFTIME
*time
);
836 HRESULT AddClockStateSink
([in] IMFClockStateSink
*state_sink
);
837 HRESULT RemoveClockStateSink
([in] IMFClockStateSink
*state_sink
);
838 HRESULT Start
([in] LONGLONG start_offset
);
845 uuid(6ef2a662
-47c0
-4666-b13d
-cbb717f2fa2c
)
847 interface IMFClockConsumer
: IUnknown
849 HRESULT SetPresentationClock
([in] IMFPresentationClock
*clock
);
850 HRESULT GetPresentationClock
([out] IMFPresentationClock
**clock
);
853 cpp_quote
("#define MEDIASINK_FIXED_STREAMS 0x00000001")
854 cpp_quote
("#define MEDIASINK_CANNOT_MATCH_CLOCK 0x00000002")
855 cpp_quote
("#define MEDIASINK_RATELESS 0x00000004")
856 cpp_quote
("#define MEDIASINK_CLOCK_REQUIRED 0x00000008")
857 cpp_quote
("#define MEDIASINK_CAN_PREROLL 0x00000010")
858 cpp_quote
("#define MEDIASINK_REQUIRE_REFERENCE_MEDIATYPE 0x00000020")
862 uuid(6ef2a660
-47c0
-4666-b13d
-cbb717f2fa2c
)
864 interface IMFMediaSink
: IUnknown
866 HRESULT GetCharacteristics
([out] DWORD
*characteristics
);
867 HRESULT AddStreamSink
(
868 [in] DWORD stream_sink_id
,
869 [in] IMFMediaType
*media_type
,
870 [out] IMFStreamSink
**stream_sink
);
871 HRESULT RemoveStreamSink
([in] DWORD stream_sink_id
);
872 HRESULT GetStreamSinkCount
([out] DWORD
*count
);
873 HRESULT GetStreamSinkByIndex
([in] DWORD index
, [out] IMFStreamSink
**sink
);
874 HRESULT GetStreamSinkById
([in] DWORD stream_sink_id
, [out] IMFStreamSink
**sink
);
875 HRESULT SetPresentationClock
([in] IMFPresentationClock
*clock
);
876 HRESULT GetPresentationClock
([out] IMFPresentationClock
**clock
);
882 uuid(eaecb74a
-9a50
-42ce
-9541-6a7f57aa4ad7
),
885 interface IMFFinalizableMediaSink
: IMFMediaSink
887 HRESULT BeginFinalize
(
888 [in] IMFAsyncCallback
*callback,
889 [in] IUnknown
*state
);
891 HRESULT EndFinalize
([in] IMFAsyncResult
*result
);
896 uuid(5dfd4b2a
-7674-4110-a4e6
-8a68fd5f3688
)
898 interface IMFMediaSinkPreroll
: IUnknown
900 HRESULT NotifyPreroll
([in] MFTIME start_time
);
905 uuid(9db7aa41
-3cc5
-40d4
-8509-555804ad34cc
)
907 interface IMFStreamingSinkConfig
: IUnknown
909 HRESULT StartStreaming
(
910 [in] BOOL is_byte_offset
,
911 [in] QWORD seek_offset
);
916 uuid(0a97b3cf
-8e7c
-4a3d
-8f8c
-0c843dc247fb
),
918 interface IMFStreamSink
: IMFMediaEventGenerator
920 HRESULT GetMediaSink
([out] IMFMediaSink
**sink
);
921 HRESULT GetIdentifier
([out] DWORD
*identifier
);
922 HRESULT GetMediaTypeHandler
([out] IMFMediaTypeHandler
**handler
);
923 HRESULT ProcessSample
([in] IMFSample
*sample
);
925 [in] MFSTREAMSINK_MARKER_TYPE marker_type
,
926 [in] const PROPVARIANT
*marker_value
,
927 [in] const PROPVARIANT
*context_value
);
931 typedef enum _MFSHUTDOWN_STATUS
933 MFSHUTDOWN_INITIATED
,
934 MFSHUTDOWN_COMPLETED
,
939 uuid(97ec2ea4
-0e42
-4937-97ac
-9d6d328824e1
)
941 interface IMFShutdown
: IUnknown
944 HRESULT GetShutdownStatus
([out] MFSHUTDOWN_STATUS
*status
);
949 uuid(8d009d86
-5b9f
-4115-b1fc
-9f80d52ab8ab
),
952 interface IMFQualityManager
: IUnknown
954 HRESULT NotifyTopology
([in] IMFTopology
*topology
);
955 HRESULT NotifyPresentationClock
([in] IMFPresentationClock
*clock
);
956 HRESULT NotifyProcessInput
(
957 [in] IMFTopologyNode
*node
,
958 [in] LONG input_index
,
959 [in] IMFSample
*sample
);
960 HRESULT NotifyProcessOutput
(
961 [in] IMFTopologyNode
*node
,
962 [in] LONG output_index
,
963 [in] IMFSample
*sample
);
964 HRESULT NotifyQualityEvent
(
965 [in] IUnknown
*object,
966 [in] IMFMediaEvent
*event
);
970 typedef enum _MF_QUALITY_DROP_MODE
979 } MF_QUALITY_DROP_MODE
;
981 typedef enum _MF_QUALITY_LEVEL
984 MF_QUALITY_NORMAL_MINUS_1
,
985 MF_QUALITY_NORMAL_MINUS_2
,
986 MF_QUALITY_NORMAL_MINUS_3
,
987 MF_QUALITY_NORMAL_MINUS_4
,
988 MF_QUALITY_NORMAL_MINUS_5
,
989 MF_NUM_QUALITY_LEVELS
994 uuid(ec15e2e9
-e36b
-4f7c
-8758-77d452ef4ce7
)
996 interface IMFQualityAdvise
: IUnknown
998 HRESULT SetDropMode
([in] MF_QUALITY_DROP_MODE mode
);
999 HRESULT SetQualityLevel
([in] MF_QUALITY_LEVEL level
);
1000 HRESULT GetDropMode
([out] MF_QUALITY_DROP_MODE
*mode
);
1001 HRESULT GetQualityLevel
([out] MF_QUALITY_LEVEL
*level
);
1002 HRESULT DropTime
([in] LONGLONG interval
);
1007 uuid(f3706f0d
-8ea2
-4886-8000-7155e9ec2eae
)
1009 interface IMFQualityAdvise2
: IMFQualityAdvise
1011 HRESULT NotifyQualityEvent
(
1012 [in] IMFMediaEvent
*event
,
1013 [out] DWORD
*flags
);
1018 uuid(dfcd8e4d
-30b5
-4567-acaa
-8eb5b7853dc9
)
1020 interface IMFQualityAdviseLimits
: IUnknown
1022 HRESULT GetMaximumDropMode
([out] MF_QUALITY_DROP_MODE
*mode
);
1023 HRESULT GetMinimumQualityLevel
([out] MF_QUALITY_LEVEL
*level
);
1028 uuid(245bf8e9
-0755-40f7
-88a5
-ae0f18d55e17
),
1031 interface IMFTrackedSample
: IUnknown
1033 HRESULT SetAllocator
(
1034 [in] IMFAsyncCallback
*sample_allocator
,
1035 [in, unique] IUnknown
*state
1039 typedef struct _MFT_REGISTRATION_INFO
1046 [size_is(cInTypes
)] MFT_REGISTER_TYPE_INFO
*pInTypes
;
1048 [size_is(cOutTypes
)] MFT_REGISTER_TYPE_INFO
*pOutTypes
;
1049 } MFT_REGISTRATION_INFO
;
1053 uuid(149c4d73
-b4be
-4f8d
-8b87
-079e926b6add
)
1055 interface IMFLocalMFTRegistration
: IUnknown
1057 HRESULT RegisterMFTs
([in, size_is(count
)] MFT_REGISTRATION_INFO
*info
, [in] DWORD count
);
1062 uuid(0e1d6009
-c9f3
-442d
-8c51
-a42d2d49452f
),
1064 interface IMFMediaSourceTopologyProvider
: IUnknown
1066 HRESULT GetMediaSourceTopology
([in] IMFPresentationDescriptor
*pd
, [out] IMFTopology
**topology
);
1071 MF_RESOLUTION_MEDIASOURCE
= 0x00000001,
1072 MF_RESOLUTION_BYTESTREAM
= 0x00000002,
1073 MF_RESOLUTION_CONTENT_DOES_NOT_HAVE_TO_MATCH_EXTENSION_OR_MIME_TYPE
= 0x00000010,
1074 MF_RESOLUTION_KEEP_BYTE_STREAM_ALIVE_ON_FAIL
= 0x00000020,
1075 MF_RESOLUTION_DISABLE_LOCAL_PLUGINS
= 0x00000040,
1076 MF_RESOLUTION_PLUGIN_CONTROL_POLICY_APPROVED_ONLY
= 0x00000080,
1077 MF_RESOLUTION_PLUGIN_CONTROL_POLICY_WEB_ONLY
= 0x00000100,
1078 MF_RESOLUTION_PLUGIN_CONTROL_POLICY_WEB_ONLY_EDGEMODE
= 0x00000200,
1079 MF_RESOLUTION_ENABLE_STORE_PLUGINS
= 0x00000400,
1080 MF_RESOLUTION_READ
= 0x00010000,
1081 MF_RESOLUTION_WRITE
= 0x00020000,
1086 uuid(089edf13
-cf71
-4338-8d13
-9e569dbdc319
),
1088 interface IMFSimpleAudioVolume
: IUnknown
1090 HRESULT SetMasterVolume
([in] float level
);
1091 HRESULT GetMasterVolume
([out] float *level
);
1092 HRESULT SetMute
([in] BOOL mute
);
1093 HRESULT GetMute
([out] BOOL
*mute
);
1098 uuid(76b1bbdb
-4ec8
-4f36
-b106
-70a9316df593
),
1100 interface IMFAudioStreamVolume
: IUnknown
1102 HRESULT GetChannelCount
([out] UINT32
*count
);
1103 HRESULT SetChannelVolume
(
1105 [in] const float level
);
1106 HRESULT GetChannelVolume
(
1108 [out] float *level
);
1109 HRESULT SetAllVolumes
(
1111 [in, size_is(count
)] const float *volumes
);
1112 HRESULT GetAllVolumes
(
1114 [out, size_is(count
)] float *volumes
);
1119 uuid(a0638c2b
-6465-4395-9ae7
-a321a9fd2856
),
1122 interface IMFAudioPolicy
: IUnknown
1124 HRESULT SetGroupingParam
([in] REFGUID param
);
1125 HRESULT GetGroupingParam
([out] GUID
*param
);
1126 HRESULT SetDisplayName
([in] LPCWSTR name
);
1127 HRESULT GetDisplayName
([out] LPWSTR
*name
);
1128 HRESULT SetIconPath
([in] LPCWSTR path
);
1129 HRESULT GetIconPath
([out] LPWSTR
*path
);
1134 uuid(86cbc910
-e533
-4751-8e3b
-f19b5b806a03
),
1137 interface IMFVideoSampleAllocator
: IUnknown
1139 HRESULT SetDirectXManager
(
1140 [in, unique] IUnknown
*manager
1142 HRESULT UninitializeSampleAllocator
();
1143 HRESULT InitializeSampleAllocator
(
1144 [in] DWORD sample_count
,
1145 [in] IMFMediaType
*media_type
1148 HRESULT AllocateSample
(
1149 [out] IMFSample
**sample
1155 uuid(a792cdbe
-c374
-4e89
-8335-278e7b9956a4
),
1158 interface IMFVideoSampleAllocatorNotify
: IUnknown
1160 HRESULT NotifyRelease
();
1165 uuid(3978aa1a
-6d5b
-4b7f
-a340
-90899189ae34
),
1168 interface IMFVideoSampleAllocatorNotifyEx
: IMFVideoSampleAllocatorNotify
1170 HRESULT NotifyPrune
(IMFSample
*sample
);
1175 uuid(992388b4
-3372-4f67
-8b6f
-c84c071f4751
),
1178 interface IMFVideoSampleAllocatorCallback
: IUnknown
1180 HRESULT SetCallback
(
1181 [in, unique] IMFVideoSampleAllocatorNotify
*callback
1184 HRESULT GetFreeSampleCount
(
1191 uuid(545b3a48
-3283-4f62
-866f
-a62d8f598f9f
),
1193 pointer_default(unique)
1195 interface IMFVideoSampleAllocatorEx
: IMFVideoSampleAllocator
1197 HRESULT InitializeSampleAllocatorEx
(
1198 DWORD initial_sample_count
,
1199 DWORD max_sample_count
,
1200 IMFAttributes
*attributes
,
1201 IMFMediaType
*media_type
1205 typedef enum _MF_VIDEO_PROCESSOR_MIRROR
1210 } MF_VIDEO_PROCESSOR_MIRROR
;
1212 typedef enum _MF_VIDEO_PROCESSOR_ROTATION
1216 } MF_VIDEO_PROCESSOR_ROTATION
;
1220 uuid(a3f675d5
-6119-4f7f
-a100
-1d8b280f0efb
),
1222 pointer_default(unique)
1224 interface IMFVideoProcessorControl
: IUnknown
1226 HRESULT SetBorderColor
(
1230 HRESULT SetSourceRectangle
(
1234 HRESULT SetDestinationRectangle
(
1239 [in] MF_VIDEO_PROCESSOR_MIRROR mirror
1242 HRESULT SetRotation
(
1243 [in] MF_VIDEO_PROCESSOR_ROTATION rotation
1246 HRESULT SetConstrictionSize
(
1253 uuid(bde633d3
-e1dc
-4a7f
-a693
-bbae399c4a20
),
1255 pointer_default(unique)
1257 interface IMFVideoProcessorControl2
: IMFVideoProcessorControl
1259 HRESULT SetRotationOverride
(
1263 HRESULT EnableHardwareEffects
(
1267 HRESULT GetSupportedHardwareEffects
(
1268 [out, retval] UINT
*support
1272 typedef enum _MFVideoSphericalFormat
1274 MFVideoSphericalFormat_Unsupported
,
1275 MFVideoSphericalFormat_Equirectangular
,
1276 } MFVideoSphericalFormat
;
1278 typedef enum MFVideoSphericalProjectionMode
1280 MFVideoSphericalProjectionMode_Spherical
,
1281 MFVideoSphericalProjectionMode_Flat
,
1282 } MFVideoSphericalProjectionMode
;
1286 uuid(2424b3f2
-eb23
-40f1
-91aa
-74bddeea0883
),
1289 interface IMFVideoProcessorControl3
: IMFVideoProcessorControl2
1291 HRESULT GetNaturalOutputType
(
1292 [out] IMFMediaType
**media_type
1295 HRESULT EnableSphericalVideoProcessing
(
1297 [in] MFVideoSphericalFormat format
,
1298 [in] MFVideoSphericalProjectionMode projection_mode
1301 HRESULT SetSphericalVideoProperties
(
1309 HRESULT SetOutputDevice
(
1310 [in] IUnknown
*output_device
1316 uuid(2347d60b
-3fb5
-480c
-8803-8df3adcd3ef0
),
1319 interface IMFRealTimeClient
: IUnknown
1321 HRESULT RegisterThreads
(
1322 [in] DWORD task_index
,
1323 [in] LPCWSTR classname
1326 HRESULT UnregisterThreads
();
1328 HRESULT SetWorkQueue
(
1335 uuid(03910848-ab16
-4611-b100
-17b88ae2f248
),
1337 interface IMFRealTimeClientEx
: IUnknown
1339 HRESULT RegisterThreadsEx
(
1340 [in, out] DWORD
*task_index
,
1341 [in] LPCWSTR classname
,
1342 [in] LONG basepriority
1345 HRESULT UnregisterThreads
( );
1347 HRESULT SetWorkQueueEx
(
1348 [in] DWORD mtqueue_id
,
1349 [in] LONG base_priority
1355 uuid(35fe1bb8
-a3a9
-40fe
-bbec
-eb569c9ccca3
),
1357 interface IMFWorkQueueServices
: IUnknown
1360 HRESULT BeginRegisterTopologyWorkQueuesWithMMCSS
(
1361 [in] IMFAsyncCallback
*callback,
1362 [in] IUnknown
*state
1365 [call_as
(BeginRegisterTopologyWorkQueuesWithMMCSS
)]
1366 HRESULT RemoteBeginRegisterTopologyWorkQueuesWithMMCSS
(
1367 [in] IMFRemoteAsyncCallback
*callback
1371 HRESULT EndRegisterTopologyWorkQueuesWithMMCSS
(
1372 [in] IMFAsyncResult
*result
1375 [call_as
(EndRegisterTopologyWorkQueuesWithMMCSS
)]
1376 HRESULT RemoteEndRegisterTopologyWorkQueuesWithMMCSS
(
1377 [in] IUnknown
*result
1381 HRESULT BeginUnregisterTopologyWorkQueuesWithMMCSS
(
1382 [in] IMFAsyncCallback
*callback,
1383 [in] IUnknown
*state
1386 [call_as
(BeginUnregisterTopologyWorkQueuesWithMMCSS
)]
1387 HRESULT RemoteBeginUnregisterTopologyWorkQueuesWithMMCSS
(
1388 [in] IMFRemoteAsyncCallback
*callback
1392 HRESULT EndUnregisterTopologyWorkQueuesWithMMCSS
(
1393 [in] IMFAsyncResult
*result
1396 [call_as
(EndUnregisterTopologyWorkQueuesWithMMCSS
)]
1397 HRESULT RemoteEndUnregisterTopologyWorkQueuesWithMMCSS
(
1398 [in] IUnknown
*result
1401 HRESULT GetTopologyWorkQueueMMCSSClass
(
1403 [out, size_is(*classname_len
)] LPWSTR classname
,
1404 [in, out] DWORD
*classname_len
1407 HRESULT GetTopologyWorkQueueMMCSSTaskId
(
1413 HRESULT BeginRegisterPlatformWorkQueueWithMMCSS
(
1414 [in] DWORD platform_queue
,
1415 [in] LPCWSTR classname
,
1417 [in] IMFAsyncCallback
*callback,
1418 [in] IUnknown
*state
1421 [call_as
(BeginRegisterPlatformWorkQueueWithMMCSS
)]
1422 HRESULT RemoteBeginRegisterPlatformWorkQueueWithMMCSS
(
1423 [in] DWORD platform_queue
,
1424 [in] LPCWSTR classname
,
1426 [in] IMFRemoteAsyncCallback
*callback
1430 HRESULT EndRegisterPlatformWorkQueueWithMMCSS
(
1431 [in] IMFAsyncResult
*result
,
1435 [call_as
(EndRegisterPlatformWorkQueueWithMMCSS
)]
1436 HRESULT RemoteEndRegisterPlatformWorkQueueWithMMCSS
(
1437 [in] IUnknown
*result
,
1442 HRESULT BeginUnregisterPlatformWorkQueueWithMMCSS
(
1443 [in] DWORD platform_queue
,
1444 [in] IMFAsyncCallback
*callback,
1445 [in] IUnknown
*state
1448 [call_as
(BeginUnregisterPlatformWorkQueueWithMMCSS
)]
1449 HRESULT RemoteBeginUnregisterPlatformWorkQueueWithMMCSS
(
1450 [in] DWORD platform_queue
,
1451 [in] IMFRemoteAsyncCallback
*callback
1455 HRESULT EndUnregisterPlatformWorkQueueWithMMCSS
(
1456 [in] IMFAsyncResult
*result
1459 [call_as
(EndUnregisterPlatformWorkQueueWithMMCSS
)]
1460 HRESULT RemoteEndUnregisterPlatformWorkQueueWithMMCSS
(
1461 [in] IUnknown
*result
1464 HRESULT GetPlaftormWorkQueueMMCSSClass
(
1465 [in] DWORD platform_queue
,
1466 [out, size_is(*classname_len
)] LPWSTR classname
,
1467 [in, out] DWORD
*classname_len
1470 HRESULT GetPlatformWorkQueueMMCSSTaskId
(
1471 [in] DWORD platform_queue
,
1478 uuid(96bf961b
-40fe
-42f1
-ba9d
-320238b49700
),
1480 interface IMFWorkQueueServicesEx
: IMFWorkQueueServices
1482 HRESULT GetTopologyWorkQueueMMCSSPriority
(
1484 [out] LONG *priority
1488 HRESULT BeginRegisterPlatformWorkQueueWithMMCSSEx
(
1489 [in] DWORD platform_queue
,
1490 [in] LPCWSTR classname
,
1493 [in] IMFAsyncCallback
*callback,
1494 [in] IUnknown
*state
1497 [call_as
(BeginRegisterPlatformWorkQueueWithMMCSSEx
)]
1498 HRESULT RemoteBeginRegisterPlatformWorkQueueWithMMCSSEx
(
1499 [in] DWORD platform_queue
,
1500 [in] LPCWSTR classname
,
1503 [in] IMFRemoteAsyncCallback
*callback
1506 HRESULT GetPlatformWorkQueueMMCSSPriority
(
1507 [in] DWORD platform_queue
,
1508 [out] LONG *priority
1514 MF_ACTIVATE_CUSTOM_MIXER_ALLOWFAIL
= 0x00000001,
1519 MF_ACTIVATE_CUSTOM_PRESENTER_ALLOWFAIL
= 0x00000001,
1522 cpp_quote
("#ifdef __cplusplus")
1523 cpp_quote
("static inline HRESULT MFSetAttributeSize(IMFAttributes *attributes, REFGUID key, UINT32 width, UINT32 height)")
1525 cpp_quote
(" return attributes->SetUINT64(key, ((UINT64)width << 32) | height);")
1527 cpp_quote
("static inline HRESULT MFSetAttributeRatio(IMFAttributes *attributes, REFGUID key, UINT32 numerator, UINT32 denominator)")
1529 cpp_quote
(" return attributes->SetUINT64(key, ((UINT64)numerator << 32) | denominator);")
1533 cpp_quote
("#define MF_AUDIO_RENDERER_ATTRIBUTE_FLAGS_CROSSPROCESS 0x00000001")
1534 cpp_quote
("#define MF_AUDIO_RENDERER_ATTRIBUTE_FLAGS_NOPERSIST 0x00000002")
1535 cpp_quote
("#define MF_AUDIO_RENDERER_ATTRIBUTE_FLAGS_DONT_ALLOW_FORMAT_CHANGES 0x00000004")
1537 cpp_quote
("EXTERN_GUID(MF_ACTIVATE_MFT_LOCKED, 0xc1f6093c, 0x7f65, 0x4fbd, 0x9e, 0x39, 0x5f, 0xae, 0xc3, 0xc4, 0xfb, 0xd7);")
1539 cpp_quote
("EXTERN_GUID(MF_SD_LANGUAGE, 0x00af2180, 0xbdc2, 0x423c, 0xab, 0xca, 0xf5, 0x03, 0x59, 0x3b, 0xc1, 0x21);")
1540 cpp_quote
("EXTERN_GUID(MF_SD_MUTUALLY_EXCLUSIVE, 0x023ef79c, 0x388d, 0x487f, 0xac, 0x17, 0x69, 0x6c, 0xd6, 0xe3, 0xc6, 0xf5);")
1541 cpp_quote
("EXTERN_GUID(MF_SD_PROTECTED, 0x00af2181, 0xbdc2, 0x423c, 0xab, 0xca, 0xf5, 0x03, 0x59, 0x3b, 0xc1, 0x21);")
1542 cpp_quote
("EXTERN_GUID(MF_SD_STREAM_NAME, 0x4f1b099d, 0xd314, 0x41e5, 0xa7, 0x81, 0x7f, 0xef, 0xaa, 0x4c, 0x50, 0x1f);")
1543 cpp_quote
("EXTERN_GUID(MF_SD_SAMI_LANGUAGE, 0x36fcb98a, 0x6cd0, 0x44cb, 0xac, 0xb9, 0xa8, 0xf5, 0x60, 0x0d, 0xd0, 0xbb);")
1544 cpp_quote
("EXTERN_GUID(MF_PD_PMPHOST_CONTEXT, 0x6c990d31, 0xbb8e, 0x477a, 0x85, 0x98, 0x0d, 0x5d, 0x96, 0xfc, 0xd8, 0x8a);")
1545 cpp_quote
("EXTERN_GUID(MF_PD_APP_CONTEXT, 0x6c990d32, 0xbb8e, 0x477a, 0x85, 0x98, 0x0d, 0x5d, 0x96, 0xfc, 0xd8, 0x8a);")
1546 cpp_quote
("EXTERN_GUID(MF_PD_DURATION, 0x6c990d33, 0xbb8e, 0x477a, 0x85, 0x98, 0x0d, 0x5d, 0x96, 0xfc, 0xd8, 0x8a);")
1547 cpp_quote
("EXTERN_GUID(MF_PD_TOTAL_FILE_SIZE, 0x6c990d34, 0xbb8e, 0x477a, 0x85, 0x98, 0x0d, 0x5d, 0x96, 0xfc, 0xd8, 0x8a);")
1548 cpp_quote
("EXTERN_GUID(MF_PD_AUDIO_ENCODING_BITRATE, 0x6c990d35, 0xbb8e, 0x477a, 0x85, 0x98, 0x0d, 0x5d, 0x96, 0xfc, 0xd8, 0x8a);")
1549 cpp_quote
("EXTERN_GUID(MF_PD_VIDEO_ENCODING_BITRATE, 0x6c990d36, 0xbb8e, 0x477a, 0x85, 0x98, 0x0d, 0x5d, 0x96, 0xfc, 0xd8, 0x8a);")
1550 cpp_quote
("EXTERN_GUID(MF_PD_MIME_TYPE, 0x6c990d37, 0xbb8e, 0x477a, 0x85, 0x98, 0x0d, 0x5d, 0x96, 0xfc, 0xd8, 0x8a);")
1551 cpp_quote
("EXTERN_GUID(MF_PD_LAST_MODIFIED_TIME, 0x6c990d38, 0xbb8e, 0x477a, 0x85, 0x98, 0x0d, 0x5d, 0x96, 0xfc, 0xd8, 0x8a);")
1552 cpp_quote
("EXTERN_GUID(MF_PD_PLAYBACK_ELEMENT_ID, 0x6c990d39, 0xbb8e, 0x477a, 0x85, 0x98, 0x0d, 0x5d, 0x96, 0xfc, 0xd8, 0x8a);")
1553 cpp_quote
("EXTERN_GUID(MF_PD_PREFERRED_LANGUAGE, 0x6c990d3a, 0xbb8e, 0x477a, 0x85, 0x98, 0x0d, 0x5d, 0x96, 0xfc, 0xd8, 0x8a);")
1554 cpp_quote
("EXTERN_GUID(MF_PD_PLAYBACK_BOUNDARY_TIME, 0x6c990d3b, 0xbb8e, 0x477a, 0x85, 0x98, 0x0d, 0x5d, 0x96, 0xfc, 0xd8, 0x8a);")
1555 cpp_quote
("EXTERN_GUID(MF_PD_AUDIO_ISVARIABLEBITRATE, 0x33026ee0, 0xe387, 0x4582, 0xae, 0x0a, 0x34, 0xa2, 0xad, 0x3b, 0xaa, 0x18);")
1556 cpp_quote
("DEFINE_GUID(MF_PD_ADAPTIVE_STREAMING, 0xea0d5d97, 0x29f9, 0x488b, 0xae, 0x6b, 0x7d, 0x6b, 0x41, 0x36, 0x11, 0x2b);")
1557 cpp_quote
("EXTERN_GUID(MF_PD_SAMI_STYLELIST, 0xe0b73c7f, 0x486d, 0x484e, 0x98, 0x72, 0x4d, 0xe5, 0x19, 0x2a, 0x7b, 0xf8);")
1559 cpp_quote
("EXTERN_GUID(MF_DEVSOURCE_ATTRIBUTE_SOURCE_TYPE, 0xc60ac5fe, 0x252a, 0x478f, 0xa0, 0xef, 0xbc, 0x8f, 0xa5, 0xf7, 0xca, 0xd3);")
1560 cpp_quote
("EXTERN_GUID(MF_DEVSOURCE_ATTRIBUTE_MEDIA_TYPE, 0x56a819ca, 0x0c78, 0x4de4, 0xa0, 0xa7, 0x3d, 0xda, 0xba, 0x0f, 0x24, 0xd4);")
1561 cpp_quote
("EXTERN_GUID(MF_DEVSOURCE_ATTRIBUTE_FRIENDLY_NAME, 0x60d0e559, 0x52f8, 0x4fa2, 0xbb, 0xce, 0xac, 0xdb, 0x34, 0xa8, 0xec, 0x01);")
1562 cpp_quote
("EXTERN_GUID(MF_DEVSOURCE_ATTRIBUTE_SOURCE_TYPE_AUDCAP_SYMBOLIC_LINK, 0x98d24b5e, 0x5930, 0x4614, 0xb5, 0xa1, 0xf6, 0x00, 0xf9, 0x35, 0x5a, 0x78);")
1563 cpp_quote
("EXTERN_GUID(MF_DEVSOURCE_ATTRIBUTE_SOURCE_TYPE_AUDCAP_ENDPOINT_ID, 0x30da9258, 0xfeb9, 0x47a7, 0xa4, 0x53, 0x76, 0x3a, 0x7a, 0x8e, 0x1c, 0x5f);")
1564 cpp_quote
("EXTERN_GUID(MF_DEVSOURCE_ATTRIBUTE_SOURCE_TYPE_AUDCAP_ROLE, 0xbc9d118e, 0x8c67, 0x4a18, 0x85, 0xd4, 0x12, 0xd3, 0x00, 0x40, 0x05, 0x52);")
1565 cpp_quote
("EXTERN_GUID(MF_DEVSOURCE_ATTRIBUTE_SOURCE_TYPE_VIDCAP_CATEGORY, 0x77f0ae69, 0xc3bd, 0x4509, 0x94, 0x1d, 0x46, 0x7e, 0x4d, 0x24, 0x89, 0x9e);")
1566 cpp_quote
("EXTERN_GUID(MF_DEVSOURCE_ATTRIBUTE_SOURCE_TYPE_VIDCAP_HW_SOURCE, 0xde7046ba, 0x54d6, 0x4487, 0xa2, 0xa4, 0xec, 0x7c, 0x0d, 0x1b, 0xd1, 0x63);")
1567 cpp_quote
("EXTERN_GUID(MF_DEVSOURCE_ATTRIBUTE_SOURCE_TYPE_VIDCAP_PROVIDER_DEVICE_ID, 0x36689d42, 0xa06c, 0x40ae, 0x84, 0xcf, 0xf5, 0xa0, 0x34, 0x06, 0x7c, 0xc4);")
1568 cpp_quote
("EXTERN_GUID(MF_DEVSOURCE_ATTRIBUTE_SOURCE_TYPE_VIDCAP_SYMBOLIC_LINK, 0x58f0aad8, 0x22bf, 0x4f8a, 0xbb, 0x3d, 0xd2, 0xc4, 0x97, 0x8c, 0x6e, 0x2f);")
1569 cpp_quote
("EXTERN_GUID(MF_DEVSOURCE_ATTRIBUTE_SOURCE_TYPE_VIDCAP_MAX_BUFFERS, 0x7dd9b730, 0x4f2d, 0x41d5, 0x8f, 0x95, 0x0c, 0xc9, 0xa9, 0x12, 0xba, 0x26);")
1571 cpp_quote
("EXTERN_GUID(MF_DEVSOURCE_ATTRIBUTE_SOURCE_TYPE_AUDCAP_GUID, 0x14dd9a1c, 0x7cff, 0x41be, 0xb1, 0xb9, 0xba, 0x1a, 0xc6, 0xec, 0xb5, 0x71);")
1572 cpp_quote
("EXTERN_GUID(MF_DEVSOURCE_ATTRIBUTE_SOURCE_TYPE_VIDCAP_GUID, 0x8ac3587a, 0x4ae7, 0x42d8, 0x99, 0xe0, 0x0a, 0x60, 0x13, 0xee, 0xf9, 0x0f);")
1574 cpp_quote
("EXTERN_GUID(MF_TOPONODE_CONNECT_METHOD, 0x494bbcf1, 0xb031, 0x4e38, 0x97, 0xc4, 0xd5, 0x42, 0x2d, 0xd6, 0x18, 0xdc);")
1575 cpp_quote
("EXTERN_GUID(MF_TOPONODE_D3DAWARE, 0x494bbced, 0xb031, 0x4e38, 0x97, 0xc4, 0xd5, 0x42, 0x2d, 0xd6, 0x18, 0xdc);")
1576 cpp_quote
("EXTERN_GUID(MF_TOPONODE_DECODER, 0x494bbd02, 0xb031, 0x4e38, 0x97, 0xc4, 0xd5, 0x42, 0x2d, 0xd6, 0x18, 0xdc);")
1577 cpp_quote
("EXTERN_GUID(MF_TOPONODE_DECRYPTOR, 0x494bbcfa, 0xb031, 0x4e38, 0x97, 0xc4, 0xd5, 0x42, 0x2d, 0xd6, 0x18, 0xdc);")
1578 cpp_quote
("EXTERN_GUID(MF_TOPONODE_DISABLE_PREROLL, 0x14932f9e, 0x9087, 0x4bb4, 0x84, 0x12, 0x51, 0x67, 0x14, 0x5c, 0xbe, 0x04);")
1579 cpp_quote
("EXTERN_GUID(MF_TOPONODE_DISCARDABLE, 0x494bbcfb, 0xb031, 0x4e38, 0x97, 0xc4, 0xd5, 0x42, 0x2d, 0xd6, 0x18, 0xdc);")
1580 cpp_quote
("EXTERN_GUID(MF_TOPONODE_DRAIN, 0x494bbce9, 0xb031, 0x4e38, 0x97, 0xc4, 0xd5, 0x42, 0x2d, 0xd6, 0x18, 0xdc);")
1581 cpp_quote
("EXTERN_GUID(MF_TOPONODE_ERROR_MAJORTYPE, 0x494bbcfd, 0xb031, 0x4e38, 0x97, 0xc4, 0xd5, 0x42, 0x2d, 0xd6, 0x18, 0xdc);")
1582 cpp_quote
("EXTERN_GUID(MF_TOPONODE_ERROR_SUBTYPE, 0x494bbcfe, 0xb031, 0x4e38, 0x97, 0xc4, 0xd5, 0x42, 0x2d, 0xd6, 0x18, 0xdc);")
1583 cpp_quote
("EXTERN_GUID(MF_TOPONODE_ERRORCODE, 0x494bbcee, 0xb031, 0x4e38, 0x97, 0xc4, 0xd5, 0x42, 0x2d, 0xd6, 0x18, 0xdc);")
1584 cpp_quote
("EXTERN_GUID(MF_TOPONODE_FLUSH, 0x494bbce8, 0xb031, 0x4e38, 0x97, 0xc4, 0xd5, 0x42, 0x2d, 0xd6, 0x18, 0xdc);")
1585 cpp_quote
("EXTERN_GUID(MF_TOPONODE_LOCKED, 0x494bbcf7, 0xb031, 0x4e38, 0x97, 0xc4, 0xd5, 0x42, 0x2d, 0xd6, 0x18, 0xdc);")
1586 cpp_quote
("EXTERN_GUID(MF_TOPONODE_MARKIN_HERE, 0x494bbd00, 0xb031, 0x4e38, 0x97, 0xc4, 0xd5, 0x42, 0x2d, 0xd6, 0x18, 0xdc);")
1587 cpp_quote
("EXTERN_GUID(MF_TOPONODE_MARKOUT_HERE, 0x494bbd01, 0xb031, 0x4e38, 0x97, 0xc4, 0xd5, 0x42, 0x2d, 0xd6, 0x18, 0xdc);")
1588 cpp_quote
("EXTERN_GUID(MF_TOPONODE_MEDIASTART, 0x835c58ea, 0xe075, 0x4bc7, 0xbc, 0xba, 0x4d, 0xe0, 0x00, 0xdf, 0x9a, 0xe6);")
1589 cpp_quote
("EXTERN_GUID(MF_TOPONODE_MEDIASTOP, 0x835c58eb, 0xe075, 0x4bc7, 0xbc, 0xba, 0x4d, 0xe0, 0x00, 0xdf, 0x9a, 0xe6);")
1590 cpp_quote
("EXTERN_GUID(MF_TOPONODE_NOSHUTDOWN_ON_REMOVE, 0x14932f9c, 0x9087, 0x4bb4, 0x84, 0x12, 0x51, 0x67, 0x14, 0x5c, 0xbe, 0x04);")
1591 cpp_quote
("EXTERN_GUID(MF_TOPONODE_PRESENTATION_DESCRIPTOR, 0x835c58ed, 0xe075, 0x4bc7, 0xbc, 0xba, 0x4d, 0xe0, 0x00, 0xdf, 0x9a, 0xe6);")
1592 cpp_quote
("EXTERN_GUID(MF_TOPONODE_PRIMARYOUTPUT, 0x6304ef99, 0x16b2, 0x4ebe, 0x9d, 0x67, 0xe4, 0xc5, 0x39, 0xb3, 0xa2, 0x59);")
1593 cpp_quote
("EXTERN_GUID(MF_TOPONODE_RATELESS, 0x14932f9d, 0x9087, 0x4bb4, 0x84, 0x12, 0x51, 0x67, 0x14, 0x5c, 0xbe, 0x04);")
1594 cpp_quote
("EXTERN_GUID(MF_TOPONODE_SEQUENCE_ELEMENTID, 0x835c58ef, 0xe075, 0x4bc7, 0xbc, 0xba, 0x4d, 0xe0, 0x00, 0xdf, 0x9a, 0xe6);")
1595 cpp_quote
("EXTERN_GUID(MF_TOPONODE_SOURCE, 0x835c58ec, 0xe075, 0x4bc7, 0xbc, 0xba, 0x4d, 0xe0, 0x00, 0xdf, 0x9a, 0xe6);")
1596 cpp_quote
("EXTERN_GUID(MF_TOPONODE_STREAM_DESCRIPTOR, 0x835c58ee, 0xe075, 0x4bc7, 0xbc, 0xba, 0x4d, 0xe0, 0x00, 0xdf, 0x9a, 0xe6);")
1597 cpp_quote
("EXTERN_GUID(MF_TOPONODE_STREAMID, 0x14932f9b, 0x9087, 0x4bb4, 0x84, 0x12, 0x51, 0x67, 0x14, 0x5c, 0xbe, 0x04);")
1598 cpp_quote
("EXTERN_GUID(MF_TOPONODE_TRANSFORM_OBJECTID, 0x88dcc0c9, 0x293e, 0x4e8b, 0x9a, 0xeb, 0xa, 0xd6, 0x4c, 0xc0, 0x16, 0xb0);")
1599 cpp_quote
("EXTERN_GUID(MF_TOPONODE_WORKQUEUE_ID, 0x494bbcf8, 0xb031, 0x4e38, 0x97, 0xc4, 0xd5, 0x42, 0x2d, 0xd6, 0x18, 0xdc);")
1600 cpp_quote
("EXTERN_GUID(MF_TOPONODE_WORKQUEUE_ITEM_PRIORITY, 0xa1ff99be, 0x5e97, 0x4a53, 0xb4, 0x94, 0x56, 0x8c, 0x64, 0x2c, 0x0f, 0xf3);")
1601 cpp_quote
("EXTERN_GUID(MF_TOPONODE_WORKQUEUE_MMCSS_CLASS, 0x494bbcf9, 0xb031, 0x4e38, 0x97, 0xc4, 0xd5, 0x42, 0x2d, 0xd6, 0x18, 0xdc);")
1602 cpp_quote
("EXTERN_GUID(MF_TOPONODE_WORKQUEUE_MMCSS_PRIORITY, 0x5001f840, 0x2816, 0x48f4, 0x93, 0x64, 0xad, 0x1e, 0xf6, 0x61, 0xa1, 0x23);")
1603 cpp_quote
("EXTERN_GUID(MF_TOPONODE_WORKQUEUE_MMCSS_TASKID, 0x494bbcff, 0xb031, 0x4e38, 0x97, 0xc4, 0xd5, 0x42, 0x2d, 0xd6, 0x18, 0xdc);")
1605 cpp_quote
("EXTERN_GUID(MF_TOPOLOGY_DXVA_MODE, 0x1e8d34f6, 0xf5ab, 0x4e23, 0xbb, 0x88, 0x87, 0x4a, 0xa3, 0xa1, 0xa7, 0x4d);")
1606 cpp_quote
("EXTERN_GUID(MF_TOPOLOGY_DYNAMIC_CHANGE_NOT_ALLOWED, 0xd529950b, 0xd484, 0x4527, 0xa9, 0xcd, 0xb1, 0x90, 0x95, 0x32, 0xb5, 0xb0);")
1607 cpp_quote
("EXTERN_GUID(MF_TOPOLOGY_ENABLE_XVP_FOR_PLAYBACK, 0x1967731f, 0xcd78, 0x42fc, 0xb0, 0x26, 0x09, 0x92, 0xa5, 0x6e, 0x56, 0x93);")
1608 cpp_quote
("EXTERN_GUID(MF_TOPOLOGY_ENUMERATE_SOURCE_TYPES, 0x6248c36d, 0x5d0b, 0x4f40, 0xa0, 0xbb, 0xb0, 0xb3, 0x05, 0xf7, 0x76, 0x98);")
1609 cpp_quote
("EXTERN_GUID(MF_TOPOLOGY_HARDWARE_MODE, 0xd2d362fd, 0x4e4f, 0x4191, 0xa5, 0x79, 0xc6, 0x18, 0xb6, 0x67, 0x06, 0xaf);")
1610 cpp_quote
("EXTERN_GUID(MF_TOPOLOGY_NO_MARKIN_MARKOUT, 0x7ed3f804, 0x86bb, 0x4b3f, 0xb7, 0xe4, 0x7c, 0xb4, 0x3a, 0xfd, 0x4b, 0x80);")
1611 cpp_quote
("EXTERN_GUID(MF_TOPOLOGY_PLAYBACK_FRAMERATE, 0xc164737a, 0xc2b1, 0x4553, 0x83, 0xbb, 0x5a, 0x52, 0x60, 0x72, 0x44, 0x8f);")
1612 cpp_quote
("EXTERN_GUID(MF_TOPOLOGY_PLAYBACK_MAX_DIMS, 0x5715cf19, 0x5768, 0x44aa, 0xad, 0x6e, 0x87, 0x21, 0xf1, 0xb0, 0xf9, 0xbb);")
1613 cpp_quote
("EXTERN_GUID(MF_TOPOLOGY_PROJECTSTART, 0x7ed3f802, 0x86bb, 0x4b3f, 0xb7, 0xe4, 0x7c, 0xb4, 0x3a, 0xfd, 0x4b, 0x80);")
1614 cpp_quote
("EXTERN_GUID(MF_TOPOLOGY_PROJECTSTOP, 0x7ed3f803, 0x86bb, 0x4b3f, 0xb7, 0xe4, 0x7c, 0xb4, 0x3a, 0xfd, 0x4b, 0x80);")
1615 cpp_quote
("EXTERN_GUID(MF_TOPOLOGY_RESOLUTION_STATUS, 0x494bbcde, 0xb031, 0x4e38, 0x97, 0xc4, 0xd5, 0x42, 0x2d, 0xd6, 0x18, 0xdc);")
1616 cpp_quote
("EXTERN_GUID(MF_TOPOLOGY_START_TIME_ON_PRESENTATION_SWITCH, 0xc8cc113f, 0x7951, 0x4548, 0xaa, 0xd6, 0x9e, 0xd6, 0x20, 0x2e, 0x62, 0xb3);")
1617 cpp_quote
("EXTERN_GUID(MF_TOPOLOGY_STATIC_PLAYBACK_OPTIMIZATIONS, 0xb86cac42, 0x41a6, 0x4b79, 0x89, 0x7a, 0x1a, 0xb0, 0xe5, 0x2b, 0x4a, 0x1b);")
1619 cpp_quote
("EXTERN_GUID(MF_RATE_CONTROL_SERVICE, 0x866fa297, 0xb802, 0x4bf8, 0x9d, 0xc9, 0x5e, 0x3b, 0x6a, 0x9f, 0x53, 0xc9);")
1620 cpp_quote
("EXTERN_GUID(MF_LOCAL_MFT_REGISTRATION_SERVICE, 0xddf5cf9c, 0x4506, 0x45aa, 0xab, 0xf0, 0x6d, 0x5d, 0x94, 0xdd, 0x1b, 0x4a);")
1621 cpp_quote
("EXTERN_C const GUID MF_SCRUBBING_SERVICE;")
1622 cpp_quote
("EXTERN_GUID(MF_TOPONODE_ATTRIBUTE_EDITOR_SERVICE, 0x65656e1a, 0x077f, 0x4472, 0x83, 0xef, 0x31, 0x6f, 0x11, 0xd5, 0x08, 0x7a);")
1623 cpp_quote
("EXTERN_GUID(MR_POLICY_VOLUME_SERVICE, 0x1abaa2ac, 0x9d3b, 0x47c6, 0xab, 0x48, 0xc5, 0x95, 0x06, 0xde, 0x78, 0x4d);")
1624 cpp_quote
("EXTERN_GUID(MR_CAPTURE_POLICY_VOLUME_SERVICE, 0x24030acd, 0x107a, 0x4265, 0x97, 0x5c, 0x41, 0x4e, 0x33, 0xe6, 0x5f, 0x2a);")
1625 cpp_quote
("EXTERN_GUID(MR_STREAM_VOLUME_SERVICE, 0xf8b5fa2f, 0x32ef, 0x46f5, 0xb1, 0x72, 0x13, 0x21, 0x21, 0x2f, 0xb2, 0xc4);")
1626 cpp_quote
("EXTERN_GUID(MR_AUDIO_POLICY_SERVICE, 0x911fd737, 0x6775, 0x4ab0, 0xa6, 0x14, 0x29, 0x78, 0x62, 0xfd, 0xac, 0x88);")
1627 cpp_quote
("EXTERN_GUID(MF_PROPERTY_HANDLER_SERVICE, 0xa3face02, 0x32b8, 0x41dd, 0x90, 0xe7, 0x5f, 0xef, 0x7c, 0x89, 0x91, 0xb5);")
1628 cpp_quote
("EXTERN_GUID(MF_WORKQUEUE_SERVICES, 0x8e37d489, 0x41e0, 0x413a, 0x90, 0x68, 0x28, 0x7c, 0x88, 0x6d, 0x8d, 0xda);")
1630 cpp_quote
("EXTERN_GUID(MF_PROGRESSIVE_CODING_CONTENT, 0x8f020eea, 0x1508, 0x471f, 0x9d, 0xa6, 0x50, 0x7d, 0x7c, 0xfa, 0x40, 0xdb);")
1631 cpp_quote
("EXTERN_GUID(MF_NALU_LENGTH_SET, 0xa7911d53, 0x12a4, 0x4965, 0xae, 0x70, 0x6e, 0xad, 0xd6, 0xff, 0x05, 0x51);")
1633 cpp_quote
("EXTERN_GUID(MF_SAMPLEGRABBERSINK_SAMPLE_TIME_OFFSET, 0x62e3d776, 0x8100, 0x4e03, 0xa6, 0xe8, 0xbd, 0x38, 0x57, 0xac, 0x9c, 0x47);")
1634 cpp_quote
("EXTERN_GUID(MF_SAMPLEGRABBERSINK_IGNORE_CLOCK, 0x0efda2c0, 0x2b69, 0x4e2e, 0xab, 0x8d, 0x46, 0xdc, 0xbf, 0xf7, 0xd2, 0x5d);")
1636 cpp_quote
("EXTERN_GUID(MF_SESSION_TOPOLOADER, 0x1e83d482, 0x1f1c, 0x4571, 0x84, 0x05, 0x88, 0xf4, 0xb2, 0x18, 0x1f, 0x71);")
1637 cpp_quote
("EXTERN_GUID(MF_SESSION_GLOBAL_TIME, 0x1e83d482, 0x1f1c, 0x4571, 0x84, 0x05, 0x88, 0xf4, 0xb2, 0x18, 0x1f, 0x72);")
1638 cpp_quote
("EXTERN_GUID(MF_SESSION_QUALITY_MANAGER, 0x1e83d482, 0x1f1c, 0x4571, 0x84, 0x05, 0x88, 0xf4, 0xb2, 0x18, 0x1f, 0x73);")
1639 cpp_quote
("EXTERN_GUID(MF_SESSION_CONTENT_PROTECTION_MANAGER, 0x1e83d482, 0x1f1c, 0x4571, 0x84, 0x05, 0x88, 0xf4, 0xb2, 0x18, 0x1f, 0x74);")
1640 cpp_quote
("EXTERN_GUID(MF_SESSION_SERVER_CONTEXT, 0xafe5b291, 0x50fa, 0x46e8, 0xb9, 0xbe, 0x0c, 0x0c, 0x3c, 0xe4, 0xb3, 0xa5);")
1641 cpp_quote
("EXTERN_GUID(MF_SESSION_REMOTE_SOURCE_MODE, 0xf4033ef4, 0x9bb3, 0x4378, 0x94, 0x1f, 0x85, 0xa0, 0x85, 0x6b, 0xc2, 0x44);")
1642 cpp_quote
("EXTERN_GUID(MF_SESSION_APPROX_EVENT_OCCURRENCE_TIME, 0x190e852f, 0x6238, 0x42d1, 0xb5, 0xaf, 0x69, 0xea, 0x33, 0x8e, 0xf8, 0x50);")
1643 cpp_quote
("EXTERN_GUID(MF_PMP_SERVER_CONTEXT, 0x2f00c910, 0xd2cf, 0x4278, 0x8b, 0x6a, 0xd0, 0x77, 0xfa, 0xc3, 0xa2, 0x5f);")
1645 cpp_quote
("EXTERN_GUID(MF_AUDIO_RENDERER_ATTRIBUTE_FLAGS, 0xede4b5e0, 0xf805, 0x4d6c, 0x99, 0xb3, 0xdb, 0x01, 0xbf, 0x95, 0xdf, 0xab);")
1646 cpp_quote
("EXTERN_GUID(MF_AUDIO_RENDERER_ATTRIBUTE_SESSION_ID, 0xede4b5e3, 0xf805, 0x4d6c, 0x99, 0xb3, 0xdb, 0x01, 0xbf, 0x95, 0xdf, 0xab);")
1647 cpp_quote
("EXTERN_GUID(MF_AUDIO_RENDERER_ATTRIBUTE_ENDPOINT_ID, 0xb10aaec3, 0xef71, 0x4cc3, 0xb8, 0x73, 0x05, 0xa9, 0xa0, 0x8b, 0x9f, 0x8e);")
1648 cpp_quote
("EXTERN_GUID(MF_AUDIO_RENDERER_ATTRIBUTE_ENDPOINT_ROLE, 0x6ba644ff, 0x27c5, 0x4d02, 0x98, 0x87, 0xc2, 0x86, 0x19, 0xfd, 0xb9, 0x1b);")
1649 cpp_quote
("EXTERN_GUID(MF_AUDIO_RENDERER_ATTRIBUTE_STREAM_CATEGORY, 0xa9770471, 0x92ec, 0x4df4, 0x94, 0xfe, 0x81, 0xc3, 0x6f, 0x0c, 0x3a, 0x7a);")
1651 cpp_quote
("EXTERN_GUID(MF_ACTIVATE_VIDEO_WINDOW, 0x9a2dbbdd, 0xf57e, 0x4162, 0x82, 0xb9, 0x68, 0x31, 0x37, 0x76, 0x82, 0xd3);")
1652 cpp_quote
("EXTERN_GUID(MF_ACTIVATE_CUSTOM_VIDEO_MIXER_CLSID, 0xba491360, 0xbe50, 0x451e, 0x95, 0xab, 0x6d, 0x4a, 0xcc, 0xc7, 0xda, 0xd8);")
1653 cpp_quote
("EXTERN_GUID(MF_ACTIVATE_CUSTOM_VIDEO_MIXER_ACTIVATE, 0xba491361, 0xbe50, 0x451e, 0x95, 0xab, 0x6d, 0x4a, 0xcc, 0xc7, 0xda, 0xd8);")
1654 cpp_quote
("EXTERN_GUID(MF_ACTIVATE_CUSTOM_VIDEO_MIXER_FLAGS, 0xba491362, 0xbe50, 0x451e, 0x95, 0xab, 0x6d, 0x4a, 0xcc, 0xc7, 0xda, 0xd8);")
1655 cpp_quote
("EXTERN_GUID(MF_ACTIVATE_CUSTOM_VIDEO_PRESENTER_CLSID, 0xba491364, 0xbe50, 0x451e, 0x95, 0xab, 0x6d, 0x4a, 0xcc, 0xc7, 0xda, 0xd8);")
1656 cpp_quote
("EXTERN_GUID(MF_ACTIVATE_CUSTOM_VIDEO_PRESENTER_ACTIVATE, 0xba491365, 0xbe50, 0x451e, 0x95, 0xab, 0x6d, 0x4a, 0xcc, 0xc7, 0xda, 0xd8);")
1657 cpp_quote
("EXTERN_GUID(MF_ACTIVATE_CUSTOM_VIDEO_PRESENTER_FLAGS, 0xba491366, 0xbe50, 0x451e, 0x95, 0xab, 0x6d, 0x4a, 0xcc, 0xc7, 0xda, 0xd8);")
1659 cpp_quote
("EXTERN_GUID(MF_VIDEO_PROCESSOR_ALGORITHM, 0x4a0a1e1f, 0x272c, 0x4fb6, 0x9e, 0xb1, 0xdb, 0x33, 0x0c, 0xbc, 0x97, 0xca);")
1660 cpp_quote
("EXTERN_GUID(MF_XVP_DISABLE_FRC, 0x2c0afa19, 0x7a97, 0x4d5a, 0x9e, 0xe8, 0x16, 0xd4, 0xfc, 0x51, 0x8d, 0x8c);")
1661 cpp_quote
("EXTERN_GUID(MF_XVP_CALLER_ALLOCATES_OUTPUT, 0x4a2cabc, 0x0cab, 0x40b1, 0xa1, 0xb9, 0x75, 0xbc, 0x36, 0x58, 0xf0, 0x00);")
1662 cpp_quote
("EXTERN_GUID(MF_XVP_SAMPLE_LOCK_TIMEOUT, 0xaa4ddb29, 0x5134, 0x4363, 0xac, 0x72, 0x83, 0xec, 0x4b, 0xc1, 0x04, 0x26);")
1664 cpp_quote
("EXTERN_GUID(CLSID_MSAACDecMFT, 0x32d186a7, 0x218f, 0x4c75, 0x88, 0x76, 0xdd, 0x77, 0x27, 0x3a, 0x89, 0x99);")
1665 cpp_quote
("EXTERN_GUID(CLSID_MSDDPlusDecMFT, 0x177c0afe, 0x900b, 0x48d4, 0x9e, 0x4c, 0x57, 0xad, 0xd2, 0x50, 0xb3, 0xd4);")
1666 cpp_quote
("EXTERN_GUID(CLSID_MSMPEGAudDecMFT, 0x70707b39, 0xb2ca, 0x4015, 0xab, 0xea, 0xf8, 0x44, 0x7d, 0x22, 0xd8, 0x8b);")
1667 cpp_quote
("EXTERN_GUID(CLSID_MSMPEGDecoderMFT, 0x2d709e52, 0x123f, 0x49b5, 0x9c, 0xbc, 0x9a, 0xf5, 0xcd, 0xe2, 0x8f, 0xb9);")
1668 cpp_quote
("EXTERN_GUID(CLSID_MSH264DecoderMFT, 0x62ce7e72, 0x4c71, 0x4d20, 0xb1, 0x5d, 0x45, 0x28, 0x31, 0xa8, 0x7d, 0x9d);")
1669 cpp_quote
("EXTERN_GUID(CLSID_MSH264EncoderMFT, 0x6ca50344, 0x051a, 0x4ded, 0x97, 0x79, 0xa4, 0x33, 0x05, 0x16, 0x5e, 0x35);")
1670 cpp_quote
("EXTERN_GUID(CLSID_MSH265DecoderMFT, 0x420a51a3, 0xd605, 0x430c, 0xb4, 0xfc, 0x45, 0x27, 0x4f, 0xa6, 0xc5, 0x62);")
1671 cpp_quote
("EXTERN_GUID(CLSID_MSVPxDecoder, 0xe3aaf548, 0xc9a4, 0x4c6e, 0x23, 0x4d, 0x5a, 0xda, 0x37, 0x4b, 0x00, 0x00);")
1672 cpp_quote
("EXTERN_GUID(CLSID_VideoProcessorMFT, 0x88753b26, 0x5b24, 0x49bd, 0xb2, 0xe7, 0xc, 0x44, 0x5c, 0x78, 0xc9, 0x82);")
1673 cpp_quote
("EXTERN_GUID(CLSID_WMVDecoderMFT, 0x82d353df, 0x90bd, 0x4382, 0x8b, 0xc2, 0x3f, 0x61, 0x92, 0xb7, 0x6e, 0x34);")
1674 cpp_quote
("EXTERN_GUID(CLSID_AudioResamplerMediaObject, 0xf447b69e, 0x1884, 0x4a7e, 0x80, 0x55, 0x34, 0x6f, 0x74, 0xd6, 0xed, 0xb3);")
1675 cpp_quote
("EXTERN_GUID(CLSID_MP3DecMediaObject, 0xbbeea841, 0x0a63, 0x4f52, 0xa7, 0xab, 0xa9, 0xb3, 0xa8, 0x4e, 0xd3, 0x8a);")
1676 cpp_quote
("EXTERN_GUID(CLSID_WMADecMediaObject, 0x2eeb4adf, 0x4578, 0x4d10, 0xbc, 0xa7, 0xbb, 0x95, 0x5f, 0x56, 0x32, 0x0a);")
1678 cpp_quote
("EXTERN_GUID(CLSID_HttpSchemePlugin, 0x44cb442b, 0x9da9, 0x49df, 0xb3, 0xfd, 0x02, 0x37, 0x77, 0xb1, 0x6e, 0x50);")
1679 cpp_quote
("EXTERN_GUID(CLSID_NetSchemePlugin, 0xe9f4ebab, 0xd97b, 0x463e, 0xa2, 0xb1, 0xc5, 0x4e, 0xe3, 0xf9, 0x41, 0x4d);")
1680 cpp_quote
("EXTERN_GUID(CLSID_UrlmonSchemePlugin, 0x9ec4b4f9, 0x3029, 0x45ad, 0x94, 0x7b, 0x34, 0x4d, 0xe2, 0xa2, 0x49, 0xe2);")
1682 cpp_quote
("EXTERN_GUID(MF_TRANSCODE_ADJUST_PROFILE, 0x9c37c21b, 0x060f, 0x487c, 0xa6, 0x90, 0x80, 0xd7, 0xf5, 0x0d, 0x1c, 0x72);")
1683 cpp_quote
("EXTERN_GUID(MF_TRANSCODE_CONTAINERTYPE, 0x150ff23f, 0x4abc, 0x478b, 0xac, 0x4f, 0xe1, 0x91, 0x6f, 0xba, 0x1c, 0xca);")
1684 cpp_quote
("EXTERN_GUID(MF_TRANSCODE_DONOT_INSERT_ENCODER, 0xf45aa7ce, 0xab24, 0x4012, 0xa1, 0x1b, 0xdc, 0x82, 0x20, 0x20, 0x14, 0x10);")
1685 cpp_quote
("EXTERN_GUID(MF_TRANSCODE_ENCODINGPROFILE, 0x6947787c, 0xf508, 0x4ea9, 0xb1, 0xe9, 0xa1, 0xfe, 0x3a, 0x49, 0xfb, 0xc9);")
1686 cpp_quote
("EXTERN_GUID(MF_TRANSCODE_SKIP_METADATA_TRANSFER, 0x4e4469ef, 0xb571, 0x4959, 0x8f, 0x83, 0x3d, 0xcf, 0xba, 0x33, 0xa3, 0x93);")
1687 cpp_quote
("EXTERN_GUID(MF_TRANSCODE_TOPOLOGYMODE, 0x3e3df610, 0x394a, 0x40b2, 0x9d, 0xea, 0x3b, 0xab, 0x65, 0x0b, 0xeb, 0xf2);")
1688 cpp_quote
("EXTERN_GUID(MF_TRANSCODE_QUALITYVSSPEED, 0x98332df8, 0x03cd, 0x476b, 0x89, 0xfa, 0x3f, 0x9e, 0x44, 0x2d, 0xec, 0x9f);")
1690 cpp_quote
("EXTERN_GUID(MFTranscodeContainerType_3GP, 0x34c50167, 0x4472, 0x4f34, 0x9e, 0xa0, 0xc4, 0x9f, 0xba, 0xcf, 0x03, 0x7d);")
1691 cpp_quote
("EXTERN_GUID(MFTranscodeContainerType_AC3, 0x6d8d91c3, 0x8c91, 0x4ed1, 0x87, 0x42, 0x8c, 0x34, 0x7d, 0x5b, 0x44, 0xd0);")
1692 cpp_quote
("EXTERN_GUID(MFTranscodeContainerType_ADTS, 0x132fd27d, 0x0f02, 0x43de, 0xa3, 0x01, 0x38, 0xfb, 0xbb, 0xb3, 0x83, 0x4e);")
1693 cpp_quote
("EXTERN_GUID(MFTranscodeContainerType_AMR, 0x25d5ad3, 0x621a, 0x475b, 0x96, 0x4d, 0x66, 0xb1, 0xc8, 0x24, 0xf0, 0x79);")
1694 cpp_quote
("EXTERN_GUID(MFTranscodeContainerType_ASF, 0x430f6f6e, 0xb6bf, 0x4fc1, 0xa0, 0xbd, 0x9e, 0xe4, 0x6e, 0xee, 0x2a, 0xfb);")
1695 cpp_quote
("EXTERN_GUID(MFTranscodeContainerType_AVI, 0x7edfe8af, 0x402f, 0x4d76, 0xa3, 0x3c, 0x61, 0x9f, 0xd1, 0x57, 0xd0, 0xf1);")
1696 cpp_quote
("EXTERN_GUID(MFTranscodeContainerType_FLAC, 0x31344aa3, 0x05a9, 0x42b5, 0x90, 0x1b, 0x8e, 0x9d, 0x42, 0x57, 0xf7, 0x5e);")
1697 cpp_quote
("EXTERN_GUID(MFTranscodeContainerType_FMPEG4, 0x9ba876f1, 0x419f, 0x4b77, 0xa1, 0xe0, 0x35, 0x95, 0x9d, 0x9d, 0x40, 0x04);")
1698 cpp_quote
("EXTERN_GUID(MFTranscodeContainerType_MP3, 0xe438b912, 0x83f1, 0x4de6, 0x9e, 0x3a, 0x9f, 0xfb, 0xc6, 0xdd, 0x24, 0xd1);")
1699 cpp_quote
("EXTERN_GUID(MFTranscodeContainerType_MPEG2, 0xbfc2dbf9, 0x7bb4, 0x4f8f, 0xaf, 0xde, 0xe1, 0x12, 0xc4, 0x4b, 0xa8, 0x82);")
1700 cpp_quote
("EXTERN_GUID(MFTranscodeContainerType_MPEG4, 0xdc6cd05d, 0xb9d0, 0x40ef, 0xbd, 0x35, 0xfa, 0x62, 0x2c, 0x1a, 0xb2, 0x8a);")
1701 cpp_quote
("EXTERN_GUID(MFTranscodeContainerType_WAVE, 0x64c3453c, 0x0f26, 0x4741, 0xbe, 0x63, 0x87, 0xbd, 0xf8, 0xbb, 0x93, 0x5b);")