◄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 ♦