Reference

VarCySub(3w)

NAME

VarCySub (OLEAUT32.305)

SYNOPSIS

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

DESCRIPTION

Subtract one CY from another.

PARAMS

cyLeft [In] Source.

cyRight [In] Value to subtract.

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