wmvcore: IWMProfile3 GetStreamCount return zero streams.

Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alistair Leslie-Hughes 2019-10-19 09:50:03 +00:00 committed by Alexandre Julliard
parent 7891e1d714
commit 877f8aa32c
1 changed files with 6 additions and 1 deletions

View File

@ -1756,7 +1756,12 @@ static HRESULT WINAPI profile3_GetStreamCount(IWMProfile3 *iface, DWORD *count)
{
WMReader *This = impl_from_IWMProfile3(iface);
FIXME("%p, %p\n", This, count);
return E_NOTIMPL;
if (!count)
return E_INVALIDARG;
*count = 0;
return S_OK;
}
static HRESULT WINAPI profile3_GetStream(IWMProfile3 *iface, DWORD index, IWMStreamConfig **config)