mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 10:13:56 +00:00
ieframe/tests: Skip rest of tests if CoCreateInstance failed.
This commit is contained in:
parent
82cdeb6d4d
commit
3ba185d5ce
1 changed files with 3 additions and 0 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue