Commit 4ab6fd3d authored by Lei Zhang's avatar Lei Zhang Committed by Alexandre Julliard

quartz: Add a test for IFilterGraph2.

parent f84f4cab
......@@ -102,8 +102,22 @@ static void test_render_run(void)
releasefiltergraph();
}
static void test_filter_graph2(void)
{
HRESULT hr;
IFilterGraph2 *pF = NULL;
hr = CoCreateInstance(&CLSID_FilterGraph, NULL, CLSCTX_INPROC_SERVER,
&IID_IFilterGraph2, (LPVOID*)&pF);
todo_wine {
ok(hr == S_OK, "CoCreateInstance failed with %x\n", hr);
ok(pF != NULL, "pF is NULL\n");
}
}
START_TEST(filtergraph)
{
CoInitialize(NULL);
test_render_run();
test_filter_graph2();
}
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