GetSizeOfScreen

Returns the number of rows and columns of the current screen

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

Syntax

  #include <nwconio.h>  
   
  int GetSizeOfScreen  (  
     WORD   *height,   
     WORD   *width); 
  

Parameters

height

(OUT) Points to the number of rows in the screen (first column is 0)

width

(OUT) Points to the number of columns in the screen (first column is 0)

Return Values

Value

Hex

Name

0

(0x00)

ESUCCESS

Remarks

This function returns the size of the current screen. Currently all screens are 25x80.

See Also

DisplayScreen