diff options
Diffstat (limited to 'make/stub_includes')
-rw-r--r-- | make/stub_includes/win32/WindowsSHC.h | 11 | ||||
-rw-r--r-- | make/stub_includes/win32/WindowsUser.h | 12 |
2 files changed, 23 insertions, 0 deletions
diff --git a/make/stub_includes/win32/WindowsSHC.h b/make/stub_includes/win32/WindowsSHC.h new file mode 100644 index 000000000..f1338e8dd --- /dev/null +++ b/make/stub_includes/win32/WindowsSHC.h @@ -0,0 +1,11 @@ +#include <windows.h> +#include <stdint.h> + +#ifndef WIN_SHC_VERSION_X_X +#define WIN_SHC_VERSION_X_X + +BOOL ShcIsExtensionAvailable(); +BOOL ShcGetMonitorPixelScale1(HMONITOR hmon, float *psXY); + +#endif /* WIN_SHC_VERSION_X_X */ + diff --git a/make/stub_includes/win32/WindowsUser.h b/make/stub_includes/win32/WindowsUser.h new file mode 100644 index 000000000..3e4a426c7 --- /dev/null +++ b/make/stub_includes/win32/WindowsUser.h @@ -0,0 +1,12 @@ +#include <windows.h> +#include <stdint.h> + +#ifndef WIN_USER_VERSION_X_X +#define WIN_USER_VERSION_X_X + +HMONITOR GetMonitorFromWindow(HWND hwnd); +HMONITOR GetMonitorFromPoint(int x, int y); +HMONITOR GetMonitorFromRect(int left, int top, int right, int bottom); + +#endif /* WIN_USER_VERSION_X_X */ + |