IComponentType interface (tuner.h)

[The feature associated with this page, Microsoft TV Technologies, is a legacy feature. Microsoft strongly recommends that new code does not use this feature.]

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.

Inheritance

The IComponentType interface inherits from the IDispatch interface. IComponentType also has these types of members:

Methods

The IComponentType interface has these methods.

 
IComponentType::Clone

The Clone method creates a new copy of this component type.
IComponentType::get__MediaFormatType

The get__MediaFormatType method retrieves the DirectShow media format type as a GUID.
IComponentType::get__MediaMajorType

The get__MediaMajorType method retrieves the DirectShow media format type as a GUID.
IComponentType::get__MediaSubType

The get__MediaSubType method retrieves the DirectShow media subtype as a GUID.
IComponentType::get_Category

The get_Category method retrieves the component category.
IComponentType::get_MediaFormatType

The get_MediaFormatType method retrieves the DirectShow media format type as a BSTR.
IComponentType::get_MediaMajorType

The get_MediaMajorType method retrieves the DirectShow media major type as a BSTR.
IComponentType::get_MediaSubType

The get_MediaSubType method retrieves the DirectShow media subtype as a BSTR.
IComponentType::get_MediaType

The get_MediaType method retrieves the DirectShow AM_MEDIA_TYPE structure for the component.
IComponentType::put__MediaFormatType

The put__MediaFormatType method sets the DirectShow media format type.
IComponentType::put__MediaMajorType

The put__MediaMajorType method sets the DirectShow media major type.
IComponentType::put__MediaSubType

The put__MediaSubType method sets the DirectShow media subtype.
IComponentType::put_Category

The put_Category method sets the component category.
IComponentType::put_MediaFormatType

The put_MediaFormatType method sets the DirectShow media format type.
IComponentType::put_MediaMajorType

The put_MediaMajorType method sets the DirectShow media major type.
IComponentType::put_MediaSubType

The put_MediaSubType method sets the DirectShow media subtype.
IComponentType::put_MediaType

The put_MediaType method sets the DirectShow AM_MEDIA_TYPE structure for the component.

Remarks

To declare the interface identifier (IID) for this interface, use the __uuidof operator: __uuidof(IComponentType).

Requirements

Requirement Value
Minimum supported client Windows�XP [desktop apps only]
Minimum supported server None supported
Target Platform Windows
Header tuner.h

See also

IDispatch

Tuning Model Interfaces