Partager via


IFilterGraph2 Interface (Compact 2013)

3/26/2014

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 Compact.

ReconnectEx

Specifies a pin and a media type to reconnect with.

Requirements

Header

dshow.h

Library

Strmiids.lib

See Also

Reference

DirectShow Interfaces