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