mirror of
https://github.com/reactos/wine.git
synced 2025-02-14 01:31:43 +00:00
quartz: Properly return E_POINTER when ppFilters is null.
This commit is contained in:
parent
f97c995054
commit
1db85c132e
@ -126,6 +126,9 @@ static HRESULT WINAPI IEnumFiltersImpl_Next(IEnumFilters * iface, ULONG cFilters
|
||||
|
||||
TRACE("(%p)->(%u, %p, %p)\n", iface, cFilters, ppFilters, pcFetched);
|
||||
|
||||
if (!ppFilters)
|
||||
return E_POINTER;
|
||||
|
||||
for (i = 0; i < cFetched; i++)
|
||||
{
|
||||
ppFilters[i] = This->ppFilters[This->uIndex + i];
|
||||
|
Loading…
x
Reference in New Issue
Block a user