Commit 7f891787 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 704dffcb
......@@ -303,7 +303,7 @@ static HRESULT WINAPI IPropertyStorage_fnReadMultiple(
PROPVARIANT rgpropvar[])
{
PropertyStorage_impl *This = (PropertyStorage_impl *)iface;
HRESULT hr = S_FALSE;
HRESULT hr = S_OK;
ULONG i;
TRACE("(%p, %ld, %p, %p)\n", iface, cpspec, rgpspec, rgpropvar);
......@@ -344,6 +344,8 @@ static HRESULT WINAPI IPropertyStorage_fnReadMultiple(
if (prop)
PropertyStorage_PropVariantCopy(&rgpropvar[i], prop,
GetACP(), This->codePage);
else
hr = S_FALSE;
}
}
}
......
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