次の方法で共有


IFilterGraph Interface (Compact 2013)

3/26/2014

This interface is an abstraction representing a graph of filters. All filters in the graph share the same clock. They might or might not also be connected and stream data between them. This interface allows filters to be joined into a graph and operated as a unit. Unlike the IGraphBuilder interface, this interface does not use heuristics to connect and build the filter graph.

When to Implement

This interface is implemented on the filter graph manager and is not intended for implementation by developers.

When to Use

Applications should not use this interface directly but instead should use the IGraphBuilder interface, which inherits this interface.

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

AddFilter

Adds a filter to the graph and gives it a name.

RemoveFilter

Removes a filter from the graph.

EnumFilters

Provides an enumerator for all filters in the graph.

FindFilterByName

Finds a filter that was added with a specified name.

ConnectDirect

Connects the two IPin objects directly (without intervening filters).

Reconnect

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

Disconnect

Disconnects this pin, if connected.

SetDefaultSyncSource

Sets the default synchronization source (a clock).

Requirements

Header

dshow.h

Library

Strmiids.lib

See Also

Reference

DirectShow Interfaces