aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2023-05-25 11:58:09 +0100
committergingerBill <bill@gingerbill.org>2023-05-25 11:58:09 +0100
commit3dc6edfd2d04949fe43e887d8efbcbb8c03a3448 (patch)
tree0a9d841ea076cd4fb9ad3468314d7590badd500d /core
parent762747273e0e1b8ff105288925f01de4e3a19f64 (diff)
parent0f392a95ae9e836acffab5e14edbcc1ae1198bf7 (diff)
Merge branch 'master' of https://github.com/odin-lang/Odin
Diffstat (limited to 'core')
-rw-r--r--core/sys/windows/user32.odin4
1 files changed, 3 insertions, 1 deletions
diff --git a/core/sys/windows/user32.odin b/core/sys/windows/user32.odin
index e8499a67b..29fa4da17 100644
--- a/core/sys/windows/user32.odin
+++ b/core/sys/windows/user32.odin
@@ -52,6 +52,8 @@ foreign user32 {
TranslateMessage :: proc(lpMsg: ^MSG) -> BOOL ---
DispatchMessageW :: proc(lpMsg: ^MSG) -> LRESULT ---
+ WaitMessage :: proc() -> BOOL ---
+
PeekMessageA :: proc(lpMsg: ^MSG, hWnd: HWND, wMsgFilterMin: UINT, wMsgFilterMax: UINT, wRemoveMsg: UINT) -> BOOL ---
PeekMessageW :: proc(lpMsg: ^MSG, hWnd: HWND, wMsgFilterMin: UINT, wMsgFilterMax: UINT, wRemoveMsg: UINT) -> BOOL ---
@@ -222,6 +224,7 @@ foreign user32 {
GetWindowInfo :: proc(hwnd: HWND, pwi: PWINDOWINFO) -> BOOL ---
GetWindowPlacement :: proc(hWnd: HWND, lpwndpl: ^WINDOWPLACEMENT) -> BOOL ---
+ SetWindowPlacement :: proc(hwnd: HWND, lpwndpl: ^WINDOWPLACEMENT) -> BOOL ---
SetWindowRgn :: proc(hWnd: HWND, hRgn: HRGN, bRedraw: BOOL) -> int ---
CreateRectRgnIndirect :: proc(lprect: ^RECT) -> HRGN ---
GetSystemMetricsForDpi :: proc(nIndex: int, dpi: UINT) -> int ---
@@ -463,7 +466,6 @@ WINDOWPLACEMENT :: struct {
ptMinPosition: POINT,
ptMaxPosition: POINT,
rcNormalPosition: RECT,
- rcDevice: RECT,
}
WINDOWINFO :: struct {