Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

VarDecCmp function

Compares two variants of type decimal.

Syntax


HRESULT VarDecCmp(
  _In_ LPDECIMAL pdecLeft,
  _In_ LPDECIMAL pdecRight
);

Parameters

pdecLeft [in]

The first variant.

pdecRight [in]

The second variant.

Return value

This function can return one of these values.

Return code/valueDescription
VARCMP_LT
0

pdecLeft is less than dblRight.

VARCMP_EQ
1

The two parameters are equal.

VARCMP_GT
2

pdecLeft is greater than dblRight.

VARCMP_NULL
3

Either expression is null.

 

Requirements

Header

OleAuto.h

Library

OleAut32.lib

DLL

OleAut32.dll

 

 

Show:
© 2017 Microsoft