The PALETTEDATA data structure contains information on the palette registers.
typedef struct _PALETTEDATA {
ULONG ulPalCount; /* Specifies the number of bPaletteData entries that follow. */
ULONG ulPalStart; /* Start index for data. */
BYTE bPaletteData; /* One byte is allocated; start of palette. */
} PALETTEDATA;
typedef PALETTEDATA *FAR *PPALETTEDATA;