Share via


IMediaFilter::Stop

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

HRESULT Stop(void);

Parameters

None.

Return Values

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 functions might return before the transition has completed.

Requirements

DirectShow applications and DirectShow filters have different include file and link library requirements. See Setting Up the Build Environment for more information.

OS Versions: Windows CE 2.12 and later. Version 2.12 requires DXPAK 1.0 or later.

See Also

IMediaFilter Interface

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.