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:
Rob Shearman 2007-05-30 08:59:44 +01:00 committed by Alexandre Julliard
parent ab2934781c
commit bacf5c640f

View file

@ -5806,7 +5806,7 @@ static HRESULT WINAPI ITypeInfo_fnInvoke(
}
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) &&
(pDispParams->cArgs != 0))
{