Export (0) Print
Expand All
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IBaseFilter Interface

Windows Mobile 6.5
A version of this page is also available for

This interface abstracts an object that has typed input and output connections and can be aggregated dynamically.

All DirectShow filters expose this interface.

Because the IBaseFilter interface derives from the IMediaFilter interface, it inherits IPersist.

Implement this interface on every DirectShow filter. It is recommended that you use the CBaseFilter class library to implement this interface.

The filter graph manager is the primary user of this interface.

Applications or other filters can use IBaseFilter methods directly to enumerate or retrieve pins or to get vendor information, but should not use any methods derived from IMediaFilter to control media streaming (use the IMediaControl methods on the filter graph manager instead).

The following tables show the methods that appear in the Vtable beneath the standard COM methods inherited from IUnknown.

IMediaFilter method Description


Informs the filter to transition to the new (stopped) state.


Informs the filter to transition to the new (paused) state.


Informs the filter to transition to the new (running) state.


Determines the state of the filter.


Identifies the reference clock to which the filter should synchronize activity.


Retrieves the current reference clock (or NULL if there is no clock).

Passes a time value to synchronize independent streams.

IBaseFilter method Description


Enumerates the specified pins available on this filter.


Retrieves a pointer to the pin with the specified identifier.


Retrieves information about the specified filter.


Notifies a filter that it has joined a filter graph.


Retrieves optional information supplied by a vendor for the specified filter.

Windows Embedded CEWindows CE 2.12 and later
Windows MobileWindows Mobile Version 5.0 and later
NoteMicrosoft DirectShow applications and DirectShow filters have different include file and Library requirements
For more information, see Setting Up the Build Environment

Community Additions

© 2014 Microsoft