This call sets the cursor type.
VioSetCurType
CursorData (PVIOCURSORINFO) - input
startline (USHORT)
A value of 0 specifies the default width. In text modes, this is 1 column. In graphics modes, this is the number of pels equivalent to the width of one character.
To set CursorStartLine and CursorEndLine independent of the number of scan
lines for each character cell, you may specify these parameters as percentages.
OS/2 then calculates the physical start and end scan lines, respectively,
by multiplying the percentage specified for the parameter by the total number
of scan lines in the character cell and rounding to the nearest scan line.
Percentages are specified as negative
values (or 0) in the range 0 through -100. Specifying CursorStartLine =
-90 and
CursorEndLine = -100 requests a cursor that occupies the bottom 10 percent
of the character cell.
PM Considerations
Set the cursor type. The cursor type consists of the cursor start line, end line, width (assumed 0 - one column width) and attribute (normal or hidden).