Browse Source

Add IsWindow to user32.odin

This is useful for checking if window has been closed without going through the WindowProc.
Matias Fernandez 2 years ago
parent
commit
3b2864d8a6
1 changed files with 1 additions and 0 deletions
  1. 1 0
      core/sys/windows/user32.odin

+ 1 - 0
core/sys/windows/user32.odin

@@ -38,6 +38,7 @@ foreign user32 {
 	DestroyWindow :: proc(hWnd: HWND) -> BOOL ---
 
 	ShowWindow :: proc(hWnd: HWND, nCmdShow: c_int) -> BOOL ---
+	IsWindow :: proc(hWnd: HWND) -> BOOL ---
 	BringWindowToTop :: proc(hWnd: HWND) -> BOOL ---
 	GetTopWindow :: proc(hWnd: HWND) -> HWND ---
 	SetForegroundWindow :: proc(hWnd: HWND) -> BOOL ---