System.VarUtils.SafeArrayPtrOfIndex
Delphi
function SafeArrayPtrOfIndex; external oleaut name 'SafeArrayPtrOfIndex';
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | external public | System.VarUtils.pas | System.VarUtils | System.VarUtils |
Description
Returns a pointer to the element at the specified position in the given safe array.
Use SafeArrayPtrOfIndex to obtain a pointer to the element found at the position specified through the Indices parameter, in the safe array given through VarArray.
If retrieving the pointer to the element is successful, SafeArrayPtrOfIndex stores the element in the Address parameter.