Returns
The function returns the number of entries available for use in the Windows color palette. This is currently hard wired to kMaxPaletteEntries == 238, which is generally the number that Windows doesn't use.