Expand Minimize

VarCyCmp function

Compares two variants of type currency.

Syntax


HRESULT VarCyCmp(
  _In_  CY cyLeft,
  _In_  CY cyRight
);

Parameters

cyLeft [in]

The first variant.

cyRight [in]

The second variant.

Return value

This function can return one of these values.

Return code/valueDescription
VARCMP_LT
0

cyLeft is less than cyRight.

VARCMP_EQ
1

The two parameters are equal.

VARCMP_GT
2

cyLeft is greater than cyRight.

VARCMP_NULL
3

Either expression is null.

 

Requirements

Header

OleAuto.h

Library

OleAut32.lib

DLL

OleAut32.dll

 

 

Community Additions

ADD
Show:
© 2014 Microsoft