Microsoft Windows CE 3.0  

DDHAL_SETPALETTEDATA

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_SETPALETTEDATAstructure contains information necessary to set a palette to a specific surface. This structure passes the information to the DirectDraw HAL SetPalettecallback function.

typedef struct _DDHAL_SETPALETTEDATA {
LPDDRAWI_DIRECTDRAW_GBL
lpDD
;
LPDDRAWI_DDRAWSURFACE_LCL
lpDDSurface
;
LPDDRAWI_DDRAWPALETTE_GBL
lpDDPalette
;
HRESULT
ddRVal
;
LPDDHALSURFCB_SETPALETTE
SetPalette
;
BOOL
Attach
;
} DDHAL_SETPALETTEDATA;

Members

lpDD
Pointer to the DDRAWI_DIRECTDRAW_GBLstructure that represents the DirectDraw object.
lpDDSurface
Pointer to the DDRAWI_DDRAWSURFACE_LCLstructure that represents the DirectDrawSurface object.
lpDDPalette
Pointer to the DDRAWI_DDRAWPALETTE_GBLstructure that represents the palette to set to the surface.
ddRVal
Passes the DirectDraw return values.
SetPalette
This member is used by DirectDraw and should not be filled in by the driver.
Attach
Indicates whether to attach this palette to the surface.

 Last updated on Tuesday, July 13, 2004

© 2004 Microsoft Corporation. All rights reserved.