Returns a pointer to an array element.
void HUGEP **ppvData
Pointer to an array descriptor created by SafeArrayCreate.
An array of index values that identify an element of the array. All indexes for the element must be specified.
On return, pointer to the element identified by the values in rgIndices.
The return value obtained from the returned HRESULT is one of the following.
The argument psa was not a valid safe array descriptor.
The specified index was invalid.
The array should be locked before SafeArrayPtrOfIndex is called. Failing to lock the array can cause unpredictable results.