System.VarUtils.VarNeg

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

VarNeg: function(const Source: TVarData; var Dest: TVarData): HRESULT; stdcall;

C++

extern DELPHI_PACKAGE HRESULT __stdcall (*VarNeg)(const TVarData &Source, TVarData &Dest);

Properties

Type Visibility Source Unit Parent
variable public
System.VarUtils.pas
System.VarUtils.hpp
System.VarUtils System.VarUtils

Description

VarNeg is a function type variable that specifies the function that inverts the sign of a variant.

Use VarNeg to specify the function that inverts the sign of the variant given through the Source parameter. The result is stored in the Dest parameter.

The function specified through VarNot returns a value of type HResult. For a list of possible return values, see the VAR_ constants in the VarUtils unit.

See Also