iconnectionpoint.go 434 B

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