Explorar o código

fix SendInput function in user32

RestartFU %!s(int64=2) %!d(string=hai) anos
pai
achega
586e85281e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      core/sys/windows/user32.odin

+ 1 - 1
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 ---