IComponentType Interface

 
Microsoft DirectShow 9.0

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.

In addition to the methods inherited from IDispatch, the IComponentType interface exposes 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