mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 12:54:13 +00:00
ole32: Only return S_FALSE in IPropertyStorage::ReadMultiple if a property was not found.
This commit is contained in:
parent
704dffcb09
commit
7f891787bc
1 changed files with 3 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue