Creates an empty media type.
HRESULT MFCreateMediaType(
IMFMediaType **ppMFType
)
ppMFType
Type: IMFMediaType **
[out] Receives a pointer to the IMFMediaType 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.
The media type is created without any attributes.
Header: Declared in mfapi.h.
Library: Use Mfplat.lib.