IFilterGraph2 interface (strmif.h)

The IFilterGraph2 interface extends the IFilterGraph and IGraphBuilder interfaces, which contain methods for building filter graphs.

The Filter Graph Manager implements this interface. Applications can use it when building graphs, to take advantage of the additional methods it provides.


The IFilterGraph2 interface inherits from IGraphBuilder. IFilterGraph2 also has these types of members:


The IFilterGraph2 interface has these methods.


The AddSourceFilterForMoniker method creates a source filter from an IMoniker pointer and adds the filter to the graph.

The ReconnectEx method breaks the existing pin connection and reconnects it to the same pin, using a specified media type.

The RenderEx method renders an output pin, with an option to use existing renderers only.


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