mirror of https://github.com/status-im/consul.git
21 lines
434 B
Go
21 lines
434 B
Go
|
package ole
|
||
|
|
||
|
import "unsafe"
|
||
|
|
||
|
type IConnectionPoint struct {
|
||
|
IUnknown
|
||
|
}
|
||
|
|
||
|
type IConnectionPointVtbl struct {
|
||
|
IUnknownVtbl
|
||
|
GetConnectionInterface uintptr
|
||
|
GetConnectionPointContainer uintptr
|
||
|
Advise uintptr
|
||
|
Unadvise uintptr
|
||
|
EnumConnections uintptr
|
||
|
}
|
||
|
|
||
|
func (v *IConnectionPoint) VTable() *IConnectionPointVtbl {
|
||
|
return (*IConnectionPointVtbl)(unsafe.Pointer(v.RawVTable))
|
||
|
}
|