LPDDHALSURFCB_SETCOLORKEY (Compact 2013)

3/26/2014

This callback function sets the color-key value for the specified surface.

Syntax

DWORD (* LPDDHALSURFCB_SETCOLORKEY)(
  LPDDHAL_SETCOLORKEYDATA lpdsckd
);

Parameters

  • lpdsckd
    [in, out] Pointer to a DDHAL_SETCOLORKEYDATA structure that the driver uses to set the color-key value for the specified surface.

Return Value

Returns one of the following values:

  • DDHAL_DRIVER_HANDLED
    The request was handled although a specific action may not have been taken.
  • DDHAL_DRIVER_NOTHANDLED
    The request was not handled or processed in any way.

Note

For a complete list of the DDHAL callback return values, see DDHAL Callback Return Values.

Requirements

Header

ddrawi.h

Library

Developer Implemented

See Also

Reference

DirectDrawSurface Callback Functions
DDHAL_SETCOLORKEYDATA
DDHAL Callback Return Values