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.
VIOSETULINELOC (1.2)
                                                      Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
#define INCL_VIO
 
typedef struct _VIOSETULINELOC {    /* viouline */
    USHORT cb;
    USHORT type;
    USHORT scanline;
} VIOSETULINELOC;
 
The VIOSETULINELOC structure contains the location of the underline.
 
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 underline location,
          this field must be set to 0x0005.
 
scanline  Specifies the location of the underline. This value is normally in
          the range 0 through -1 (the value of the scan line minus 1). A
          value of 32 means that underlining is disabled.
 
See Also
 
VioGetState, VioSetState