summaryrefslogtreecommitdiffstats
path: root/make/stub_includes/win32
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2023-01-29 19:56:45 +0100
committerSven Gothel <[email protected]>2023-01-29 19:56:45 +0100
commite96aeb6e9acd2b1435f5fad244a1488e74a3a6d6 (patch)
tree68a4466d97b006e63f12040ff2db0a24d263344c /make/stub_includes/win32
parent516d3d57eb54f6fe95d842d29a2929e024ee8f34 (diff)
GDIUtil: Add GetMonitor*() variants incl. PixelScale; NEWT MonitorDevice: Add 64-bit nativeHandle (Windows HMONITOR), add PixelScale for Windows
Diffstat (limited to 'make/stub_includes/win32')
-rw-r--r--make/stub_includes/win32/gluegen/windows.h1
-rw-r--r--make/stub_includes/win32/window-lib.c2
2 files changed, 3 insertions, 0 deletions
diff --git a/make/stub_includes/win32/gluegen/windows.h b/make/stub_includes/win32/gluegen/windows.h
index 46a560767..d751f8082 100644
--- a/make/stub_includes/win32/gluegen/windows.h
+++ b/make/stub_includes/win32/gluegen/windows.h
@@ -38,6 +38,7 @@ typedef HANDLE HINSTANCE;
typedef HANDLE HPALETTE;
typedef HANDLE HWND;
typedef HANDLE HRGN;
+typedef HANDLE HMONITOR;
typedef const char* LPCSTR;
typedef void* PVOID;
typedef void* LPVOID;
diff --git a/make/stub_includes/win32/window-lib.c b/make/stub_includes/win32/window-lib.c
index 25355cdcd..8309b3b21 100644
--- a/make/stub_includes/win32/window-lib.c
+++ b/make/stub_includes/win32/window-lib.c
@@ -1,3 +1,5 @@
#include <windows.h>
#include <wingdi.h>
+#include <WindowsUser.h>
#include <WindowsDWM.h>
+#include <WindowsSHC.h>