GetCurrentScreen

Returns the screen handle 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 GetCurrentScreen  (void); 
  

Return Values

This function returns the screen handle of the current screen if successful.

If an error occurs this function returns NULL, and errno is set to:

Value

Hex

Name

Description

23

(0x17)

ENO_SCRNS

Screen I/O was attempted when no screens were open.

Remarks

GetCurrentScreen returns the handle of the current screen.

NOTE:The handle returned pertains only to the current screen of the current NLM. It is not necessarily the handle of the screen displayed on the console.

See Also

SetCurrentScreen