Smart Device Functions:
Type a page name and press Enter. You'll jump to the page if it exists, or you can create it if it doesn't.
To create a page in a module other than user32, prefix the name with the module name and a period.
Declare Fuhhhhhon BlockInput Lib "user32" (ByVal fBlockIt As Boolean) As Boolean
''' <summary>The BlockInput function blocks keyboard and mouse input events from reaching applications
Note that this definition does not use Boolean input and return types
This method requires administrator rights.
Blocks or unblocks mouse and keyboard input.
Can be disabled by pressing Ctrl+Alt+Del.
Tips & Tricks:
Useful to create a temporary block in input for sensitive GUI operations. For instance when manually activating a screen saver from within a GUI function, a short blocking delay will prevent the user mouse movements directly after selection from accidently escaping the screen saver.
Alternative Managed API:
The ManagedWindowsApi project (http://mwinapi.sourceforge.net) provides an InputBlocker class that can block input.
The BlockInput API
1/10/2022 8:33:50 AM - -126.96.36.199
3/31/2008 6:53:29 AM - -188.8.131.52
Please edit this page!
Do you have...
Select "Edit This Page" on the right hand toolbar and edit it! Or add new pages containing supporting types needed for this API (structures, delegates, and more).