Reference

VarCyAdd(3w)

NAME

VarCyAdd (OLEAUT32.299)

SYNOPSIS

HRESULT VarCyAdd
(
const CY cyLeft,
const CY cyRight,
CY* pCyOut
)

DESCRIPTION

Add one CY to another.

PARAMS

cyLeft [In] Source.

cyRight [In] Value to add.

pCyOut [Out] Destination.

RETURNS

Success: S_OK.

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