DD_CREATEPALETTEDATA structure (ddrawint.h)
The DD_CREATEPALETTEDATA structure contains information necessary to create a DirectDrawPalette object for this Microsoft DirectDraw object.
Syntax
typedef struct _DD_CREATEPALETTEDATA {
PDD_DIRECTDRAW_GLOBAL lpDD;
PDD_PALETTE_GLOBAL lpDDPalette;
LPPALETTEENTRY lpColorTable;
HRESULT ddRVal;
VOID *CreatePalette;
BOOL is_excl;
} *PDD_CREATEPALETTEDATA, DD_CREATEPALETTEDATA;
Members
lpDD
Points to a DD_DIRECTDRAW_GLOBAL structure that describes the driver's device.
lpDDPalette
Points to a DD_PALETTE_GLOBAL structure representing the DirectDrawPalette object.
lpColorTable
Points to an array of 2, 4, 16, or 256 PALETTEENTRY structures used to initialize the colors for this DirectDrawPalette object. See the latest Microsoft DirectX SDK documentation for more information about PALETTEENTRY.
ddRVal
Specifies the location in which the driver writes the return value of the DdCreatePalette callback. A return code of DD_OK indicates success. For more information, see Return Values for DirectDraw.
CreatePalette
Used by the DirectDraw API and should not be filled in by the driver.
is_excl
Specifies a BOOL value that is set to TRUE to indicate that this process has exclusive mode and FALSE otherwise.
Requirements
Requirement | Value |
---|---|
Header | ddrawint.h (include Winddi.h) |