IFilterGraph interface

The 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 IFilterGraph directly.

The filter graph manager implements this interface.

Members

The IFilterGraph interface inherits from the IUnknown interface. IFilterGraph also has these types of members:

Methods

The IFilterGraph interface has these methods.

MethodDescription
AddFilter

Adds a filter to the graph.

ConnectDirect

Connects two pins directly (without intervening filters).

Disconnect

Disconnects a specified pin.

EnumFilters

Provides an enumerator for all filters in the graph.

FindFilterByName

Finds a filter that was added with a specified name.

Reconnect

Breaks the existing pin connection and reconnects it to the same pin.

RemoveFilter

Removes a filter from the graph.

SetDefaultSyncSource

Sets the reference clock to the default clock.

 

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Strmif.h (include Dshow.h)

Library

Strmiids.lib

 

 

Show: