mirror of
https://github.com/reactos/reactos.git
synced 2026-05-31 16:31:07 +08:00
[ATL] Continue enumeration after a failing COM_INTERFACE_ENTRY_FUNC_BLIND
This commit is contained in:
@@ -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++;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user