Francois Gouget : uxtheme/tests: Use the OpenThemeDataForDpi() function pointer.
Alexandre Julliard
julliard at winehq.org
Thu Sep 2 15:45:30 CDT 2021
Module: wine
Branch: master
Commit: 568143ff97c80ba0558411b6d2ec0ecba77de2f7
URL: https://source.winehq.org/git/wine.git/?a=commit;h=568143ff97c80ba0558411b6d2ec0ecba77de2f7
Author: Francois Gouget <fgouget at 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 at codeweavers.com>
Signed-off-by: Zhiyi Zhang <zzhang at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at 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");
More information about the wine-cvs
mailing list