mirror of
https://github.com/reactos/reactos.git
synced 2025-07-29 09:12:20 +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
|
else
|
||||||
{
|
{
|
||||||
hResult = pEntries[i].pFunc(pThis, iid, ppvObject, 0);
|
hResult = pEntries[i].pFunc(pThis, iid, ppvObject, 0);
|
||||||
if (hResult == S_OK || (FAILED(hResult) && pEntries[i].piid != NULL))
|
if (hResult == S_OK)
|
||||||
return hResult;
|
return hResult;
|
||||||
|
if (FAILED(hResult) && pEntries[i].piid != NULL)
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
i++;
|
i++;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue