ReactOS  0.4.10-dev-358-g66981e1
IMFMediaType Interface Reference

import"mfobjects.idl";

Inheritance diagram for IMFMediaType:
Collaboration diagram for IMFMediaType:

Public Member Functions

HRESULT GetMajorType ([out] GUID *pguidMajorType)
 
HRESULT IsCompressedFormat ([out] BOOL *pfCompressed)
 
HRESULT IsEqual ([in] IMFMediaType *pIMediaType, [out] DWORD *pdwFlags)
 
HRESULT GetRepresentation ([in] GUID guidRepresentation, [out] LPVOID *ppvRepresentation)
 
HRESULT FreeRepresentation ([in] GUID guidRepresentation, [in] LPVOID pvRepresentation)
 
- Public Member Functions inherited from IMFAttributes
HRESULT GetItem (REFGUID guidKey, [in, out, ptr] PROPVARIANT *pValue)
 
HRESULT GetItemType (REFGUID guidKey, [out] MF_ATTRIBUTE_TYPE *pType)
 
HRESULT CompareItem (REFGUID guidKey, REFPROPVARIANT Value, [out] BOOL *pbResult)
 
HRESULT Compare (IMFAttributes *pTheirs, MF_ATTRIBUTES_MATCH_TYPE MatchType, [out] BOOL *pbResult)
 
HRESULT GetUINT32 (REFGUID guidKey, [out] UINT32 *punValue)
 
HRESULT GetUINT64 (REFGUID guidKey, [out] UINT64 *punValue)
 
HRESULT GetDouble (REFGUID guidKey, [out] double *pfValue)
 
HRESULT GetGUID (REFGUID guidKey, [out] GUID *pguidValue)
 
HRESULT GetStringLength (REFGUID guidKey, [out] UINT32 *pcchLength)
 
HRESULT GetString (REFGUID guidKey, [out, size_is(cchBufSize)] LPWSTR pwszValue, UINT32 cchBufSize, [in, out, ptr] UINT32 *pcchLength)
 
HRESULT GetAllocatedString (REFGUID guidKey, [out, size_is(,*pcchLength+1)] LPWSTR *ppwszValue, [out] UINT32 *pcchLength)
 
HRESULT GetBlobSize (REFGUID guidKey, [out] UINT32 *pcbBlobSize)
 
HRESULT GetBlob (REFGUID guidKey, [out, size_is(cbBufSize)] UINT8 *pBuf, UINT32 cbBufSize, [in, out, ptr] UINT32 *pcbBlobSize)
 
HRESULT GetAllocatedBlob (REFGUID guidKey, [out, size_is(,*pcbSize)] UINT8 **ppBuf, [out] UINT32 *pcbSize)
 
HRESULT GetUnknown (REFGUID guidKey, REFIID riid, [out, iid_is(riid)] LPVOID *ppv)
 
HRESULT SetItem (REFGUID guidKey, REFPROPVARIANT Value)
 
HRESULT DeleteItem (REFGUID guidKey)
 
HRESULT DeleteAllItems ()
 
HRESULT SetUINT32 (REFGUID guidKey, UINT32 unValue)
 
HRESULT SetUINT64 (REFGUID guidKey, UINT64 unValue)
 
HRESULT SetDouble (REFGUID guidKey, double fValue)
 
HRESULT SetGUID (REFGUID guidKey, REFGUID guidValue)
 
HRESULT SetString (REFGUID guidKey, [in, string] LPCWSTR wszValue)
 
HRESULT SetBlob (REFGUID guidKey, [in, size_is(cbBufSize)] const UINT8 *pBuf, UINT32 cbBufSize)
 
HRESULT SetUnknown (REFGUID guidKey, [in] IUnknown *pUnknown)
 
HRESULT LockStore ()
 
HRESULT UnlockStore ()
 
HRESULT GetCount ([out] UINT32 *pcItems)
 
HRESULT GetItemByIndex (UINT32 unIndex, [out] GUID *pguidKey, [in, out, ptr] PROPVARIANT *pValue)
 
HRESULT CopyAllItems ([in] IMFAttributes *pDest)
 
- Public Member Functions inherited from IUnknown
HRESULT QueryInterface ([in] REFIID riid, [out, iid_is(riid)] void **ppvObject)
 
ULONG AddRef ()
 
ULONG Release ()
 

Additional Inherited Members

- Public Types inherited from IUnknown
typedef IUnknownLPUNKNOWN
 

Detailed Description

Definition at line 149 of file mfobjects.idl.

Member Function Documentation

HRESULT IMFMediaType::FreeRepresentation ( [in] GUID  guidRepresentation,
[in] LPVOID  pvRepresentation 
)
HRESULT IMFMediaType::GetMajorType ( [out] GUID pguidMajorType)
HRESULT IMFMediaType::GetRepresentation ( [in] GUID  guidRepresentation,
[out] LPVOID ppvRepresentation 
)
HRESULT IMFMediaType::IsCompressedFormat ( [out] BOOL pfCompressed)
HRESULT IMFMediaType::IsEqual ( [in] IMFMediaType pIMediaType,
[out] DWORD pdwFlags 
)

The documentation for this interface was generated from the following file: