瀏覽代碼

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

Holger Lindner 3 年之前
父節點
當前提交
43640a8b59
共有 1 個文件被更改,包括 3 次插入0 次删除
  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 ---