Commit b0b47ac5 authored by Dan Hipschman's avatar Dan Hipschman Committed by Alexandre Julliard

qedit/tests: Add a test for IMediaDet_get_OutputStreams.

parent 999bc5bc
...@@ -82,6 +82,7 @@ static void test_mediadet(void) ...@@ -82,6 +82,7 @@ static void test_mediadet(void)
HRESULT hr; HRESULT hr;
IMediaDet *pM = NULL; IMediaDet *pM = NULL;
BSTR filename = NULL; BSTR filename = NULL;
long nstrms = 0;
hr = CoCreateInstance(&CLSID_MediaDet, NULL, CLSCTX_INPROC_SERVER, hr = CoCreateInstance(&CLSID_MediaDet, NULL, CLSCTX_INPROC_SERVER,
&IID_IMediaDet, (LPVOID*)&pM); &IID_IMediaDet, (LPVOID*)&pM);
...@@ -93,6 +94,10 @@ static void test_mediadet(void) ...@@ -93,6 +94,10 @@ static void test_mediadet(void)
todo_wine ok(hr == S_OK, "IMediaDet_put_Filename -> %x\n", hr); todo_wine ok(hr == S_OK, "IMediaDet_put_Filename -> %x\n", hr);
SysFreeString(filename); SysFreeString(filename);
hr = IMediaDet_get_OutputStreams(pM, &nstrms);
todo_wine ok(hr == S_OK, "IMediaDet_get_OutputStreams\n");
todo_wine ok(nstrms == 1, "IMediaDet_get_OutputStreams\n");
hr = IMediaDet_Release(pM); hr = IMediaDet_Release(pM);
ok(hr == 0, "IMediaDet_Release returned: %x\n", hr); ok(hr == 0, "IMediaDet_Release returned: %x\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