|Type PALETTEENTRY ' 4 Bytes
peRed As Byte
peGreen As Byte
peBlue As Byte
peFlags As Byte
Describes an entry in a logical palette
|peRed||Byte，An 8-bit value describing the red component of an RGB color.|
|peGreen||Byte，An 8-bit value describing the green component of an RGB color.|
|peBlue||Byte，An 8-bit value describing the blue component of an RGB color.|
|peFlags||Byte，An 8-bit value containing one of the following values:
0: Map this entry normally.
PC_EXPLICIT: The low order word (combination of the peRed and peGreen fields) contains an index into the system palette. This allows you to display the system palette colors.
PC_NOCOLLAPSE: This color is mapped into an unused system palette entry and will not be mapped to an existing color. Subsequent palettes may map colors to this entry.
PC_RESERVED: This color is mapped to an unused system palette entry and no other logical palettes will be mapped to that entry. By restricting the system palette entry to this logical entry, color cycling involving direct changes to the system palette becomes possible.