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