func Duplicate(original *types.COMArray) (array *types.COMArray, err error) { err = errors.MaybeError(C.SafeArrayCopy(original, unsafe.Pointer(&array))) return }
// Duplicate returns copy of SafeArray. // // AKA: SafeArrayCopy in Windows API. func Duplicate(original *COMArray) (safearray *COMArray, err error) { err = com.MaybeError(C.SafeArrayCopy(original, unsafe.Pointer(&safearray))) return }