Retrieves a media type handler for the stream. The media type handler can be used to enumerate supported media types for the stream, get the current media type, and set the media type.
public:
HRESULT GetMediaTypeHandler(
IMFMediaTypeHandler **ppMediaTypeHandler
)
ppMediaTypeHandler
Type: IMFMediaTypeHandler **
[out, optional]
Receives a pointer to the IMFMediaTypeHandler 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 mfuuid.lib.