https://bugs.winehq.org/show_bug.cgi?id=53341
Bug ID: 53341 Summary: uxtheme:system depends on GetDpiForSystem() which is missing on Windows 10 1507 and earlier Product: Wine Version: unspecified Hardware: x86-64 OS: Linux Status: NEW Severity: normal Priority: P2 Component: uxtheme Assignee: wine-bugs@winehq.org Reporter: fgouget@codeweavers.com Distribution: ---
uxtheme:system depends on GetDpiForSystem() which is missing on Windows 10 1507 and earlier:
uxtheme:system start - system.c:0: Tests skipped: missing entry point (details below) | uxtheme_test.exe - Entry Point Not Found | The procedure entry point GetDpiForSystem could not be located in the dynamic link library C:\Users\Public\Documents\uxtheme_test.exe.
https://test.winehq.org/data/patterns.html#uxtheme:system
The dependency was introduced in the commit below:
commit e2daffda25bf79ec3313349b85a33e29d202b1de Author: Zhiyi Zhang zzhang@codeweavers.com AuthorDate: Mon Jul 4 22:08:25 2022 +0800
uxtheme/tests: Add more GetThemePartSize() tests in different DPI.
To test that GetThemePartSize() should always report theme part size in system DPI if the theme handle is open without a valid window handle. Previous tests succeeded because the cur rent DPI happens to be 96.
Tested manually on Windows 10 for 96, 120, 144, 168, 192 and 216 DPI.
Signed-off-by: Zhiyi Zhang zzhang@codeweavers.com