oleaut32: For automatic-value-getting in ITypeInfo::Invoke, it doesn't matter what flag(s) the function was executed with, just what type of function is being invoked.
This commit is contained in:
parent
ab2934781c
commit
bacf5c640f
@ -5806,7 +5806,7 @@ static HRESULT WINAPI ITypeInfo_fnInvoke(
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (SUCCEEDED(hres) && pVarResult && (func_desc->cParams == 1) &&
|
if (SUCCEEDED(hres) && pVarResult && (func_desc->cParams == 1) &&
|
||||||
(wFlags == INVOKE_PROPERTYGET) &&
|
(func_desc->invkind & INVOKE_PROPERTYGET) &&
|
||||||
(func_desc->lprgelemdescParam[0].u.paramdesc.wParamFlags & PARAMFLAG_FRETVAL) &&
|
(func_desc->lprgelemdescParam[0].u.paramdesc.wParamFlags & PARAMFLAG_FRETVAL) &&
|
||||||
(pDispParams->cArgs != 0))
|
(pDispParams->cArgs != 0))
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user