sys/windows: add SetWindowPos()

This commit is contained in:
hikari
2022-03-25 16:09:16 +02:00
parent 5d7b92d391
commit 2f9a410a45
2 changed files with 42 additions and 0 deletions
+9
View File
@@ -97,6 +97,15 @@ foreign user32 {
LoadCursorW :: proc(hInstance: HINSTANCE, lpCursorName: LPCWSTR) -> HCURSOR ---
GetClientRect :: proc(hWnd: HWND, lpRect: ^RECT) -> BOOL ---
SetWindowPos :: proc(
hWnd: HWND,
hWndInsertAfter: HWND,
X: c_int,
Y: c_int,
cx: c_int,
cy: c_int,
uFlags: UINT,
) -> BOOL ---
GetWindowDC :: proc(hWnd: HWND) -> HDC ---
GetDC :: proc(hWnd: HWND) -> HDC ---