func GetPointerOfIndex(array *types.COMArray, index int64) (ref uintptr, err error) { err = errors.MaybeError(C.SafeArrayPtrOfIndex(array, index, unsafe.Pointer(&ref))) return }
// GetPointerOfIndex gets a pointer to an array element. // // AKA: SafeArrayPtrOfIndex in Windows API. func GetPointerOfIndex(safearray *COMArray, index int64) (ref uintptr, err error) { err = com.MaybeError(C.SafeArrayPtrOfIndex(safearray, index, unsafe.Pointer(&ref))) return }