Release 5.3.
[wine/zf.git] / include / mfidl.idl
blobb1568b9b56c8d0cf9daf058da57cefc8faf585a4
1 /*
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,
31 MF_TOPOLOGY_TEE_NODE,
32 MF_TOPOLOGY_MAX = 0xffffffff
33 } MF_TOPOLOGY_TYPE;
35 typedef enum _MFCLOCK_STATE
37 MFCLOCK_STATE_INVALID,
38 MFCLOCK_STATE_RUNNING,
39 MFCLOCK_STATE_STOPPED,
40 MFCLOCK_STATE_PAUSED
41 } MFCLOCK_STATE;
43 typedef enum MF_OBJECT_TYPE
45 MF_OBJECT_MEDIASOURCE,
46 MF_OBJECT_BYTESTREAM,
47 MF_OBJECT_INVALID
48 } MF_OBJECT_TYPE;
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;
59 GUID guidClockId;
60 DWORD dwClockFlags;
61 unsigned __int64 qwClockFrequency;
62 DWORD dwClockTolerance;
63 DWORD dwClockJitter;
64 } MFCLOCK_PROPERTIES;
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 _MF_TOPOLOGY_RESOLUTION_STATUS_FLAGS
87 MF_TOPOLOGY_RESOLUTION_SUCCEEDED = 0x00000000,
88 MF_OPTIONAL_NODE_REJECTED_MEDIA_TYPE = 0x00000001,
89 MF_OPTIONAL_NODE_REJECTED_PROTECTED_PROCESS = 0x00000002,
90 } MF_TOPOLOGY_RESOLUTION_STATUS_FLAGS;
92 typedef enum _MFSTREAMSINK_MARKER_TYPE
94 MFSTREAMSINK_MARKER_DEFAULT,
95 MFSTREAMSINK_MARKER_ENDOFSEGMENT,
96 MFSTREAMSINK_MARKER_TICK,
97 MFSTREAMSINK_MARKER_EVENT,
98 } MFSTREAMSINK_MARKER_TYPE;
101 object,
102 uuid(2eb1e945-18b8-4139-9b1a-d5d584818530),
104 interface IMFClock : IUnknown
106 HRESULT GetClockCharacteristics([out] DWORD *characteristics);
107 HRESULT GetCorrelatedTime([in] DWORD reserved, [out] LONGLONG *clock_time, [out] MFTIME *system_time);
108 HRESULT GetContinuityKey([out] DWORD *key);
109 HRESULT GetState([in] DWORD reserved, [out] MFCLOCK_STATE *state);
110 HRESULT GetProperties([out] MFCLOCK_PROPERTIES *props);
113 typedef enum _MFRATE_DIRECTION
115 MFRATE_FORWARD,
116 MFRATE_REVERSE
117 } MFRATE_DIRECTION;
120 object,
121 uuid(0a9ccdbc-d797-4563-9667-94ec5d79292d),
123 interface IMFRateSupport : IUnknown
125 HRESULT GetSlowestRate(
126 [in] MFRATE_DIRECTION direction,
127 [in] BOOL thin,
128 [out] float *rate);
130 HRESULT GetFastestRate(
131 [in] MFRATE_DIRECTION direction,
132 [in] BOOL thin,
133 [out] float *rate);
135 HRESULT IsRateSupported(
136 [in] BOOL thin,
137 [in] float rate,
138 [in, out, unique] float *nearest_supported_rate);
142 object,
143 uuid(88ddcd21-03c3-4275-91ed-55ee3929328f)
145 interface IMFRateControl : IUnknown
147 HRESULT SetRate(
148 [in] BOOL thin,
149 [in] float rate);
150 HRESULT GetRate(
151 [in, out, unique] BOOL *thin,
152 [in, out, unique] float *rate);
155 typedef enum MFTIMER_FLAGS
157 MFTIMER_RELATIVE = 0x00000001,
158 } MFTIMER_FLAGS;
161 object,
162 uuid(e56e4cbd-8f70-49d8-a0f8-edb3d6ab9bf2),
163 local
165 interface IMFTimer : IUnknown
167 HRESULT SetTimer(
168 [in] DWORD flags,
169 [in] LONGLONG time,
170 [in] IMFAsyncCallback *callback,
171 [in] IUnknown *state,
172 [out] IUnknown **key);
173 HRESULT CancelTimer(
174 [in] IUnknown *key);
178 object,
179 uuid(83cf873a-f6da-4bc8-823f-bacfd55dc430),
181 interface IMFTopologyNode : IMFAttributes
183 HRESULT SetObject([in] IUnknown *object);
184 HRESULT GetObject([out] IUnknown **object);
185 HRESULT GetNodeType([out] MF_TOPOLOGY_TYPE *type);
186 HRESULT GetTopoNodeID([out] TOPOID *id);
187 HRESULT SetTopoNodeID([in] TOPOID id);
188 HRESULT GetInputCount([out] DWORD *count);
189 HRESULT GetOutputCount([out] DWORD *count);
190 [local] HRESULT ConnectOutput([in] DWORD output_index, [in] IMFTopologyNode *node, [in] DWORD input_index);
191 [local] HRESULT DisconnectOutput([in] DWORD index);
192 HRESULT GetInput([in] DWORD input_index, [out] IMFTopologyNode **node, [out] DWORD *output_index);
193 HRESULT GetOutput([in] DWORD output_index, [out] IMFTopologyNode **node, [out] DWORD *input_index);
194 [local] HRESULT SetOutputPrefType([in] DWORD index, [in] IMFMediaType *type);
195 [local] HRESULT GetOutputPrefType([in] DWORD output_index, [out] IMFMediaType **type);
196 [call_as(GetOutputPrefType)] HRESULT RemoteGetOutputPrefType([in] DWORD index, [out] DWORD *length,
197 [out, size_is(, *length)] BYTE **data);
198 [local] HRESULT SetInputPrefType([in] DWORD index, [in] IMFMediaType *type);
199 [local] HRESULT GetInputPrefType([in] DWORD index, [out] IMFMediaType **type);
200 [call_as(GetInputPrefType)] HRESULT RemoteGetInputPrefType([in] DWORD index, [out] DWORD *length,
201 [out, size_is(, *length)] BYTE **data);
202 HRESULT CloneFrom([in] IMFTopologyNode *node);
206 object,
207 uuid(83cf873a-f6da-4bc8-823f-bacfd55dc433),
209 interface IMFTopology : IMFAttributes
211 HRESULT GetTopologyID([out] TOPOID *id);
212 [local] HRESULT AddNode([in] IMFTopologyNode *node);
213 [local] HRESULT RemoveNode([in] IMFTopologyNode *node);
214 HRESULT GetNodeCount([out] WORD *nodes);
215 HRESULT GetNode([in] WORD index, [out] IMFTopologyNode **node);
216 [local] HRESULT Clear();
217 HRESULT CloneFrom([in] IMFTopology *topology);
218 HRESULT GetNodeByID([in] TOPOID id, [out] IMFTopologyNode **node);
219 HRESULT GetSourceNodeCollection([out] IMFCollection **collection);
220 HRESULT GetOutputNodeCollection([out] IMFCollection **collection);
224 object,
225 uuid(de9a6157-f660-4643-b56a-df9f7998c7cd),
226 local,
228 interface IMFTopoLoader : IUnknown
230 HRESULT Load([in] IMFTopology *input_topology, [out] IMFTopology **output_topology,
231 [in] IMFTopology *current_topology);
235 object,
236 uuid(90377834-21d0-4dee-8214-ba2e3e6c1127),
238 interface IMFMediaSession : IMFMediaEventGenerator
240 HRESULT SetTopology([in] DWORD flags, [in] IMFTopology *topology);
241 HRESULT ClearTopologies();
242 HRESULT Start([in, unique] const GUID *format, [in, unique] const PROPVARIANT *start);
243 HRESULT Pause();
244 HRESULT Stop();
245 HRESULT Close();
246 HRESULT Shutdown();
247 HRESULT GetClock([out] IMFClock **clock);
248 HRESULT GetSessionCapabilities([out] DWORD *caps);
249 HRESULT GetFullTopology([in] DWORD flags, [in] TOPOID id, [out] IMFTopology **topology);
253 object,
254 uuid(bb420aa4-765b-4a1f-91fe-d6a8a143924c),
255 local
257 interface IMFByteStreamHandler : IUnknown
259 HRESULT BeginCreateObject(
260 [in] IMFByteStream *stream,
261 [in] const WCHAR *url,
262 [in] DWORD flags,
263 [in] IPropertyStore *props,
264 [out] IUnknown **cancel_cookie,
265 [in] IMFAsyncCallback *callback,
266 [in] IUnknown *state);
268 HRESULT EndCreateObject(
269 [in] IMFAsyncResult *result,
270 [out] MF_OBJECT_TYPE *obj_type,
271 [out] IUnknown **object);
273 HRESULT CancelObjectCreation(
274 [in] IUnknown *cancel_cookie);
276 HRESULT GetMaxNumberOfBytesRequiredForResolution(
277 [out] QWORD *bytes);
280 typedef [public] struct _MF_LEAKY_BUCKET_PAIR
282 DWORD dwBitrate;
283 DWORD msBufferWindow;
284 } MF_LEAKY_BUCKET_PAIR;
286 typedef [public] struct _MFBYTESTREAM_BUFFERING_PARAMS
288 QWORD cbTotalFileSize;
289 QWORD cbPlayableDataSize;
290 MF_LEAKY_BUCKET_PAIR *prgBuckets;
291 DWORD cBuckets;
292 QWORD qwNetBufferingTime;
293 QWORD qwExtraBufferingTimeDuringSeek;
294 QWORD qwPlayDuration;
295 float dRate;
296 } MFBYTESTREAM_BUFFERING_PARAMS;
299 object,
300 uuid(6d66d782-1d4f-4db7-8c63-cb8c77f1ef5e),
302 interface IMFByteStreamBuffering : IUnknown
304 HRESULT SetBufferingParams(
305 [in] MFBYTESTREAM_BUFFERING_PARAMS *params);
307 HRESULT EnableBuffering(
308 [in] BOOL enable);
310 HRESULT StopBuffering();
314 object,
315 uuid(f5042ea4-7a96-4a75-aa7b-2be1ef7f88d5),
317 interface IMFByteStreamCacheControl : IUnknown
319 HRESULT StopBackgroundTransfer();
323 object,
324 uuid(64976bfa-fb61-4041-9069-8c9a5f659beb),
326 interface IMFByteStreamTimeSeek : IUnknown
328 HRESULT IsTimeSeekSupported(
329 [out] BOOL *is_supported);
331 HRESULT TimeSeek(
332 [in] QWORD position);
334 HRESULT GetTimeSeekResult(
335 [out] QWORD *start_time,
336 [out] QWORD *stop_time,
337 [out] QWORD *duration);
341 object,
342 uuid(6d4c7b74-52a0-4bb7-b0db-55f29f47a668),
343 local
345 interface IMFSchemeHandler : IUnknown
347 HRESULT BeginCreateObject(
348 [in] const WCHAR *url,
349 [in] DWORD flags,
350 [in] IPropertyStore *props,
351 [out] IUnknown **cancel_cookie,
352 [in] IMFAsyncCallback *callback,
353 [in] IUnknown *state);
355 HRESULT EndCreateObject(
356 [in] IMFAsyncResult *result,
357 [out] MF_OBJECT_TYPE *obj_type,
358 [out] IUnknown **object);
360 HRESULT CancelObjectCreation(
361 [in] IUnknown *cancel_cookie);
365 object,
366 uuid(fbe5a32d-a497-4b61-bb85-97b1a848a6e3)
368 interface IMFSourceResolver : IUnknown
370 [local] HRESULT CreateObjectFromURL([in] const WCHAR *url, [in] DWORD flags, [in] IPropertyStore *props,
371 [out] MF_OBJECT_TYPE *obj_type, [out] IUnknown **object);
372 [local] HRESULT CreateObjectFromByteStream([in] IMFByteStream *stream, [in] const WCHAR *url, [in] DWORD flags,
373 [in] IPropertyStore *props, [out] MF_OBJECT_TYPE *obj_type, [out] IUnknown **object);
374 [local] HRESULT BeginCreateObjectFromURL([in] const WCHAR *url, [in] DWORD flags, [in] IPropertyStore *props,
375 [out] IUnknown **cancel_cookie, [in] IMFAsyncCallback *callback, [in] IUnknown *unk_state);
376 [call_as(BeginCreateObjectFromURL)] HRESULT RemoteBeginCreateObjectFromURL([in, string] const WCHAR *url,
377 [in] DWORD flags, [in] IPropertyStore *props, [in] IMFRemoteAsyncCallback *callback);
378 [local] HRESULT EndCreateObjectFromURL([in] IMFAsyncResult *result, [out] MF_OBJECT_TYPE *obj_type,
379 [out] IUnknown **object);
380 [call_as(EndCreateObjectFromURL)] HRESULT RemoteEndCreateObjectFromURL([in] IUnknown *result,
381 [out] MF_OBJECT_TYPE *obj_type, [out] IUnknown **object);
382 [local] HRESULT BeginCreateObjectFromByteStream([in] IMFByteStream *stream, [in] const WCHAR *url,
383 [in] DWORD flags, [in] IPropertyStore *props, [out] IUnknown **cancel_cookie,
384 [in] IMFAsyncCallback *callback, [in] IUnknown *unk_state);
385 [call_as(BeginCreateObjectFromByteStream)] HRESULT RemoteBeginCreateObjectFromByteStream([in] IMFByteStream *stream,
386 [in, unique] const WCHAR *url, [in] DWORD flags, [in, unique] IPropertyStore *props,
387 [in] IMFRemoteAsyncCallback *callback);
388 [local] HRESULT EndCreateObjectFromByteStream([in] IMFAsyncResult *result, [out] MF_OBJECT_TYPE *obj_type,
389 [out] IUnknown **object);
390 [call_as(EndCreateObjectFromByteStream)] HRESULT RemoteEndCreateObjectFromByteStream([in] IUnknown *result,
391 [out] MF_OBJECT_TYPE *obj_type, [out] IUnknown **object);
392 [local] HRESULT CanceObjectCreation([in] IUnknown *cancel_cookie);
396 object,
397 uuid(e93dcf6c-4b07-4e1e-8123-aa16ed6eadf5)
399 interface IMFMediaTypeHandler : IUnknown
401 [local]
402 HRESULT IsMediaTypeSupported([in] IMFMediaType *in_type, [out] IMFMediaType **out_type);
404 [call_as(IsMediaTypeSupported)]
405 HRESULT RemoteIsMediaTypeSupported([in, size_is(size)] BYTE *data, [in] DWORD size,
406 [out, size_is(, *match_count)] BYTE **match, [out] DWORD *match_count);
408 HRESULT GetMediaTypeCount([out] DWORD *count);
410 [local]
411 HRESULT GetMediaTypeByIndex([in] DWORD index, [out] IMFMediaType **type);
413 [call_as(GetMediaTypeByIndex)]
414 HRESULT RemoteGetMediaTypeByIndex([in] DWORD index, [out, size_is(, *count)] BYTE **data,
415 [out] DWORD *count);
417 [local]
418 HRESULT SetCurrentMediaType([in] IMFMediaType *type);
420 [call_as(SetCurrentMediaType)]
421 HRESULT RemoteSetCurrentMediaType([in, size_is(count)] BYTE *data, [in] DWORD count);
423 [local]
424 HRESULT GetCurrentMediaType([out] IMFMediaType **type);
426 [call_as(GetCurrentMediaType)]
427 HRESULT RemoteGetCurrentMediaType([out, size_is(, *count)] BYTE **data, [out] DWORD *count);
429 HRESULT GetMajorType([out] GUID *type);
433 object,
434 uuid(56c03d9c-9dbb-45f5-ab4b-d80f47c05938)
436 interface IMFStreamDescriptor : IMFAttributes
438 HRESULT GetStreamIdentifier([out] DWORD *identifier);
440 HRESULT GetMediaTypeHandler([out] IMFMediaTypeHandler **handler);
444 object,
445 uuid(f6696e82-74f7-4f3d-a178-8a5e09c3659f)
447 interface IMFClockStateSink : IUnknown
449 HRESULT OnClockStart(
450 [in] MFTIME hnsSystemTime,
451 [in] LONGLONG llClockStartOffset
453 HRESULT OnClockStop(
454 [in] MFTIME hnssSystemTime
456 HRESULT OnClockPause(
457 [in] MFTIME hnsSystemTime
459 HRESULT OnClockRestart(
460 [in] MFTIME hnsSystemTime
462 HRESULT OnClockSetRate(
463 [in] MFTIME hnsSystemTime,
464 [in] float flRate
469 object,
470 uuid(fa993888-4383-415a-a930-dd472a8cf6f7)
472 interface IMFGetService : IUnknown
474 HRESULT GetService(
475 [in] REFGUID guidService,
476 [in] REFIID riid,
477 [out, iid_is(riid)] LPVOID *ppvObject
482 object,
483 uuid(03cb2711-24d7-4db6-a17f-f3a7a479a536),
485 interface IMFPresentationDescriptor : IMFAttributes
487 HRESULT GetStreamDescriptorCount(
488 [out] DWORD *count );
490 HRESULT GetStreamDescriptorByIndex(
491 [in] DWORD index,
492 [out] BOOL *selected,
493 [out] IMFStreamDescriptor **descriptor );
495 HRESULT SelectStream(
496 [in] DWORD index );
498 HRESULT DeselectStream(
499 [in] DWORD index );
501 HRESULT Clone(
502 [out] IMFPresentationDescriptor **descriptor );
506 object,
507 uuid(197cd219-19cb-4de1-a64c-acf2edcbe59e),
508 local
510 interface IMFSequencerSource : IUnknown
512 HRESULT AppendTopology(
513 [in] IMFTopology *topology,
514 [in] DWORD flags,
515 [out] MFSequencerElementId *element );
517 HRESULT DeleteTopology(
518 [in] MFSequencerElementId element);
520 HRESULT GetPresentationContext(
521 [in] IMFPresentationDescriptor *pd,
522 [out, optional] MFSequencerElementId *id,
523 [out, optional] IMFTopology **topology );
525 HRESULT UpdateTopology(
526 [in] MFSequencerElementId od,
527 [in] IMFTopology *topology);
529 HRESULT UpdateTopologyFlags(
530 [in] MFSequencerElementId id,
531 [in] DWORD flags );
534 interface IMFPresentationClock;
537 object,
538 uuid(8c7b80bf-ee42-4b59-b1df-55668e1bdca8),
539 local
541 interface IMFSampleGrabberSinkCallback : IMFClockStateSink
543 HRESULT OnSetPresentationClock(
544 [in] IMFPresentationClock *clock);
546 HRESULT OnProcessSample(
547 [in] REFGUID major_type,
548 [in] DWORD sample_flags,
549 [in] LONGLONG sample_time,
550 [in] LONGLONG sample_duration,
551 [in] const BYTE *buffer,
552 [in] DWORD sample_size);
554 HRESULT OnShutdown();
558 object,
559 uuid(ca86aa50-c46e-429e-ab27-16d6ac6844cb),
560 local
562 interface IMFSampleGrabberSinkCallback2 : IMFSampleGrabberSinkCallback
564 HRESULT OnProcessSampleEx(
565 [in] REFGUID major_type,
566 [in] DWORD sample_flags,
567 [in] LONGLONG sample_time,
568 [in] LONGLONG sample_duration,
569 [in] const BYTE *buffer,
570 [in] DWORD sample_size,
571 [in] IMFAttributes *attributes);
574 cpp_quote("HRESULT WINAPI CreatePropertyStore(IPropertyStore **store);")
575 cpp_quote("HRESULT WINAPI MFCreateAudioRenderer(IMFAttributes *config, IMFMediaSink **sink);")
576 cpp_quote("HRESULT WINAPI MFCreateAudioRendererActivate(IMFActivate **activate);")
577 cpp_quote("HRESULT WINAPI MFCreateMediaSession(IMFAttributes *config, IMFMediaSession **session);")
578 cpp_quote("HRESULT WINAPI MFCreateMFByteStreamOnStream(IStream *stream, IMFByteStream **bytestream);" )
579 cpp_quote("HRESULT WINAPI MFCreateMFByteStreamOnStreamEx(IUnknown *stream, IMFByteStream **bytestream);")
580 cpp_quote("HRESULT WINAPI MFCreatePresentationClock(IMFPresentationClock **clock);")
581 cpp_quote("HRESULT WINAPI MFCreatePresentationDescriptor(DWORD count, IMFStreamDescriptor **descriptors,")
582 cpp_quote(" IMFPresentationDescriptor **presentation_desc);")
583 cpp_quote("HRESULT WINAPI MFCreateSimpleTypeHandler(IMFMediaTypeHandler **handler);")
584 cpp_quote("HRESULT WINAPI MFCreateSampleGrabberSinkActivate(IMFMediaType *media_type,")
585 cpp_quote(" IMFSampleGrabberSinkCallback *callback, IMFActivate **activate);")
586 cpp_quote("HRESULT WINAPI MFCreateSequencerSource(IUnknown *reserved, IMFSequencerSource **seq_source);" )
587 cpp_quote("HRESULT WINAPI MFCreateSourceResolver(IMFSourceResolver **resolver);")
588 cpp_quote("HRESULT WINAPI MFCreateStandardQualityManager(IMFQualityManager **manager);")
589 cpp_quote("HRESULT WINAPI MFCreateStreamDescriptor(DWORD identifier, DWORD cMediaTypes,")
590 cpp_quote(" IMFMediaType **types, IMFStreamDescriptor **descriptor);")
591 cpp_quote("HRESULT WINAPI MFCreateSystemTimeSource(IMFPresentationTimeSource **time_source);")
592 cpp_quote("HRESULT WINAPI MFCreateTopology(IMFTopology **topology);")
593 cpp_quote("HRESULT WINAPI MFCreateTopologyNode(MF_TOPOLOGY_TYPE node_type, IMFTopologyNode **node);")
594 cpp_quote("HRESULT WINAPI MFCreateTopoLoader(IMFTopoLoader **loader);")
595 cpp_quote("HRESULT WINAPI MFCreateVideoRendererActivate(HWND hwnd, IMFActivate **activate);")
596 cpp_quote("HRESULT WINAPI MFEnumDeviceSources(IMFAttributes *attributes, IMFActivate ***sources, UINT32 *count);")
597 cpp_quote("HRESULT WINAPI MFGetSupportedMimeTypes(PROPVARIANT *array);")
598 cpp_quote("HRESULT WINAPI MFGetService(IUnknown *object, REFGUID service, REFIID iid, void **obj);")
599 cpp_quote("MFTIME WINAPI MFGetSystemTime(void);")
600 cpp_quote("HRESULT WINAPI MFShutdownObject(IUnknown *object);")
602 typedef enum _MFMEDIASOURCE_CHARACTERISTICS
604 MFMEDIASOURCE_IS_LIVE = 0x1,
605 MFMEDIASOURCE_CAN_SEEK = 0x2,
606 MFMEDIASOURCE_CAN_PAUSE = 0x4,
607 MFMEDIASOURCE_HAS_SLOW_SEEK = 0x8,
608 MFMEDIASOURCE_HAS_MULTIPLE_PRESENTATIONS = 0x10,
609 MFMEDIASOURCE_CAN_SKIPFORWARD = 0x20,
610 MFMEDIASOURCE_CAN_SKIPBACKWARD = 0x40,
611 MFMEDIASOURCE_DOES_NOT_USE_NETWORK = 0x80,
612 } MFMEDIASOURCE_CHARACTERISTICS;
615 object,
616 uuid(279a808d-aec7-40c8-9c6b-a6b492c78a66),
618 interface IMFMediaSource : IMFMediaEventGenerator
620 HRESULT GetCharacteristics(
621 [out] DWORD *characteristics );
623 [local]
624 HRESULT CreatePresentationDescriptor(
625 [out] IMFPresentationDescriptor **descriptor );
626 [call_as(CreatePresentationDescriptor)]
627 HRESULT RemoteCreatePresentationDescriptor(
628 [out] DWORD *count,
629 [out, size_is(,*count)] BYTE **data,
630 [out] IMFPresentationDescriptor **descriptor );
632 HRESULT Start(
633 [in] IMFPresentationDescriptor *descriptor,
634 [in, unique] const GUID *time_format,
635 [in, unique] const PROPVARIANT *start_position );
637 HRESULT Stop();
638 HRESULT Pause();
639 HRESULT Shutdown();
643 object,
644 uuid(d182108f-4ec6-443f-aa42-a71106ec825f),
646 interface IMFMediaStream : IMFMediaEventGenerator
648 HRESULT GetMediaSource(
649 [out] IMFMediaSource **source);
651 HRESULT GetStreamDescriptor(
652 [out] IMFStreamDescriptor **descriptor);
654 [local]
655 HRESULT RequestSample(
656 [in] IUnknown *token);
658 [call_as(RequestSample)]
659 HRESULT RemoteRequestSample();
662 interface IMFStreamSink;
665 object,
666 uuid(7ff12cce-f76f-41c2-863b-1666c8e5e139)
668 interface IMFPresentationTimeSource : IMFClock
670 HRESULT GetUnderlyingClock([out] IMFClock **clock);
673 cpp_quote("#define PRESENTATION_CURRENT_POSITION 0x7fffffffffffffff")
676 object,
677 uuid(868ce85c-8ea9-4f55-ab82-b009a910a805)
679 interface IMFPresentationClock : IMFClock
681 HRESULT SetTimeSource([in] IMFPresentationTimeSource *time_source);
682 HRESULT GetTimeSource([out] IMFPresentationTimeSource **time_source);
683 HRESULT GetTime([out] MFTIME *time);
684 HRESULT AddClockStateSink([in] IMFClockStateSink *state_sink);
685 HRESULT RemoveClockStateSink([in] IMFClockStateSink *state_sink);
686 HRESULT Start([in] LONGLONG start_offset);
687 HRESULT Stop();
688 HRESULT Pause();
691 cpp_quote("#define MEDIASINK_FIXED_STREAMS 0x00000001")
692 cpp_quote("#define MEDIASINK_CANNOT_MATCH_CLOCK 0x00000002")
693 cpp_quote("#define MEDIASINK_RATELESS 0x00000004")
694 cpp_quote("#define MEDIASINK_CLOCK_REQUIRED 0x00000008")
695 cpp_quote("#define MEDIASINK_CAN_PREROLL 0x00000010")
696 cpp_quote("#define MEDIASINK_REQUIRE_REFERENCE_MEDIATYPE 0x00000020")
699 object,
700 uuid(6ef2a660-47c0-4666-b13d-cbb717f2fa2c)
702 interface IMFMediaSink : IUnknown
704 HRESULT GetCharacteristics([out] DWORD *characteristics);
705 HRESULT AddStreamSink(
706 [in] DWORD stream_sink_id,
707 [in] IMFMediaType *media_type,
708 [out] IMFStreamSink **stream_sink);
709 HRESULT RemoveStreamSink([in] DWORD stream_sink_id);
710 HRESULT GetStreamSinkCount([out] DWORD *count);
711 HRESULT GetStreamSinkByIndex([in] DWORD index, [out] IMFStreamSink **sink);
712 HRESULT GetStreamSinkById([in] DWORD stream_sink_id, [out] IMFStreamSink **sink);
713 HRESULT SetPresentationClock([in] IMFPresentationClock *clock);
714 HRESULT GetPresentationClock([out] IMFPresentationClock **clock);
715 HRESULT Shutdown();
719 object,
720 uuid(0a97b3cf-8e7c-4a3d-8f8c-0c843dc247fb),
722 interface IMFStreamSink : IMFMediaEventGenerator
724 HRESULT GetMediaSink([out] IMFMediaSink **sink);
725 HRESULT GetIdentifier([out] DWORD *identifier);
726 HRESULT GetMediaTypeHandler([out] IMFMediaTypeHandler **handler);
727 HRESULT ProcessSample([in] IMFSample *sample);
728 HRESULT PlaceMarker(
729 [in] MFSTREAMSINK_MARKER_TYPE marker_type,
730 [in] const PROPVARIANT *marker_value,
731 [in] const PROPVARIANT *context_value);
732 HRESULT Flush();
735 typedef enum _MFSHUTDOWN_STATUS
737 MFSHUTDOWN_INITIATED,
738 MFSHUTDOWN_COMPLETED,
739 } MFSHUTDOWN_STATUS;
742 object,
743 uuid(97ec2ea4-0e42-4937-97ac-9d6d328824e1)
745 interface IMFShutdown : IUnknown
747 HRESULT Shutdown();
748 HRESULT GetShutdownStatus([out] MFSHUTDOWN_STATUS *status);
752 object,
753 uuid(8d009d86-5b9f-4115-b1fc-9f80d52ab8ab),
754 local
756 interface IMFQualityManager : IUnknown
758 HRESULT NotifyTopology([in] IMFTopology *topology);
759 HRESULT NotifyPresentationClock([in] IMFPresentationClock *clock);
760 HRESULT NotifyProcessInput(
761 [in] IMFTopologyNode *node,
762 [in] LONG input_index,
763 [in] IMFSample *sample);
764 HRESULT NotifyProcessOutput(
765 [in] IMFTopologyNode *node,
766 [in] LONG output_index,
767 [in] IMFSample *sample);
768 HRESULT NotifyQualityEvent(
769 [in] IUnknown *object,
770 [in] IMFMediaEvent *event);
771 HRESULT Shutdown();
774 typedef struct _MFT_REGISTRATION_INFO
776 CLSID clsid;
777 GUID guidCategory;
778 UINT32 uiFlags;
779 LPCWSTR pszName;
780 DWORD cInTypes;
781 [size_is(cInTypes)] MFT_REGISTER_TYPE_INFO *pInTypes;
782 DWORD cOutTypes;
783 [size_is(cOutTypes)] MFT_REGISTER_TYPE_INFO *pOutTypes;
784 } MFT_REGISTRATION_INFO;
787 object,
788 uuid(149c4d73-b4be-4f8d-8b87-079e926b6add)
790 interface IMFLocalMFTRegistration : IUnknown
792 HRESULT RegisterMFTs([in, size_is(count)] MFT_REGISTRATION_INFO *info, [in] DWORD count);
796 object,
797 uuid(0e1d6009-c9f3-442d-8c51-a42d2d49452f),
799 interface IMFMediaSourceTopologyProvider : IUnknown
801 HRESULT GetMediaSourceTopology([in] IMFPresentationDescriptor *pd, [out] IMFTopology **topology);
804 cpp_quote("#define MF_RESOLUTION_MEDIASOURCE 0x00000001")
805 cpp_quote("#define MF_RESOLUTION_BYTESTREAM 0x00000002")
806 cpp_quote("#define MF_RESOLUTION_CONTENT_DOES_NOT_HAVE_TO_MATCH_EXTENSION_OR_MIME_TYPE 0x00000010")
807 cpp_quote("#define MF_RESOLUTION_KEEP_BYTE_STREAM_ALIVE_ON_FAIL 0x00000020")
808 cpp_quote("#define MF_RESOLUTION_READ 0x00010000")
809 cpp_quote("#define MF_RESOLUTION_WRITE 0x00020000")
810 cpp_quote("#define MF_RESOLUTION_DISABLE_LOCAL_PLUGINS 0x00000040")
812 cpp_quote("#ifdef __cplusplus")
813 cpp_quote("static inline HRESULT MFSetAttributeSize(IMFAttributes *attributes, REFGUID key, UINT32 width, UINT32 height)")
814 cpp_quote("{")
815 cpp_quote(" return attributes->SetUINT64(key, ((UINT64)width << 32) | height);")
816 cpp_quote("}")
817 cpp_quote("static inline HRESULT MFSetAttributeRatio(IMFAttributes *attributes, REFGUID key, UINT32 numerator, UINT32 denominator)")
818 cpp_quote("{")
819 cpp_quote(" return attributes->SetUINT64(key, ((UINT64)numerator << 32) | denominator);")
820 cpp_quote("}")
821 cpp_quote("#endif")
823 cpp_quote("EXTERN_GUID(MF_SD_LANGUAGE, 0x00af2180, 0xbdc2, 0x423c, 0xab, 0xca, 0xf5, 0x03, 0x59, 0x3b, 0xc1, 0x21);")
824 cpp_quote("EXTERN_GUID(MF_SD_MUTUALLY_EXCLUSIVE, 0x023ef79c, 0x388d, 0x487f, 0xac, 0x17, 0x69, 0x6c, 0xd6, 0xe3, 0xc6, 0xf5);")
825 cpp_quote("EXTERN_GUID(MF_SD_PROTECTED, 0x00af2181, 0xbdc2, 0x423c, 0xab, 0xca, 0xf5, 0x03, 0x59, 0x3b, 0xc1, 0x21);")
826 cpp_quote("EXTERN_GUID(MF_SD_STREAM_NAME, 0x4f1b099d, 0xd314, 0x41e5, 0xa7, 0x81, 0x7f, 0xef, 0xaa, 0x4c, 0x50, 0x1f);")
827 cpp_quote("EXTERN_GUID(MF_SD_SAMI_LANGUAGE, 0x36fcb98a, 0x6cd0, 0x44cb, 0xac, 0xb9, 0xa8, 0xf5, 0x60, 0x0d, 0xd0, 0xbb);")
828 cpp_quote("EXTERN_GUID(MF_PD_PMPHOST_CONTEXT, 0x6c990d31, 0xbb8e, 0x477a, 0x85, 0x98, 0x0d, 0x5d, 0x96, 0xfc, 0xd8, 0x8a);")
829 cpp_quote("EXTERN_GUID(MF_PD_APP_CONTEXT, 0x6c990d32, 0xbb8e, 0x477a, 0x85, 0x98, 0x0d, 0x5d, 0x96, 0xfc, 0xd8, 0x8a);")
830 cpp_quote("EXTERN_GUID(MF_PD_DURATION, 0x6c990d33, 0xbb8e, 0x477a, 0x85, 0x98, 0x0d, 0x5d, 0x96, 0xfc, 0xd8, 0x8a);")
831 cpp_quote("EXTERN_GUID(MF_PD_TOTAL_FILE_SIZE, 0x6c990d34, 0xbb8e, 0x477a, 0x85, 0x98, 0x0d, 0x5d, 0x96, 0xfc, 0xd8, 0x8a);")
832 cpp_quote("EXTERN_GUID(MF_PD_AUDIO_ENCODING_BITRATE, 0x6c990d35, 0xbb8e, 0x477a, 0x85, 0x98, 0x0d, 0x5d, 0x96, 0xfc, 0xd8, 0x8a);")
833 cpp_quote("EXTERN_GUID(MF_PD_VIDEO_ENCODING_BITRATE, 0x6c990d36, 0xbb8e, 0x477a, 0x85, 0x98, 0x0d, 0x5d, 0x96, 0xfc, 0xd8, 0x8a);")
834 cpp_quote("EXTERN_GUID(MF_PD_MIME_TYPE, 0x6c990d37, 0xbb8e, 0x477a, 0x85, 0x98, 0x0d, 0x5d, 0x96, 0xfc, 0xd8, 0x8a);")
835 cpp_quote("EXTERN_GUID(MF_PD_LAST_MODIFIED_TIME, 0x6c990d38, 0xbb8e, 0x477a, 0x85, 0x98, 0x0d, 0x5d, 0x96, 0xfc, 0xd8, 0x8a);")
836 cpp_quote("EXTERN_GUID(MF_PD_PLAYBACK_ELEMENT_ID, 0x6c990d39, 0xbb8e, 0x477a, 0x85, 0x98, 0x0d, 0x5d, 0x96, 0xfc, 0xd8, 0x8a);")
837 cpp_quote("EXTERN_GUID(MF_PD_PREFERRED_LANGUAGE, 0x6c990d3a, 0xbb8e, 0x477a, 0x85, 0x98, 0x0d, 0x5d, 0x96, 0xfc, 0xd8, 0x8a);")
838 cpp_quote("EXTERN_GUID(MF_PD_PLAYBACK_BOUNDARY_TIME, 0x6c990d3b, 0xbb8e, 0x477a, 0x85, 0x98, 0x0d, 0x5d, 0x96, 0xfc, 0xd8, 0x8a);")
839 cpp_quote("EXTERN_GUID(MF_PD_AUDIO_ISVARIABLEBITRATE, 0x33026ee0, 0xe387, 0x4582, 0xae, 0x0a, 0x34, 0xa2, 0xad, 0x3b, 0xaa, 0x18);")
840 cpp_quote("DEFINE_GUID(MF_PD_ADAPTIVE_STREAMING, 0xea0d5d97, 0x29f9, 0x488b, 0xae, 0x6b, 0x7d, 0x6b, 0x41, 0x36, 0x11, 0x2b);")
841 cpp_quote("EXTERN_GUID(MF_PD_SAMI_STYLELIST, 0xe0b73c7f, 0x486d, 0x484e, 0x98, 0x72, 0x4d, 0xe5, 0x19, 0x2a, 0x7b, 0xf8);")
843 cpp_quote("EXTERN_GUID(MF_DEVSOURCE_ATTRIBUTE_SOURCE_TYPE, 0xc60ac5fe, 0x252a, 0x478f, 0xa0, 0xef, 0xbc, 0x8f, 0xa5, 0xf7, 0xca, 0xd3);")
844 cpp_quote("EXTERN_GUID(MF_DEVSOURCE_ATTRIBUTE_MEDIA_TYPE, 0x56a819ca, 0x0c78, 0x4de4, 0xa0, 0xa7, 0x3d, 0xda, 0xba, 0x0f, 0x24, 0xd4);")
845 cpp_quote("EXTERN_GUID(MF_DEVSOURCE_ATTRIBUTE_FRIENDLY_NAME, 0x60d0e559, 0x52f8, 0x4fa2, 0xbb, 0xce, 0xac, 0xdb, 0x34, 0xa8, 0xec, 0x01);")
846 cpp_quote("EXTERN_GUID(MF_DEVSOURCE_ATTRIBUTE_SOURCE_TYPE_AUDCAP_SYMBOLIC_LINK, 0x98d24b5e, 0x5930, 0x4614, 0xb5, 0xa1, 0xf6, 0x00, 0xf9, 0x35, 0x5a, 0x78);")
847 cpp_quote("EXTERN_GUID(MF_DEVSOURCE_ATTRIBUTE_SOURCE_TYPE_AUDCAP_ENDPOINT_ID, 0x30da9258, 0xfeb9, 0x47a7, 0xa4, 0x53, 0x76, 0x3a, 0x7a, 0x8e, 0x1c, 0x5f);")
848 cpp_quote("EXTERN_GUID(MF_DEVSOURCE_ATTRIBUTE_SOURCE_TYPE_AUDCAP_ROLE, 0xbc9d118e, 0x8c67, 0x4a18, 0x85, 0xd4, 0x12, 0xd3, 0x00, 0x40, 0x05, 0x52);")
849 cpp_quote("EXTERN_GUID(MF_DEVSOURCE_ATTRIBUTE_SOURCE_TYPE_VIDCAP_CATEGORY, 0x77f0ae69, 0xc3bd, 0x4509, 0x94, 0x1d, 0x46, 0x7e, 0x4d, 0x24, 0x89, 0x9e);")
850 cpp_quote("EXTERN_GUID(MF_DEVSOURCE_ATTRIBUTE_SOURCE_TYPE_VIDCAP_HW_SOURCE, 0xde7046ba, 0x54d6, 0x4487, 0xa2, 0xa4, 0xec, 0x7c, 0x0d, 0x1b, 0xd1, 0x63);")
851 cpp_quote("EXTERN_GUID(MF_DEVSOURCE_ATTRIBUTE_SOURCE_TYPE_VIDCAP_PROVIDER_DEVICE_ID, 0x36689d42, 0xa06c, 0x40ae, 0x84, 0xcf, 0xf5, 0xa0, 0x34, 0x06, 0x7c, 0xc4);")
852 cpp_quote("EXTERN_GUID(MF_DEVSOURCE_ATTRIBUTE_SOURCE_TYPE_VIDCAP_SYMBOLIC_LINK, 0x58f0aad8, 0x22bf, 0x4f8a, 0xbb, 0x3d, 0xd2, 0xc4, 0x97, 0x8c, 0x6e, 0x2f);")
853 cpp_quote("EXTERN_GUID(MF_DEVSOURCE_ATTRIBUTE_SOURCE_TYPE_VIDCAP_MAX_BUFFERS, 0x7dd9b730, 0x4f2d, 0x41d5, 0x8f, 0x95, 0x0c, 0xc9, 0xa9, 0x12, 0xba, 0x26);")
855 cpp_quote("EXTERN_GUID(MF_DEVSOURCE_ATTRIBUTE_SOURCE_TYPE_AUDCAP_GUID, 0x14dd9a1c, 0x7cff, 0x41be, 0xb1, 0xb9, 0xba, 0x1a, 0xc6, 0xec, 0xb5, 0x71);")
856 cpp_quote("EXTERN_GUID(MF_DEVSOURCE_ATTRIBUTE_SOURCE_TYPE_VIDCAP_GUID, 0x8ac3587a, 0x4ae7, 0x42d8, 0x99, 0xe0, 0x0a, 0x60, 0x13, 0xee, 0xf9, 0x0f);")
858 cpp_quote("EXTERN_GUID(MF_TOPONODE_CONNECT_METHOD, 0x494bbcf1, 0xb031, 0x4e38, 0x97, 0xc4, 0xd5, 0x42, 0x2d, 0xd6, 0x18, 0xdc);")
859 cpp_quote("EXTERN_GUID(MF_TOPONODE_D3DAWARE, 0x494bbced, 0xb031, 0x4e38, 0x97, 0xc4, 0xd5, 0x42, 0x2d, 0xd6, 0x18, 0xdc);")
860 cpp_quote("EXTERN_GUID(MF_TOPONODE_DECODER, 0x494bbd02, 0xb031, 0x4e38, 0x97, 0xc4, 0xd5, 0x42, 0x2d, 0xd6, 0x18, 0xdc);")
861 cpp_quote("EXTERN_GUID(MF_TOPONODE_DECRYPTOR, 0x494bbcfa, 0xb031, 0x4e38, 0x97, 0xc4, 0xd5, 0x42, 0x2d, 0xd6, 0x18, 0xdc);")
862 cpp_quote("EXTERN_GUID(MF_TOPONODE_DISABLE_PREROLL, 0x14932f9e, 0x9087, 0x4bb4, 0x84, 0x12, 0x51, 0x67, 0x14, 0x5c, 0xbe, 0x04);")
863 cpp_quote("EXTERN_GUID(MF_TOPONODE_DISCARDABLE, 0x494bbcfb, 0xb031, 0x4e38, 0x97, 0xc4, 0xd5, 0x42, 0x2d, 0xd6, 0x18, 0xdc);")
864 cpp_quote("EXTERN_GUID(MF_TOPONODE_DRAIN, 0x494bbce9, 0xb031, 0x4e38, 0x97, 0xc4, 0xd5, 0x42, 0x2d, 0xd6, 0x18, 0xdc);")
865 cpp_quote("EXTERN_GUID(MF_TOPONODE_ERROR_MAJORTYPE, 0x494bbcfd, 0xb031, 0x4e38, 0x97, 0xc4, 0xd5, 0x42, 0x2d, 0xd6, 0x18, 0xdc);")
866 cpp_quote("EXTERN_GUID(MF_TOPONODE_ERROR_SUBTYPE, 0x494bbcfe, 0xb031, 0x4e38, 0x97, 0xc4, 0xd5, 0x42, 0x2d, 0xd6, 0x18, 0xdc);")
867 cpp_quote("EXTERN_GUID(MF_TOPONODE_ERRORCODE, 0x494bbcee, 0xb031, 0x4e38, 0x97, 0xc4, 0xd5, 0x42, 0x2d, 0xd6, 0x18, 0xdc);")
868 cpp_quote("EXTERN_GUID(MF_TOPONODE_FLUSH, 0x494bbce8, 0xb031, 0x4e38, 0x97, 0xc4, 0xd5, 0x42, 0x2d, 0xd6, 0x18, 0xdc);")
869 cpp_quote("EXTERN_GUID(MF_TOPONODE_LOCKED, 0x494bbcf7, 0xb031, 0x4e38, 0x97, 0xc4, 0xd5, 0x42, 0x2d, 0xd6, 0x18, 0xdc);")
870 cpp_quote("EXTERN_GUID(MF_TOPONODE_MARKIN_HERE, 0x494bbd00, 0xb031, 0x4e38, 0x97, 0xc4, 0xd5, 0x42, 0x2d, 0xd6, 0x18, 0xdc);")
871 cpp_quote("EXTERN_GUID(MF_TOPONODE_MARKOUT_HERE, 0x494bbd01, 0xb031, 0x4e38, 0x97, 0xc4, 0xd5, 0x42, 0x2d, 0xd6, 0x18, 0xdc);")
872 cpp_quote("EXTERN_GUID(MF_TOPONODE_MEDIASTART, 0x835c58ea, 0xe075, 0x4bc7, 0xbc, 0xba, 0x4d, 0xe0, 0x00, 0xdf, 0x9a, 0xe6);")
873 cpp_quote("EXTERN_GUID(MF_TOPONODE_MEDIASTOP, 0x835c58eb, 0xe075, 0x4bc7, 0xbc, 0xba, 0x4d, 0xe0, 0x00, 0xdf, 0x9a, 0xe6);")
874 cpp_quote("EXTERN_GUID(MF_TOPONODE_NOSHUTDOWN_ON_REMOVE, 0x14932f9c, 0x9087, 0x4bb4, 0x84, 0x12, 0x51, 0x67, 0x14, 0x5c, 0xbe, 0x04);")
875 cpp_quote("EXTERN_GUID(MF_TOPONODE_PRESENTATION_DESCRIPTOR, 0x835c58ed, 0xe075, 0x4bc7, 0xbc, 0xba, 0x4d, 0xe0, 0x00, 0xdf, 0x9a, 0xe6);")
876 cpp_quote("EXTERN_GUID(MF_TOPONODE_PRIMARYOUTPUT, 0x6304ef99, 0x16b2, 0x4ebe, 0x9d, 0x67, 0xe4, 0xc5, 0x39, 0xb3, 0xa2, 0x59);")
877 cpp_quote("EXTERN_GUID(MF_TOPONODE_RATELESS, 0x14932f9d, 0x9087, 0x4bb4, 0x84, 0x12, 0x51, 0x67, 0x14, 0x5c, 0xbe, 0x04);")
878 cpp_quote("EXTERN_GUID(MF_TOPONODE_SEQUENCE_ELEMENTID, 0x835c58ef, 0xe075, 0x4bc7, 0xbc, 0xba, 0x4d, 0xe0, 0x00, 0xdf, 0x9a, 0xe6);")
879 cpp_quote("EXTERN_GUID(MF_TOPONODE_SOURCE, 0x835c58ec, 0xe075, 0x4bc7, 0xbc, 0xba, 0x4d, 0xe0, 0x00, 0xdf, 0x9a, 0xe6);")
880 cpp_quote("EXTERN_GUID(MF_TOPONODE_STREAM_DESCRIPTOR, 0x835c58ee, 0xe075, 0x4bc7, 0xbc, 0xba, 0x4d, 0xe0, 0x00, 0xdf, 0x9a, 0xe6);")
881 cpp_quote("EXTERN_GUID(MF_TOPONODE_STREAMID, 0x14932f9b, 0x9087, 0x4bb4, 0x84, 0x12, 0x51, 0x67, 0x14, 0x5c, 0xbe, 0x04);")
882 cpp_quote("EXTERN_GUID(MF_TOPONODE_TRANSFORM_OBJECTID, 0x88dcc0c9, 0x293e, 0x4e8b, 0x9a, 0xeb, 0xa, 0xd6, 0x4c, 0xc0, 0x16, 0xb0);")
883 cpp_quote("EXTERN_GUID(MF_TOPONODE_WORKQUEUE_ID, 0x494bbcf8, 0xb031, 0x4e38, 0x97, 0xc4, 0xd5, 0x42, 0x2d, 0xd6, 0x18, 0xdc);")
884 cpp_quote("EXTERN_GUID(MF_TOPONODE_WORKQUEUE_ITEM_PRIORITY, 0xa1ff99be, 0x5e97, 0x4a53, 0xb4, 0x94, 0x56, 0x8c, 0x64, 0x2c, 0x0f, 0xf3);")
885 cpp_quote("EXTERN_GUID(MF_TOPONODE_WORKQUEUE_MMCSS_CLASS, 0x494bbcf9, 0xb031, 0x4e38, 0x97, 0xc4, 0xd5, 0x42, 0x2d, 0xd6, 0x18, 0xdc);")
886 cpp_quote("EXTERN_GUID(MF_TOPONODE_WORKQUEUE_MMCSS_PRIORITY, 0x5001f840, 0x2816, 0x48f4, 0x93, 0x64, 0xad, 0x1e, 0xf6, 0x61, 0xa1, 0x23);")
887 cpp_quote("EXTERN_GUID(MF_TOPONODE_WORKQUEUE_MMCSS_TASKID, 0x494bbcff, 0xb031, 0x4e38, 0x97, 0xc4, 0xd5, 0x42, 0x2d, 0xd6, 0x18, 0xdc);")
889 cpp_quote("EXTERN_GUID(MF_TOPOLOGY_DXVA_MODE, 0x1e8d34f6, 0xf5ab, 0x4e23, 0xbb, 0x88, 0x87, 0x4a, 0xa3, 0xa1, 0xa7, 0x4d);")
890 cpp_quote("EXTERN_GUID(MF_TOPOLOGY_DYNAMIC_CHANGE_NOT_ALLOWED, 0xd529950b, 0xd484, 0x4527, 0xa9, 0xcd, 0xb1, 0x90, 0x95, 0x32, 0xb5, 0xb0);")
891 cpp_quote("EXTERN_GUID(MF_TOPOLOGY_ENABLE_XVP_FOR_PLAYBACK, 0x1967731f, 0xcd78, 0x42fc, 0xb0, 0x26, 0x09, 0x92, 0xa5, 0x6e, 0x56, 0x93);")
892 cpp_quote("EXTERN_GUID(MF_TOPOLOGY_ENUMERATE_SOURCE_TYPES, 0x6248c36d, 0x5d0b, 0x4f40, 0xa0, 0xbb, 0xb0, 0xb3, 0x05, 0xf7, 0x76, 0x98);")
893 cpp_quote("EXTERN_GUID(MF_TOPOLOGY_HARDWARE_MODE, 0xd2d362fd, 0x4e4f, 0x4191, 0xa5, 0x79, 0xc6, 0x18, 0xb6, 0x67, 0x06, 0xaf);")
894 cpp_quote("EXTERN_GUID(MF_TOPOLOGY_NO_MARKIN_MARKOUT, 0x7ed3f804, 0x86bb, 0x4b3f, 0xb7, 0xe4, 0x7c, 0xb4, 0x3a, 0xfd, 0x4b, 0x80);")
895 cpp_quote("EXTERN_GUID(MF_TOPOLOGY_PLAYBACK_FRAMERATE, 0xc164737a, 0xc2b1, 0x4553, 0x83, 0xbb, 0x5a, 0x52, 0x60, 0x72, 0x44, 0x8f);")
896 cpp_quote("EXTERN_GUID(MF_TOPOLOGY_PLAYBACK_MAX_DIMS, 0x5715cf19, 0x5768, 0x44aa, 0xad, 0x6e, 0x87, 0x21, 0xf1, 0xb0, 0xf9, 0xbb);")
897 cpp_quote("EXTERN_GUID(MF_TOPOLOGY_PROJECTSTART, 0x7ed3f802, 0x86bb, 0x4b3f, 0xb7, 0xe4, 0x7c, 0xb4, 0x3a, 0xfd, 0x4b, 0x80);")
898 cpp_quote("EXTERN_GUID(MF_TOPOLOGY_PROJECTSTOP, 0x7ed3f803, 0x86bb, 0x4b3f, 0xb7, 0xe4, 0x7c, 0xb4, 0x3a, 0xfd, 0x4b, 0x80);")
899 cpp_quote("EXTERN_GUID(MF_TOPOLOGY_RESOLUTION_STATUS, 0x494bbcde, 0xb031, 0x4e38, 0x97, 0xc4, 0xd5, 0x42, 0x2d, 0xd6, 0x18, 0xdc);")
900 cpp_quote("EXTERN_GUID(MF_TOPOLOGY_START_TIME_ON_PRESENTATION_SWITCH, 0xc8cc113f, 0x7951, 0x4548, 0xaa, 0xd6, 0x9e, 0xd6, 0x20, 0x2e, 0x62, 0xb3);")
901 cpp_quote("EXTERN_GUID(MF_TOPOLOGY_STATIC_PLAYBACK_OPTIMIZATIONS, 0xb86cac42, 0x41a6, 0x4b79, 0x89, 0x7a, 0x1a, 0xb0, 0xe5, 0x2b, 0x4a, 0x1b);")
903 cpp_quote("EXTERN_GUID(MF_RATE_CONTROL_SERVICE, 0x866fa297, 0xb802, 0x4bf8, 0x9d, 0xc9, 0x5e, 0x3b, 0x6a, 0x9f, 0x53, 0xc9);")
904 cpp_quote("EXTERN_GUID(MF_LOCAL_MFT_REGISTRATION_SERVICE, 0xddf5cf9c, 0x4506, 0x45aa, 0xab, 0xf0, 0x6d, 0x5d, 0x94, 0xdd, 0x1b, 0x4a);")
906 cpp_quote("EXTERN_GUID(MF_SAMPLEGRABBERSINK_SAMPLE_TIME_OFFSET, 0x62e3d776, 0x8100, 0x4e03, 0xa6, 0xe8, 0xbd, 0x38, 0x57, 0xac, 0x9c, 0x47);")
907 cpp_quote("EXTERN_GUID(MF_SAMPLEGRABBERSINK_IGNORE_CLOCK, 0x0efda2c0, 0x2b69, 0x4e2e, 0xab, 0x8d, 0x46, 0xdc, 0xbf, 0xf7, 0xd2, 0x5d);")
909 cpp_quote("EXTERN_GUID(MF_SESSION_TOPOLOADER, 0x1e83d482, 0x1f1c, 0x4571, 0x84, 0x05, 0x88, 0xf4, 0xb2, 0x18, 0x1f, 0x71);")
910 cpp_quote("EXTERN_GUID(MF_SESSION_GLOBAL_TIME, 0x1e83d482, 0x1f1c, 0x4571, 0x84, 0x05, 0x88, 0xf4, 0xb2, 0x18, 0x1f, 0x72);")
911 cpp_quote("EXTERN_GUID(MF_SESSION_QUALITY_MANAGER, 0x1e83d482, 0x1f1c, 0x4571, 0x84, 0x05, 0x88, 0xf4, 0xb2, 0x18, 0x1f, 0x73);")
912 cpp_quote("EXTERN_GUID(MF_SESSION_CONTENT_PROTECTION_MANAGER, 0x1e83d482, 0x1f1c, 0x4571, 0x84, 0x05, 0x88, 0xf4, 0xb2, 0x18, 0x1f, 0x74);")
913 cpp_quote("EXTERN_GUID(MF_SESSION_SERVER_CONTEXT, 0xafe5b291, 0x50fa, 0x46e8, 0xb9, 0xbe, 0x0c, 0x0c, 0x3c, 0xe4, 0xb3, 0xa5);")
914 cpp_quote("EXTERN_GUID(MF_SESSION_REMOTE_SOURCE_MODE, 0xf4033ef4, 0x9bb3, 0x4378, 0x94, 0x1f, 0x85, 0xa0, 0x85, 0x6b, 0xc2, 0x44);")
915 cpp_quote("EXTERN_GUID(MF_SESSION_APPROX_EVENT_OCCURRENCE_TIME, 0x190e852f, 0x6238, 0x42d1, 0xb5, 0xaf, 0x69, 0xea, 0x33, 0x8e, 0xf8, 0x50);")
916 cpp_quote("EXTERN_GUID(MF_PMP_SERVER_CONTEXT, 0x2f00c910, 0xd2cf, 0x4278, 0x8b, 0x6a, 0xd0, 0x77, 0xfa, 0xc3, 0xa2, 0x5f);")
918 cpp_quote("EXTERN_GUID(CLSID_VideoProcessorMFT, 0x88753b26, 0x5b24, 0x49bd, 0xb2, 0xe7, 0xc, 0x44, 0x5c, 0x78, 0xc9, 0x82);")