Expand
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 defines the following types of members:

Methods

The IMediaControl interface defines the following methods.

MethodDescription
Run

Runs all the filters in the filter graph.

Pause

Pauses all 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.

GetState

Retrieves the state of the filter graph.

RenderFile

Intended for Visual Basic 6.0; not documented here.

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.

 

Requirements

Minimum supported client

Windows 2000 Professional

Minimum supported server

Windows 2000 Server

Header

Control.h (include Dshow.h)

Library

Strmiids.lib

 

 

Send comments about this topic to Microsoft

Build date: 8/31/2010

Community ContentAdd
Page view tracker