Copies a 256-byte array of keyboard key states into the calling process's keyboard input-state table
#include <WinAPISys.au3>
_WinAPI_SetKeyboardState ( $tState )
$tState | "byte[256]" structure that contains keyboard key states. |
Success: | True |
Failure: | False |
This function alters the input state of the calling process and not the global input state of the system.
You cannot use this function to set the NUM LOCK, CAPS LOCK, or SCROLL LOCK indicator lights on the
keyboard.
Search SetKeyboardState in MSDN Library.