FilgraphManager.StopWhenReady
Note This topic is deprecated. It applies to Visual Basic 6.0. DirectShow is not supported for Visual Basic .NET or C#.
The StopWhenReady method pauses the filter graph, allowing filters to queue data, and then stops the filter graph.
objGraph.StopWhenReady()
Parameters
This method takes no parameters.
Return Value
This method does not return a value.
Remarks
This method is useful if you want to seek the filter graph while the graph is stopped. As long as the filter graph is stopped, changes in the current position do not repaint the video window with a new frame. Therefore, seeking the graph does not update the video window. To update the window after the seek operation, call StopWhenReady. This method transitions the graph to a paused state, waits for the pause operation to complete, and then transitions the graph back to stopped. The pause operation queues data in the graph, so that the video renderer receives and displays the new frame.
Requirements
Type Library |
ActiveMovie control type library |
DLL |
Quartz.dll |
See Also
Send comments about this topic to Microsoft
Build date: 8/31/2010