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

This commit is contained in:
Paul Vriens 2010-03-16 10:18:52 +01:00 committed by Alexandre Julliard
parent cc6d17ba7c
commit e014154fb7
1 changed files with 1 additions and 3 deletions

View File

@ -3195,8 +3195,6 @@ static void test_screen(IHTMLWindow2 *window)
HDC hdc;
HRESULT hres;
static const WCHAR displayW[] = {'D','I','S','P','L','A','Y',0};
screen = NULL;
hres = IHTMLWindow2_get_screen(window, &screen);
ok(hres == S_OK, "get_screen failed: %08x\n", hres);
@ -3216,7 +3214,7 @@ static void test_screen(IHTMLWindow2 *window)
IDispatchEx_Release(dispex);
}
hdc = CreateICW(displayW, NULL, NULL, NULL);
hdc = CreateICA("DISPLAY", NULL, NULL, NULL);
exl = GetDeviceCaps(hdc, HORZRES);
l = 0xdeadbeef;