This function can be use to block all inputs coming from mouse and keyboard, without having an UAC warning displayed.
Example :
#include <Constants.au3>
#include "BlockInputEX.au3"
Opt ("MustDeclareVars", 1)
_BlockInput ($BI_DISABLE) ; block input
ConsoleWrite (@error & @CRLF)
_BlockInput ($BI_DISABLE) ; @error is set since already disable
ConsoleWrite (@error & @CRLF)
Sleep (10000)
_BlockInput ($BI_ENABLE )