Zhiyi Zhang : uxtheme/tests: Add more GetThemePartSize() tests in different DPI.

Alexandre Julliard julliard at winehq.org
Wed Jul 6 16:55:52 CDT 2022


Module: wine
Branch: master
Commit: e2daffda25bf79ec3313349b85a33e29d202b1de
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=e2daffda25bf79ec3313349b85a33e29d202b1de

Author: Zhiyi Zhang <zzhang at codeweavers.com>
Date:   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 current 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 at codeweavers.com>

---

 dlls/uxtheme/tests/system.c | 158 ++++++++++++++++++++++++++++++--------------
 1 file changed, 107 insertions(+), 51 deletions(-)

Diff:   https://source.winehq.org/git/wine.git/?a=commitdiff;h=e2daffda25bf79ec3313349b85a33e29d202b1de



More information about the wine-cvs mailing list