Windows 3.1 Device Drivers (ddag31qh.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
ScreenSwitchEnable
                                                     Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
void ScreenSwitchEnable(wEnable)
WORD wEnable;
 
The ScreenSwitchEnable function enables or disables screen switching under
OS/2. It does not apply to running with MS-DOS.
 
Parameter  Description
────────────────────────────────────────────────────────────────────────────
 
 
wEnable    Specifies what action to take. It is zero to disable the switch;
           nonzero to enable it.
 
Return Value
 
This function has no return value.
 
Comments
 
The export ordinal for this function is 100.
 
The display driver calls this function to inform the keyboard driver that
the display driver is in a critical section and, therefore, it should ignore
all OS/2 screen switches until the display driver leaves the critical
section.
 
The parameter is saved as a flag that is tested in the interrupt function;
if it is zero, the OS/2 key combination for screen switching is ignored.
 
When Windows first starts, the screen switches are enabled.
 
                                      ♦