다음을 통해 공유


FilgraphManager Object

 
Microsoft DirectShow 9.0

FilgraphManager Object

  • Note   This topic is deprecated. It applies to Visual Basic 6.0. DirectShow is not supported for Visual Basic .NET or C#.

The FilgraphManager object (Filter Graph Manager) builds and controls the filter graph. Applications can use it to build file-playback graphs; run, pause, or stop the graph; or find filters in the registry.

To create this object, use the New keyword:

Dim mGraph As New FilgraphManager

Requirements

Include a reference in your project to "ActiveMovie control type library" (Quartz.dll).

The FilgraphManager object exposes the following properties and methods.

Property Description
FilterCollection Retrieves a collection of the filters in the filter graph.
RegFilterCollection Retrieves a collection of all the filters listed in the registry.
Method Description
AddSourceFilter Adds a source filter to the filter graph, for a specified file.
GetState Retrieves the current state of the filter graph.
Pause Pauses all the filters in the filter graph.
RenderFile Builds a filter graph that renders the specified file.
Run Runs all the filters in the filter graph.
Stop Stops all the filters in the filter graph.
StopWhenReady Pauses the filter graph, allowing filters to queue data, and then stops the filter graph.