Rechercher une page de manuel
VarAdd.3w
Langue: en
Version: Jun 2009 (debian - 07/07/09)
Section: 3 (Bibliothèques de fonctions)
NAME
VarAdd (OLEAUT32.141)SYNOPSIS
HRESULT VarAdd(
LPVARIANT left,
LPVARIANT right,
LPVARIANT result
)
DESCRIPTION
Add two variants.
PARAMS
left [In] First variant.right [In] Second variant.
result [Out] Result variant.
RETURNS
Success: S_OK.
Failure: An HRESULT error code indicating the error.
NOTES
Native VarAdd up to and including WinXP doesn't like I1, UI2, UI4, UI8, INT and UINT as input variants.
Native VarAdd doesn't check for NULL in/out pointers and crashes. We do the same here.
FIXME
Overflow checking for R8 (double) overflow. Return DISP_E_OVERFLOW in that case.
IMPLEMENTATION
Defined in "oleauto.h".
Implemented in "dlls/oleaut32/variant.c".
Debug channel "variant".
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre