Microsoft DirectX 8.1 (C++)

IMultiMediaStream::SetState

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.

See Also