VarMul (OLEAUT32.156)
HRESULT VarMul ( LPVARIANT left, LPVARIANT right, LPVARIANT result )
Multiply 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 VarMul up to and including WinXP dosn't like as input variants I1, UI2, UI4, UI8, INT and UINT. But it can multiply apples with oranges.
Native VarMul dosn'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.
Defined in "oleauto.h".
Implemented in "dlls/oleaut32/variant.c". source.winehq.org/source/dlls/oleaut32/variant.c
Debug channel "variant".
Copyright © 2007 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Mar 2007.