From: EBADBEEF errno@ebadf.com
--- dlls/win32u/input.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/win32u/input.c b/dlls/win32u/input.c index a3fd0df0c5a..2729799eeef 100644 --- a/dlls/win32u/input.c +++ b/dlls/win32u/input.c @@ -685,7 +685,7 @@ UINT WINAPI NtUserSendInput( UINT count, INPUT *inputs, int size ) update_mouse_coords( &input ); /* fallthrough */ case INPUT_KEYBOARD: - status = send_hardware_message( 0, &input, NULL, SEND_HWMSG_INJECTED, 0 ); + status = send_hardware_message( 0, &input, NULL, SEND_HWMSG_INJECTED, 0xFFFF ); break; case INPUT_HARDWARE: RtlSetLastWin32Error( ERROR_CALL_NOT_IMPLEMENTED );