共用方式為


IMultiMediaStream::GetState

 
Microsoft DirectShow 9.0

IMultiMediaStream::GetState

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

The GetState method retrieves the current state of the multimedia stream object.

Syntax

  HRESULT GetState(
  STREAM_STATE *pCurrentState
);

Parameters

pCurrentState

[out] Pointer to a variable that receives a member of the STREAM_STATE enumeration.

Return Values

Returns an HRESULT value. Possible values include the following.

Value Description
E_POINTER NULL pointer argument.
S_OK Success.

See Also