Microsoft DirectX 9.0


The Run method runs all the filters in the filter graph.




This method takes no parameters.

Return Values

This method does not return a value.


If the filter graph is stopped, this method pauses the graph before running. If the graph is already running, the method has no effect.

The graph runs until the application calls the FilgraphManager.Pause, FilgraphManager.Stop, or FilgraphManager.StopWhenReady method. When playback reaches the end of the stream, the graph continues to run, although the filters do not stream any more data. At that point, the application can pause or stop the graph.

This method does not seek to the beginning of the stream. Therefore, if you run the graph, pause it, and then run it again, playback resumes from the paused position. If you run the graph after it has reached the end of the stream, nothing is rendered. To seek the graph, use the IMediaPosition object.

See Also