source: Daodan/MSYS2/mingw32/i686-w64-mingw32/include/activscp.idl@ 1180

Last change on this file since 1180 was 1166, checked in by rossy, 3 years ago

Daodan: Replace MinGW build env with an up-to-date MSYS2 env

File size: 19.3 KB
RevLine 
[1166]1cpp_quote("/**")
2cpp_quote(" * This file is part of the mingw-w64 runtime package.")
3cpp_quote(" * No warranty is given; refer to the file DISCLAIMER within this package.")
4cpp_quote(" */")
5cpp_quote("")
6cpp_quote("#ifndef __ActivScp_h")
7cpp_quote("#define __ActivScp_h")
8cpp_quote("")
9cpp_quote("#include <winapifamily.h>")
10cpp_quote("")
11cpp_quote("#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)")
12cpp_quote("")
13
14#ifndef DO_NO_IMPORTS
15import "ocidl.idl";
16import "oleidl.idl";
17import "oaidl.idl";
18#endif
19
20cpp_quote("")
21cpp_quote("#ifndef _NO_SCRIPT_GUIDS")
22cpp_quote("")
23cpp_quote("DEFINE_GUID(CATID_ActiveScript, 0xf0b7a1a1, 0x9847, 0x11cf, 0x8f, 0x20, 0x00, 0x80, 0x5f, 0x2c, 0xd0, 0x64);")
24cpp_quote("DEFINE_GUID(CATID_ActiveScriptParse, 0xf0b7a1a2, 0x9847, 0x11cf, 0x8f, 0x20, 0x00, 0x80, 0x5f, 0x2c, 0xd0, 0x64);")
25cpp_quote("DEFINE_GUID(CATID_ActiveScriptEncode, 0xf0b7a1a3, 0x9847, 0x11cf, 0x8f, 0x20, 0x00, 0x80, 0x5f, 0x2c, 0xd0, 0x64);")
26cpp_quote("DEFINE_GUID(OID_VBSSIP, 0x1629f04e, 0x2799, 0x4db5, 0x8f, 0xe5, 0xac, 0xe1, 0x0f, 0x17, 0xeb, 0xab);")
27cpp_quote("DEFINE_GUID(OID_JSSIP, 0x6c9e010, 0x38ce, 0x11d4, 0xa2, 0xa3, 0x00, 0x10, 0x4b, 0xd3, 0x50, 0x90);")
28cpp_quote("DEFINE_GUID(OID_WSFSIP, 0x1a610570, 0x38ce, 0x11d4, 0xa2, 0xa3, 0x00, 0x10, 0x4b, 0xd3, 0x50, 0x90);")
29cpp_quote("#endif")
30cpp_quote("")
31cpp_quote("#define SCRIPTITEM_ISVISIBLE 0x00000002")
32cpp_quote("#define SCRIPTITEM_ISSOURCE 0x00000004")
33cpp_quote("#define SCRIPTITEM_GLOBALMEMBERS 0x00000008")
34cpp_quote("#define SCRIPTITEM_ISPERSISTENT 0x00000040")
35cpp_quote("#define SCRIPTITEM_CODEONLY 0x00000200")
36cpp_quote("#define SCRIPTITEM_NOCODE 0x00000400")
37cpp_quote("")
38cpp_quote("#define SCRIPTITEM_ALL_FLAGS (SCRIPTITEM_ISSOURCE | SCRIPTITEM_ISVISIBLE | SCRIPTITEM_ISPERSISTENT | SCRIPTITEM_GLOBALMEMBERS | SCRIPTITEM_NOCODE | SCRIPTITEM_CODEONLY)")
39cpp_quote("")
40cpp_quote("#define SCRIPTTYPELIB_ISCONTROL 0x00000010")
41cpp_quote("#define SCRIPTTYPELIB_ISPERSISTENT 0x00000040")
42cpp_quote("")
43cpp_quote("#define SCRIPTTYPELIB_ALL_FLAGS (SCRIPTTYPELIB_ISCONTROL | SCRIPTTYPELIB_ISPERSISTENT)")
44cpp_quote("")
45cpp_quote("#define SCRIPTTEXT_DELAYEXECUTION 0x00000001")
46cpp_quote("#define SCRIPTTEXT_ISVISIBLE 0x00000002")
47cpp_quote("#define SCRIPTTEXT_ISEXPRESSION 0x00000020")
48cpp_quote("#define SCRIPTTEXT_ISPERSISTENT 0x00000040")
49cpp_quote("#define SCRIPTTEXT_HOSTMANAGESSOURCE 0x00000080")
50cpp_quote("#define SCRIPTTEXT_ISXDOMAIN 0x00000100")
51cpp_quote("")
52cpp_quote("#define SCRIPTTEXT_ALL_FLAGS (SCRIPTTEXT_DELAYEXECUTION | SCRIPTTEXT_ISVISIBLE | SCRIPTTEXT_ISEXPRESSION | SCRIPTTEXT_ISPERSISTENT | SCRIPTTEXT_HOSTMANAGESSOURCE | SCRIPTTEXT_ISXDOMAIN)")
53cpp_quote("")
54cpp_quote("#define SCRIPTPROC_ISEXPRESSION 0x00000020")
55cpp_quote("#define SCRIPTPROC_HOSTMANAGESSOURCE 0x00000080")
56cpp_quote("#define SCRIPTPROC_IMPLICIT_THIS 0x00000100")
57cpp_quote("#define SCRIPTPROC_IMPLICIT_PARENTS 0x00000200")
58cpp_quote("#define SCRIPTPROC_ISXDOMAIN 0x00000400")
59cpp_quote("")
60cpp_quote("#define SCRIPTPROC_ALL_FLAGS (SCRIPTPROC_HOSTMANAGESSOURCE | SCRIPTPROC_ISEXPRESSION | SCRIPTPROC_IMPLICIT_THIS | SCRIPTPROC_IMPLICIT_PARENTS | SCRIPTPROC_ISXDOMAIN)")
61cpp_quote("")
62cpp_quote("#define SCRIPTINFO_IUNKNOWN 0x00000001")
63cpp_quote("#define SCRIPTINFO_ITYPEINFO 0x00000002")
64cpp_quote("")
65cpp_quote("#define SCRIPTINFO_ALL_FLAGS (SCRIPTINFO_IUNKNOWN | SCRIPTINFO_ITYPEINFO)")
66cpp_quote("")
67cpp_quote("#define SCRIPTINTERRUPT_DEBUG 0x00000001")
68cpp_quote("#define SCRIPTINTERRUPT_RAISEEXCEPTION 0x00000002")
69cpp_quote("")
70cpp_quote("#define SCRIPTINTERRUPT_ALL_FLAGS (SCRIPTINTERRUPT_DEBUG | SCRIPTINTERRUPT_RAISEEXCEPTION)")
71cpp_quote("")
72cpp_quote("#define SCRIPTSTAT_STATEMENT_COUNT 0x1")
73cpp_quote("#define SCRIPTSTAT_INSTRUCTION_COUNT 0x2")
74cpp_quote("#define SCRIPTSTAT_INTSTRUCTION_TIME 0x3")
75cpp_quote("#define SCRIPTSTAT_TOTAL_TIME 0x4")
76cpp_quote("")
77cpp_quote("#define SCRIPT_ENCODE_SECTION 0x1")
78cpp_quote("")
79cpp_quote("#define SCRIPT_ENCODE_DEFAULT_LANGUAGE 0x1")
80cpp_quote("#define SCRIPT_ENCODE_NO_ASP_LANGUAGE 0x2")
81cpp_quote("")
82cpp_quote("#define SCRIPTPROP_NAME 0x0")
83cpp_quote("#define SCRIPTPROP_MAJORVERSION 0x1")
84cpp_quote("#define SCRIPTPROP_MINORVERSION 0x2")
85cpp_quote("#define SCRIPTPROP_BUILDNUMBER 0x3")
86cpp_quote("")
87cpp_quote("#define SCRIPTPROP_DELAYEDEVENTSINKING 0x1000")
88cpp_quote("#define SCRIPTPROP_CATCHEXCEPTION 0x1001")
89cpp_quote("#define SCRIPTPROP_CONVERSIONLCID 0x1002")
90cpp_quote("#define SCRIPTPROP_HOSTSTACKREQUIRED 0x1003")
91cpp_quote("")
92cpp_quote("#define SCRIPTPROP_DEBUGGER 0x1100")
93cpp_quote("#define SCRIPTPROP_JITDEBUG 0x1101")
94cpp_quote("")
95cpp_quote("#define SCRIPTPROP_GCCONTROLSOFTCLOSE 0x2000")
96cpp_quote("")
97cpp_quote("#define SCRIPTPROP_INTEGERMODE 0x3000")
98cpp_quote("#define SCRIPTPROP_STRINGCOMPAREINSTANCE 0x3001")
99cpp_quote("")
100cpp_quote("#define SCRIPTPROP_INVOKEVERSIONING 0x4000")
101cpp_quote("")
102cpp_quote("#define SCRIPTPROP_HACK_FIBERSUPPORT 0x70000000")
103cpp_quote("#define SCRIPTPROP_HACK_TRIDENTEVENTSINK 0x70000001")
104cpp_quote("#define SCRIPTPROP_ABBREVIATE_GLOBALNAME_RESOLUTION 0x70000002")
105cpp_quote("#define SCRIPTPROP_HOSTKEEPALIVE 0x70000004")
106cpp_quote("")
107cpp_quote("#define SCRIPT_E_RECORDED __MSABI_LONG(0x86664004)")
108cpp_quote("#define SCRIPT_E_REPORTED __MSABI_LONG(0x80020101)")
109cpp_quote("#define SCRIPT_E_PROPAGATE __MSABI_LONG(0x80020102)")
110cpp_quote("")
111typedef enum tagSCRIPTLANGUAGEVERSION {
112 SCRIPTLANGUAGEVERSION_DEFAULT = 0,
113 SCRIPTLANGUAGEVERSION_5_7 = 1,
114 SCRIPTLANGUAGEVERSION_5_8 = 2,
115 SCRIPTLANGUAGEVERSION_MAX = 255
116} SCRIPTLANGUAGEVERSION;
117
118cpp_quote("")
119typedef enum tagSCRIPTSTATE {
120 SCRIPTSTATE_UNINITIALIZED = 0,
121 SCRIPTSTATE_INITIALIZED = 5,
122 SCRIPTSTATE_STARTED = 1,
123 SCRIPTSTATE_CONNECTED = 2,
124 SCRIPTSTATE_DISCONNECTED = 3,
125 SCRIPTSTATE_CLOSED = 4,
126} SCRIPTSTATE;
127
128cpp_quote("")
129typedef enum tagSCRIPTTRACEINFO {
130 SCRIPTTRACEINFO_SCRIPTSTART = 0,
131 SCRIPTTRACEINFO_SCRIPTEND = 1,
132 SCRIPTTRACEINFO_COMCALLSTART = 2,
133 SCRIPTTRACEINFO_COMCALLEND = 3,
134 SCRIPTTRACEINFO_CREATEOBJSTART = 4,
135 SCRIPTTRACEINFO_CREATEOBJEND = 5,
136 SCRIPTTRACEINFO_GETOBJSTART = 6,
137 SCRIPTTRACEINFO_GETOBJEND = 7,
138} SCRIPTTRACEINFO;
139
140cpp_quote("")
141typedef enum tagSCRIPTTHREADSTATE {
142 SCRIPTTHREADSTATE_NOTINSCRIPT = 0,
143 SCRIPTTHREADSTATE_RUNNING = 1,
144} SCRIPTTHREADSTATE;
145
146cpp_quote("")
147typedef enum tagSCRIPTGCTYPE {
148 SCRIPTGCTYPE_NORMAL = 0,
149 SCRIPTGCTYPE_EXHAUSTIVE = 1,
150} SCRIPTGCTYPE;
151
152cpp_quote("")
153typedef enum tagSCRIPTUICITEM {
154 SCRIPTUICITEM_INPUTBOX = 1,
155 SCRIPTUICITEM_MSGBOX = 2,
156} SCRIPTUICITEM;
157
158cpp_quote("")
159typedef enum tagSCRIPTUICHANDLING {
160 SCRIPTUICHANDLING_ALLOW = 0,
161 SCRIPTUICHANDLING_NOUIERROR = 1,
162 SCRIPTUICHANDLING_NOUIDEFAULT = 2,
163} SCRIPTUICHANDLING;
164
165cpp_quote("")
166typedef DWORD SCRIPTTHREADID;
167cpp_quote("")
168cpp_quote("#define SCRIPTTHREADID_CURRENT ((SCRIPTTHREADID)-1)")
169cpp_quote("#define SCRIPTTHREADID_BASE ((SCRIPTTHREADID)-2)")
170cpp_quote("#define SCRIPTTHREADID_ALL ((SCRIPTTHREADID)-3)")
171cpp_quote("")
172
173interface IActiveScriptSite;
174interface IActiveScriptError;
175interface IActiveScriptError64;
176interface IActiveScriptSiteWindow;
177interface IActiveScriptSiteUIControl;
178interface IActiveScriptSiteInterruptPoll;
179interface IActiveScript;
180interface IActiveScriptParse32;
181interface IActiveScriptParse64;
182interface IActiveScriptParseProcedureOld32;
183interface IActiveScriptParseProcedureOld64;
184interface IActiveScriptParseProcedure32;
185interface IActiveScriptParseProcedure64;
186interface IActiveScriptParseProcedure2_32;
187interface IActiveScriptParseProcedure2_64;
188interface IActiveScriptEncode;
189interface IActiveScriptHostEncode;
190interface IBindEventHandler;
191interface IActiveScriptStats;
192interface IActiveScriptProperty;
193interface ITridentEventSink;
194interface IActiveScriptGarbageCollector;
195interface IActiveScriptSIPInfo;
196interface IActiveScriptStringCompare;
197
198cpp_quote("")
199[object, uuid (DB01A1E3-A42B-11cf-8f20-00805f2cd064), pointer_default (unique)]
200interface IActiveScriptSite : IUnknown {
201 HRESULT GetLCID ([out] LCID *plcid);
202 HRESULT GetItemInfo ([in] LPCOLESTR pstrName,[in] DWORD dwReturnMask,[out] IUnknown **ppiunkItem,[out] ITypeInfo **ppti);
203 HRESULT GetDocVersionString ([out] BSTR *pbstrVersion);
204 HRESULT OnScriptTerminate ([in] const VARIANT *pvarResult,[in] const EXCEPINFO *pexcepinfo);
205 HRESULT OnStateChange ([in] SCRIPTSTATE ssScriptState);
206 HRESULT OnScriptError ([in] IActiveScriptError *pscripterror);
207 HRESULT OnEnterScript (void);
208 HRESULT OnLeaveScript (void);
209}
210
211cpp_quote("")
212[object, uuid (EAE1BA61-A4ED-11cf-8f20-00805f2cd064), pointer_default (unique)]
213interface IActiveScriptError : IUnknown {
214 [local] HRESULT GetExceptionInfo ([out] EXCEPINFO *pexcepinfo);
215 [call_as (GetExceptionInfo)] HRESULT RemoteGetExceptionInfo ([out] EXCEPINFO *pexcepinfo);
216 HRESULT GetSourcePosition ([out] DWORD *pdwSourceContext,[out] ULONG *pulLineNumber,[out] LONG *plCharacterPosition);
217 HRESULT GetSourceLineText ([out] BSTR *pbstrSourceLine);
218}
219
220cpp_quote("")
221[object, uuid (B21FB2A1-5b8f-4963-8c21-21450f84ed7f), pointer_default (unique)]
222interface IActiveScriptError64 : IActiveScriptError {
223 HRESULT GetSourcePosition64 ([out] DWORDLONG *pdwSourceContext,[out] ULONG *pulLineNumber,[out] LONG *plCharacterPosition);
224}
225
226[object, uuid (D10F6761-83e9-11cf-8f20-00805f2cd064), pointer_default (unique)]
227interface IActiveScriptSiteWindow : IUnknown {
228 HRESULT GetWindow ([out] HWND *phwnd);
229 HRESULT EnableModeless ([in] BOOL fEnable);
230}
231
232cpp_quote("")
233[object, uuid (AEDAE97E-D7EE-4796-B960-7f092ae844ab), pointer_default (unique)]
234interface IActiveScriptSiteUIControl : IUnknown {
235 HRESULT GetUIBehavior ([in] SCRIPTUICITEM UicItem,[out] SCRIPTUICHANDLING *pUicHandling);
236}
237
238cpp_quote("")
239[object, uuid (539698a0-CDCA-11cf-A5EB-00aa0047a063), pointer_default (unique)]
240interface IActiveScriptSiteInterruptPoll : IUnknown {
241 HRESULT QueryContinue (void);
242}
243
244cpp_quote("")
245[object, uuid (BB1A2AE1-A4F9-11cf-8f20-00805f2cd064), pointer_default (unique)]
246interface IActiveScript : IUnknown {
247 HRESULT SetScriptSite ([in] IActiveScriptSite *pass);
248 HRESULT GetScriptSite ([in] REFIID riid,[out, iid_is (riid)] void **ppvObject);
249 HRESULT SetScriptState ([in] SCRIPTSTATE ss);
250 HRESULT GetScriptState ([out] SCRIPTSTATE *pssState);
251 HRESULT Close (void);
252 HRESULT AddNamedItem ([in] LPCOLESTR pstrName,[in] DWORD dwFlags);
253 HRESULT AddTypeLib ([in] REFGUID rguidTypeLib,[in] DWORD dwMajor,[in] DWORD dwMinor,[in] DWORD dwFlags);
254 HRESULT GetScriptDispatch ([in] LPCOLESTR pstrItemName,[out] IDispatch **ppdisp);
255 HRESULT GetCurrentScriptThreadID ([out] SCRIPTTHREADID *pstidThread);
256 HRESULT GetScriptThreadID ([in] DWORD dwWin32ThreadId,[out] SCRIPTTHREADID *pstidThread);
257 HRESULT GetScriptThreadState ([in] SCRIPTTHREADID stidThread,[out] SCRIPTTHREADSTATE *pstsState);
258 HRESULT InterruptScriptThread ([in] SCRIPTTHREADID stidThread,[in] const EXCEPINFO *pexcepinfo,[in] DWORD dwFlags);
259 HRESULT Clone ([out] IActiveScript **ppscript);
260}
261
262cpp_quote("")
263[object, uuid (BB1A2AE2-A4F9-11cf-8f20-00805f2cd064), pointer_default (unique)]
264interface IActiveScriptParse32 : IUnknown {
265 HRESULT InitNew (void);
266 HRESULT AddScriptlet ([in] LPCOLESTR pstrDefaultName,[in] LPCOLESTR pstrCode,[in] LPCOLESTR pstrItemName,[in] LPCOLESTR pstrSubItemName,[in] LPCOLESTR pstrEventName,[in] LPCOLESTR pstrDelimiter,[in] DWORD dwSourceContextCookie,[in] ULONG ulStartingLineNumber,[in] DWORD dwFlags,[out] BSTR *pbstrName,[out] EXCEPINFO *pexcepinfo);
267 HRESULT ParseScriptText ([in] LPCOLESTR pstrCode,[in] LPCOLESTR pstrItemName,[in] IUnknown *punkContext,[in] LPCOLESTR pstrDelimiter,[in] DWORD dwSourceContextCookie,[in] ULONG ulStartingLineNumber,[in] DWORD dwFlags,[out] VARIANT *pvarResult,[out] EXCEPINFO *pexcepinfo);
268}
269
270cpp_quote("")
271[object, uuid (C7EF7658-E1EE-480e-97ea-D52CB4D76D17), pointer_default (unique)]
272interface IActiveScriptParse64 : IUnknown {
273 HRESULT InitNew (void);
274 HRESULT AddScriptlet ([in] LPCOLESTR pstrDefaultName,[in] LPCOLESTR pstrCode,[in] LPCOLESTR pstrItemName,[in] LPCOLESTR pstrSubItemName,[in] LPCOLESTR pstrEventName,[in] LPCOLESTR pstrDelimiter,[in] DWORDLONG dwSourceContextCookie,[in] ULONG ulStartingLineNumber,[in] DWORD dwFlags,[out] BSTR *pbstrName,[out] EXCEPINFO *pexcepinfo);
275 HRESULT ParseScriptText ([in] LPCOLESTR pstrCode,[in] LPCOLESTR pstrItemName,[in] IUnknown *punkContext,[in] LPCOLESTR pstrDelimiter,[in] DWORDLONG dwSourceContextCookie,[in] ULONG ulStartingLineNumber,[in] DWORD dwFlags,[out] VARIANT *pvarResult,[out] EXCEPINFO *pexcepinfo);
276}
277
278cpp_quote("")
279cpp_quote("#ifdef _WIN64")
280cpp_quote("#define IActiveScriptParse IActiveScriptParse64")
281cpp_quote("#define IID_IActiveScriptParse IID_IActiveScriptParse64")
282cpp_quote("#else")
283cpp_quote("#define IActiveScriptParse IActiveScriptParse32")
284cpp_quote("#define IID_IActiveScriptParse IID_IActiveScriptParse32")
285cpp_quote("#endif")
286cpp_quote("")
287cpp_quote("typedef IActiveScriptParse *PIActiveScriptParse;")
288cpp_quote("")
289[object, uuid (1cff0050-6fdd-11d0-9328-00a0c90dcaa9), pointer_default (unique)]
290interface IActiveScriptParseProcedureOld32 : IUnknown {
291 HRESULT ParseProcedureText ([in] LPCOLESTR pstrCode,[in] LPCOLESTR pstrFormalParams,[in] LPCOLESTR pstrItemName,[in] IUnknown *punkContext,[in] LPCOLESTR pstrDelimiter,[in] DWORD dwSourceContextCookie,[in] ULONG ulStartingLineNumber,[in] DWORD dwFlags,[out] IDispatch **ppdisp);
292}
293
294cpp_quote("")
295[object, uuid (21f57128-08c9-4638-BA12-22d15d88dc5c), pointer_default (unique)]
296interface IActiveScriptParseProcedureOld64 : IUnknown {
297 HRESULT ParseProcedureText ([in] LPCOLESTR pstrCode,[in] LPCOLESTR pstrFormalParams,[in] LPCOLESTR pstrItemName,[in] IUnknown *punkContext,[in] LPCOLESTR pstrDelimiter,[in] DWORDLONG dwSourceContextCookie,[in] ULONG ulStartingLineNumber,[in] DWORD dwFlags,[out] IDispatch **ppdisp);
298}
299
300cpp_quote("")
301cpp_quote("#ifdef _WIN64")
302cpp_quote("#define IActiveScriptParseProcedureOld IActiveScriptParseProcedureOld64")
303cpp_quote("#define IID_IActiveScriptParseProcedureOld IID_IActiveScriptParseProcedureOld64")
304cpp_quote("#else")
305cpp_quote("#define IActiveScriptParseProcedureOld IActiveScriptParseProcedureOld32")
306cpp_quote("#define IID_IActiveScriptParseProcedureOld IID_IActiveScriptParseProcedureOld32")
307cpp_quote("#endif")
308
309cpp_quote("")
310cpp_quote("typedef IActiveScriptParseProcedureOld *PIActiveScriptParseProcedureOld;")
311
312cpp_quote("")
313[object, uuid (AA5B6A80-B834-11d0-932f-00a0c90dcaa9), pointer_default (unique)]
314interface IActiveScriptParseProcedure32 : IUnknown {
315 HRESULT ParseProcedureText ([in] LPCOLESTR pstrCode,[in] LPCOLESTR pstrFormalParams,[in] LPCOLESTR pstrProcedureName,[in] LPCOLESTR pstrItemName,[in] IUnknown *punkContext,[in] LPCOLESTR pstrDelimiter,[in] DWORD dwSourceContextCookie,[in] ULONG ulStartingLineNumber,[in] DWORD dwFlags,[out] IDispatch **ppdisp);
316}
317cpp_quote("")
318[object, uuid (C64713B6-E029-4cc5-9200-438b72890b6a), pointer_default (unique)]
319interface IActiveScriptParseProcedure64 : IUnknown {
320 HRESULT ParseProcedureText ([in] LPCOLESTR pstrCode,[in] LPCOLESTR pstrFormalParams,[in] LPCOLESTR pstrProcedureName,[in] LPCOLESTR pstrItemName,[in] IUnknown *punkContext,[in] LPCOLESTR pstrDelimiter,[in] DWORDLONG dwSourceContextCookie,[in] ULONG ulStartingLineNumber,[in] DWORD dwFlags,[out] IDispatch **ppdisp);
321}
322
323cpp_quote("")
324cpp_quote("#ifdef _WIN64")
325cpp_quote("#define IActiveScriptParseProcedure IActiveScriptParseProcedure64")
326cpp_quote("#define IID_IActiveScriptParseProcedure IID_IActiveScriptParseProcedure64")
327cpp_quote("#else")
328cpp_quote("#define IActiveScriptParseProcedure IActiveScriptParseProcedure32")
329cpp_quote("#define IID_IActiveScriptParseProcedure IID_IActiveScriptParseProcedure32")
330cpp_quote("#endif")
331cpp_quote("")
332cpp_quote("typedef IActiveScriptParseProcedure *PIActiveScriptParseProcedure;")
333
334cpp_quote("")
335[object, uuid (71ee5b20-FB04-11d1-B3A8-00a0c911e8b2), pointer_default (unique)]
336interface IActiveScriptParseProcedure2_32 : IActiveScriptParseProcedure32 {
337}
338
339cpp_quote("")
340[object, uuid (FE7C4271-210c-448d-9f54-76dab7047b28), pointer_default (unique)]
341interface IActiveScriptParseProcedure2_64 : IActiveScriptParseProcedure64 {
342}
343
344cpp_quote("")
345cpp_quote("#ifdef _WIN64")
346cpp_quote("#define IActiveScriptParseProcedure2 IActiveScriptParseProcedure2_64")
347cpp_quote("#define IID_IActiveScriptParseProcedure2 IID_IActiveScriptParseProcedure2_64")
348cpp_quote("#else")
349cpp_quote("#define IActiveScriptParseProcedure2 IActiveScriptParseProcedure2_32")
350cpp_quote("#define IID_IActiveScriptParseProcedure2 IID_IActiveScriptParseProcedure2_32")
351cpp_quote("#endif")
352cpp_quote("")
353cpp_quote("typedef IActiveScriptParseProcedure2 *PIActiveScriptParseProcedure2;")
354
355cpp_quote("")
356[object, uuid (BB1A2AE3-A4F9-11cf-8f20-00805f2cd064), pointer_default (unique)]
357interface IActiveScriptEncode : IUnknown {
358 HRESULT EncodeSection ([in] LPCOLESTR pchIn,[in] DWORD cchIn,[in, out] LPOLESTR pchOut,[in] DWORD cchOut,[in, out] DWORD *pcchRet);
359 HRESULT DecodeScript ([in] LPCOLESTR pchIn,[in] DWORD cchIn,[in, out] LPOLESTR pchOut,[in] DWORD cchOut,[in, out] DWORD *pcchRet);
360 HRESULT GetEncodeProgId ([in, out] BSTR *pbstrOut);
361}
362
363cpp_quote("")
364[object, uuid (BEE9B76E-CFE3-11d1-B747-00c04fc2b085), pointer_default (unique)]
365interface IActiveScriptHostEncode : IUnknown {
366 HRESULT EncodeScriptHostFile ([in] BSTR bstrInFile,[in, out] BSTR *pbstrOutFile,[in] unsigned long cFlags,[in] BSTR bstrDefaultLang);
367}
368
369cpp_quote("")
370[object, uuid (63cdbcb0-C1B1-11d0-9336-00a0c90dcaa9), pointer_default (unique)]
371interface IBindEventHandler : IUnknown {
372 HRESULT BindHandler ([in] LPCOLESTR pstrEvent,[in] IDispatch *pdisp);
373}
374
375cpp_quote("")
376[object, uuid (B8DA6310-E19B-11d0-933c-00a0c90dcaa9), pointer_default (unique)]
377interface IActiveScriptStats : IUnknown {
378 HRESULT GetStat ([in] DWORD stid,[out] ULONG *pluHi,[out] ULONG *pluLo);
379 HRESULT GetStatEx ([in] REFGUID guid,[out] ULONG *pluHi,[out] ULONG *pluLo);
380 HRESULT ResetStats (void);
381}
382
383cpp_quote("")
384[object, uuid (4954e0d0-FBC7-11d1-8410-006008c3fbfc), pointer_default (unique)]
385interface IActiveScriptProperty : IUnknown {
386 HRESULT GetProperty ([in] DWORD dwProperty,[in] VARIANT *pvarIndex,[out] VARIANT *pvarValue);
387 HRESULT SetProperty ([in] DWORD dwProperty,[in] VARIANT *pvarIndex,[in] VARIANT *pvarValue);
388}
389
390cpp_quote("")
391[object, uuid (1dc9ca50-06ef-11d2-8415-006008c3fbfc), pointer_default (unique)]
392interface ITridentEventSink : IUnknown {
393 HRESULT FireEvent ([in] LPCOLESTR pstrEvent,[in] DISPPARAMS *pdp,[out] VARIANT *pvarRes,[out] EXCEPINFO *pei);
394}
395
396cpp_quote("")
397[object, uuid (6aa2c4a0-2b53-11d4-A2A0-00104bd35090), pointer_default (unique)]
398interface IActiveScriptGarbageCollector : IUnknown {
399 HRESULT CollectGarbage (SCRIPTGCTYPE scriptgctype);
400}
401
402cpp_quote("")
403[object, uuid (764651d0-38de-11d4-A2A3-00104bd35090), pointer_default (unique)]
404interface IActiveScriptSIPInfo : IUnknown {
405 HRESULT GetSIPOID ([out] GUID *poid_sip);
406}
407
408cpp_quote("")
409[object, uuid (4b7272ae-1955-4bfe-98b0-780621888569), pointer_default (unique)]
410interface IActiveScriptSiteTraceInfo : IUnknown {
411 HRESULT SendScriptTraceInfo ([in] SCRIPTTRACEINFO stiEventType,[in] GUID guidContextID,[in] DWORD dwScriptContextCookie,[in] LONG lScriptStatementStart,[in] LONG lScriptStatementEnd,[in] DWORD64 dwReserved);
412}
413
414cpp_quote("")
415[object, uuid (C35456E7-BEBF-4a1b-86a9-24d56be8b369), pointer_default (unique)]
416interface IActiveScriptTraceInfo : IUnknown {
417 HRESULT StartScriptTracing ([in] IActiveScriptSiteTraceInfo *pSiteTraceInfo,[in] GUID guidContextID);
418 HRESULT StopScriptTracing (void);
419}
420
421cpp_quote("")
422[object, uuid (58562769-ED52-42f7-8403-4963514e1f11), pointer_default (unique)]
423interface IActiveScriptStringCompare : IUnknown {
424 HRESULT StrComp ([in] BSTR bszStr1,[in] BSTR bszStr2,[out, retval] LONG *iRet);
425}
426cpp_quote("#endif")
427cpp_quote("")
428cpp_quote("#endif")
Note: See TracBrowser for help on using the repository browser.