Microsoft DirectX 8.1 (C++)

IFilterInfo Interface

The IFilterInfo interface manages information about a filter and provides access to the filter and to the IPinInfo interfaces representing the pins on the filter. It is essentially an IBaseFilter interface that can be accessed through Automation. This was created to provide access to the IBaseFilter methods from Microsoft® Visual Basic® applications without incurring the overhead of Automation in the IBaseFilter interface itself.

This interface is implemented by the filter graph manager for use by Automation client applications, such as Microsoft Visual Basic.

Use this interface from an application to retrieve information about a filter and to retrieve individual pin objects in the filter or a collection of all pin objects belonging to the filter. This can be used when adding filters to a filter graph and connecting pins together.

In addition to the methods inherited from IDispatch, the IFilterInfo interface exposes the following methods.

Method Description
FindPin Locates a pin and returns an IPinInfo interface.
get_Name Retrieves the filter name.
get_VendorInfo Retrieves a string containing optional information supplied by a vendor about the specified filter.
get_Filter Retrieves the IBaseFilter interface for the filter.
get_Pins Retrieves an IAMCollection interface which provides access to the IPinInfo interfaces for this filter.
get_IsFileSource Determines if the filter is a file source filter.
get_Filename Retrieves the file name associated with the source filter.
put_Filename Sets the file name containing the media source.