Example #1
0
File: cgo.go Project: jmptrader/com
func AllocateArrayData(array *types.COMArray) error {
	return errors.MaybeError(C.SafeArrayAllocData(array))
}
Example #2
0
// AllocateArrayData allocates SafeArray.
//
// AKA: SafeArrayAllocData in Windows API.
func AllocateArrayData(safearray *COMArray) error {
	return com.MaybeError(C.SafeArrayAllocData(safearray))
}