qedit/tests: Add a test for IMediaDet_get_OutputStreams.
This commit is contained in:
parent
999bc5bcb2
commit
b0b47ac5f5
|
@ -82,6 +82,7 @@ static void test_mediadet(void)
|
|||
HRESULT hr;
|
||||
IMediaDet *pM = NULL;
|
||||
BSTR filename = NULL;
|
||||
long nstrms = 0;
|
||||
|
||||
hr = CoCreateInstance(&CLSID_MediaDet, NULL, CLSCTX_INPROC_SERVER,
|
||||
&IID_IMediaDet, (LPVOID*)&pM);
|
||||
|
@ -93,6 +94,10 @@ static void test_mediadet(void)
|
|||
todo_wine ok(hr == S_OK, "IMediaDet_put_Filename -> %x\n", hr);
|
||||
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);
|
||||
ok(hr == 0, "IMediaDet_Release returned: %x\n", hr);
|
||||
|
||||
|
|
Loading…
Reference in New Issue