GetPalette
GetPalette Get a handle to a particular window's palette
#include <Palettes.h> Palette Manager
WindowPtr srcWindow ; pointer to the address of a source window
returns PaletteHandle leading to the window's color palette;
NIL if the window has no palette or isn't a color
window
GetPalette gives the location of the source window's palette.
srcWindow is the window for which the palette provides color.
Returns: a PaletteHandle leading to the palette data.