Explorar o código

Add SendMessageA/W to sys/windows/user32.odin

Holger Lindner %!s(int64=3) %!d(string=hai) anos
pai
achega
43640a8b59
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      core/sys/windows/user32.odin

+ 3 - 0
core/sys/windows/user32.odin

@@ -270,6 +270,9 @@ foreign user32 {
 	PostMessageA :: proc(hWnd: HWND, Msg: UINT, wParam: WPARAM, lParam: LPARAM) -> BOOL ---
 	PostMessageW :: proc(hWnd: HWND, Msg: UINT, wParam: WPARAM, lParam: LPARAM) -> BOOL ---
 
+	SendMessageA :: proc(hWnd: HWND, Msg: UINT, wParam: WPARAM, lParam: LPARAM) -> LRESULT ---
+	SendMessageW :: proc(hWnd: HWND, Msg: UINT, wParam: WPARAM, lParam: LPARAM) -> LRESULT ---
+
 	GetQueueStatus :: proc(flags: UINT) -> DWORD ---
 
 	DefWindowProcA :: proc(hWnd: HWND, Msg: UINT, wParam: WPARAM, lParma: LPARAM) -> LRESULT ---