IFilterGraph2 Interface
A version of this page is also available for
4/8/2010
This interface adds new functionality to the IGraphBuilder and IFilterGraph interfaces. It inherits from both interfaces and exposes all their methods. This interface also includes a method to add a source for a moniker, and an improved version of the IFilterGraph::Reconnect method. For this reason, you should usually use IFilterGraph2 instead of the other two.
When to Implement
The filter graph implements this interface so it is not intended that you implement it.
When to Use
Use this interface in applications that previously called IFilterGraph::Reconnect and in applications that need a source filter for a moniker.
Methods in Vtable Order
The following table shows the methods that appear in the Vtable beneath the standard COM methods inherited from IUnknown.
Method | Description |
---|---|
AddSourceFilterForMoniker |
Not supported in Windows Embedded CE. |
Specifies a pin and a media type to reconnect with. |
Requirements
Windows Embedded CE | Windows CE 2.12 and later |
Windows Mobile | Pocket PC for Windows Mobile Version 5.0 and later, Smartphone for Windows Mobile Version 5.0 and later |
Note | Microsoft DirectShow applications and DirectShow filters have different include file and Library requirements For more information, see Setting Up the Build Environment |