Commit 6c6ce702 authored by Robert Shearman's avatar Robert Shearman Committed by Alexandre Julliard

oleaut32: Check the return value from VariantCopy when copying values

for VT_VARIANT typed parameters for ITypeInfo::Invoke.
parent 5e8c877f
......@@ -5239,7 +5239,7 @@ static HRESULT WINAPI ITypeInfo_fnInvoke(
dump_Variant(src_arg);
if (rgvt[i] == VT_VARIANT)
VariantCopy(&rgvarg[i], src_arg);
hres = VariantCopy(&rgvarg[i], src_arg);
else if (rgvt[i] == (VT_VARIANT | VT_BYREF))
{
if (rgvt[i] == V_VT(src_arg))
......
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