PDD_SURFCB_SETCOLORKEY callback function (ddrawint.h)

The DdSetColorKey callback function sets the color key value for the specified surface.

Syntax

PDD_SURFCB_SETCOLORKEY PddSurfcbSetcolorkey;

DWORD PddSurfcbSetcolorkey(
  PDD_SETCOLORKEYDATA unnamedParam1
)
{...}

Parameters

unnamedParam1

Points to a DD_SETCOLORKEYDATA structure that contains the information required to set the color key for the specified surface.

Return value

DdSetColorKey returns one of the following callback codes:

Remarks

DdSetColorKey sets the source or destination color key for the specified surface. Typically, this callback is implemented only for drivers that support overlays with color key capabilities.

Requirements

   
Target Platform Desktop
Header ddrawint.h (include Winddi.h)

See also

DD_SETCOLORKEYDATA