|Microsoft DirectX 9.0|
The StopWhenReady method pauses the filter graph, allowing filters to queue data, and then stops the filter graph.
This method takes no parameters.
This method does not return a value.
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.