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
1 changed files with 3 additions and 0 deletions

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);