Microsoft DirectX 9.0

IOverlayNotify::OnColorKeyChange

The OnColorKeyChange method provides notification that the window's color key has changed.

Syntax

HRESULT OnColorKeyChange(
  const COLORKEY *pColorKey
);

Parameters

pColorKey

[in] Pointer to the new chroma key.

Return Value

Returns S_OK if successful. If the method fails, it returns an HRESULT error code.