ResizePalette
ResizePalette Set specified palette to indicated size
#include <Palettes.h> Palette Manager
void ResizePalette(srcPalette, size);
PaletteHandle srcPalette; a handle to the source palette
short size; the number of entries for new size
ResizePalette sets the palette specified in srcPalette to the number of
entries indicated in the size parameter. If ResizePalette adds entries at the
end of the palette, it sets them to pmCourteous, with the RGB values set to
(0,0,0)-that is, black. If ResizePalette deletes entries from the end of the
palette, it safely disposes of them.