VarCyCmp function (oleauto.h)
Compares two variants of type currency.
Syntax
HRESULT VarCyCmp(
[in] CY cyLeft,
[in] CY cyRight
);
Parameters
[in] cyLeft
The first variant.
[in] cyRight
The second variant.
Return value
This function can return one of these values.
| Return code/value | Description |
|---|---|
|
cyLeft is less than cyRight. |
|
The two parameters are equal. |
|
cyLeft is greater than cyRight. |
|
Either expression is null. |
Requirements
| Target Platform | Windows |
| Header | oleauto.h |
| Library | OleAut32.lib |
| DLL | OleAut32.dll |