Browse Source

[core:sys/windows] Added missing `MONITORINFOEXW` type

ftphikari 2 years ago
parent
commit
7ca0b256eb
1 changed files with 6 additions and 0 deletions
  1. 6 0
      core/sys/windows/types.odin

+ 6 - 0
core/sys/windows/types.odin

@@ -1709,6 +1709,12 @@ MONITORINFO :: struct {
 }
 }
 LPMONITORINFO :: ^MONITORINFO
 LPMONITORINFO :: ^MONITORINFO
 
 
+CCHDEVICENAME :: 32
+MONITORINFOEXW :: struct {
+	using _: MONITORINFO,
+	szDevice: [CCHDEVICENAME]WCHAR,
+}
+
 // SetWindowsHook() codes
 // SetWindowsHook() codes
 WH_MIN             :: -1
 WH_MIN             :: -1
 WH_MSGFILTER       :: -1
 WH_MSGFILTER       :: -1