Share via


IComponentType::put_MediaSubType

 
Microsoft DirectShow 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.

Requirements

Header: Dshow.h.

Library: Quartz.dll.

See Also