-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathactivaut.inc
163 lines (130 loc) · 4.68 KB
/
activaut.inc
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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
.pragma list(push, 0)
ifndef __REQUIRED_RPCNDR_H_VERSION__
define __REQUIRED_RPCNDR_H_VERSION__ 475
endif
ifndef __REQUIRED_RPCSAL_H_VERSION__
define __REQUIRED_RPCSAL_H_VERSION__ 100
endif
include rpc.inc
include rpcndr.inc
ifndef __RPCNDR_H_VERSION__
.err <this stub requires an updated version of rpcndr.h>
endif
ifndef COM_NO_WINDOWS_H
include windows.inc
include ole2.inc
endif
ifndef __activaut_h__
define __activaut_h__
include ocidl.inc
ifndef __ActivAut_h
define __ActivAut_h
ifndef _NO_AUTHOR_GUIDS
DEFINE_GUID(CATID_ActiveScriptAuthor, 0xaee2a92, 0xbcbb, 0x11d0, 0x8c, 0x72, 0x0, 0xc0, 0x4f, 0xc2, 0xb0, 0x85)
DEFINE_GUID(IID_IActiveScriptAuthor, 0x9c109da0, 0x7006, 0x11d1, 0xb3, 0x6c, 0x00, 0xa0, 0xc9, 0x11, 0xe8, 0xb2)
DEFINE_GUID(IID_IScriptNode, 0xaee2a94, 0xbcbb, 0x11d0, 0x8c, 0x72, 0x0, 0xc0, 0x4f, 0xc2, 0xb0, 0x85)
DEFINE_GUID(IID_IScriptEntry, 0xaee2a95, 0xbcbb, 0x11d0, 0x8c, 0x72, 0x0, 0xc0, 0x4f, 0xc2, 0xb0, 0x85)
DEFINE_GUID(IID_IScriptScriptlet, 0xaee2a96, 0xbcbb, 0x11d0, 0x8c, 0x72, 0x0, 0xc0, 0x4f, 0xc2, 0xb0, 0x85)
DEFINE_GUID(IID_IActiveScriptAuthorProcedure, 0x7e2d4b70, 0xbd9a, 0x11d0, 0x93, 0x36, 0x0, 0xa0, 0xc9, 0xd, 0xca, 0xa9)
endif
fasaPreferInternalHandler equ 0x0001
fasaSupportInternalHandler equ 0x0002
fasaCaseSensitive equ 0x0004
SCRIPT_CMPL_NOLIST equ 0x0000
SCRIPT_CMPL_MEMBERLIST equ 0x0001
SCRIPT_CMPL_ENUMLIST equ 0x0002
SCRIPT_CMPL_PARAMTIP equ 0x0004
SCRIPT_CMPL_GLOBALLIST equ 0x0008
SCRIPT_CMPL_ENUM_TRIGGER equ 0x0001
SCRIPT_CMPL_MEMBER_TRIGGER equ 0x0002
SCRIPT_CMPL_PARAM_TRIGGER equ 0x0003
SCRIPT_CMPL_COMMIT equ 0x0004
GETATTRTYPE_NORMAL equ 0x0000
GETATTRTYPE_DEPSCAN equ 0x0001
GETATTRFLAG_THIS equ 0x0100
GETATTRFLAG_HUMANTEXT equ 0x8000
SOURCETEXT_ATTR_HUMANTEXT equ 0x8000
SOURCETEXT_ATTR_IDENTIFIER equ 0x0100
SOURCETEXT_ATTR_MEMBERLOOKUP equ 0x0200
SOURCETEXT_ATTR_THIS equ 0x0400
SOURCE_TEXT_ATTR typedef WORD
ifndef __IScriptNode_INTERFACE_DEFINED__
define __IScriptNode_INTERFACE_DEFINED__
.comdef IScriptNode : public IUnknown
Alive proc
Delete proc
GetParent proc :ptr
GetIndexInParent proc :ptr
GetCookie proc :ptr
GetNumberOfChildren proc :ptr
GetChild proc :ULONG, :ptr
GetLanguage proc :ptr
CreateChildEntry proc :ULONG, :DWORD, :LPCOLESTR, :ptr
CreateChildHandler proc :LPCOLESTR
.ends
endif
ifndef __IScriptEntry_INTERFACE_DEFINED__
define __IScriptEntry_INTERFACE_DEFINED__
.comdef IScriptEntry : public IScriptNode
GetText proc :ptr
SetText proc :LPCOLESTR
GetBody proc :ptr
SetBody proc :LPCOLESTR
GetName proc :ptr
SetName proc :LPCOLESTR
GetItemName proc :ptr
SetItemName proc :LPCOLESTR
GetSignature proc :ptr, :ptr
SetSignature proc :ptr, :ULONG
GetRange proc :ptr, :ptr
.ends
endif
ifndef __IScriptScriptlet_INTERFACE_DEFINED__
define __IScriptScriptlet_INTERFACE_DEFINED__
.comdef IScriptScriptlet : public IScriptEntry
GetSubItemName proc :ptr
SetSubItemName proc :LPCOLESTR
GetEventName proc :ptr
SetEventName proc :LPCOLESTR
GetSimpleEventName proc :ptr
SetSimpleEventName proc :LPCOLESTR
.ends
endif
ifndef __IActiveScriptAuthor_INTERFACE_DEFINED__
define __IActiveScriptAuthor_INTERFACE_DEFINED__
.comdef IActiveScriptAuthor : public IUnknown
AddNamedItem proc :LPCOLESTR, :DWORD, :ptr
AddScriptlet proc :LPCOLESTR, :LPCOLESTR, :LPCOLESTR, :LPCOLESTR,
:LPCOLESTR, :LPCOLESTR, :DWORD, :DWORD
ParseScriptText proc :LPCOLESTR, :LPCOLESTR, :LPCOLESTR, :DWORD, :DWORD
GetScriptTextAttributes proc :ptr
GetScriptletTextAttributes proc :ptr
GetRoot proc :ptr
GetLanguageFlags proc :ptr
GetEventHandler proc :ptr, :LPCOLESTR, :LPCOLESTR, :LPCOLESTR, :ptr
RemoveNamedItem proc :LPCOLESTR
AddTypeLib proc :REFGUID, :DWORD, :DWORD, :DWORD
RemoveTypeLib proc :REFGUID, :DWORD, :DWORD
GetChars proc :DWORD, :ptr
GetInfoFromContext proc :LPCOLESTR, :ULONG, :ULONG, :DWORD, :ptr, :ptr, :ptr, :ptr, :ptr, :ptr
IsCommitChar proc :OLECHAR, :ptr
.ends
endif
ifndef __IActiveScriptAuthorProcedure_INTERFACE_DEFINED__
define __IActiveScriptAuthorProcedure_INTERFACE_DEFINED__
.comdef IActiveScriptAuthorProcedure : public IUnknown
ParseProcedureText proc :LPCOLESTR, :LPCOLESTR, :LPCOLESTR, :LPCOLESTR,
:LPCOLESTR, :DWORD, :DWORD, :ptr
.ends
endif
endif ;; __ActivAut_h
BSTR_UserSize proto WINAPI :ptr, :dword, :ptr
BSTR_UserMarshal proto WINAPI :ptr, :ptr, :ptr
BSTR_UserUnmarshal proto WINAPI :ptr, :ptr, :ptr
BSTR_UserFree proto WINAPI :ptr, :ptr
BSTR_UserSize64 proto WINAPI :ptr, :dword, :ptr
BSTR_UserMarshal64 proto WINAPI :ptr, :ptr, :ptr
BSTR_UserUnmarshal64 proto WINAPI :ptr, :ptr, :ptr
BSTR_UserFree64 proto WINAPI :ptr, :ptr
endif
.pragma list(pop)