Source position: jwawingdi.pas line 4938
function GetNearestPaletteIndex(
hPal: HPALETTE;
crColor: COLORREF
):UINT;