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

     1  package ole
     2  
     3  import "unsafe"
     4  
     5  type ITypeInfo struct {
     6  	IUnknown
     7  }
     8  
     9  type ITypeInfoVtbl struct {
    10  	IUnknownVtbl
    11  	GetTypeAttr          uintptr
    12  	GetTypeComp          uintptr
    13  	GetFuncDesc          uintptr
    14  	GetVarDesc           uintptr
    15  	GetNames             uintptr
    16  	GetRefTypeOfImplType uintptr
    17  	GetImplTypeFlags     uintptr
    18  	GetIDsOfNames        uintptr
    19  	Invoke               uintptr
    20  	GetDocumentation     uintptr
    21  	GetDllEntry          uintptr
    22  	GetRefTypeInfo       uintptr
    23  	AddressOfMember      uintptr
    24  	CreateInstance       uintptr
    25  	GetMops              uintptr
    26  	GetContainingTypeLib uintptr
    27  	ReleaseTypeAttr      uintptr
    28  	ReleaseFuncDesc      uintptr
    29  	ReleaseVarDesc       uintptr
    30  }
    31  
    32  func (v *ITypeInfo) VTable() *ITypeInfoVtbl {
    33  	return (*ITypeInfoVtbl)(unsafe.Pointer(v.RawVTable))
    34  }