IBaseFilter interface (strmif.h)

The IBaseFilter interface is the primary interface for DirectShow filters. All DirectShow filters must expose this interface. The Filter Graph Manager uses this interface to control filters. Applications can use this interface to enumerate pins and query for filter information, but should not use it to change the state of a filter. Instead, use the IMediaControl interface on the Filter Graph Manager.

Filter developers: Implement this interface on every DirectShow filter. The CBaseFilter base class implements this interface.


The IBaseFilter interface inherits from IMediaFilter. IBaseFilter also has these types of members:


The IBaseFilter interface has these methods.


The EnumPins method enumerates the pins on this filter.

The FindPin method retrieves the pin with the specified identifier.

The JoinFilterGraph method notifies the filter that it has joined or left the filter graph.

The QueryFilterInfo method retrieves information about the filter.

The QueryVendorInfo method retrieves a string containing vendor information.


Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header strmif.h (include Dshow.h)

See also