VarAbs(3w)

NAME

VarAbs (OLEAUT32.168)

SYNOPSIS

HRESULT VarAbs
 (
  LPVARIANT pVarIn,
  LPVARIANT pVarOut
 )

DESCRIPTION

Convert a variant to its absolute value.

PARAMS

pVarIn [In] Source variant.

pVarOut [Out] Destination for converted value.

RETURNS

Success: S_OK. pVarOut contains the absolute value of pVarIn.

Failure: An HRESULT error code indicating the error.

NOTES

- 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

IMPLEMENTATION

Defined in "oleauto.h".

Implemented in "build/buildd-wine-unstable_1.1.32-1+b1-amd64-KnxYu0/wine-unstable-1.1.32/build32/dlls/oleaut32/variant.c".

Debug channel "variant".
Copyright © 2010-2025 Platon Technologies, s.r.o.           Home | Man pages | tLDP | Documents | Utilities | About
Design by styleshout