1package ole
2
3import "unsafe"
4
5type ITypeInfo struct {
6	IUnknown
7}
8
9type 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
32func (v *ITypeInfo) VTable() *ITypeInfoVtbl {
33	return (*ITypeInfoVtbl)(unsafe.Pointer(v.RawVTable))
34}
35