From 586e85281ea1d760645f9b3bcc28b22ab7024106 Mon Sep 17 00:00:00 2001 From: RestartFU <45609733+RestartFU@users.noreply.github.com> Date: Sat, 8 Apr 2023 23:13:37 +0000 Subject: [PATCH] fix SendInput function in user32 --- core/sys/windows/user32.odin | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/sys/windows/user32.odin b/core/sys/windows/user32.odin index c1a6791cc..05d6837dd 100644 --- a/core/sys/windows/user32.odin +++ b/core/sys/windows/user32.odin @@ -212,7 +212,7 @@ foreign user32 { GetRegisteredRawInputDevices :: proc(pRawInputDevices: PRAWINPUTDEVICE, puiNumDevices: PUINT, cbSize: UINT) -> UINT --- RegisterRawInputDevices :: proc(pRawInputDevices: PCRAWINPUTDEVICE, uiNumDevices: UINT, cbSize: UINT) -> BOOL --- - SendInput :: proc(cInputs: UINT, pInputs: [^]INPUT, cbSize: ^c_int) -> UINT --- + SendInput :: proc(cInputs: UINT, pInputs: [^]INPUT, cbSize: c_int) -> UINT --- SetLayeredWindowAttributes :: proc(hWnd: HWND, crKey: COLORREF, bAlpha: BYTE, dwFlags: DWORD) -> BOOL ---