Robert Shearman : oleaut32: Check the return value from VariantCopy when copying values
Module: wine Branch: refs/heads/master Commit: 6c6ce70260c0b3fd2ad5c61a318c1a2ccae8c102 URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=6c6ce70260c0b3fd2ad5c61a... Author: Robert Shearman <rob(a)codeweavers.com> Date: Wed May 3 22:22:27 2006 +0100 oleaut32: Check the return value from VariantCopy when copying values for VT_VARIANT typed parameters for ITypeInfo::Invoke. --- dlls/oleaut32/typelib.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dlls/oleaut32/typelib.c b/dlls/oleaut32/typelib.c index 9902cf9..0eb48b4 100644 --- a/dlls/oleaut32/typelib.c +++ b/dlls/oleaut32/typelib.c @@ -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))
participants (1)
-
Alexandre Julliard