ReactOS  0.4.14-dev-358-gbef841c
mfobjects.idl
Go to the documentation of this file.
1 /*
2  * Copyright 2015 Jacek Caban for CodeWeavers
3  *
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.
8  *
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.
13  *
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
17  */
18 
19 import "unknwn.idl";
20 import "propsys.idl";
21 import "mediaobj.idl";
22 
23 cpp_quote("#include <mmreg.h>")
24 #include <mmreg.h>
25 
26 typedef ULONGLONG QWORD;
27 
28 typedef enum _MF_ATTRIBUTE_TYPE {
37 
45 
46 [
47  object,
48  uuid(2cd2d921-c447-44a7-a13c-4adabfc247e3)
49 ]
51 {
52  HRESULT GetItem(REFGUID guidKey, [in, out, ptr] PROPVARIANT *pValue);
53  HRESULT GetItemType(REFGUID guidKey, [out] MF_ATTRIBUTE_TYPE *pType);
54  HRESULT CompareItem(REFGUID guidKey, REFPROPVARIANT Value, [out] BOOL *pbResult);
55  HRESULT Compare(IMFAttributes *pTheirs, MF_ATTRIBUTES_MATCH_TYPE MatchType, [out] BOOL *pbResult);
56  HRESULT GetUINT32(REFGUID guidKey, [out] UINT32 *punValue);
57  HRESULT GetUINT64(REFGUID guidKey, [out] UINT64 *punValue);
58  HRESULT GetDouble(REFGUID guidKey, [out] double *pfValue);
59  HRESULT GetGUID(REFGUID guidKey, [out] GUID *pguidValue);
60  HRESULT GetStringLength(REFGUID guidKey, [out] UINT32 *pcchLength);
61  HRESULT GetString(REFGUID guidKey, [out, size_is(cchBufSize)] LPWSTR pwszValue, UINT32 cchBufSize,
62  [in, out, ptr] UINT32 *pcchLength);
63  HRESULT GetAllocatedString(REFGUID guidKey, [out, size_is(,*pcchLength+1)] LPWSTR *ppwszValue,
64  [out] UINT32 *pcchLength);
65  HRESULT GetBlobSize(REFGUID guidKey, [out] UINT32 *pcbBlobSize);
66  HRESULT GetBlob(REFGUID guidKey, [out, size_is(cbBufSize)] UINT8 *pBuf, UINT32 cbBufSize,
67  [in, out, ptr] UINT32 *pcbBlobSize);
68  HRESULT GetAllocatedBlob(REFGUID guidKey, [out, size_is(,*pcbSize)] UINT8 **ppBuf, [out] UINT32 *pcbSize);
69  HRESULT GetUnknown(REFGUID guidKey, REFIID riid, [out, iid_is(riid)] LPVOID *ppv);
70  HRESULT SetItem(REFGUID guidKey, REFPROPVARIANT Value);
71  HRESULT DeleteItem(REFGUID guidKey);
73  HRESULT SetUINT32(REFGUID guidKey, UINT32 unValue);
74  HRESULT SetUINT64(REFGUID guidKey, UINT64 unValue);
75  HRESULT SetDouble(REFGUID guidKey, double fValue);
76  HRESULT SetGUID(REFGUID guidKey, REFGUID guidValue);
77  HRESULT SetString(REFGUID guidKey, [in, string] LPCWSTR wszValue);
78  HRESULT SetBlob(REFGUID guidKey, [in, size_is(cbBufSize)] const UINT8* pBuf, UINT32 cbBufSize);
83  HRESULT GetItemByIndex(UINT32 unIndex, [out] GUID *pguidKey, [in, out, ptr] PROPVARIANT *pValue);
85 }
86 
89 };
90 
91 [
92  object,
93  uuid(045fa593-8799-42b8-bc8d-8968c6453507),
94  local
95 ]
97 {
98  HRESULT Lock([out] BYTE **ppbBuffer, [out] DWORD *pcbMaxLength, [out] DWORD *pcbCurrentLength);
99  HRESULT Unlock();
100  HRESULT GetCurrentLength([out] DWORD *pcbCurrentLength);
101  HRESULT SetCurrentLength([in] DWORD cbCurrentLength);
102  HRESULT GetMaxLength([out] DWORD *pcbMaxLength);
103 }
104 
105 [
106  object,
107  uuid(c40a00f2-b93a-4d80-ae8c-5a1c634f58e4),
108  local
109 ]
111 {
112  HRESULT GetSampleFlags([out] DWORD *pdwSampleFlags);
113  HRESULT SetSampleFlags([in] DWORD dwSampleFlags);
114  HRESULT GetSampleTime([out] LONGLONG *phnsSampleTime);
115  HRESULT SetSampleTime([in] LONGLONG hnsSampleTime);
116  HRESULT GetSampleDuration([out] LONGLONG *phnsSampleDuration);
117  HRESULT SetSampleDuration([in] LONGLONG hnsSampleDuration);
118  HRESULT GetBufferCount([out] DWORD *pdwBufferCount);
119  HRESULT GetBufferByIndex([in] DWORD dwIndex, [out] IMFMediaBuffer **ppBuffer);
122  HRESULT RemoveBufferByIndex([in] DWORD dwIndex);
124  HRESULT GetTotalLength([out] DWORD *pcbTotalLength);
126 }
127 
128 [
129  object,
130  uuid(7dc9d5f9-9ed9-44ec-9bbf-0600bb589fbb),
131  local
132 ]
134 {
135  HRESULT Lock2D([out] BYTE **pbScanline0, [out] LONG *plPitch);
136  HRESULT Unlock2D();
137  HRESULT GetScanline0AndPitch([out] BYTE **pbScanline0, [out] LONG *plPitch);
138  HRESULT IsContiguousFormat([out] BOOL *pfIsContiguous);
139  HRESULT GetContiguousLength([out] DWORD *pcbLength);
140  HRESULT ContiguousCopyTo([out, size_is(cbDestBuffer)] BYTE *pbDestBuffer, [in] DWORD cbDestBuffer);
141  HRESULT ContiguousCopyFrom([in, size_is(cbSrcBuffer)] const BYTE *pbSrcBuffer, [in] DWORD cbSrcBuffer);
142 }
143 
144 [
145  object,
146  uuid(44ae0fa8-ea31-4109-8d2e-4cae4997c555),
147  local
148 ]
150 {
151  HRESULT GetMajorType([out] GUID *pguidMajorType);
152  HRESULT IsCompressedFormat([out] BOOL *pfCompressed);
153  HRESULT IsEqual([in] IMFMediaType *pIMediaType, [out] DWORD *pdwFlags);
154  HRESULT GetRepresentation([in] GUID guidRepresentation, [out] LPVOID *ppvRepresentation);
155  HRESULT FreeRepresentation([in] GUID guidRepresentation, [in] LPVOID pvRepresentation);
156 }
157 
158 cpp_quote("#define MF_MEDIATYPE_EQUAL_MAJOR_TYPES 0x00000001")
159 cpp_quote("#define MF_MEDIATYPE_EQUAL_FORMAT_TYPES 0x00000002")
160 cpp_quote("#define MF_MEDIATYPE_EQUAL_FORMAT_DATA 0x00000004")
161 cpp_quote("#define MF_MEDIATYPE_EQUAL_FORMAT_USER_DATA 0x00000008")
162 
163 [
164  object,
165  uuid(26a0adc3-ce26-4672-9304-69552edd3faf),
166  local
167 ]
168 interface IMFAudioMediaType : IMFMediaType
169 {
170  const WAVEFORMATEX *GetAudioFormat();
171 }
172 
173 typedef struct {
174  GUID guidMajorType;
177 
178 typedef enum _MFVideoFlags {
199 } MFVideoFlags;
200 
201 typedef struct _MFRatio {
204 } MFRatio;
205 
206 typedef struct _MFOffset {
208  short value;
209 } MFOffset;
210 
211 typedef struct _MFVideoArea {
215 } MFVideoArea;
216 
238 
239 typedef enum _MFVideoInterlaceMode {
250 
267 
276 
277 typedef enum _MFVideoPrimaries {
290 
291 typedef enum _MFVideoLighting {
300 
301 typedef enum _MFNominalRange {
310 
311 typedef struct _MFVideoInfo {
326  unsigned __int64 VideoFlags;
327 } MFVideoInfo;
328 
329 typedef struct _MFVideoCompressedInfo {
334 
335 typedef struct _MFARGB {
340 } MFARGB;
341 
342 typedef struct __MFAYUVSample {
347 } MFAYUVSample;
348 
349 typedef union _MFPaletteEntry {
353 
354 typedef struct _MFVideoSurfaceInfo {
359 
360 typedef struct _MFVIDEOFORMAT {
366 } MFVIDEOFORMAT;
367 
380 
381 [
382  object,
383  uuid(b99f381f-a8f9-47a2-a5af-ca3a225a3890),
384  local
385 ]
387 {
388  const MFVIDEOFORMAT *GetVideoFormat();
389 
390  HRESULT GetVideoRepresentation([in] GUID guidRepresentation, [out] LPVOID *ppvRepresentation,
391  [in] LONG lStride);
392 }
393 
394 [
395  object,
396  uuid(ac6b7889-0740-4d51-8619-905994a55cc6)
397 ]
399 {
400  HRESULT GetState([out] IUnknown **ppunkState);
401  HRESULT GetStatus();
402  HRESULT SetStatus([in] HRESULT hrStatus);
403  HRESULT GetObject([out] IUnknown **ppObject);
405 }
406 
407 [
408  object,
409  uuid(a27003cf-2354-4f2a-8d6a-ab7cff15437e),
410 ]
412 {
413  HRESULT GetParameters([out] DWORD *pdwFlags, [out] DWORD *pdwQueue);
414  HRESULT Invoke([in] IMFAsyncResult *pAsyncResult);
415 }
416 
417 [
418  object,
419  uuid(a27003d0-2354-4f2a-8d6a-ab7cff15437e),
420 ]
422 {
423  HRESULT Invoke([in] HRESULT hr, [in] IUnknown *pRemoteResult);
424 }
425 
426 cpp_quote("#define MFASYNC_FAST_IO_PROCESSING_CALLBACK 0x0001")
427 cpp_quote("#define MFASYNC_SIGNAL_CALLBACK 0x0002" )
428 
429 cpp_quote("#define MFASYNC_CALLBACK_QUEUE_UNDEFINED 0x00000000")
430 cpp_quote("#define MFASYNC_CALLBACK_QUEUE_STANDARD 0x00000001")
431 cpp_quote("#define MFASYNC_CALLBACK_QUEUE_RT 0x00000002")
432 cpp_quote("#define MFASYNC_CALLBACK_QUEUE_IO 0x00000003")
433 cpp_quote("#define MFASYNC_CALLBACK_QUEUE_TIMER 0x00000004")
434 cpp_quote("#define MFASYNC_CALLBACK_QUEUE_LONG_FUNCTION 0x00000007")
435 cpp_quote("#define MFASYNC_CALLBACK_QUEUE_PRIVATE_MASK 0xffff0000")
436 cpp_quote("#define MFASYNC_CALLBACK_QUEUE_ALL 0xffffffff")
437 
438 typedef DWORD MediaEventType;
439 
440 [
441  object,
442  uuid(df598932-f10c-4e39-bba2-c308f101daa3)
443 ]
445 {
447  HRESULT GetExtendedType([out] GUID *pguidExtendedType);
448  HRESULT GetStatus([out] HRESULT *phrStatus);
449  HRESULT GetValue([out] PROPVARIANT *pvValue);
450 }
451 
452 [
453  object,
454  uuid(2cd0bd52-bcd5-4b89-b62c-eadc0c031e7d)
455 ]
456 interface IMFMediaEventGenerator : IUnknown
457 {
458  HRESULT GetEvent([in] DWORD dwFlags, [out] IMFMediaEvent **ppEvent);
459 
460  [local] HRESULT BeginGetEvent([in] IMFAsyncCallback *pCallback, [in] IUnknown *punkState);
461  [call_as(BeginGetEvent)] HRESULT RemoteBeginGetEvent([in] IMFRemoteAsyncCallback *pCallback);
462 
463  [local] HRESULT EndGetEvent([in] IMFAsyncResult *pResult, [out] IMFMediaEvent **ppEvent);
464  [call_as(EndGetEvent)] HRESULT RemoteEndGetEvent([in] IUnknown *pResult, [out] DWORD *pcbEvent,
465  [out, size_is(,*pcbEvent)] BYTE **ppbEvent);
466 
467  HRESULT QueueEvent([in] MediaEventType met, [in] REFGUID guidExtendedType, [in] HRESULT hrStatus,
468  [in, unique] const PROPVARIANT *pvValue);
469 }
470 
471 typedef enum _MFBYTESTREAM_SEEK_ORIGIN {
472  msoBegin,
473  msoCurrent
475 
476 [
477  object,
478  uuid(ad4c1b00-4bf7-422f-9175-756693d9130d),
479 ]
481 {
482  HRESULT GetCapabilities([out] DWORD *pdwCapabilities);
483  HRESULT GetLength([out] QWORD *pqwLength);
484  HRESULT SetLength([in] QWORD qwLength);
485  HRESULT GetCurrentPosition([out] QWORD *pqwPosition);
486  HRESULT SetCurrentPosition([in] QWORD qwPosition);
487  HRESULT IsEndOfStream([out] BOOL *pfEndOfStream);
488 
489  [local] HRESULT Read([in] BYTE* pb, [in] ULONG cb, [out] ULONG *pcbRead);
490  [local] HRESULT BeginRead([in] BYTE *pb, [in] ULONG cb, [in] IMFAsyncCallback *pCallback, [in] IUnknown *punkState);
491  [local] HRESULT EndRead([in] IMFAsyncResult *pResult, [out] ULONG *pcbRead);
492  [local] HRESULT Write([in] const BYTE *pb, [in] ULONG cb, [out] ULONG *pcbWritten);
493  [local] HRESULT BeginWrite([in] const BYTE *pb, [in] ULONG cb, [in] IMFAsyncCallback *pCallback, [in] IUnknown *punkState);
494  [local] HRESULT EndWrite([in] IMFAsyncResult *pResult, [out] ULONG *pcbWritten);
495  [local] HRESULT Seek([in] MFBYTESTREAM_SEEK_ORIGIN SeekOrigin, [in] LONGLONG llSeekOffset, [in] DWORD dwSeekFlags,
496  [out] QWORD *pqwCurrentPosition);
497 
498  HRESULT Flush();
499  HRESULT Close();
500 }
501 
502 cpp_quote("#define MFBYTESTREAM_IS_READABLE 0x00000001")
503 cpp_quote("#define MFBYTESTREAM_IS_WRITABLE 0x00000002")
504 cpp_quote("#define MFBYTESTREAM_IS_SEEKABLE 0x00000004")
505 cpp_quote("#define MFBYTESTREAM_IS_REMOTE 0x00000008")
506 cpp_quote("#define MFBYTESTREAM_IS_DIRECTORY 0x00000080")
507 cpp_quote("#define MFBYTESTREAM_HAS_SLOW_SEEK 0x00000100")
508 cpp_quote("#define MFBYTESTREAM_IS_PARTIALLY_DOWNLOADED 0x00000200")
509 cpp_quote("#define MFBYTESTREAM_SHARE_WRITE 0x00000400")
510 
511 cpp_quote("#define MFBYTESTREAM_SEEK_FLAG_CANCEL_PENDING_IO 0x00000001")
512 
513 cpp_quote("EXTERN_GUID(MF_BYTESTREAM_ORIGIN_NAME, 0xfc358288,0x3cb6,0x460c,0xa4,0x24,0xb6,0x68,0x12,0x60,0x37,0x5a);")
514 cpp_quote("EXTERN_GUID(MF_BYTESTREAM_CONTENT_TYPE, 0xfc358289,0x3cb6,0x460c,0xa4,0x24,0xb6,0x68,0x12,0x60,0x37,0x5a);")
515 cpp_quote("EXTERN_GUID(MF_BYTESTREAM_DURATION, 0xfc35828a,0x3cb6,0x460c,0xa4,0x24,0xb6,0x68,0x12,0x60,0x37,0x5a);")
516 cpp_quote("EXTERN_GUID(MF_BYTESTREAM_LAST_MODIFIED_TIME, 0xfc35828b,0x3cb6,0x460c,0xa4,0x24,0xb6,0x68,0x12,0x60,0x37,0x5a);")
517 cpp_quote("EXTERN_GUID(MF_BYTESTREAM_IFO_FILE_URI, 0xfc35828c,0x3cb6,0x460c,0xa4,0x24,0xb6,0x68,0x12,0x60,0x37,0x5a);")
518 cpp_quote("EXTERN_GUID(MF_BYTESTREAM_DLNA_PROFILE_ID, 0xfc35828d,0x3cb6,0x460c,0xa4,0x24,0xb6,0x68,0x12,0x60,0x37,0x5a);")
519 
525 
526 typedef enum {
533 
534 typedef enum {
535  MF_FILEFLAGS_NONE = 0x00000000,
538 } MF_FILE_FLAGS;
539 
540 [
541  object,
542  uuid(5bc8a76b-869a-46a3-9b03-fa218a66aebe)
543 ]
545 {
546  HRESULT GetElementCount([out] DWORD *pcElements);
547  HRESULT GetElement([in] DWORD dwElementIndex, [out] IUnknown **ppUnkElement);
548  HRESULT AddElement([in] IUnknown *pUnkElement);
549  HRESULT RemoveElement([in] DWORD dwElementIndex, [out] IUnknown **ppUnkElement);
552 }
553 
554 [
555  object,
556  uuid(7fee9e9a-4a89-47a6-899c-b6a53a70fb67),
558 ]
559 interface IMFActivate : IMFAttributes
560 {
561  HRESULT ActivateObject([in] REFIID riid, [out, iid_is(riid), retval] void **ppv);
562  HRESULT ShutdownObject();
563  HRESULT DetachObject();
564 }
565 
566 typedef enum _MF_Plugin_Type {
567  MF_Plugin_Type_MFT = 0,
569 } MF_Plugin_Type;
570 
571 [
572  object,
573  local,
574  uuid(5c6c44bf-1db6-435b-9249-e8cd10fdec96),
576 ]
578 {
579  HRESULT GetPreferredClsid(DWORD pluginType, LPCWSTR selector, CLSID *clsid);
581  HRESULT SetPreferredClsid(DWORD pluginType, LPCWSTR selector, const CLSID *clsid);
582  HRESULT IsDisabled(DWORD pluginType, REFCLSID clsid);
584  HRESULT SetDisabled(DWORD pluginType, REFCLSID clsid, BOOL disabled);
585 }
const MFVIDEOFORMAT * GetVideoFormat()
struct _MFVideoSurfaceInfo MFVideoSurfaceInfo
HRESULT SetDouble(REFGUID guidKey, double fValue)
HRESULT CopyAllItems([in] IMFAttributes *pDest)
HRESULT GetDouble(REFGUID guidKey, [out] double *pfValue)
_In_opt_ ULONG _Out_ PULONG Value
Definition: rtlfuncs.h:2343
HRESULT GetVideoRepresentation([in] GUID guidRepresentation, [out] LPVOID *ppvRepresentation, [in] LONG lStride)
HRESULT RemoveElement([in] DWORD dwElementIndex, [out] IUnknown **ppUnkElement)
struct _MFOffset MFOffset
HRESULT GetContiguousLength([out] DWORD *pcbLength)
#define REFIID
Definition: guiddef.h:118
static const struct update_accum a3
Definition: msg.c:600
HRESULT Lock2D([out] BYTE **pbScanline0, [out] LONG *plPitch)
HRESULT IsEndOfStream([out] BOOL *pfEndOfStream)
HRESULT Seek([in] MFBYTESTREAM_SEEK_ORIGIN SeekOrigin, [in] LONGLONG llSeekOffset, [in] DWORD dwSeekFlags, [out] QWORD *pqwCurrentPosition)
WORD fract
Definition: mfobjects.idl:207
HRESULT GetBlobSize(REFGUID guidKey, [out] UINT32 *pcbBlobSize)
HRESULT GetState([out] IUnknown **ppunkState)
HRESULT hr
Definition: shlfolder.c:183
struct _MFVideoCompressedInfo MFVideoCompressedInfo
HRESULT RemoveAllElements()
MFRatio PixelAspectRatio
Definition: mfobjects.idl:314
Definition: scsiwmi.h:51
const WCHAR * LPCWSTR
Definition: xmlstorage.h:185
HRESULT GetScanline0AndPitch([out] BYTE **pbScanline0, [out] LONG *plPitch)
HRESULT Invoke([in] HRESULT hr, [in] IUnknown *pRemoteResult)
HRESULT GetElement([in] DWORD dwElementIndex, [out] IUnknown **ppUnkElement)
HRESULT SetItem(REFGUID guidKey, REFPROPVARIANT Value)
MFPaletteEntry Palette[]
Definition: mfobjects.idl:357
HRESULT IsDisabled(DWORD pluginType, REFCLSID clsid)
MFBYTESTREAM_SEEK_FLAG_CANCEL_PENDING_IO EXTERN_GUID(MF_BYTESTREAM_ORIGIN_NAME, 0xfc358288, 0x3cb6, 0x460c, 0xa4, 0x24, 0xb6, 0x68, 0x12, 0x60, 0x37, 0x5a)
REFIID riid
Definition: precomp.h:44
MFVideoArea PanScanAperture
Definition: mfobjects.idl:325
HRESULT ConvertToContiguousBuffer([out] IMFMediaBuffer **ppBuffer)
HRESULT GetUINT32(REFGUID guidKey, [out] UINT32 *punValue)
#define REFCLSID
Definition: guiddef.h:117
MF_ATTRIBUTE_SERIALIZE_OPTIONS
Definition: mfobjects.idl:87
MFVideoInfo videoInfo
Definition: mfobjects.idl:362
HRESULT GetType([out] MediaEventType *pmet)
HRESULT GetBufferByIndex([in] DWORD dwIndex, [out] IMFMediaBuffer **ppBuffer)
DWORD dwHeight
Definition: mfobjects.idl:313
HRESULT InsertElementAt([in] DWORD dwIndex, [in] IUnknown *pUnknown)
HRESULT GetDisabledByIndex(DWORD pluginType, DWORD index, CLSID *clsid)
BYTE rgbGreen
Definition: mfobjects.idl:337
HRESULT SetSampleFlags([in] DWORD dwSampleFlags)
REFIID LPVOID * ppv
Definition: atlbase.h:39
_MFVideoFlags
Definition: mfobjects.idl:178
HRESULT GetSampleFlags([out] DWORD *pdwSampleFlags)
MFOffset OffsetX
Definition: mfobjects.idl:212
HRESULT Unlock2D()
DWORD Numerator
Definition: mfobjects.idl:202
HRESULT LockStore()
static int int const SCRIPT_CONTROL const SCRIPT_STATE SCRIPT_ITEM ULONG int * pcItems
Definition: usp10.c:62
enum _MFVideoLighting MFVideoLighting
struct __MFAYUVSample MFAYUVSample
HRESULT GetItem(REFGUID guidKey, [in, out, ptr] PROPVARIANT *pValue)
HRESULT BeginWrite([in] const BYTE *pb, [in] ULONG cb, [in] IMFAsyncCallback *pCallback, [in] IUnknown *punkState)
BYTE rgbRed
Definition: mfobjects.idl:338
HRESULT SetPreferredClsid(DWORD pluginType, LPCWSTR selector, const CLSID *clsid)
coclass AMMultiMediaStream cpp_quote("DEFINE_GUID(CLSID_AMDirectDrawStream, 0x49c47ce4, 0x9ba4, 0x11d0, 0x82, 0x12, 0x00, 0xc0, 0x4f, 0xc3, 0x2c, 0x45);") cpp_quote("DEFINE_GUID(CLSID_AMAudioStream
HRESULT GetLength([out] QWORD *pqwLength)
union _MFPaletteEntry MFPaletteEntry
HRESULT GetCount([out] UINT32 *pcItems)
HRESULT GetSampleDuration([out] LONGLONG *phnsSampleDuration)
HRESULT CopyToBuffer([in] IMFMediaBuffer *pBuffer)
_MFVideoChromaSubsampling
Definition: mfobjects.idl:217
_MFVideoTransferFunction
Definition: mfobjects.idl:251
HRESULT EndRead([in] IMFAsyncResult *pResult, [out] ULONG *pcbRead)
HRESULT GetUnknown(REFGUID guidKey, REFIID riid, [out, iid_is(riid)] LPVOID *ppv)
MFVideoPrimaries ColorPrimaries
Definition: mfobjects.idl:318
_MF_ATTRIBUTE_TYPE
Definition: mfobjects.idl:28
unsigned int UINT32
enum _MFVideoInterlaceMode MFVideoInterlaceMode
unsigned int BOOL
Definition: ntddk_ex.h:94
long LONG
Definition: pedump.c:60
HRESULT Flush()
HRESULT BeginRead([in] BYTE *pb, [in] ULONG cb, [in] IMFAsyncCallback *pCallback, [in] IUnknown *punkState)
HRESULT Read([in] BYTE *pb, [in] ULONG cb, [out] ULONG *pcbRead)
_MFVideoPrimaries
Definition: mfobjects.idl:277
static PVOID ptr
Definition: dispmode.c:27
MFVideoChromaSubsampling SourceChromaSubsampling
Definition: mfobjects.idl:315
HRESULT DeleteAllItems()
MFVideoLighting SourceLighting
Definition: mfobjects.idl:320
HRESULT ContiguousCopyTo([out, size_is(cbDestBuffer)] BYTE *pbDestBuffer, [in] DWORD cbDestBuffer)
MFVideoInterlaceMode InterlaceMode
Definition: mfobjects.idl:316
ULONGLONG QWORD
Definition: mfobjects.idl:19
MFVideoTransferMatrix TransferMatrix
Definition: mfobjects.idl:319
PVOID pBuffer
struct _MFVideoArea MFVideoArea
enum _MFVideoFlags MFVideoFlags
HRESULT SetString(REFGUID guidKey, [in, string] LPCWSTR wszValue)
HRESULT GetBlob(REFGUID guidKey, [out, size_is(cbBufSize)] UINT8 *pBuf, UINT32 cbBufSize, [in, out, ptr] UINT32 *pcbBlobSize)
_MFVideoInterlaceMode
Definition: mfobjects.idl:239
GLuint index
Definition: glext.h:6031
HRESULT GetCurrentPosition([out] QWORD *pqwPosition)
HRESULT SetUINT32(REFGUID guidKey, UINT32 unValue)
MFRatio FramesPerSecond
Definition: mfobjects.idl:321
HRESULT GetCapabilities([out] DWORD *pdwCapabilities)
MFVideoCompressedInfo compressedInfo
Definition: mfobjects.idl:364
enum _MFVideoPrimaries MFVideoPrimaries
IUnknown * GetStateNoAddRef()
_In_ PUNKNOWN pUnknown
Definition: drmk.h:76
int64_t LONGLONG
Definition: typedefs.h:66
enum _MFVideoTransferMatrix MFVideoTransferMatrix
HRESULT SetBlob(REFGUID guidKey, [in, size_is(cbBufSize)] const UINT8 *pBuf, UINT32 cbBufSize)
HRESULT GetAllocatedBlob(REFGUID guidKey, [out, size_is(, *pcbSize)] UINT8 **ppBuf, [out] UINT32 *pcbSize)
GLfloat f
Definition: glext.h:7540
GLboolean GLboolean GLboolean b
Definition: glext.h:6204
enum _MF_ATTRIBUTE_TYPE MF_ATTRIBUTE_TYPE
HRESULT GetUINT64(REFGUID guidKey, [out] UINT64 *punValue)
HRESULT FreeRepresentation([in] GUID guidRepresentation, [in] LPVOID pvRepresentation)
_MFNominalRange
Definition: mfobjects.idl:301
HRESULT UnlockStore()
HRESULT SetUINT64(REFGUID guidKey, UINT64 unValue)
HRESULT GetAllocatedString(REFGUID guidKey, [out, size_is(, *pcchLength+1)] LPWSTR *ppwszValue, [out] UINT32 *pcchLength)
MF_FILE_OPENMODE
Definition: mfobjects.idl:526
HRESULT EndWrite([in] IMFAsyncResult *pResult, [out] ULONG *pcbWritten)
MFOffset OffsetY
Definition: mfobjects.idl:213
LONG HRESULT
Definition: typedefs.h:77
HRESULT SetGUID(REFGUID guidKey, REFGUID guidValue)
static const struct update_accum a2
Definition: msg.c:586
HRESULT GetItemByIndex(UINT32 unIndex, [out] GUID *pguidKey, [in, out, ptr] PROPVARIANT *pValue)
uint64_t ULONGLONG
Definition: typedefs.h:65
UINT64 QWORD
Definition: shimdbg.c:104
HRESULT GetElementCount([out] DWORD *pcElements)
const GLubyte * c
Definition: glext.h:8905
MFASYNC_CALLBACK_QUEUE_ALL typedef DWORD MediaEventType
Definition: mfobjects.idl:436
HRESULT GetPreferredClsid(DWORD pluginType, LPCWSTR selector, CLSID *clsid)
HRESULT SetCurrentPosition([in] QWORD qwPosition)
unsigned short WORD
Definition: ntddk_ex.h:93
static FILE * out
Definition: regtests2xml.c:44
MFNominalRange NominalRange
Definition: mfobjects.idl:322
unsigned long DWORD
Definition: ntddk_ex.h:95
_In_ DWORD _In_ DWORD cbBufSize
Definition: winsvc.h:424
MFT_REGISTER_TYPE_INFO
Definition: mfobjects.idl:176
HRESULT CompareItem(REFGUID guidKey, REFPROPVARIANT Value, [out] BOOL *pbResult)
HRESULT IsContiguousFormat([out] BOOL *pfIsContiguous)
enum _MFVideoChromaSubsampling MFVideoChromaSubsampling
HRESULT GetObject([out] IUnknown **ppObject)
enum MFBYTESTREAM_SEEK_ORIGIN
HRESULT GetParameters([out] DWORD *pdwFlags, [out] DWORD *pdwQueue)
HRESULT SetLength([in] QWORD qwLength)
REFCLSID clsid
Definition: msctf.c:82
BYTE rgbAlpha
Definition: mfobjects.idl:339
HRESULT GetItemType(REFGUID guidKey, [out] MF_ATTRIBUTE_TYPE *pType)
unsigned __int64 VideoFlags
Definition: mfobjects.idl:326
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
Definition: wincrypt.h:1175
_MFStandardVideoFormat
Definition: mfobjects.idl:368
HRESULT GetGUID(REFGUID guidKey, [out] GUID *pguidValue)
unsigned char BYTE
Definition: mem.h:68
HRESULT Unlock()
HRESULT SetDisabled(DWORD pluginType, REFCLSID clsid, BOOL disabled)
HRESULT Compare(IMFAttributes *pTheirs, MF_ATTRIBUTES_MATCH_TYPE MatchType, [out] BOOL *pbResult)
struct _MFRatio MFRatio
HRESULT RemoveAllBuffers()
HRESULT GetRepresentation([in] GUID guidRepresentation, [out] LPVOID *ppvRepresentation)
enum _MFNominalRange MFNominalRange
HRESULT GetMajorType([out] GUID *pguidMajorType)
struct _MFARGB MFARGB
HRESULT IsEqual([in] IMFMediaType *pIMediaType, [out] DWORD *pdwFlags)
MFVideoSurfaceInfo surfaceInfo
Definition: mfobjects.idl:365
#define local
Definition: zutil.h:30
HRESULT ContiguousCopyFrom([in, size_is(cbSrcBuffer)] const BYTE *pbSrcBuffer, [in] DWORD cbSrcBuffer)
HRESULT AddBuffer([in] IMFMediaBuffer *pBuffer)
HRESULT GetCurrentLength([out] DWORD *pcbCurrentLength)
HRESULT DeleteItem(REFGUID guidKey)
MFVideoTransferFunction TransferFunction
Definition: mfobjects.idl:317
HRESULT Write([in] const BYTE *pb, [in] ULONG cb, [out] ULONG *pcbWritten)
HRESULT Close()
GLuint in
Definition: glext.h:9616
static unsigned char pointer_default
Definition: parser.tab.c:114
HRESULT SetStatus([in] HRESULT hrStatus)
enum _MFStandardVideoFormat MFStandardVideoFormat
MF_FILE_FLAGS
Definition: mfobjects.idl:534
HRESULT SetSampleDuration([in] LONGLONG hnsSampleDuration)
HRESULT SetSampleTime([in] LONGLONG hnsSampleTime)
HRESULT GetStatus([out] HRESULT *phrStatus)
HRESULT GetString(REFGUID guidKey, [out, size_is(cchBufSize)] LPWSTR pwszValue, UINT32 cchBufSize, [in, out, ptr] UINT32 *pcchLength)
_MF_ATTRIBUTES_MATCH_TYPE
Definition: mfobjects.idl:38
HRESULT SetUnknown(REFGUID guidKey, [in] IUnknown *pUnknown)
HRESULT RemoveBufferByIndex([in] DWORD dwIndex)
static HMODULE MODULEINFO DWORD cb
Definition: module.c:32
enum _MF_ATTRIBUTES_MATCH_TYPE MF_ATTRIBUTES_MATCH_TYPE
MFAYUVSample AYCbCr
Definition: mfobjects.idl:351
unsigned int ULONG
Definition: retypes.h:1
short value
Definition: mfobjects.idl:208
HRESULT Lock([out] BYTE **ppbBuffer, [out] DWORD *pcbMaxLength, [out] DWORD *pcbCurrentLength)
_MFVideoLighting
Definition: mfobjects.idl:291
HRESULT SetCurrentLength([in] DWORD cbCurrentLength)
HRESULT GetExtendedType([out] GUID *pguidExtendedType)
MF_FILE_ACCESSMODE
Definition: mfobjects.idl:520
BYTE rgbBlue
Definition: mfobjects.idl:336
GLboolean GLboolean GLboolean GLboolean a
Definition: glext.h:6204
_MFVideoTransferMatrix
Definition: mfobjects.idl:268
HRESULT Invoke([in] IMFAsyncResult *pAsyncResult)
unsigned long long UINT64
WCHAR * LPWSTR
Definition: xmlstorage.h:184
HRESULT GetValue([out] PROPVARIANT *pvValue)
enum _MFVideoTransferFunction MFVideoTransferFunction
HRESULT GetStatus()
unsigned char UINT8
struct _MFVIDEOFORMAT MFVIDEOFORMAT
HRESULT GetSampleTime([out] LONGLONG *phnsSampleTime)
void * object
Definition: jmemsys.h:48
MFVideoArea GeometricAperture
Definition: mfobjects.idl:323
Definition: compat.h:1949
MFVideoArea MinimumDisplayAperture
Definition: mfobjects.idl:324
HRESULT AddElement([in] IUnknown *pUnkElement)
HRESULT GetMaxLength([out] DWORD *pcbMaxLength)
#define __int64
Definition: basetyps.h:16
HRESULT GetTotalLength([out] DWORD *pcbTotalLength)
struct _MFVideoInfo MFVideoInfo
HRESULT GetPreferredClsidByIndex(DWORD pluginType, DWORD index, LPWSTR *selector, CLSID *clsid)
GUID guidSubtype
Definition: mfobjects.idl:175
HRESULT IsCompressedFormat([out] BOOL *pfCompressed)
HRESULT GetStringLength(REFGUID guidKey, [out] UINT32 *pcchLength)
DWORD Denominator
Definition: mfobjects.idl:203
HRESULT GetBufferCount([out] DWORD *pdwBufferCount)