Retrieves a media type that was wrapped in another media type by the MFWrapMediaType function.
HRESULT MFUnwrapMediaType(
IMFMediaType *pWrap,
IMFMediaType **ppOrig
)
pWrap
Type: IMFMediaType *
[in] Pointer to the IMFMediaType interface of the media type that was retrieved by MFWrapMediaType.
ppOrig
Type: IMFMediaType **
[out] Receives a pointer to the IMFMediaType interface of the original media type. 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 mfapi.h.
Library: Use mfplat.lib.