oleaut32: Check the return value from VariantCopy when copying values

for VT_VARIANT typed parameters for ITypeInfo::Invoke.
This commit is contained in:
Robert Shearman 2006-05-03 22:22:27 +01:00 committed by Alexandre Julliard
parent 5e8c877f96
commit 6c6ce70260
1 changed files with 1 additions and 1 deletions

View File

@ -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))