Merge pull request #1661 from ftphikari/master

sys/windows: add ClientToScreen
This commit is contained in:
Jeroen van Rijn
2022-03-27 00:54:44 +01:00
committed by GitHub
2 changed files with 2 additions and 0 deletions

View File

@@ -58,6 +58,7 @@ LPARAM :: LONG_PTR
WPARAM :: UINT_PTR
LRESULT :: LONG_PTR
LPRECT :: ^RECT
LPPOINT :: ^POINT
UINT8 :: u8
UINT16 :: u16

View File

@@ -97,6 +97,7 @@ foreign user32 {
LoadCursorW :: proc(hInstance: HINSTANCE, lpCursorName: LPCWSTR) -> HCURSOR ---
GetClientRect :: proc(hWnd: HWND, lpRect: ^RECT) -> BOOL ---
ClientToScreen :: proc(hWnd: HWND, lpPoint: LPPOINT) -> BOOL ---
SetWindowPos :: proc(
hWnd: HWND,
hWndInsertAfter: HWND,