mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 16:36:33 +00:00
[ATL] Continue enumeration after a failing COM_INTERFACE_ENTRY_FUNC_BLIND
This commit is contained in:
parent
7ce46d59b4
commit
a730e3fce1
1 changed files with 3 additions and 2 deletions
|
@ -1545,10 +1545,11 @@ inline HRESULT __stdcall AtlInternalQueryInterface(void *pThis, const _ATL_INTMA
|
|||
else
|
||||
{
|
||||
hResult = pEntries[i].pFunc(pThis, iid, ppvObject, 0);
|
||||
if (hResult == S_OK || (FAILED(hResult) && pEntries[i].piid != NULL))
|
||||
if (hResult == S_OK)
|
||||
return hResult;
|
||||
if (FAILED(hResult) && pEntries[i].piid != NULL)
|
||||
break;
|
||||
}
|
||||
break;
|
||||
}
|
||||
i++;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue