IComponentType::put_MediaSubType Method

The put_MediaSubType method sets the DirectShow media subtype.

Syntax

HRESULT put_MediaSubType(
  [in]  BSTR MediaSubType
);

Parameters

  • MediaSubType [in]
    BSTR that specifies the GUID.

Return Value

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

Requirements

Header Declared in Dshow.h.
DLL Requires Quartz.dll.

See Also

IComponentType Interface

Send comments about this topic to Microsoft

Build date: 12/4/2008