IFilterGraph interface (strmif.h)
IFilterGraph interface provides methods for building a filter graph. An application can use it to add filters to the graph, connect or disconnect filters, remove filters, and perform other basic operations. However, the IGraphBuilder interface inherits from this interface and provides additional methods that are more sophisticated. Therefore, applications should use IGraphBuilder rather than using
The filter graph manager implements this interface.
The IFilterGraph interface inherits from the IUnknown interface. IFilterGraph also has these types of members:
The IFilterGraph interface has these methods.
The AddFilter method adds a filter to the graph.
The ConnectDirect method connects the two pins directly (without intervening filters).
The Disconnect method disconnects this pin.
The EnumFilters method provides an enumerator for all filters in the graph.
The FindFilterByName method finds a filter that was added to the filter graph with a specific name.
The Reconnect method disconnects a pin and then reconnects it to the same pin.
The RemoveFilter method removes a filter from the graph.
The SetDefaultSyncSource method sets the reference clock to the default clock.
|Minimum supported client||Windows 2000 Professional [desktop apps only]|
|Minimum supported server||Windows 2000 Server [desktop apps only]|
|Header||strmif.h (include Dshow.h)|