Commit 876d1d9e authored by Huw Davies's avatar Huw Davies Committed by Alexandre Julliard

qcap/tests: Fix test failures on Win64.

parent 1eb6e5dd
...@@ -1907,6 +1907,11 @@ static void test_COM_vfwcapture(void) ...@@ -1907,6 +1907,11 @@ static void test_COM_vfwcapture(void)
/* COM aggregation */ /* COM aggregation */
hr = CoCreateInstance(&CLSID_VfwCapture, &unk_obj.IUnknown_iface, CLSCTX_INPROC_SERVER, hr = CoCreateInstance(&CLSID_VfwCapture, &unk_obj.IUnknown_iface, CLSCTX_INPROC_SERVER,
&IID_IUnknown, (void**)&unk_obj.inner_unk); &IID_IUnknown, (void**)&unk_obj.inner_unk);
if (hr == REGDB_E_CLASSNOTREG)
{
win_skip("CLSID_VfwCapture not registered\n");
return;
}
ok(hr == S_OK, "VfwCapture create failed: %08x\n", hr); ok(hr == S_OK, "VfwCapture create failed: %08x\n", hr);
hr = IUnknown_QueryInterface(unk_obj.inner_unk, &IID_IBaseFilter, (void**)&bf); hr = IUnknown_QueryInterface(unk_obj.inner_unk, &IID_IBaseFilter, (void**)&bf);
ok(hr == S_OK, "QueryInterface for IID_IBaseFilter failed: %08x\n", hr); ok(hr == S_OK, "QueryInterface for IID_IBaseFilter 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