mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-06 07:57:22 +00:00
uxtheme/tests: Use the OpenThemeDataForDpi() function pointer.
OpenThemeDataForDpi() is not available in Windows 10 1607 and older. Signed-off-by: Francois Gouget <fgouget@codeweavers.com> Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
5e0c1ce443
commit
568143ff97
|
@ -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");
|
||||
|
|
Loading…
Reference in a new issue