Reference

VarCyCmp(3w)

NAME

VarCyCmp (OLEAUT32.311)

SYNOPSIS

HRESULT VarCyCmp
(
const CY cyLeft,
const CY cyRight
)

DESCRIPTION

Compare two VT_CY values.

PARAMS

cyLeft [In] Source.

cyRight [In] Value to compare.

RETURNS

Success: VARCMP_LT, VARCMP_EQ or VARCMP_GT indicating that the value to compare is less, equal or greater than source respectively.

Failure: DISP_E_OVERFLOW, if overflow occurs during the comparison

IMPLEMENTATION

Declared in "oleauto.h".

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

Debug channel "variant".

History