GetCursorSize

Returns the cursor size

Local Servers:nonblocking
Remote Servers:N/A
Classification:3.x, 4.x, 5.x, 6.x
Service:Screen Handling

Syntax

  #include <nwconio.h>  
   
  WORD GetCursorSize  (  
     BYTE  *firstline,   
     BYTE  *lastline); 
  

Parameters

firstline

(OUT) Receives the first cursor scan line.

lastline

(OUT) Receives the last cursor scan line.

Return Values

This function returns the cursor size.

Remarks

The GetCursorSize function returns the maximum ( lastline) and minimum ( firstline) values that the cursor scan lines can be set to.

See Also

SetCursorShape

Example

  #include <nwconio.h>  
  WORD   scanline;  
  BYTE   firstline;  
  BYTE   lastline;  
  scanline = GetCursorSize (&firstline, & lastline);