logical_palette


struct logical_palette
{
  unsigned short version;
  unsigned short count;
  palette_entry entries[1];

  palette_entry& operator[](int Index);
};

version The version of the palette.
count The number of entries in the palette.
entries An array of palette entries.

Notes

The more important entries should be placed close to the beginning of the array. The closer to the beginning of the array a color is, the more likely it is that it will be allocated an entry in the system color palette.