typedef struct tagSAFEARRAY SAFEARRAY;
Multidimensional array for COM technology.
SAFEARRAY is a structure with information about an array: number of dimensions, size of an element, number of locks, and so on.
The members of SAFEARRAY are:
|cDims||Number of dimensions.|
|cbElements||Size of an element.|
|cLocks||Number of locks.|
|pvData||Pointer to data.|
|rgsabound||Bound information for each dimension. See TVarArrayBoundArray. You can also use |
To refer a SAFEARRAY element, you have to compute its address. You can do this with the pvData and rgsabound members of the SAFEARRAY. You cannot use the subscript operator.