This method of the DirectDrawPalette Class queries palette values from a DirectDrawPalette object and returns a PaletteEntry object that represents each entry.
public PaletteEntry[] getPaletteEntries(int flags, int start, int count);
Returns an array of objects that contain the requested entries.
flags | Reserved; the value must be 0. |
start | The beginning of the entries that should be sequentially retrieved. |
count | The number of palette entries to retrieve. Each palette entry is returned in sequence, from the value of the start parameter through the value of the count parameter minus 1. |