ole32/tests: Stop crash on XP.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com> Signed-off-by: Huw Davies <huw@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
30a27f0ba7
commit
3ca00ff857
|
@ -3569,7 +3569,13 @@ static void test_GlobalOptions(void)
|
|||
|
||||
hres = CoCreateInstance(&CLSID_GlobalOptions, NULL, CLSCTX_INPROC_SERVER,
|
||||
&IID_IGlobalOptions, (void**)&global_options);
|
||||
ok(hres == S_OK, "CoCreateInstance(CLSID_GlobalOptions) failed: %08x\n", hres);
|
||||
ok(hres == S_OK || broken(hres == E_NOINTERFACE), "CoCreateInstance(CLSID_GlobalOptions) failed: %08x\n", hres);
|
||||
if(FAILED(hres))
|
||||
{
|
||||
win_skip("CLSID_GlobalOptions not available\n");
|
||||
CoUninitialize();
|
||||
return;
|
||||
}
|
||||
|
||||
IGlobalOptions_Release(global_options);
|
||||
|
||||
|
|
Loading…
Reference in New Issue