func AllocateArrayDescriptor(dimensions uint32) (array *types.COMArray, err error) { err = errors.MaybeError(C.SafeArrayAllocDescriptor(dimensions, unsafe.Pointer(&array))) return }
// AllocateArrayDescriptor allocates SafeArray. // // AKA: SafeArrayAllocDescriptor in Windows API. func AllocateArrayDescriptor(dimensions uint32) (safearray *COMArray, err error) { err = com.MaybeError(C.SafeArrayAllocDescriptor(dimensions, unsafe.Pointer(&safearray))) return }