github.com/hspan/go-ole@v0.0.0/iconnectionpoint.go (about)

     1  package ole
     2  
     3  import "unsafe"
     4  
     5  type IConnectionPoint struct {
     6  	IUnknown
     7  }
     8  
     9  type IConnectionPointVtbl struct {
    10  	IUnknownVtbl
    11  	GetConnectionInterface      uintptr
    12  	GetConnectionPointContainer uintptr
    13  	Advise                      uintptr
    14  	Unadvise                    uintptr
    15  	EnumConnections             uintptr
    16  }
    17  
    18  func (v *IConnectionPoint) VTable() *IConnectionPointVtbl {
    19  	return (*IConnectionPointVtbl)(unsafe.Pointer(v.RawVTable))
    20  }