void Disable(void)
Restores the original keyboard-interrupt handler when exiting Windows.
The export ordinal for this function is 3.
The Disable function restores the keyboard-interrupt vector (usually Interrupt 9) to the keyboard handler that was previously installed.
Disable is called when exiting Windows and before starting or switching to a full-screen, MS-DOS application running under standard-mode Windows.
When Disable is called, the BIOS keyboard flags (40h:17h in most IBM-compatible systems) must reflect the state of the SHIFT LOCK, NUMLOCK, and SCROLL LOCK keys. Normally, the keyboard driver's hardware-interrupt handler will handle this.
The keyboard and mouse Enable functions are always called in the reverse order of the keyboard and mouse Disable functions because some mouse drivers may hook into the keyboard interrupt.
See also Disable, Enable