Managing Palettes
As described in GDI Support for Graphics Drivers management work. The driver must supply its default palette to GDI in the DEVINFO structure when GDI calls the function DrvEnablePDEV. At this time, the driver should create the default palette with a call to the GDI service function EngCreatePalette.
As described in GDI Support for Graphics Drivers, GDI handles much of the palette management work. The driver must supply its default palette to GDI in the DEVINFO structure when GDI calls the function DrvEnablePDEV. At this time, the driver should create the default palette with a call to the GDI service function EngCreatePalette.
Drivers that support settable palettes also must support the DrvSetPalette function. This function is used exclusively by display drivers.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for