Francois Gouget : uxtheme/tests: Use the OpenThemeDataForDpi() function pointer.
Module: wine Branch: master Commit: 568143ff97c80ba0558411b6d2ec0ecba77de2f7 URL: https://source.winehq.org/git/wine.git/?a=commit;h=568143ff97c80ba0558411b6d... Author: Francois Gouget <fgouget(a)codeweavers.com> Date: Thu Sep 2 10:29:51 2021 +0200 uxtheme/tests: Use the OpenThemeDataForDpi() function pointer. OpenThemeDataForDpi() is not available in Windows 10 1607 and older. Signed-off-by: Francois Gouget <fgouget(a)codeweavers.com> Signed-off-by: Zhiyi Zhang <zzhang(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- dlls/uxtheme/tests/system.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/uxtheme/tests/system.c b/dlls/uxtheme/tests/system.c index f9bf371e6bf..b088a7a050e 100644 --- a/dlls/uxtheme/tests/system.c +++ b/dlls/uxtheme/tests/system.c @@ -657,7 +657,7 @@ static void test_OpenThemeDataForDpi(void) is_theme_active = IsThemeActive(); SetLastError(0xdeadbeef); - htheme = OpenThemeDataForDpi(NULL, WC_BUTTONW, 96); + htheme = pOpenThemeDataForDpi(NULL, WC_BUTTONW, 96); if (is_theme_active) { ok(!!htheme, "Got a NULL handle.\n");
participants (1)
-
Alexandre Julliard