subcalls.hlp (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.
KbdDeRegister (1.2)
Overview                                            Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
#define INCL_KBD
 
USHORT KbdDeRegister(VOID)
 
The KbdDeRegister function restores the default Kbd subsystem and releases
any previously registered Kbd subsystem. The function restores the default
Kbd subsystem for all processes in the current screen group.
 
Once a process registers a Kbd subsystem, no other process in the screen
group may register a Kbd subsystem until the default subsystem is restored.
Only the process registering a Kbd subsystem may call the KbdDeRegister
function to restore the default subsystem.
 
This function has no parameters.
 
Return Value
 
The return value is zero if the function is successful. Otherwise, it is an
error value, which may be the following:
 
     ERROR_KBD_DEREGISTER
 
See Also
 
KbdRegister