Condividi tramite


IVMRVideoStreamControl9::SetStreamActiveState

 
Microsoft DirectShow 9.0

IVMRVideoStreamControl9::SetStreamActiveState

The SetStreamActiveState method activates or inactivates an input stream.

Syntax

  HRESULT SetStreamActiveState(
  BOOL  fActive
);

Parameters

fActive

[in]  Specifies the state of the stream. TRUE means active; FALSE means 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