◄Up► ◄Next► ◄Previous► ──────────────────────────────────────────────────────────────────────────── #define INCL_VIO typedef struct _VIOPALSTATE { /* viopal */ USHORT cb; USHORT type; USHORT iFirst; USHORT acolor[1]; } VIOPALSTATE; The VIOPALSTATE structure contains the screen-palette registers. Field Description ──────────────────────────────────────────────────────────────────────────── cb Specifies the length of the structure (in bytes). The length determines how many palette registers are retrieved. The maximum length is 38 bytes for 16 registers. type Specifies the request type. To retrieve the palette register state, this field must be set to 0x0000. iFirst Specifies the first palette register to be retrieved. This field must be a value from 0x0000 to 0x000F. The function retrieves the palette registers in sequential order. The number of registers retrieved depends on the structure size specified by the cb field. acolor[1] Specifies the array that receives the color values for the palette registers. See Also VioGetState, VioSetState, VIOINTENSITY, VIOOVERSCAN ♦