IVMRVideoStreamControl9::SetStreamActiveState method

The SetStreamActiveState method activates or inactivates an input stream.

Syntax


HRESULT SetStreamActiveState(
  [in] BOOL fActive
);

Parameters

fActive [in]

Specifies the state of the stream. TRUE means active; FALSE means inactive.

Return value

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

Remarks

Include DShow.h and D3d9.h before Vmr9.h.

Requirements

Minimum supported client

Windows XP with SP2 [desktop apps only]

Minimum supported server

Windows Server 2003 R2 [desktop apps only]

Header

Vmr9.h

Library

Strmiids.lib

See also

Using the Video Mixing Renderer
IVMRVideoStreamControl9 Interface

 

 

Show: