GetCursorCouplingMode

Returns whether cursor coupling is enabled or disabled for 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>  
   
  BYTE GetCursorCouplingMode  (void); 
  

Return Values

This function returns the cursor coupling mode if successful; otherwise, it returns EFAILURE.

If an error occurs, errno is set to:

Value

Hex

Name

Description

23

(0x17)

ENO_SCRNS

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

Remarks

This function returns TRUE if cursor coupling is enabled, and FALSE if cursor coupling is disabled for the current screen.

See Also

SetCursorCouplingMode

Example

  #include <nwconio.h>  
  BYTE   newMode;  
  newMode = GetCursorCouplingMode();