IComponentType::put__MediaFormatType

 
Microsoft DirectShow 9.0

IComponentType::put__MediaFormatType

The put__MediaFormatType method sets the DirectShow media format type.

Syntax

  HRESULT put__MediaFormatType(
  REFCLSID  MediaFormatType
);

Parameters

MediaFormatType

[in] REFCLSID that specifies the media format type.

Return Values

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

Remarks

This method is available through C++ only. Note the two underscores in the method name as compared to the one underscore for the method that uses a BSTR as a parameter.

Requirements

Header: Dshow.h.

Library: Quartz.dll.

See Also