Commit 1db85c13 authored by Jerome Leclanche's avatar Jerome Leclanche Committed by Alexandre Julliard

quartz: Properly return E_POINTER when ppFilters is null.

parent f97c9950
...@@ -126,6 +126,9 @@ static HRESULT WINAPI IEnumFiltersImpl_Next(IEnumFilters * iface, ULONG cFilters ...@@ -126,6 +126,9 @@ static HRESULT WINAPI IEnumFiltersImpl_Next(IEnumFilters * iface, ULONG cFilters
TRACE("(%p)->(%u, %p, %p)\n", iface, cFilters, ppFilters, pcFetched); TRACE("(%p)->(%u, %p, %p)\n", iface, cFilters, ppFilters, pcFetched);
if (!ppFilters)
return E_POINTER;
for (i = 0; i < cFetched; i++) for (i = 0; i < cFetched; i++)
{ {
ppFilters[i] = This->ppFilters[This->uIndex + i]; ppFilters[i] = This->ppFilters[This->uIndex + i];
......
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