Microsoft DirectX 9.0

IComponentType::get_MediaFormatType

The get_MediaFormatType method retrieves the DirectShow media format type as a BSTR.

Syntax

HRESULT get_MediaFormatType(
  BSTR*  pMediaFormatType
);

Parameters

pMediaFormatType

[out] Pointer to a BSTR that will receive the GUID.

Return Values

Returns S_OK if successful. If the method fails, error information can be retrieved using the standard COM IErrorInfo interface.

See Also