Commit 6a15ac7f authored by Mike McCormack's avatar Mike McCormack Committed by Alexandre Julliard

ole32: Only return S_FALSE in IPropertyStorage::ReadMultiple if a property was not found.

parent 49ff182f
......@@ -307,7 +307,9 @@ static HRESULT WINAPI IPropertyStorage_fnReadMultiple(
TRACE("(%p, %ld, %p, %p)\n", iface, cpspec, rgpspec, rgpropvar);
if (cpspec && (!rgpspec || !rgpropvar))
if (!cpspec)
return S_FALSE;
if (!rgpspec || !rgpropvar)
return E_INVALIDARG;
EnterCriticalSection(&This->cs);
for (i = 0; i < cpspec; 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