The DirectDrawPalette Class contains the following methods:
getCaps retrieves the capabilities of this palette object.
getColorEntries queries palette values from a DirectDrawPalette object and returns the color values associated with each entry.
getEntries queries palette values from a DirectDrawPalette object.
getPaletteEntries queries palette values from a DirectDrawPalette object and returns a PaletteEntry object that represents each entry.
setEntries immediately changes entries in a DirectDrawPalette object.
setEntriesHalftone fills the palette in with standard halftone entries.
setEntriesSystemPalette fills the entries in the palette with the values in the current system palette.