This routine prototype is a hook for GetRGBPalette.
Source position: graphh.inc line 588
type getrgbpaletteproc = procedure(
ColorNum: SmallInt;
var RedValue: SmallInt;
var GreenValue: SmallInt;
var BlueValue: SmallInt
);