aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/github.com/go-ole/go-ole/itypeinfo.go
blob: dd3c5e21bbf31702b34e54ce5fd7e20ac7f65488 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
package ole

import "unsafe"

type ITypeInfo struct {
    IUnknown
}

type ITypeInfoVtbl struct {
    IUnknownVtbl
    GetTypeAttr          uintptr
    GetTypeComp          uintptr
    GetFuncDesc          uintptr
    GetVarDesc           uintptr
    GetNames             uintptr
    GetRefTypeOfImplType uintptr
    GetImplTypeFlags     uintptr
    GetIDsOfNames        uintptr
    Invoke               uintptr
    GetDocumentation     uintptr
    GetDllEntry          uintptr
    GetRefTypeInfo       uintptr
    AddressOfMember      uintptr
    CreateInstance       uintptr
    GetMops              uintptr
    GetContainingTypeLib uintptr
    ReleaseTypeAttr      uintptr
    ReleaseFuncDesc      uintptr
    ReleaseVarDesc       uintptr
}

func (v *ITypeInfo) VTable() *ITypeInfoVtbl {
    return (*ITypeInfoVtbl)(unsafe.Pointer(v.RawVTable))
}