## Graphics Adapter Device Driver Reference

[prev][next][parent][TOC]

### HWPALETTEINFO

Input packet provided to the GRADD in the GHI_CMD_PALETTE function.

    typedef struct _HWPALETTEINFO {

      ULONG     ulLength;      /*  Size of the HWPALETTEINFO data structure, in bytes. */

      ULONG     fFlags;        /*  Palette flag. */

      ULONG     ulStartIndex;  /*  Starting palette index. */

      ULONG     ulNumEntries;  /*  Number of palette slots to query or set. */

      PRGB2     pRGBs;         /*  Pointer to the array of RGB values. */

    } HWPALETTEINFO;

    typedef   HWPALETTEINFO   * PHWPALETTEINFO ;