Commit e014154f authored by Paul Vriens's avatar Paul Vriens Committed by Alexandre Julliard

mshtml/tests: Fix some test failures on Win9x/WinMe by using a A-function.

parent cc6d17ba
...@@ -3195,8 +3195,6 @@ static void test_screen(IHTMLWindow2 *window) ...@@ -3195,8 +3195,6 @@ static void test_screen(IHTMLWindow2 *window)
HDC hdc; HDC hdc;
HRESULT hres; HRESULT hres;
static const WCHAR displayW[] = {'D','I','S','P','L','A','Y',0};
screen = NULL; screen = NULL;
hres = IHTMLWindow2_get_screen(window, &screen); hres = IHTMLWindow2_get_screen(window, &screen);
ok(hres == S_OK, "get_screen failed: %08x\n", hres); ok(hres == S_OK, "get_screen failed: %08x\n", hres);
...@@ -3216,7 +3214,7 @@ static void test_screen(IHTMLWindow2 *window) ...@@ -3216,7 +3214,7 @@ static void test_screen(IHTMLWindow2 *window)
IDispatchEx_Release(dispex); IDispatchEx_Release(dispex);
} }
hdc = CreateICW(displayW, NULL, NULL, NULL); hdc = CreateICA("DISPLAY", NULL, NULL, NULL);
exl = GetDeviceCaps(hdc, HORZRES); exl = GetDeviceCaps(hdc, HORZRES);
l = 0xdeadbeef; l = 0xdeadbeef;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment