다음을 통해 공유


IFilterGraph2 Interface

 
Microsoft DirectShow 9.0

IFilterGraph2 Interface

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.

In addition to the methods inherited from IGraphBuilder, the IFilterGraph2 interface exposes the following methods.

Method Description
AddSourceFilterForMoniker Creates a source filter from a moniker and adds it to the graph.
ReconnectEx Breaks an existing pin connection and reconnects the same pins, using a specified media type.
RenderEx Renders an output pin, with an option to use existing renderers only.

Requirements

Header: Declared in Strmif.h; include Dshow.h.

Library: Use Strmiids.lib.