|
BlockInput The BlockInput function blocks keyboard and mouse input events from reaching applications. VB4-32,5,6 Private Declare Function BlockInput Lib "user32" (ByVal fBlock As Long) As Long |
Operating Systems Supported |
Requires Windows 2000 or later; Requires Windows 98 or later |
· fBlock [in] Specifies the function's purpose. If this parameter is TRUE, keyboard and mouse input events are blocked. If this parameter is FALSE, keyboard and mouse events are unblocked. Note that only the thread that blocked input can successfully unblock input. |
If the function succeeds, the return value is nonzero.
If input is already blocked, the return value is zero. To get extended error information, call GetLastError. |
|
|
|