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

See Also