Compartilhar via


IMultiMediaStream::SetState (Windows CE 5.0)

Send Feedback

This method sets the media stream to either a running or stopped state.

HRESULT SetState(STREAM_STATENewState);

Parameters

  • NewState
    [in] A STREAM_STATE enumeration value that specifies the new media stream state.

Return Values

Returns S_OK.

Remarks

When you set the stream to STREAMSTATE_STOP, this method deletes all data still pending.

Requirements

DirectShow applications and DirectShow filters have different include file and link library requirements.

For more information, see Setting Up the Build Environment.

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

See Also

IMultiMediaStream Interface

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.