Compartilhar via


IVMRVideoStreamControl::SetStreamActiveState

 
Microsoft DirectShow 9.0

IVMRVideoStreamControl::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: Declared in Strmif.h; include Dshow.h.

Library: Use Strmiids.lib.

See Also