get a pointer to data of a variant array.
Source position: variants.pp line 140
function VarArrayLock( |
const A: Variant |
):Pointer; |
A |
|
Variant array to get data from. |
A pointer to the data of the variant.
VarArrayLock returns a pointer to the data of an array-typed variant A and locks the variant. The pointer can then be used to manipulate the data of the array and be sure that the data is not modified by another process or thread. While the data is not released using VarArrayUnlock the variant cannot be changed or released, it is therefor impperative that the variant is again released. Memory leaks will be the result if this is not done.
|
Release data captured by VarArrayLock. |