Platform SDK: Automation

VarR4CmpR8

Compares two variants of types float and double.

HRESULT VarR4CmpR8( 
  float     fltLeft,         
  double    dblRight  
);
 

Parameters

fltLeft
[in] The first variant of type float.
dblRight
[in] The second variant of type double.

Return Value

The function returns the following as a SUCCESS HRESULT:

Options Value Meaning
VARCMP_LT 0 The fltLeft is less than dblRight.
VARCMP_EQ 1 The two parameters are equal.
VARCMP_GT 2 The fltLeft is greater than dblRight.
VARCMP_NULL 3 Either expression is NULL.

Requirements

  Windows NT/2000: Requires Windows NT 4.0 SP4 or later.
  Windows 95/98: Requires Windows 98 (or Windows 95 with DCOM 1.2).
  Header: Declared in Oleauto.h.
  Library: Use Oleaut32.lib.