[This is preliminary documentation and subject to change.]
The ColorCorrectPalette function corrects the entries of a palette using the ICM 2.0 parameters in the specified device context..
BOOL WINAPI ColorCorrectPalette(
HDC hDC,
HPALETTE hPalette,
DWORD dwFirstEntry,
DWORD dwNumOfEntries
);
If this function succeeds, the return value is TRUE.
If this function fails, the return value is FALSE.
Windows NT: Requires version 5.0 or later.
Windows: Requires Windows 98.
Windows CE: Unsupported.
Header: Declared in wingdi.h.
Import Library: Use gdi32.lib.
Color Management Overview, ICM 2.0 Functions