VarCyCmp Function

Compares two variants of type currency.

HRESULT VarCyCmp(
    [in]  CY    cyLeft,
    [in]  CY    cyRight
);

Term

Definition

cyLeft

[in] The first variant of type currency.

cyRight

[in] The second variant of type currency.

The function returns the following as a SUCCESS HRESULT:

Options

Value

Meaning

VARCMP_LT

0

The cyLeft is less than cyRight.

VARCMP_EQ

1

The two parameters are equal.

VARCMP_GT

2

The cyLeft is greater than cyRight.

VARCMP_NULL

3

Either expression is NULL.

Show:
© 2014 Microsoft