Share via


IMediaFilter::Pause (Compact 2013)

3/26/2014

This method informs the filter to transition to the new state.

Syntax

HRESULT Pause(void);

Parameters

None.

Return Value

Returns S_OK if the transition is complete; otherwise, returns one of the following values.

Value

Description

Error value

Transition failed.

S_FALSE

Transition is not complete, but no error has occurred.

Remarks

The state transition might not be immediate (external mechanical activity might be involved, for example). The state method might return before the transition has completed.

Requirements

Header

dshow.h

Library

Strmiids.lib

See Also

Reference

IMediaFilter Interface