Sets RGB color values and flags in a range of entries in a logical palette.
Specifies the first entry in the logical palette to be set.
Specifies the number of entries in the logical palette to be set.
Points to an array of PALETTEENTRY data structures to receive the palette entries. The array must contain at least as many data structures as specified by nNumEntries.