VarAdd (OLEAUT32.141)
HRESULT VarAdd ( LPVARIANT left, LPVARIANT right, LPVARIANT result )
Add two variants.
left | [In] | First variant. |
right | [In] | Second variant. |
result | [Out] | Result variant. |
Success: S_OK.
Failure: An HRESULT error code indicating the error.
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.
Overflow checking for R8 (double) overflow. Return DISP_E_OVERFLOW in that case.
Declared in "include/oleauto.h". gitlab.winehq.org/wine/wine/blob/master/include/oleauto.h
Implemented in "dlls/oleaut32/variant.c". gitlab.winehq.org/wine/wine/blob/master/dlls/oleaut32/variant.c
Debug channel "variant".
Copyright © 2024 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Nov 2024.