DDHAL_DDPALETTECALLBACKS (Windows CE 5.0)
This structure contains the palette callback functions used by the driver. This structure is part of the DDHALINFO structure.
typedef struct _DDHAL_DDPALETTECALLBACKS {DWORDdwSize;DWORDdwFlags;LPDDHALPALCB_DESTROYPALETTEDestroyPalette;LPDDHALPALCB_SETENTRIESSetEntries;} 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 whether the DirectDrawPalette functions are implemented.The following table shows the possible flags.
Flag Description DDHAL_PALCB32_DESTROYPALETTE Indicates whether the DestroyPalette callback function is implemented. DDHAL_PALCB32_SETENTRIES Indicates whether the SetEntries callback function is implemented. DestroyPalette**
Pointer to the driver's implementation of the DestroyPalette callback function.SetEntries**
Pointer to the driver's implementation of the SetEntries callback function.
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.
Requirements
OS Versions: Windows CE 2.12 and later. Version 2.12 requires DXPAK 1.0 or later.
Header: Ddrawi.h.
See Also
DDHALINFO | DestroyPalette | SetEntries | DDHAL Callback Structures
Send Feedback on this topic to the authors