Inside Macintosh: Advanced Color Imaging Reference / Chapter 1 - Palette Manager Reference / Palette Manager Functions
Manipulating Palette Entries The GetEntryColor, GetEntryUsage, SetEntryColor, and SetEntryUsage functions allow your application to retrieve and modify the fields of a palette. The Entry2Index function returns an index for a palette entry.
GetEntryColor
GetEntryUsage
SetEntryColor
SetEntryUsage
Entry2Index