ieframe/tests: Skip rest of tests if CoCreateInstance failed.

This commit is contained in:
Octavian Voicu 2011-08-25 16:06:20 +03:00 committed by Alexandre Julliard
parent 82cdeb6d4d
commit 3ba185d5ce

View file

@ -60,6 +60,9 @@ static void test_InternetExplorer(void)
&IID_IUnknown, (void**)&unk);
ok(hres == S_OK, "Could not create InternetExplorer instance: %08x\n", hres);
if(hres != S_OK)
return;
hres = IUnknown_QueryInterface(unk, &IID_IWebBrowser2, (void**)&wb);
ok(hres == S_OK, "Could not get IWebBrowser2 interface: %08x\n", hres);