VarInt Function

Returns the integer portion of a variant.

HRESULT VarInt(  
  LPVARIANT  pvarIn,         
  LPVARIANT  pvarResult
);

pvarIn

[in] Points to the variant.

pvarResult

[out] Points to the result variant.

If variant is negative, then the first negative integer less than or equal to the variant is returned.

Show:
© 2014 Microsoft