mirror of
https://github.com/reactos/reactos.git
synced 2025-06-20 07:36:05 +00:00
[USER32] Introduce user32_vista and stubplement GetDpiForWindow() (#6208)
Add user32_vista.dll to introduce new NT6+ User32 features without changing the existing User32.dll when compiled as NT5.x. Also implements a stub for GetDpiForWindow(). The GetDpiForWindow() function will be required to Wine-sync common controls to modern Wine versions. Changes: Expose GetDpiForWindow() function and USER_DEFAULT_SCREEN_DPI to appropriate versions in winuser.h Introduce a basic user32_vista library that can be expanded as needed.
This commit is contained in:
parent
063997f2e0
commit
ad73e17418
8 changed files with 89 additions and 1 deletions
|
@ -4924,6 +4924,15 @@ BOOL WINAPI GetWindowInfo(_In_ HWND, _Inout_ PWINDOWINFO);
|
|||
BOOL WINAPI GetMonitorInfoA(_In_ HMONITOR, _Inout_ LPMONITORINFO);
|
||||
BOOL WINAPI GetMonitorInfoW(_In_ HMONITOR, _Inout_ LPMONITORINFO);
|
||||
|
||||
#if (_WIN32_WINNT >= _WIN32_WINNT_VISTA)
|
||||
#define USER_DEFAULT_SCREEN_DPI 96
|
||||
#endif /* _WIN32_WINNT >= _WIN32_WINNT_VISTA */
|
||||
|
||||
#if (_WIN32_WINNT >= 0x0605) /* Windows 10 pre-Threshold */
|
||||
UINT WINAPI GetDpiForSystem(VOID);
|
||||
UINT WINAPI GetDpiForWindow(_In_ HWND hwnd);
|
||||
#endif /* _WIN32_WINNT >= 0x0605 */
|
||||
|
||||
UINT
|
||||
WINAPI
|
||||
GetWindowModuleFileNameA(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue