diff options
| author | Lion Schitik <schitiklion@gmail.com> | 2025-01-08 12:38:28 +0100 |
|---|---|---|
| committer | Lion Schitik <schitiklion@gmail.com> | 2025-01-08 12:38:28 +0100 |
| commit | ab3e2340c26577567960d74c4eaa296e276a831f (patch) | |
| tree | fcb13a09bd254144c86877ea93187b22fdbbe878 | |
| parent | cdef798fbc11df248a20e46447aaf014e7c690d2 (diff) | |
review
| -rw-r--r-- | core/sys/windows/user32.odin | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/sys/windows/user32.odin b/core/sys/windows/user32.odin index 9ebd86201..19b53e349 100644 --- a/core/sys/windows/user32.odin +++ b/core/sys/windows/user32.odin @@ -2,6 +2,7 @@ package sys_windows import "base:intrinsics" +import "core:c" foreign import user32 "system:User32.lib" @(default_calling_convention="system") @@ -32,7 +33,7 @@ foreign user32 { RegisterClassExW :: proc(^WNDCLASSEXW) -> ATOM --- UnregisterClassW :: proc(lpClassName: LPCWSTR, hInstance: HINSTANCE) -> BOOL --- - RegisterHotKey :: proc(hnwd: HWND, id: int, fsModifiers: UINT, vk: UINT) -> BOOL --- + RegisterHotKey :: proc(hnwd: HWND, id: c.int, fsModifiers: UINT, vk: UINT) -> BOOL --- CreateWindowExW :: proc( dwExStyle: DWORD, |