Share via


IMultiMediaStream::SetState (Windows Embedded CE 6.0)

1/6/2010

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

Syntax

HRESULT SetState(
  STREAM_STATE NewState
);

Parameters

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

Return Value

Returns S_OK.

Remarks

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

Requirements

Windows Embedded CE Windows CE 2.12 and later
Note Microsoft DirectShow applications and DirectShow filters have different include file and Library requirements
For more information, see Setting Up the Build Environment, Version 2.12 requires DXPAK 1.0 or later

See Also

Reference

IMultiMediaStream Interface