The CLUTDATA data structure receives information for the number of RGB array entries.
typedef struct _CLUTDATA {
ULONG ulRGBCount; /* Number of aRGB entries that follow. */
ULONG ulRGBStart; /* Start index for RGB triplets. */
SVGARGB aRGB[1]; /* Start of SVGARGB; one entry is allocated. */
} CLUTDATA;
typedef CLUTDATA *FAR *PCLUTDATA;