IComponentType Interface

The IComponentType interface is implemented on ComponentType objects, and contains methods for setting and retrieving various properties for a Component. Every Component object has an associated ComponentType object that is set or retrieved with the get_Type and put_Type methods.

Methods

The IComponentType interface inherits the methods of the IDispatch interface.

In addition, IComponentType defines the following methods.

Method Description

Clone

Creates a new copy of this component type.

get__MediaFormatType

Retrieves the DirectShow media format type as a GUID.

get__MediaMajorType

Retrieves the DirectShow media major type as a GUID.

get__MediaSubType

Retrieves the DirectShow media subtype as a GUID.

get_Category

Retrieves the component category.

get_MediaFormatType

Retrieves the DirectShow media format type as a BSTR.

get_MediaMajorType

Retrieves the DirectShow media major type as a BSTR.

get_MediaSubType

Retrieves the DirectShow media subtype as a BSTR.

get_MediaType

Retrieves the DirectShow AM_MEDIA_TYPE media type structure for the component.

put__MediaFormatType

Sets the DirectShow media format type.

put__MediaMajorType

Sets the DirectShow AM_MEDIA_TYPE majortype member for the component.

put__MediaSubType

Sets the DirectShow AM_MEDIA_TYPE subtype member for the component.

put_Category

Sets the component category.

put_MediaFormatType

Sets the DirectShow media format type.

put_MediaMajorType

Sets the DirectShow AM_MEDIA_TYPE majortype member for the component.

put_MediaSubType

Sets the DirectShow AM_MEDIA_TYPE subtype member for the component.

put_MediaType

Sets the DirectShow AM_MEDIA_TYPE media type structure for the component.

See Also

Tuning Model Interfaces

Send comments about this topic to Microsoft

Build date: 12/4/2008