共用方式為


IVMRVideoStreamControl9::GetStreamActiveState

 
Microsoft DirectShow 9.0

IVMRVideoStreamControl9::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: Include D3d9.h, Vmr9.h.

Library: Use Strmiids.lib.

See Also