Microsoft DirectX 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

Include D3d9.h, Vmr9.h.

See Also