DD_DESTROYPALETTEDATA structure (ddrawint.h)

The DD_DESTROYPALETTEDATA structure contains information necessary to destroy the specified palette.

Syntax

typedef struct _DD_DESTROYPALETTEDATA {
  PDD_DIRECTDRAW_GLOBAL lpDD;
  PDD_PALETTE_GLOBAL    lpDDPalette;
  HRESULT               ddRVal;
  VOID                  *DestroyPalette;
} *PDD_DESTROYPALETTEDATA, DD_DESTROYPALETTEDATA;

Members

lpDD

Points to the DD_DIRECTDRAW_GLOBAL structure that describes the driver's device.

lpDDPalette

Points to the DD_PALETTE_GLOBAL structure representing the palette object to be destroyed.

ddRVal

Specifies the location in which the driver writes the return value of the DdDestroyPalette callback. A return code of DD_OK indicates success. For more information, see Return Values for DirectDraw.

DestroyPalette

Used by the Microsoft DirectDraw API and should not be filled in by the driver.

Requirements

Requirement Value
Header ddrawint.h (include Winddi.h)

See also

DdDestroyPalette