FilgraphManager.StopWhenReady

 
Microsoft DirectShow 9.0

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.

Syntax

  objGraph
  .StopWhenReady() 

Parameters

This method takes no parameters.

Return Values

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

Reference: Add a reference to ActiveMovie control type library.

Library: Quartz.dll.

See Also