Compartilhar via


IVMRVideoStreamControl::SetColorKey

 
Microsoft DirectShow 9.0

IVMRVideoStreamControl::SetColorKey

The SetColorKey method sets the source color key that the VMR will use when compositing the video image.

Syntax

  HRESULT SetColorKey(
  DDCOLORKEY  clr
);

Parameters

clr

[in]  Specifies the source color key as a DDCOLORKEY type.

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