VarAbs (OLEAUT32.168)
HRESULT VarAbs ( LPVARIANT pVarIn, LPVARIANT pVarOut )
Convert a variant to its absolute value.
pVarIn | [In] | Source variant. |
pVarOut | [Out] | Destination for converted value. |
Success: S_OK. pVarOut contains the absolute value of pVarIn.
Failure: An HRESULT error code indicating the error.
- This function does not process by-reference variants.
- The type of the value stored in pVarOut depends on the type of pVarIn, according to the following table:
Input Type Output Type ---------- ----------- VT_BOOL VT_I2 VT_BSTR VT_R8 (All others) Unchanged
Declared in "oleauto.h". https://source.winehq.org/source/include/oleauto.h
Implemented in "dlls/oleaut32/variant.c". https://source.winehq.org/source/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 Mar 2024.