Microsoft DirectX 9.0

IComponentType::put_MediaSubType

The put_MediaSubType method sets the DirectShow media subtype.

Syntax

HRESULT put_MediaSubType(
  BSTR  MediaSubType
);

Parameters

MediaSubType

[in] BSTR that specifies 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