Microsoft DirectX 8.1 (C++)

IMSVidCtl::put_ColorKey

This topic applies to Windows XP Home Edition and Windows XP Professional only.

The put_ColorKey method specifies the color key.

Syntax

HRESULT put_ColorKey(
  OLE_COLOR  NewValue
);

Parameters

  NewValue

[in]  Specifies the color key as an OLE_COLOR value.

Return Values

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

Remarks

The color key is used when the video renderer draws to an overlay surface.

See Also