Commit 970de7df authored by Alex Henrie's avatar Alex Henrie Committed by Alexandre Julliard

shell32: Return E_INVALIDARG from FolderItems functions on null output.

parent ddf76f6a
...@@ -1060,6 +1060,9 @@ static HRESULT WINAPI FolderItemsImpl_get_Application(FolderItems3 *iface, IDisp ...@@ -1060,6 +1060,9 @@ static HRESULT WINAPI FolderItemsImpl_get_Application(FolderItems3 *iface, IDisp
{ {
FIXME("(%p,%p)\n", iface, ppid); FIXME("(%p,%p)\n", iface, ppid);
if (!ppid)
return E_INVALIDARG;
return E_NOTIMPL; return E_NOTIMPL;
} }
...@@ -1081,6 +1084,9 @@ static HRESULT WINAPI FolderItemsImpl__NewEnum(FolderItems3 *iface, IUnknown **p ...@@ -1081,6 +1084,9 @@ static HRESULT WINAPI FolderItemsImpl__NewEnum(FolderItems3 *iface, IUnknown **p
{ {
FIXME("(%p,%p)\n", iface, ppunk); FIXME("(%p,%p)\n", iface, ppunk);
if (!ppunk)
return E_INVALIDARG;
return E_NOTIMPL; return E_NOTIMPL;
} }
...@@ -1102,6 +1108,9 @@ static HRESULT WINAPI FolderItemsImpl_get_Verbs(FolderItems3 *iface, FolderItemV ...@@ -1102,6 +1108,9 @@ static HRESULT WINAPI FolderItemsImpl_get_Verbs(FolderItems3 *iface, FolderItemV
{ {
FIXME("(%p,%p)\n", iface, ppfic); FIXME("(%p,%p)\n", iface, ppfic);
if (!ppfic)
return E_INVALIDARG;
return E_NOTIMPL; return E_NOTIMPL;
} }
......
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