SetPalette

The SetPalette callback function sets a palette to a specific surface.

DWORD __stdcall SetPalette(
LPDDHAL_SETPALETTEDATA pspd );

Parameters

  • pspd
    Pointer to a DDHAL_SETPALETTEDATA structure that contains the information required to set a palette to a specific surface.

Return Values

Returns one of the following values:

  • DDHAL_DRIVER_HANDLED
  • DDHAL_DRIVER_NOTHANDLED

 Last updated on Tuesday, July 13, 2004

© 1992-2000 Microsoft Corporation. All rights reserved.