Microsoft Windows CE 3.0  

DDHAL_CREATEPALETTEDATA

Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

The DDHAL_CREATEPALETTEDATAstructure contains information necessary to create a DirectDrawPalette object for this DirectDraw object. This structure passes the information to the DirectDraw HAL CreatePalettecallback function.

typedef struct _DDHAL_CREATEPALETTEDATA {
LPDDRAWI_DIRECTDRAW_GBL
lpDD
;
LPDDRAWI_DDRAWPALETTE_GBL
lpDDPalette
;
LPPALETTEENTRY
lpColorTable
;
HRESULT
ddRVal
;
LPDDHAL_CREATEPALETTE
CreatePalette
;
BOOL
is_excl
;
} DDHAL_CREATEPALETTEDATA;

Members

lpDD
Pointer to the DDRAWI_DIRECTDRAW_GBLstructure that represents the DirectDraw object.
lpDDPalette
Pointer to the DDRAWI_DDRAWPALETTE_GBLstructure that represents the DirectDrawPalette object.
lpColorTable
Pointer to an array of 2, 4, 16, or 256 PALETTEENTRYstructures used to initialize the colors for this DirectDrawPalette object.
ddRVal
Passes the DirectDraw return values.
CreatePalette
This member is used by DirectDraw and should not be filled in by the driver.
is_excl
Indicates whether this process has exclusive mode.

 Last updated on Tuesday, July 13, 2004

© 2004 Microsoft Corporation. All rights reserved.