Commit b1a62796 authored by Detlef Riekenberg's avatar Detlef Riekenberg Committed by Alexandre Julliard

qcap/tests: Avoid a crash in a test.

VfW is not supported on 64-Bit Windows Signed-off-by: 's avatarDetlef Riekenberg <wine.dev@web.de> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent b2e72dd0
......@@ -1771,9 +1771,9 @@ static void test_COM_vfwcapture(void)
/* COM aggregation */
hr = CoCreateInstance(&CLSID_VfwCapture, &unk_obj.IUnknown_iface, CLSCTX_INPROC_SERVER,
&IID_IUnknown, (void**)&unk_obj.inner_unk);
if (hr == REGDB_E_CLASSNOTREG)
if ((hr == REGDB_E_CLASSNOTREG) || (hr == CLASS_E_CLASSNOTAVAILABLE))
{
win_skip("CLSID_VfwCapture not registered\n");
win_skip("CLSID_VfwCapture not supported (0x%x)\n", hr);
return;
}
ok(hr == S_OK, "VfwCapture create failed: %08x\n", hr);
......
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