IMediaControl interface

The IMediaControl interface provides methods for controlling the flow of data through the filter graph. It includes methods for running, pausing, and stopping the graph. The Filter Graph Manager implements this interface. For more information on filter graph states, see Data Flow in the Filter Graph.

Members

The IMediaControl interface inherits from the IDispatch interface. IMediaControl also has these types of members:

Methods

The IMediaControl interface has these methods.

MethodDescription
AddSourceFilter

Intended for Visual Basic 6.0; not documented here.

get_FilterCollection

Intended for Visual Basic 6.0; not documented here.

get_RegFilterCollection

Intended for Visual Basic 6.0; not documented here.

GetState

Retrieves the state of the filter graph.

Pause

Pauses all filters in the filter graph.

RenderFile

Intended for Visual Basic 6.0; not documented here.

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.

 

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Control.h (include Dshow.h)

Library

Strmiids.lib

See also

IDispatch

 

 

Show: