msos2.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
VIOINTENSITY (1.2)
                                                      Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
#define INCL_VIO
 
typedef struct _VIOINTENSITY {    /* vioint */
    USHORT  cb;
    USHORT  type;
    USHORT  fs;
} VIOINTENSITY;
 
The VIOINTENSITY structure contains status information about foreground and
background color.
 
Field  Description
────────────────────────────────────────────────────────────────────────────
 
cb     Specifies the size of the structure (in bytes). Programs written in
       the C language should use the sizeof operator to set this field.
 
type   Specifies the request type. To retrieve the blink/background
       intensity switch, this field must be set to 0x0002.
 
fs     Specifies foreground and background color status. This field must be
       set to 0x0000 for blinking foreground colors, or 0x0001 for
       high-intensity background colors.
 
See Also
 
VioGetState, VioSetState, VIOOVERSCAN, VIOPALSTATE