Creates properties from a IMFMediaType.
HRESULT MFCreatePropertiesFromMediaType(
IMFMediaType *pMediaType,
REFIID riid,
_Outptr_ void **ppv
)
pMediaType
Type: IMFMediaType *
A pointer to the IMFMediaType interface.
riid
Type: REFIID
The interface identifier (IID) of the interface being requested.
ppv
Type: Outptr void **
Receives a pointer to the requested interface. The caller must release the interface.
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Refer to Media Foundation return codes.
Header: Declared in mfidl.h.
Library: Use Mfplat.lib.