Ver código fonte

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

Holger Lindner 3 anos atrás
pai
commit
43640a8b59
1 arquivos alterados com 3 adições e 0 exclusões
  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 ---