Re: [PATCH] ole32: fix composite moniker behaviour.
2 Mar
2010
2 Mar
'10
10:51 a.m.
Reece Dunn <msclrhd(a)googlemail.com> writes:
@@ -365,8 +365,7 @@ CompositeMonikerImpl_BindToObject(IMoniker* iface, IBindCtx* pbc, /* if the requested class was loaded before ! we don't need to reload it */ res = IRunningObjectTable_GetObject(prot,iface,(IUnknown**)ppvResult);
- if (res==S_OK) - return res; + return res==S_OK ? S_OK : E_INVALIDARG;
This doesn't look right. Just because the test wants E_INVALIDARG doesn't mean it's the correct error for all possible failures. -- Alexandre Julliard julliard(a)winehq.org
5854
Age (days ago)
5854
Last active (days ago)
0 comments
1 participants
participants (1)
-
Alexandre Julliard