func AccessData(array *types.COMArray) (element uintptr, err error) { err = errors.MaybeError(C.SafeArrayAccessData(array, unsafe.Pointer(&element))) return }
// AccessData returns raw array. // // AKA: SafeArrayAccessData in Windows API. func AccessData(safearray *COMArray) (element uintptr, err error) { err = com.MaybeError(C.SafeArrayAccessData(safearray, unsafe.Pointer(&element))) return }