共用方式為


IAMMediaStream::SetState

 
Microsoft DirectShow 9.0

IAMMediaStream::SetState

  • Note   This interface is deprecated. New applications should not use it.

The SetState method sets the filter state.

Syntax

  HRESULT SetState(
    FILTER_STATE State
);

Parameters

State

[in] Sets the filter's state, as specified by the FILTER_STATE enumerated type.

Return Values

Returns S_OK if successful or E_INVALIDARG if the State parameter is invalid.

Remarks

Applications should not call this method.

See Also