CreatePalette

The CreatePalette callback function creates a DirectDrawPalette object for this DirectDraw object.

DWORD __stdcall CreatePalette(
LPDDHAL_CREATEPALETTEDATA pcpd );

Parameters

  • pcpd
    Pointer to a DDHAL_CREATEPALETTEDATA structure that contains the information necessary to create the DirectDrawPalette object.

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.