示例#1
0
文件: cgo.go 项目: jmptrader/com
func GetInterfaceID(array *types.COMArray) (guid *types.GUID, err error) {
	err = errors.MaybeError(C.SafeArrayGetIID(array, unsafe.Pointer(&guid)))
	return
}
示例#2
0
// GetInterfaceID is the InterfaceID of the elements in the SafeArray.
//
// AKA: SafeArrayGetIID in Windows API.
func GetInterfaceID(safearray *COMArray) (guid *com.GUID, err error) {
	err = com.MaybeError(C.SafeArrayGetIID(safearray, unsafe.Pointer(&guid)))
	return
}