-
Notifications
You must be signed in to change notification settings - Fork 0
/
oleaut32_64.go
75 lines (63 loc) · 1.2 KB
/
oleaut32_64.go
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
// Copyright 2012 The win Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// +build windows,amd64 windows,arm64
package win
type VARIANT struct {
Vt VARTYPE
reserved [22]byte
}
type VAR_I4 struct {
vt VARTYPE
reserved1 [6]byte
lVal int32
reserved2 [12]byte
}
type VAR_UI4 struct {
vt VARTYPE
reserved1 [6]byte
ulVal uint32
reserved2 [12]byte
}
type VAR_BOOL struct {
vt VARTYPE
reserved1 [6]byte
boolVal VARIANT_BOOL
reserved2 [14]byte
}
type VAR_BSTR struct {
vt VARTYPE
reserved1 [6]byte
bstrVal *uint16 /*BSTR*/
reserved2 [8]byte
}
type VAR_PDISP struct {
vt VARTYPE
reserved1 [6]byte
pdispVal *IDispatch
reserved2 [8]byte
}
type VAR_PSAFEARRAY struct {
vt VARTYPE
reserved1 [6]byte
parray *SAFEARRAY
reserved2 [8]byte
}
type VAR_PVAR struct {
vt VARTYPE
reserved1 [6]byte
pvarVal *VARIANT
reserved2 [8]byte
}
type VAR_PBOOL struct {
vt VARTYPE
reserved1 [6]byte
pboolVal *VARIANT_BOOL
reserved2 [8]byte
}
type VAR_PPDISP struct {
vt VARTYPE
reserved1 [6]byte
ppdispVal **IDispatch
reserved2 [8]byte
}