Commit 3ba185d5 authored by Octavian Voicu's avatar Octavian Voicu Committed by Alexandre Julliard

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

parent 82cdeb6d
...@@ -60,6 +60,9 @@ static void test_InternetExplorer(void) ...@@ -60,6 +60,9 @@ static void test_InternetExplorer(void)
&IID_IUnknown, (void**)&unk); &IID_IUnknown, (void**)&unk);
ok(hres == S_OK, "Could not create InternetExplorer instance: %08x\n", hres); 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); hres = IUnknown_QueryInterface(unk, &IID_IWebBrowser2, (void**)&wb);
ok(hres == S_OK, "Could not get IWebBrowser2 interface: %08x\n", hres); ok(hres == S_OK, "Could not get IWebBrowser2 interface: %08x\n", hres);
......
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