def SendInput(*inputs) -> int:
nInputs = len(inputs)<EOL>LPINPUT = INPUT * nInputs<EOL>pInputs = LPINPUT(*inputs)<EOL>cbSize = ctypes.c_int(ctypes.sizeof(INPUT))<EOL>return ctypes.windll.user32.SendInput(nInputs, pInputs, cbSize)<EOL>
SendInput from Win32.
input: `INPUT`.
Return int, the number of events that it successfully inserted into the keyboard or mouse input stream.
            If the function returns zero, the input was already blocked by another thread.