Microsoft Windows CE 3.0  

DDHAL_DDPALETTECALLBACKS

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_DDPALETTECALLBACKSstructure contains the palette callback functions used by the driver. This structure is part of the DDHALINFOstructure.

typedef struct _DDHAL_DDPALETTECALLBACKS { DWORD
dwSize
;
DWORD
dwFlags
;
LPDDHALPALCB_DESTROYPALETTE
DestroyPalette
;
LPDDHALPALCB_SETENTRIES
SetEntries
;
} DDHAL_DDPALETTECALLBACKS;
typedef DDHAL_DDPALETTECALLBACKS FAR
*LPDDHAL_DDPALETTECALLBACKS;

Members

dwSize
Size of the structure. This parameter must be initialized before the structure is used.
dwFlags
Indicates which of the DirectDrawPalettefunctions are implemented in 32-bit code. One or more of the following flags:
Flag Usage
DDHAL_PALCB32_DESTROYPALETTE Indicates that the DestroyPalettecallback is implemented in 32-bit code.
DDHAL_PALCB32_SETENTRIES Indicates that the SetEntriescallback is implemented in 32-bit code.
DestroyPalette
Pointer to the driver's implementation of the DestroyPalettecallback.
SetEntries
Pointer to the driver's implementation of the SetEntriescallback.

Remarks

This structure contains the entry points in the display driver that DirectDraw calls. Entries that the display driver does not use should be set to NULL.



 Last updated on Tuesday, July 13, 2004

© 2004 Microsoft Corporation. All rights reserved.