共用方式為


IVMRVideoStreamControl::GetStreamActiveState

 
Microsoft DirectShow 9.0

IVMRVideoStreamControl::GetStreamActiveState

The GetStreamActiveState method retrieves the state of the stream.

Syntax

  HRESULT GetStreamActiveState(
  BOOL*  lpfActive
);

Parameters

lpfActive

[out]  Receives the current state of the stream. TRUE means the stream is active; FALSE means that it is inactive.

Return Values

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Requirements

Header: Declared in Strmif.h; include Dshow.h.

Library: Use Strmiids.lib.

See Also