GetCursorShape

Returns the start and end scan line for the cursor

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

Syntax

  #include <nwconio.h>  
   
  WORD GetCursorShape  (  
     BYTE   *startline,   
     BYTE   *endline); 
  

Parameters

startline

(OUT) Points to the first cursor scan line.

endline

(OUT) Points to the last cursor scan line.

Return Values

This function returns the scan line for the cursor.

Remarks

The GetCursorSize function returns the cursor shape as specified by the startline and endline parameters.

See Also

GetCursorSize, SetCursorShape

Example

  #include <nwconio.h>  
  WORD   scanline;  
  BYTE   startline;  
  BYTE   endline;  
  scanline = GetCursorShape (&startline, & endline);