msos2.hlp (Table of Contents; Topic list)
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