Reference

VarCyAbs(3w)

NAME

VarCyAbs (OLEAUT32.306)

SYNOPSIS

HRESULT VarCyAbs
(
const CY cyIn,
CY* pCyOut
)

DESCRIPTION

Convert a VT_CY into its absolute value.

PARAMS

cyIn [In] Source.

pCyOut [Out] Destination.

RETURNS

Success: S_OK. pCyOut contains the absolute value.

Failure: DISP_E_OVERFLOW, if the value will not fit in the destination

IMPLEMENTATION

Declared in "oleauto.h".

Implemented in "dlls/oleaut32/vartype.c".

Debug channel "variant".

History