Commit bacf5c64 authored by Rob Shearman's avatar Rob Shearman Committed by Alexandre Julliard

oleaut32: For automatic-value-getting in ITypeInfo::Invoke, it doesn't matter…

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.
parent ab293478
......@@ -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))
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment