VarUtils
Contents |
Delphi Information
Class
| ESafeArrayBoundsError |
ESafeArrayBoundsError is the exception class for errors that occur because a variant array index is out of bounds. |
| ESafeArrayCreateError |
ESafeArrayCreateError is the exception class for failing to create a variant array. |
| ESafeArrayError |
ESafeArrayError is the exception class for errors involving variant arrays. |
| ESafeArrayLockedError |
ESafeArrayLockedError is the exception class for errors that occur because a variant array is locked or fixed. |
Const
| Constants |
Function
| SafeArrayAccessData |
Returns a pointer to the actual safe array data and locks the safe array. |
| SafeArrayAllocData |
Allocates the actual data of the given safe array. |
| SafeArrayAllocDescriptor |
Allocates a descriptor for the safe array. |
| SafeArrayCheck |
Checks whether the given parameter is a safe array operation error code. |
| SafeArrayCopy |
Copies a safe array to another. |
| SafeArrayCopyData |
Copies the data from a safe array to another. |
| SafeArrayCreate |
Creates a safe array. |
| SafeArrayDestroy |
Destroys a safe array. |
| SafeArrayDestroyData |
Destroys the actual data of the given safe array. |
| SafeArrayDestroyDescriptor |
Destroys the descriptor of the given safe array. |
| SafeArrayError |
Raises an event corresponding to the given safe array operation error code. |
| SafeArrayGetDim |
Returns the number of dimension of the given safe array. |
| SafeArrayGetElemSize |
Returns the size in bytes of an element in the given safe array. |
| SafeArrayGetElement |
Returns the element at the specified position in the given safe array. |
| SafeArrayGetLBound |
Returns the lower bound for the given dimension of a safe array. |
| SafeArrayGetUBound |
Returns the upper bound for the given dimension of a safe array. |
| SafeArrayLock |
Locks a safe array. |
| SafeArrayPtrOfIndex |
Returns a pointer to the element at the specified position in the given safe array. |
| SafeArrayPutElement |
Sets the element at the specified position in the given safe array. |
| SafeArrayRedim |
Changes the bound information for the last dimension of a safe array. |
| SafeArrayUnaccessData |
Unlocks a safe array previously locked using the SafeArrayAccessData routine. |
| SafeArrayUnlock |
Unlocks a safe array. |
| VarExceptionToResult | |
| VariantChangeType |
Converts a variant from one type to another. |
| VariantClear |
Clears a variant. |
| VariantCopy |
Clears the destination variant and makes a copy of the source variant. |
| VariantCopyInd |
Clears the destination variant and makes a copy of the source variant, including the case when the source is of varByRef type. |
| VariantInit |
Initializes a variant. |
Struct
| TVarTypeToElementInfo |
This is an internal record type used in declaring the CVarTypeToElementInfo constant array. |
Variable
| VarAdd |
VarAdd is a function type variable that specifies the function making the addition operation between two variants. |
| VarAnd |
VarAnd is a function type variable that specifies the function making the bitwise and operation between two variants. |
| VarBoolFromStr |
VarBoolFromStr is used to specify the function that makes the conversion from a WideString to a boolean value. |
| VarBstrFromBool |
VarBstrFromBool is used to specify the function that makes the conversion from a boolean value to a WideString. |
| VarBstrFromCy |
VarBstrFromCy is used to specify the function that makes the conversion from a currency value to a WideString. |
| VarBstrFromDate |
VarBstrFromDate is used to specify the function that makes the conversion from a date value to a WideString. |
| VarCmp |
VarCmp is a variable used to specify the function that compares two variants. |
| VarCyFromStr |
VarCyFromStr is used to specify the function that makes the conversion from a WideString to a currency value. |
| VarDateFromStr |
VarDateFromStr is used to specify the function that makes the conversion from a WideString to a date value. |
| VarDiv |
VarDiv is a function type variable that specifies the function making the division operation between two variants. |
| VarI4FromStr |
VarI4FromStr is used to specify the function that makes the conversion from a WideString to a four bytes integer value. |
| VarIDiv |
VarIDiv is a function type variable that specifies the function making the division operation between two variants, after converting the variants to integers. |
| VarMod |
VarMod is a function type variable that specifies the function that calculates the remainder on division of two variants. |
| VarMul |
VarMul is a function type variable that specifies the function making the multiplication operation between two variants. |
| VarNeg |
VarNeg is a function type variable that specifies the function that inverts the sign of a variant. |
| VarNot |
VarNot is a function type variable that specifies the function that performs a not operation on a variant. |
| VarOr |
VarOr is a function type variable that specifies the function doing the bitwise or operation between two variants. |
| VarR4FromStr |
VarR4FromStr is used to specify the function that does the conversion from a WideString to a four bytes floating-point value. |
| VarR8FromStr |
VarR8FromStr is used to specify the function that makes the conversion from a WideString to a eight bytes floating-point value. |
| VarSub |
VarSub is a function type variable that specifies the function making the subtraction operation between two variants. |
| VarXor |
VarXor is a function type variable that specifies the function making the bitwise xor (exclusive or) operation between two variants. |
| VariantChangeTypeEx |
VariantChangeTypeEx stores the function that converts a variant from one type to another, using locale-specific information. |
C++ Information
Class
| ESafeArrayBoundsError |
ESafeArrayBoundsError is the exception class for errors that occur because a variant array index is out of bounds. |
| ESafeArrayCreateError |
ESafeArrayCreateError is the exception class for failing to create a variant array. |
| ESafeArrayError |
ESafeArrayError is the exception class for errors involving variant arrays. |
| ESafeArrayLockedError |
ESafeArrayLockedError is the exception class for errors that occur because a variant array is locked or fixed. |
| TVarTypeToElementInfo |
This is an internal record type used in declaring the CVarTypeToElementInfo constant array. |
Function
| SafeArrayAccessData |
Returns a pointer to the actual safe array data and locks the safe array. |
| SafeArrayAllocData |
Allocates the actual data of the given safe array. |
| SafeArrayAllocDescriptor |
Allocates a descriptor for the safe array. |
| SafeArrayCheck |
Checks whether the given parameter is a safe array operation error code. |
| SafeArrayCopy |
Copies a safe array to another. |
| SafeArrayCopyData |
Copies the data from a safe array to another. |
| SafeArrayCreate |
Creates a safe array. |
| SafeArrayDestroy |
Destroys a safe array. |
| SafeArrayDestroyData |
Destroys the actual data of the given safe array. |
| SafeArrayDestroyDescriptor |
Destroys the descriptor of the given safe array. |
| SafeArrayError |
Raises an event corresponding to the given safe array operation error code. |
| SafeArrayGetDim |
Returns the number of dimension of the given safe array. |
| SafeArrayGetElemSize |
Returns the size in bytes of an element in the given safe array. |
| SafeArrayGetElement |
Returns the element at the specified position in the given safe array. |
| SafeArrayGetLBound |
Returns the lower bound for the given dimension of a safe array. |
| SafeArrayGetUBound |
Returns the upper bound for the given dimension of a safe array. |
| SafeArrayLock |
Locks a safe array. |
| SafeArrayPtrOfIndex |
Returns a pointer to the element at the specified position in the given safe array. |
| SafeArrayPutElement |
Sets the element at the specified position in the given safe array. |
| SafeArrayRedim |
Changes the bound information for the last dimension of a safe array. |
| SafeArrayUnaccessData |
Unlocks a safe array previously locked using the SafeArrayAccessData routine. |
| SafeArrayUnlock |
Unlocks a safe array. |
| VarExceptionToResult | |
| VariantChangeType |
Converts a variant from one type to another. |
| VariantClear |
Clears a variant. |
| VariantCopy |
Clears the destination variant and makes a copy of the source variant. |
| VariantCopyInd |
Clears the destination variant and makes a copy of the source variant, including the case when the source is of varByRef type. |
| VariantInit |
Initializes a variant. |
Variable
| CVarTypeToElementInfo |
This constant is internally used by the SafeArrayCreate function. |
| VarAdd |
VarAdd is a function type variable that specifies the function making the addition operation between two variants. |
| VarAnd |
VarAnd is a function type variable that specifies the function making the bitwise and operation between two variants. |
| VarBoolFromStr |
VarBoolFromStr is used to specify the function that makes the conversion from a WideString to a boolean value. |
| VarBstrFromBool |
VarBstrFromBool is used to specify the function that makes the conversion from a boolean value to a WideString. |
| VarBstrFromCy |
VarBstrFromCy is used to specify the function that makes the conversion from a currency value to a WideString. |
| VarBstrFromDate |
VarBstrFromDate is used to specify the function that makes the conversion from a date value to a WideString. |
| VarCmp |
VarCmp is a variable used to specify the function that compares two variants. |
| VarCyFromStr |
VarCyFromStr is used to specify the function that makes the conversion from a WideString to a currency value. |
| VarDateFromStr |
VarDateFromStr is used to specify the function that makes the conversion from a WideString to a date value. |
| VarDiv |
VarDiv is a function type variable that specifies the function making the division operation between two variants. |
| VarI4FromStr |
VarI4FromStr is used to specify the function that makes the conversion from a WideString to a four bytes integer value. |
| VarIDiv |
VarIDiv is a function type variable that specifies the function making the division operation between two variants, after converting the variants to integers. |
| VarMod |
VarMod is a function type variable that specifies the function that calculates the remainder on division of two variants. |
| VarMul |
VarMul is a function type variable that specifies the function making the multiplication operation between two variants. |
| VarNeg |
VarNeg is a function type variable that specifies the function that inverts the sign of a variant. |
| VarNot |
VarNot is a function type variable that specifies the function that performs a not operation on a variant. |
| VarOr |
VarOr is a function type variable that specifies the function doing the bitwise or operation between two variants. |
| VarR4FromStr |
VarR4FromStr is used to specify the function that does the conversion from a WideString to a four bytes floating-point value. |
| VarR8FromStr |
VarR8FromStr is used to specify the function that makes the conversion from a WideString to a eight bytes floating-point value. |
| VarSub |
VarSub is a function type variable that specifies the function making the subtraction operation between two variants. |
| VarXor |
VarXor is a function type variable that specifies the function making the bitwise xor (exclusive or) operation between two variants. |
| VariantChangeTypeEx |
VariantChangeTypeEx stores the function that converts a variant from one type to another, using locale-specific information. |