GetNewPalette
GetNewPalette Get a handle to a specified 'pltt' resource
#include <Palettes.h> Palette Manager
short paletteID ; resource ID of desired palette
returns PaletteHandle leading to a 'pltt' resource type; 0 =
system palette
GetNewPalette allocates a new Palette data structure and initializes it with
information in the 'pltt' resource type.
paletteID is the resource identifier of the desired palette.
Returns: a PaletteHandle leading to the palette data.

Notes: GetNewPalette is called automatically when you use GetNewCWindow to
open a new color window. A new palette thus initialized is given a paletteID
identical to the window's resource ID. PaletteID = 0 is reserved for the system
palette resource which is given to monochrome windows and color windows that
don't have their own palettes.