win12.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.
WinEnablePhysInput (1.2)
Function Group  Overview                          Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
#define INCL_WININPUT
 
BOOL WinEnablePhysInput(hwndDesktop, fEnable)
HWND hwndDesktop;    /* handle of the desktop */
BOOL fEnable;        /* input status          */
 
The WinEnablePhysInput function enables or disables queuing of keyboard and
mouse input.
 
Parameter    Description
────────────────────────────────────────────────────────────────────────────
 
hwndDesktop  Identifies the desktop window. This parameter can be
             HWND_DESKTOP or the desktop window handle.
 
fEnable      Specifies whether the input is queued or disabled. If this
             parameter is TRUE, keyboard and mouse input is queued. If
             FALSE, keyboard and mouse input is disabled.
 
Return Value
 
The return value is TRUE if the function is successful or FALSE if an error
occurs.
 
Comments
 
When mouse and keyboard input is disabled, WM_TIMER messages are disabled as
well.
 
See Also
 
WinIsPhysInputEnabled