|Microsoft DirectShow 9.0|
- 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
Include a reference in your project to "ActiveMovie control type library" (Quartz.dll).
The FilgraphManager object exposes the following properties and methods.
|FilterCollection||Retrieves a collection of the filters in the filter graph.|
|RegFilterCollection||Retrieves a collection of all the filters listed in the registry.|
|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.|