###Function###
BlockInput

###Description###
Disable/enable the mouse and keyboard.

###Syntax###
BlockInput ( flag )


###Parameters###
@@ParamTable@@
flag
	1 = Disable user input
	0 = Enable user input
@@End@@

###ReturnValue###
None.


###Remarks###
If BlockInput is enabled, the Alt keypress cannot be sent!
The table below shows how BlockInput behavior depends on Windows' version; however, pressing <i>Ctrl+Alt+Del</i> on any platform will re-enable input due to a Windows API feature.
<br>
@@ParamTable@@
<b><i>Operating System</b></i>
	<b><i>"BlockInput" Results</b></i>
Windows 95
	No effect.
Windows 98/Me
	User input is blocked but AutoIt is also unable to simulate input.
Windows NT 4 (Without ServicePack 6)
	No effect.
Windows NT 4 (With ServicePack 6)
	User input is blocked and AutoIt can simulate most input.
Windows 2000
	User input is blocked and AutoIt can simulate most input.
Windows XP
	User input is blocked and AutoIt can simulate most input.  See exceptions below.
@@End@@

If you are using Windows XP then you should be aware that a hotfix released inbetween SP1 and SP2 limited Blockinput so that the ALT key could NOT be sent.  This is fixed in XP SP2.

Note that functions such as WinMove() will still work on Windows 98/Me when BlockInput is disabled.

###Related###
Send


###Example###
@@IncludeExample@@
