VarArrayLock
Locks a Variant array and returns a pointer to the data