Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

3563 lines
111 KiB

  1. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  2. /* File created by MIDL compiler version 6.00.0361 */
  3. /* Compiler settings for activscp.idl:
  4. Oicf, W1, Zp8, env=Win32 (32b run)
  5. protocol : dce , ms_ext, c_ext
  6. error checks: allocation ref bounds_check enum stub_data
  7. VC __declspec() decoration level:
  8. __declspec(uuid()), __declspec(selectany), __declspec(novtable)
  9. DECLSPEC_UUID(), MIDL_INTERFACE()
  10. */
  11. //@@MIDL_FILE_HEADING( )
  12. #pragma warning( disable: 4049 ) /* more than 64k source lines */
  13. /* verify that the <rpcndr.h> version is high enough to compile this file*/
  14. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  15. #define __REQUIRED_RPCNDR_H_VERSION__ 440
  16. #endif
  17. #include "rpc.h"
  18. #include "rpcndr.h"
  19. #ifndef __RPCNDR_H_VERSION__
  20. #error this stub requires an updated version of <rpcndr.h>
  21. #endif // __RPCNDR_H_VERSION__
  22. #ifndef COM_NO_WINDOWS_H
  23. #include "windows.h"
  24. #include "ole2.h"
  25. #endif /*COM_NO_WINDOWS_H*/
  26. #ifndef __activscp_h__
  27. #define __activscp_h__
  28. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  29. #pragma once
  30. #endif
  31. /* Forward Declarations */
  32. #ifndef __IActiveScriptSite_FWD_DEFINED__
  33. #define __IActiveScriptSite_FWD_DEFINED__
  34. typedef interface IActiveScriptSite IActiveScriptSite;
  35. #endif /* __IActiveScriptSite_FWD_DEFINED__ */
  36. #ifndef __IActiveScriptError_FWD_DEFINED__
  37. #define __IActiveScriptError_FWD_DEFINED__
  38. typedef interface IActiveScriptError IActiveScriptError;
  39. #endif /* __IActiveScriptError_FWD_DEFINED__ */
  40. #ifndef __IActiveScriptError64_FWD_DEFINED__
  41. #define __IActiveScriptError64_FWD_DEFINED__
  42. typedef interface IActiveScriptError64 IActiveScriptError64;
  43. #endif /* __IActiveScriptError64_FWD_DEFINED__ */
  44. #ifndef __IActiveScriptSiteWindow_FWD_DEFINED__
  45. #define __IActiveScriptSiteWindow_FWD_DEFINED__
  46. typedef interface IActiveScriptSiteWindow IActiveScriptSiteWindow;
  47. #endif /* __IActiveScriptSiteWindow_FWD_DEFINED__ */
  48. #ifndef __IActiveScriptSiteInterruptPoll_FWD_DEFINED__
  49. #define __IActiveScriptSiteInterruptPoll_FWD_DEFINED__
  50. typedef interface IActiveScriptSiteInterruptPoll IActiveScriptSiteInterruptPoll;
  51. #endif /* __IActiveScriptSiteInterruptPoll_FWD_DEFINED__ */
  52. #ifndef __IActiveScript_FWD_DEFINED__
  53. #define __IActiveScript_FWD_DEFINED__
  54. typedef interface IActiveScript IActiveScript;
  55. #endif /* __IActiveScript_FWD_DEFINED__ */
  56. #ifndef __IActiveScriptParse32_FWD_DEFINED__
  57. #define __IActiveScriptParse32_FWD_DEFINED__
  58. typedef interface IActiveScriptParse32 IActiveScriptParse32;
  59. #endif /* __IActiveScriptParse32_FWD_DEFINED__ */
  60. #ifndef __IActiveScriptParse64_FWD_DEFINED__
  61. #define __IActiveScriptParse64_FWD_DEFINED__
  62. typedef interface IActiveScriptParse64 IActiveScriptParse64;
  63. #endif /* __IActiveScriptParse64_FWD_DEFINED__ */
  64. #ifndef __IActiveScriptParseProcedureOld32_FWD_DEFINED__
  65. #define __IActiveScriptParseProcedureOld32_FWD_DEFINED__
  66. typedef interface IActiveScriptParseProcedureOld32 IActiveScriptParseProcedureOld32;
  67. #endif /* __IActiveScriptParseProcedureOld32_FWD_DEFINED__ */
  68. #ifndef __IActiveScriptParseProcedureOld64_FWD_DEFINED__
  69. #define __IActiveScriptParseProcedureOld64_FWD_DEFINED__
  70. typedef interface IActiveScriptParseProcedureOld64 IActiveScriptParseProcedureOld64;
  71. #endif /* __IActiveScriptParseProcedureOld64_FWD_DEFINED__ */
  72. #ifndef __IActiveScriptParseProcedure32_FWD_DEFINED__
  73. #define __IActiveScriptParseProcedure32_FWD_DEFINED__
  74. typedef interface IActiveScriptParseProcedure32 IActiveScriptParseProcedure32;
  75. #endif /* __IActiveScriptParseProcedure32_FWD_DEFINED__ */
  76. #ifndef __IActiveScriptParseProcedure64_FWD_DEFINED__
  77. #define __IActiveScriptParseProcedure64_FWD_DEFINED__
  78. typedef interface IActiveScriptParseProcedure64 IActiveScriptParseProcedure64;
  79. #endif /* __IActiveScriptParseProcedure64_FWD_DEFINED__ */
  80. #ifndef __IActiveScriptParseProcedure2_32_FWD_DEFINED__
  81. #define __IActiveScriptParseProcedure2_32_FWD_DEFINED__
  82. typedef interface IActiveScriptParseProcedure2_32 IActiveScriptParseProcedure2_32;
  83. #endif /* __IActiveScriptParseProcedure2_32_FWD_DEFINED__ */
  84. #ifndef __IActiveScriptParseProcedure2_64_FWD_DEFINED__
  85. #define __IActiveScriptParseProcedure2_64_FWD_DEFINED__
  86. typedef interface IActiveScriptParseProcedure2_64 IActiveScriptParseProcedure2_64;
  87. #endif /* __IActiveScriptParseProcedure2_64_FWD_DEFINED__ */
  88. #ifndef __IActiveScriptEncode_FWD_DEFINED__
  89. #define __IActiveScriptEncode_FWD_DEFINED__
  90. typedef interface IActiveScriptEncode IActiveScriptEncode;
  91. #endif /* __IActiveScriptEncode_FWD_DEFINED__ */
  92. #ifndef __IActiveScriptHostEncode_FWD_DEFINED__
  93. #define __IActiveScriptHostEncode_FWD_DEFINED__
  94. typedef interface IActiveScriptHostEncode IActiveScriptHostEncode;
  95. #endif /* __IActiveScriptHostEncode_FWD_DEFINED__ */
  96. #ifndef __IBindEventHandler_FWD_DEFINED__
  97. #define __IBindEventHandler_FWD_DEFINED__
  98. typedef interface IBindEventHandler IBindEventHandler;
  99. #endif /* __IBindEventHandler_FWD_DEFINED__ */
  100. #ifndef __IActiveScriptStats_FWD_DEFINED__
  101. #define __IActiveScriptStats_FWD_DEFINED__
  102. typedef interface IActiveScriptStats IActiveScriptStats;
  103. #endif /* __IActiveScriptStats_FWD_DEFINED__ */
  104. #ifndef __IActiveScriptProperty_FWD_DEFINED__
  105. #define __IActiveScriptProperty_FWD_DEFINED__
  106. typedef interface IActiveScriptProperty IActiveScriptProperty;
  107. #endif /* __IActiveScriptProperty_FWD_DEFINED__ */
  108. #ifndef __ITridentEventSink_FWD_DEFINED__
  109. #define __ITridentEventSink_FWD_DEFINED__
  110. typedef interface ITridentEventSink ITridentEventSink;
  111. #endif /* __ITridentEventSink_FWD_DEFINED__ */
  112. #ifndef __IActiveScriptGarbageCollector_FWD_DEFINED__
  113. #define __IActiveScriptGarbageCollector_FWD_DEFINED__
  114. typedef interface IActiveScriptGarbageCollector IActiveScriptGarbageCollector;
  115. #endif /* __IActiveScriptGarbageCollector_FWD_DEFINED__ */
  116. #ifndef __IActiveScriptSIPInfo_FWD_DEFINED__
  117. #define __IActiveScriptSIPInfo_FWD_DEFINED__
  118. typedef interface IActiveScriptSIPInfo IActiveScriptSIPInfo;
  119. #endif /* __IActiveScriptSIPInfo_FWD_DEFINED__ */
  120. /* header files for imported files */
  121. #include "ocidl.h"
  122. #ifdef __cplusplus
  123. extern "C"{
  124. #endif
  125. void * __RPC_USER MIDL_user_allocate(size_t);
  126. void __RPC_USER MIDL_user_free( void * );
  127. /* interface __MIDL_itf_activscp_0000 */
  128. /* [local] */
  129. //=--------------------------------------------------------------------------=
  130. // ActivScp.h
  131. //=--------------------------------------------------------------------------=
  132. // (C) Copyright 2000 Microsoft Corporation. All Rights Reserved.
  133. //
  134. // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
  135. // ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
  136. // THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
  137. // PARTICULAR PURPOSE.
  138. //=--------------------------------------------------------------------------=
  139. //
  140. #pragma comment(lib,"uuid.lib")
  141. //
  142. // Declarations for ActiveX Scripting host applications and script engines.
  143. //
  144. #ifndef __ActivScp_h
  145. #define __ActivScp_h
  146. /* GUIDs
  147. ********/
  148. #ifndef _NO_SCRIPT_GUIDS
  149. // {F0B7A1A1-9847-11cf-8F20-00805F2CD064}
  150. DEFINE_GUID(CATID_ActiveScript, 0xf0b7a1a1, 0x9847, 0x11cf, 0x8f, 0x20, 0x00, 0x80, 0x5f, 0x2c, 0xd0, 0x64);
  151. // {F0B7A1A2-9847-11cf-8F20-00805F2CD064}
  152. DEFINE_GUID(CATID_ActiveScriptParse, 0xf0b7a1a2, 0x9847, 0x11cf, 0x8f, 0x20, 0x00, 0x80, 0x5f, 0x2c, 0xd0, 0x64);
  153. // {F0B7A1A3-9847-11cf-8F20-00805F2CD064}
  154. DEFINE_GUID(CATID_ActiveScriptEncode, 0xf0b7a1a3, 0x9847, 0x11cf, 0x8f, 0x20, 0x00, 0x80, 0x5f, 0x2c, 0xd0, 0x64);
  155. // {BB1A2AE1-A4F9-11cf-8F20-00805F2CD064}
  156. DEFINE_GUID(IID_IActiveScript, 0xbb1a2ae1, 0xa4f9, 0x11cf, 0x8f, 0x20, 0x00, 0x80, 0x5f, 0x2c, 0xd0, 0x64);
  157. // {BB1A2AE2-A4F9-11cf-8F20-00805F2CD064}
  158. DEFINE_GUID(IID_IActiveScriptParse32, 0xbb1a2ae2, 0xa4f9, 0x11cf, 0x8f, 0x20, 0x00, 0x80, 0x5f, 0x2c, 0xd0, 0x64);
  159. // {C7EF7658-E1EE-480E-97EA-D52CB4D76D17}
  160. DEFINE_GUID(IID_IActiveScriptParse64, 0xc7ef7658, 0xe1ee, 0x480e, 0x97, 0xea, 0xd5, 0x2c, 0xb4, 0xd7, 0x6d, 0x17);
  161. // {BB1A2AE3-A4F9-11cf-8F20-00805F2CD064}
  162. DEFINE_GUID(IID_IActiveScriptEncode, 0xbb1a2ae3, 0xa4f9, 0x11cf, 0x8f, 0x20, 0x00, 0x80, 0x5f, 0x2c, 0xd0, 0x64);
  163. // {BEE9B76E-CFE3-11d1-B747-00C04FC2B085}
  164. DEFINE_GUID(IID_IActiveScriptHostEncode, 0xbee9b76e, 0xcfe3, 0x11d1, 0xb7, 0x47, 0x00, 0xc0, 0x4f, 0xc2, 0xb0, 0x85);
  165. // {1CFF0050-6FDD-11d0-9328-00A0C90DCAA9}
  166. DEFINE_GUID(IID_IActiveScriptParseProcedureOld32, 0x1cff0050, 0x6fdd, 0x11d0, 0x93, 0x28, 0x00, 0xa0, 0xc9, 0x0d, 0xca, 0xa9);
  167. // {21F57128-08C9-4638-BA12-22D15D88DC5C}
  168. DEFINE_GUID(IID_IActiveScriptParseProcedureOld64, 0x21f57128, 0x08c9, 0x4638, 0xba, 0x12, 0x22, 0xd1, 0x5d, 0x88, 0xdc, 0x5c);
  169. // {AA5B6A80-B834-11d0-932F-00A0C90DCAA9}
  170. DEFINE_GUID(IID_IActiveScriptParseProcedure32, 0xaa5b6a80, 0xb834, 0x11d0, 0x93, 0x2f, 0x00, 0xa0, 0xc9, 0x0d, 0xca, 0xa9);
  171. // {C64713B6-E029-4CC5-9200-438B72890B6A}
  172. DEFINE_GUID(IID_IActiveScriptParseProcedure64, 0xc64713b6, 0xe029, 0x4cc5, 0x92, 0x00, 0x43, 0x8b, 0x72, 0x89, 0x0b, 0x6a);
  173. // {71EE5B20-FB04-11d1-B3A8-00A0C911E8B2}
  174. DEFINE_GUID(IID_IActiveScriptParseProcedure2_32, 0x71ee5b20, 0xfb04, 0x11d1, 0xb3, 0xa8, 0x00, 0xa0, 0xc9, 0x11, 0xe8, 0xb2);
  175. // {FE7C4271-210C-448D-9F54-76DAB7047B28}
  176. DEFINE_GUID(IID_IActiveScriptParseProcedure2_64, 0xfe7c4271, 0x210c, 0x448d, 0x9f, 0x54, 0x76, 0xda, 0xb7, 0x04, 0x7b, 0x28);
  177. // {DB01A1E3-A42B-11cf-8F20-00805F2CD064}
  178. DEFINE_GUID(IID_IActiveScriptSite, 0xdb01a1e3, 0xa42b, 0x11cf, 0x8f, 0x20, 0x00, 0x80, 0x5f, 0x2c, 0xd0, 0x64);
  179. // {D10F6761-83E9-11cf-8F20-00805F2CD064}
  180. DEFINE_GUID(IID_IActiveScriptSiteWindow, 0xd10f6761, 0x83e9, 0x11cf, 0x8f, 0x20, 0x00, 0x80, 0x5f, 0x2c, 0xd0, 0x64);
  181. // {539698A0-CDCA-11CF-A5EB-00AA0047A063}
  182. DEFINE_GUID(IID_IActiveScriptSiteInterruptPoll, 0x539698a0, 0xcdca, 0x11cf, 0xa5, 0xeb, 0x00, 0xaa, 0x00, 0x47, 0xa0, 0x63);
  183. // {EAE1BA61-A4ED-11cf-8F20-00805F2CD064}
  184. DEFINE_GUID(IID_IActiveScriptError, 0xeae1ba61, 0xa4ed, 0x11cf, 0x8f, 0x20, 0x00, 0x80, 0x5f, 0x2c, 0xd0, 0x64);
  185. // {B21FB2A1-5B8F-4963-8C21-21450F84ED7F}
  186. DEFINE_GUID(IID_IActiveScriptError64, 0xb21fb2a1, 0x5b8f, 0x4963, 0x8c, 0x21, 0x21, 0x45, 0x0f, 0x84, 0xed, 0x7f);
  187. // {63CDBCB0-C1B1-11d0-9336-00A0C90DCAA9}
  188. DEFINE_GUID(IID_IBindEventHandler, 0x63cdbcb0, 0xc1b1, 0x11d0, 0x93, 0x36, 0x00, 0xa0, 0xc9, 0x0d, 0xca, 0xa9);
  189. // {B8DA6310-E19B-11d0-933C-00A0C90DCAA9}
  190. DEFINE_GUID(IID_IActiveScriptStats, 0xb8da6310, 0xe19b, 0x11d0, 0x93, 0x3c, 0x00, 0xa0, 0xc9, 0x0d, 0xca, 0xa9);
  191. // {4954E0D0-FBC7-11D1-8410-006008C3FBFC}
  192. DEFINE_GUID(IID_IActiveScriptProperty, 0x4954E0D0, 0xFBC7, 0x11D1, 0x84, 0x10, 0x00, 0x60, 0x08, 0xC3, 0xFB, 0xFC);
  193. // {1DC9CA50-06EF-11d2-8415-006008C3FBFC}
  194. DEFINE_GUID(IID_ITridentEventSink, 0x1dc9ca50, 0x6ef, 0x11d2, 0x84, 0x15, 0x00, 0x60, 0x08, 0xc3, 0xfb, 0xfc);
  195. // {6AA2C4A0-2B53-11d4-A2A0-00104BD35090}
  196. DEFINE_GUID(IID_IActiveScriptGarbageCollector, 0x6aa2c4a0, 0x2b53, 0x11d4, 0xa2, 0xa0, 0x00, 0x10, 0x4b, 0xd3, 0x50, 0x90);
  197. // {764651D0-38DE-11d4-A2A3-00104BD35090}
  198. DEFINE_GUID(IID_IActiveScriptSIPInfo, 0x764651d0, 0x38de, 0x11d4, 0xa2, 0xa3, 0x00, 0x10, 0x4b, 0xd3, 0x50, 0x90);
  199. // {1629F04E-2799-4db5-8FE5-ACE10F17EBAB}
  200. DEFINE_GUID(OID_VBSSIP, 0x1629f04e, 0x2799, 0x4db5, 0x8f, 0xe5, 0xac, 0xe1, 0x0f, 0x17, 0xeb, 0xab);
  201. // {06C9E010-38CE-11d4-A2A3-00104BD35090}
  202. DEFINE_GUID(OID_JSSIP, 0x6c9e010, 0x38ce, 0x11d4, 0xa2, 0xa3, 0x00, 0x10, 0x4b, 0xd3, 0x50, 0x90);
  203. // {1A610570-38CE-11d4-A2A3-00104BD35090}
  204. DEFINE_GUID(OID_WSFSIP, 0x1a610570, 0x38ce, 0x11d4, 0xa2, 0xa3, 0x00, 0x10, 0x4b, 0xd3, 0x50, 0x90);
  205. #endif // _NO_SCRIPT_GUIDS
  206. // Constants used by ActiveX Scripting:
  207. //
  208. /* IActiveScript::AddNamedItem() input flags */
  209. #define SCRIPTITEM_ISVISIBLE 0x00000002
  210. #define SCRIPTITEM_ISSOURCE 0x00000004
  211. #define SCRIPTITEM_GLOBALMEMBERS 0x00000008
  212. #define SCRIPTITEM_ISPERSISTENT 0x00000040
  213. #define SCRIPTITEM_CODEONLY 0x00000200
  214. #define SCRIPTITEM_NOCODE 0x00000400
  215. #define SCRIPTITEM_ALL_FLAGS (SCRIPTITEM_ISSOURCE | \
  216. SCRIPTITEM_ISVISIBLE | \
  217. SCRIPTITEM_ISPERSISTENT | \
  218. SCRIPTITEM_GLOBALMEMBERS | \
  219. SCRIPTITEM_NOCODE | \
  220. SCRIPTITEM_CODEONLY)
  221. /* IActiveScript::AddTypeLib() input flags */
  222. #define SCRIPTTYPELIB_ISCONTROL 0x00000010
  223. #define SCRIPTTYPELIB_ISPERSISTENT 0x00000040
  224. #define SCRIPTTYPELIB_ALL_FLAGS (SCRIPTTYPELIB_ISCONTROL | SCRIPTTYPELIB_ISPERSISTENT)
  225. /* IActiveScriptParse::AddScriptlet() and IActiveScriptParse::ParseScriptText() input flags */
  226. #define SCRIPTTEXT_DELAYEXECUTION 0x00000001
  227. #define SCRIPTTEXT_ISVISIBLE 0x00000002
  228. #define SCRIPTTEXT_ISEXPRESSION 0x00000020
  229. #define SCRIPTTEXT_ISPERSISTENT 0x00000040
  230. #define SCRIPTTEXT_HOSTMANAGESSOURCE 0x00000080
  231. #define SCRIPTTEXT_ALL_FLAGS (SCRIPTTEXT_DELAYEXECUTION | \
  232. SCRIPTTEXT_ISVISIBLE | \
  233. SCRIPTTEXT_ISEXPRESSION | \
  234. SCRIPTTEXT_ISPERSISTENT | \
  235. SCRIPTTEXT_HOSTMANAGESSOURCE)
  236. /* IActiveScriptParseProcedure::ParseProcedureText() input flags */
  237. #define SCRIPTPROC_ISEXPRESSION 0x00000020
  238. #define SCRIPTPROC_HOSTMANAGESSOURCE 0x00000080
  239. #define SCRIPTPROC_IMPLICIT_THIS 0x00000100
  240. #define SCRIPTPROC_IMPLICIT_PARENTS 0x00000200
  241. #define SCRIPTPROC_ALL_FLAGS (SCRIPTPROC_HOSTMANAGESSOURCE | \
  242. SCRIPTPROC_ISEXPRESSION | \
  243. SCRIPTPROC_IMPLICIT_THIS | \
  244. SCRIPTPROC_IMPLICIT_PARENTS)
  245. /* IActiveScriptSite::GetItemInfo() input flags */
  246. #define SCRIPTINFO_IUNKNOWN 0x00000001
  247. #define SCRIPTINFO_ITYPEINFO 0x00000002
  248. #define SCRIPTINFO_ALL_FLAGS (SCRIPTINFO_IUNKNOWN | \
  249. SCRIPTINFO_ITYPEINFO)
  250. /* IActiveScript::Interrupt() Flags */
  251. #define SCRIPTINTERRUPT_DEBUG 0x00000001
  252. #define SCRIPTINTERRUPT_RAISEEXCEPTION 0x00000002
  253. #define SCRIPTINTERRUPT_ALL_FLAGS (SCRIPTINTERRUPT_DEBUG | \
  254. SCRIPTINTERRUPT_RAISEEXCEPTION)
  255. /* IActiveScriptStats::GetStat() values */
  256. #define SCRIPTSTAT_STATEMENT_COUNT 1
  257. #define SCRIPTSTAT_INSTRUCTION_COUNT 2
  258. #define SCRIPTSTAT_INTSTRUCTION_TIME 3
  259. #define SCRIPTSTAT_TOTAL_TIME 4
  260. /* IActiveScriptEncode::AddSection() input flags */
  261. #define SCRIPT_ENCODE_SECTION 0x00000001
  262. #define SCRIPT_ENCODE_DEFAULT_LANGUAGE 0x00000001
  263. #define SCRIPT_ENCODE_NO_ASP_LANGUAGE 0x00000002
  264. /* Properties for IActiveScriptProperty */
  265. #define SCRIPTPROP_NAME 0x00000000
  266. #define SCRIPTPROP_MAJORVERSION 0x00000001
  267. #define SCRIPTPROP_MINORVERSION 0x00000002
  268. #define SCRIPTPROP_BUILDNUMBER 0x00000003
  269. #define SCRIPTPROP_DELAYEDEVENTSINKING 0x00001000
  270. #define SCRIPTPROP_CATCHEXCEPTION 0x00001001
  271. #define SCRIPTPROP_CONVERSIONLCID 0x00001002
  272. #define SCRIPTPROP_HOSTSTACKREQUIRED 0x00001003
  273. #define SCRIPTPROP_DEBUGGER 0x00001100
  274. #define SCRIPTPROP_JITDEBUG 0x00001101
  275. // These properties are defined and available, but are not
  276. // officially supported.
  277. #define SCRIPTPROP_HACK_FIBERSUPPORT 0x70000000
  278. #define SCRIPTPROP_HACK_TRIDENTEVENTSINK 0x70000001
  279. typedef
  280. enum tagSCRIPTSTATE
  281. { SCRIPTSTATE_UNINITIALIZED = 0,
  282. SCRIPTSTATE_INITIALIZED = 5,
  283. SCRIPTSTATE_STARTED = 1,
  284. SCRIPTSTATE_CONNECTED = 2,
  285. SCRIPTSTATE_DISCONNECTED = 3,
  286. SCRIPTSTATE_CLOSED = 4
  287. } SCRIPTSTATE;
  288. /* script thread state values */
  289. typedef
  290. enum tagSCRIPTTHREADSTATE
  291. { SCRIPTTHREADSTATE_NOTINSCRIPT = 0,
  292. SCRIPTTHREADSTATE_RUNNING = 1
  293. } SCRIPTTHREADSTATE;
  294. /* IActiveScriptCollectGarbage constants */
  295. typedef
  296. enum tagSCRIPTGCTYPE
  297. { SCRIPTGCTYPE_NORMAL = 0,
  298. SCRIPTGCTYPE_EXHAUSTIVE = 1
  299. } SCRIPTGCTYPE;
  300. /* Thread IDs */
  301. typedef DWORD SCRIPTTHREADID;
  302. #define SCRIPTTHREADID_CURRENT ((SCRIPTTHREADID)-1)
  303. #define SCRIPTTHREADID_BASE ((SCRIPTTHREADID)-2)
  304. #define SCRIPTTHREADID_ALL ((SCRIPTTHREADID)-3)
  305. /* Structures */
  306. /* Interfaces
  307. *************/
  308. extern RPC_IF_HANDLE __MIDL_itf_activscp_0000_v0_0_c_ifspec;
  309. extern RPC_IF_HANDLE __MIDL_itf_activscp_0000_v0_0_s_ifspec;
  310. #ifndef __IActiveScriptSite_INTERFACE_DEFINED__
  311. #define __IActiveScriptSite_INTERFACE_DEFINED__
  312. /* interface IActiveScriptSite */
  313. /* [unique][uuid][object] */
  314. EXTERN_C const IID IID_IActiveScriptSite;
  315. #if defined(__cplusplus) && !defined(CINTERFACE)
  316. MIDL_INTERFACE("DB01A1E3-A42B-11cf-8F20-00805F2CD064")
  317. IActiveScriptSite : public IUnknown
  318. {
  319. public:
  320. virtual HRESULT STDMETHODCALLTYPE GetLCID(
  321. /* [out] */ LCID *plcid) = 0;
  322. virtual HRESULT STDMETHODCALLTYPE GetItemInfo(
  323. /* [in] */ LPCOLESTR pstrName,
  324. /* [in] */ DWORD dwReturnMask,
  325. /* [out] */ IUnknown **ppiunkItem,
  326. /* [out] */ ITypeInfo **ppti) = 0;
  327. virtual HRESULT STDMETHODCALLTYPE GetDocVersionString(
  328. /* [out] */ BSTR *pbstrVersion) = 0;
  329. virtual HRESULT STDMETHODCALLTYPE OnScriptTerminate(
  330. /* [in] */ const VARIANT *pvarResult,
  331. /* [in] */ const EXCEPINFO *pexcepinfo) = 0;
  332. virtual HRESULT STDMETHODCALLTYPE OnStateChange(
  333. /* [in] */ SCRIPTSTATE ssScriptState) = 0;
  334. virtual HRESULT STDMETHODCALLTYPE OnScriptError(
  335. /* [in] */ IActiveScriptError *pscripterror) = 0;
  336. virtual HRESULT STDMETHODCALLTYPE OnEnterScript( void) = 0;
  337. virtual HRESULT STDMETHODCALLTYPE OnLeaveScript( void) = 0;
  338. };
  339. #else /* C style interface */
  340. typedef struct IActiveScriptSiteVtbl
  341. {
  342. BEGIN_INTERFACE
  343. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  344. IActiveScriptSite * This,
  345. /* [in] */ REFIID riid,
  346. /* [iid_is][out] */ void **ppvObject);
  347. ULONG ( STDMETHODCALLTYPE *AddRef )(
  348. IActiveScriptSite * This);
  349. ULONG ( STDMETHODCALLTYPE *Release )(
  350. IActiveScriptSite * This);
  351. HRESULT ( STDMETHODCALLTYPE *GetLCID )(
  352. IActiveScriptSite * This,
  353. /* [out] */ LCID *plcid);
  354. HRESULT ( STDMETHODCALLTYPE *GetItemInfo )(
  355. IActiveScriptSite * This,
  356. /* [in] */ LPCOLESTR pstrName,
  357. /* [in] */ DWORD dwReturnMask,
  358. /* [out] */ IUnknown **ppiunkItem,
  359. /* [out] */ ITypeInfo **ppti);
  360. HRESULT ( STDMETHODCALLTYPE *GetDocVersionString )(
  361. IActiveScriptSite * This,
  362. /* [out] */ BSTR *pbstrVersion);
  363. HRESULT ( STDMETHODCALLTYPE *OnScriptTerminate )(
  364. IActiveScriptSite * This,
  365. /* [in] */ const VARIANT *pvarResult,
  366. /* [in] */ const EXCEPINFO *pexcepinfo);
  367. HRESULT ( STDMETHODCALLTYPE *OnStateChange )(
  368. IActiveScriptSite * This,
  369. /* [in] */ SCRIPTSTATE ssScriptState);
  370. HRESULT ( STDMETHODCALLTYPE *OnScriptError )(
  371. IActiveScriptSite * This,
  372. /* [in] */ IActiveScriptError *pscripterror);
  373. HRESULT ( STDMETHODCALLTYPE *OnEnterScript )(
  374. IActiveScriptSite * This);
  375. HRESULT ( STDMETHODCALLTYPE *OnLeaveScript )(
  376. IActiveScriptSite * This);
  377. END_INTERFACE
  378. } IActiveScriptSiteVtbl;
  379. interface IActiveScriptSite
  380. {
  381. CONST_VTBL struct IActiveScriptSiteVtbl *lpVtbl;
  382. };
  383. #ifdef COBJMACROS
  384. #define IActiveScriptSite_QueryInterface(This,riid,ppvObject) \
  385. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  386. #define IActiveScriptSite_AddRef(This) \
  387. (This)->lpVtbl -> AddRef(This)
  388. #define IActiveScriptSite_Release(This) \
  389. (This)->lpVtbl -> Release(This)
  390. #define IActiveScriptSite_GetLCID(This,plcid) \
  391. (This)->lpVtbl -> GetLCID(This,plcid)
  392. #define IActiveScriptSite_GetItemInfo(This,pstrName,dwReturnMask,ppiunkItem,ppti) \
  393. (This)->lpVtbl -> GetItemInfo(This,pstrName,dwReturnMask,ppiunkItem,ppti)
  394. #define IActiveScriptSite_GetDocVersionString(This,pbstrVersion) \
  395. (This)->lpVtbl -> GetDocVersionString(This,pbstrVersion)
  396. #define IActiveScriptSite_OnScriptTerminate(This,pvarResult,pexcepinfo) \
  397. (This)->lpVtbl -> OnScriptTerminate(This,pvarResult,pexcepinfo)
  398. #define IActiveScriptSite_OnStateChange(This,ssScriptState) \
  399. (This)->lpVtbl -> OnStateChange(This,ssScriptState)
  400. #define IActiveScriptSite_OnScriptError(This,pscripterror) \
  401. (This)->lpVtbl -> OnScriptError(This,pscripterror)
  402. #define IActiveScriptSite_OnEnterScript(This) \
  403. (This)->lpVtbl -> OnEnterScript(This)
  404. #define IActiveScriptSite_OnLeaveScript(This) \
  405. (This)->lpVtbl -> OnLeaveScript(This)
  406. #endif /* COBJMACROS */
  407. #endif /* C style interface */
  408. HRESULT STDMETHODCALLTYPE IActiveScriptSite_GetLCID_Proxy(
  409. IActiveScriptSite * This,
  410. /* [out] */ LCID *plcid);
  411. void __RPC_STUB IActiveScriptSite_GetLCID_Stub(
  412. IRpcStubBuffer *This,
  413. IRpcChannelBuffer *_pRpcChannelBuffer,
  414. PRPC_MESSAGE _pRpcMessage,
  415. DWORD *_pdwStubPhase);
  416. HRESULT STDMETHODCALLTYPE IActiveScriptSite_GetItemInfo_Proxy(
  417. IActiveScriptSite * This,
  418. /* [in] */ LPCOLESTR pstrName,
  419. /* [in] */ DWORD dwReturnMask,
  420. /* [out] */ IUnknown **ppiunkItem,
  421. /* [out] */ ITypeInfo **ppti);
  422. void __RPC_STUB IActiveScriptSite_GetItemInfo_Stub(
  423. IRpcStubBuffer *This,
  424. IRpcChannelBuffer *_pRpcChannelBuffer,
  425. PRPC_MESSAGE _pRpcMessage,
  426. DWORD *_pdwStubPhase);
  427. HRESULT STDMETHODCALLTYPE IActiveScriptSite_GetDocVersionString_Proxy(
  428. IActiveScriptSite * This,
  429. /* [out] */ BSTR *pbstrVersion);
  430. void __RPC_STUB IActiveScriptSite_GetDocVersionString_Stub(
  431. IRpcStubBuffer *This,
  432. IRpcChannelBuffer *_pRpcChannelBuffer,
  433. PRPC_MESSAGE _pRpcMessage,
  434. DWORD *_pdwStubPhase);
  435. HRESULT STDMETHODCALLTYPE IActiveScriptSite_OnScriptTerminate_Proxy(
  436. IActiveScriptSite * This,
  437. /* [in] */ const VARIANT *pvarResult,
  438. /* [in] */ const EXCEPINFO *pexcepinfo);
  439. void __RPC_STUB IActiveScriptSite_OnScriptTerminate_Stub(
  440. IRpcStubBuffer *This,
  441. IRpcChannelBuffer *_pRpcChannelBuffer,
  442. PRPC_MESSAGE _pRpcMessage,
  443. DWORD *_pdwStubPhase);
  444. HRESULT STDMETHODCALLTYPE IActiveScriptSite_OnStateChange_Proxy(
  445. IActiveScriptSite * This,
  446. /* [in] */ SCRIPTSTATE ssScriptState);
  447. void __RPC_STUB IActiveScriptSite_OnStateChange_Stub(
  448. IRpcStubBuffer *This,
  449. IRpcChannelBuffer *_pRpcChannelBuffer,
  450. PRPC_MESSAGE _pRpcMessage,
  451. DWORD *_pdwStubPhase);
  452. HRESULT STDMETHODCALLTYPE IActiveScriptSite_OnScriptError_Proxy(
  453. IActiveScriptSite * This,
  454. /* [in] */ IActiveScriptError *pscripterror);
  455. void __RPC_STUB IActiveScriptSite_OnScriptError_Stub(
  456. IRpcStubBuffer *This,
  457. IRpcChannelBuffer *_pRpcChannelBuffer,
  458. PRPC_MESSAGE _pRpcMessage,
  459. DWORD *_pdwStubPhase);
  460. HRESULT STDMETHODCALLTYPE IActiveScriptSite_OnEnterScript_Proxy(
  461. IActiveScriptSite * This);
  462. void __RPC_STUB IActiveScriptSite_OnEnterScript_Stub(
  463. IRpcStubBuffer *This,
  464. IRpcChannelBuffer *_pRpcChannelBuffer,
  465. PRPC_MESSAGE _pRpcMessage,
  466. DWORD *_pdwStubPhase);
  467. HRESULT STDMETHODCALLTYPE IActiveScriptSite_OnLeaveScript_Proxy(
  468. IActiveScriptSite * This);
  469. void __RPC_STUB IActiveScriptSite_OnLeaveScript_Stub(
  470. IRpcStubBuffer *This,
  471. IRpcChannelBuffer *_pRpcChannelBuffer,
  472. PRPC_MESSAGE _pRpcMessage,
  473. DWORD *_pdwStubPhase);
  474. #endif /* __IActiveScriptSite_INTERFACE_DEFINED__ */
  475. #ifndef __IActiveScriptError_INTERFACE_DEFINED__
  476. #define __IActiveScriptError_INTERFACE_DEFINED__
  477. /* interface IActiveScriptError */
  478. /* [unique][uuid][object] */
  479. EXTERN_C const IID IID_IActiveScriptError;
  480. #if defined(__cplusplus) && !defined(CINTERFACE)
  481. MIDL_INTERFACE("EAE1BA61-A4ED-11cf-8F20-00805F2CD064")
  482. IActiveScriptError : public IUnknown
  483. {
  484. public:
  485. virtual /* [local] */ HRESULT STDMETHODCALLTYPE GetExceptionInfo(
  486. /* [out] */ EXCEPINFO *pexcepinfo) = 0;
  487. virtual HRESULT STDMETHODCALLTYPE GetSourcePosition(
  488. /* [out] */ DWORD *pdwSourceContext,
  489. /* [out] */ ULONG *pulLineNumber,
  490. /* [out] */ LONG *plCharacterPosition) = 0;
  491. virtual HRESULT STDMETHODCALLTYPE GetSourceLineText(
  492. /* [out] */ BSTR *pbstrSourceLine) = 0;
  493. };
  494. #else /* C style interface */
  495. typedef struct IActiveScriptErrorVtbl
  496. {
  497. BEGIN_INTERFACE
  498. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  499. IActiveScriptError * This,
  500. /* [in] */ REFIID riid,
  501. /* [iid_is][out] */ void **ppvObject);
  502. ULONG ( STDMETHODCALLTYPE *AddRef )(
  503. IActiveScriptError * This);
  504. ULONG ( STDMETHODCALLTYPE *Release )(
  505. IActiveScriptError * This);
  506. /* [local] */ HRESULT ( STDMETHODCALLTYPE *GetExceptionInfo )(
  507. IActiveScriptError * This,
  508. /* [out] */ EXCEPINFO *pexcepinfo);
  509. HRESULT ( STDMETHODCALLTYPE *GetSourcePosition )(
  510. IActiveScriptError * This,
  511. /* [out] */ DWORD *pdwSourceContext,
  512. /* [out] */ ULONG *pulLineNumber,
  513. /* [out] */ LONG *plCharacterPosition);
  514. HRESULT ( STDMETHODCALLTYPE *GetSourceLineText )(
  515. IActiveScriptError * This,
  516. /* [out] */ BSTR *pbstrSourceLine);
  517. END_INTERFACE
  518. } IActiveScriptErrorVtbl;
  519. interface IActiveScriptError
  520. {
  521. CONST_VTBL struct IActiveScriptErrorVtbl *lpVtbl;
  522. };
  523. #ifdef COBJMACROS
  524. #define IActiveScriptError_QueryInterface(This,riid,ppvObject) \
  525. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  526. #define IActiveScriptError_AddRef(This) \
  527. (This)->lpVtbl -> AddRef(This)
  528. #define IActiveScriptError_Release(This) \
  529. (This)->lpVtbl -> Release(This)
  530. #define IActiveScriptError_GetExceptionInfo(This,pexcepinfo) \
  531. (This)->lpVtbl -> GetExceptionInfo(This,pexcepinfo)
  532. #define IActiveScriptError_GetSourcePosition(This,pdwSourceContext,pulLineNumber,plCharacterPosition) \
  533. (This)->lpVtbl -> GetSourcePosition(This,pdwSourceContext,pulLineNumber,plCharacterPosition)
  534. #define IActiveScriptError_GetSourceLineText(This,pbstrSourceLine) \
  535. (This)->lpVtbl -> GetSourceLineText(This,pbstrSourceLine)
  536. #endif /* COBJMACROS */
  537. #endif /* C style interface */
  538. /* [call_as] */ HRESULT STDMETHODCALLTYPE IActiveScriptError_RemoteGetExceptionInfo_Proxy(
  539. IActiveScriptError * This,
  540. /* [out] */ EXCEPINFO *pexcepinfo);
  541. void __RPC_STUB IActiveScriptError_RemoteGetExceptionInfo_Stub(
  542. IRpcStubBuffer *This,
  543. IRpcChannelBuffer *_pRpcChannelBuffer,
  544. PRPC_MESSAGE _pRpcMessage,
  545. DWORD *_pdwStubPhase);
  546. HRESULT STDMETHODCALLTYPE IActiveScriptError_GetSourcePosition_Proxy(
  547. IActiveScriptError * This,
  548. /* [out] */ DWORD *pdwSourceContext,
  549. /* [out] */ ULONG *pulLineNumber,
  550. /* [out] */ LONG *plCharacterPosition);
  551. void __RPC_STUB IActiveScriptError_GetSourcePosition_Stub(
  552. IRpcStubBuffer *This,
  553. IRpcChannelBuffer *_pRpcChannelBuffer,
  554. PRPC_MESSAGE _pRpcMessage,
  555. DWORD *_pdwStubPhase);
  556. HRESULT STDMETHODCALLTYPE IActiveScriptError_GetSourceLineText_Proxy(
  557. IActiveScriptError * This,
  558. /* [out] */ BSTR *pbstrSourceLine);
  559. void __RPC_STUB IActiveScriptError_GetSourceLineText_Stub(
  560. IRpcStubBuffer *This,
  561. IRpcChannelBuffer *_pRpcChannelBuffer,
  562. PRPC_MESSAGE _pRpcMessage,
  563. DWORD *_pdwStubPhase);
  564. #endif /* __IActiveScriptError_INTERFACE_DEFINED__ */
  565. #ifndef __IActiveScriptError64_INTERFACE_DEFINED__
  566. #define __IActiveScriptError64_INTERFACE_DEFINED__
  567. /* interface IActiveScriptError64 */
  568. /* [unique][uuid][object] */
  569. EXTERN_C const IID IID_IActiveScriptError64;
  570. #if defined(__cplusplus) && !defined(CINTERFACE)
  571. MIDL_INTERFACE("B21FB2A1-5B8F-4963-8C21-21450F84ED7F")
  572. IActiveScriptError64 : public IActiveScriptError
  573. {
  574. public:
  575. virtual HRESULT STDMETHODCALLTYPE GetSourcePosition64(
  576. /* [out] */ DWORDLONG *pdwSourceContext,
  577. /* [out] */ ULONG *pulLineNumber,
  578. /* [out] */ LONG *plCharacterPosition) = 0;
  579. };
  580. #else /* C style interface */
  581. typedef struct IActiveScriptError64Vtbl
  582. {
  583. BEGIN_INTERFACE
  584. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  585. IActiveScriptError64 * This,
  586. /* [in] */ REFIID riid,
  587. /* [iid_is][out] */ void **ppvObject);
  588. ULONG ( STDMETHODCALLTYPE *AddRef )(
  589. IActiveScriptError64 * This);
  590. ULONG ( STDMETHODCALLTYPE *Release )(
  591. IActiveScriptError64 * This);
  592. /* [local] */ HRESULT ( STDMETHODCALLTYPE *GetExceptionInfo )(
  593. IActiveScriptError64 * This,
  594. /* [out] */ EXCEPINFO *pexcepinfo);
  595. HRESULT ( STDMETHODCALLTYPE *GetSourcePosition )(
  596. IActiveScriptError64 * This,
  597. /* [out] */ DWORD *pdwSourceContext,
  598. /* [out] */ ULONG *pulLineNumber,
  599. /* [out] */ LONG *plCharacterPosition);
  600. HRESULT ( STDMETHODCALLTYPE *GetSourceLineText )(
  601. IActiveScriptError64 * This,
  602. /* [out] */ BSTR *pbstrSourceLine);
  603. HRESULT ( STDMETHODCALLTYPE *GetSourcePosition64 )(
  604. IActiveScriptError64 * This,
  605. /* [out] */ DWORDLONG *pdwSourceContext,
  606. /* [out] */ ULONG *pulLineNumber,
  607. /* [out] */ LONG *plCharacterPosition);
  608. END_INTERFACE
  609. } IActiveScriptError64Vtbl;
  610. interface IActiveScriptError64
  611. {
  612. CONST_VTBL struct IActiveScriptError64Vtbl *lpVtbl;
  613. };
  614. #ifdef COBJMACROS
  615. #define IActiveScriptError64_QueryInterface(This,riid,ppvObject) \
  616. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  617. #define IActiveScriptError64_AddRef(This) \
  618. (This)->lpVtbl -> AddRef(This)
  619. #define IActiveScriptError64_Release(This) \
  620. (This)->lpVtbl -> Release(This)
  621. #define IActiveScriptError64_GetExceptionInfo(This,pexcepinfo) \
  622. (This)->lpVtbl -> GetExceptionInfo(This,pexcepinfo)
  623. #define IActiveScriptError64_GetSourcePosition(This,pdwSourceContext,pulLineNumber,plCharacterPosition) \
  624. (This)->lpVtbl -> GetSourcePosition(This,pdwSourceContext,pulLineNumber,plCharacterPosition)
  625. #define IActiveScriptError64_GetSourceLineText(This,pbstrSourceLine) \
  626. (This)->lpVtbl -> GetSourceLineText(This,pbstrSourceLine)
  627. #define IActiveScriptError64_GetSourcePosition64(This,pdwSourceContext,pulLineNumber,plCharacterPosition) \
  628. (This)->lpVtbl -> GetSourcePosition64(This,pdwSourceContext,pulLineNumber,plCharacterPosition)
  629. #endif /* COBJMACROS */
  630. #endif /* C style interface */
  631. HRESULT STDMETHODCALLTYPE IActiveScriptError64_GetSourcePosition64_Proxy(
  632. IActiveScriptError64 * This,
  633. /* [out] */ DWORDLONG *pdwSourceContext,
  634. /* [out] */ ULONG *pulLineNumber,
  635. /* [out] */ LONG *plCharacterPosition);
  636. void __RPC_STUB IActiveScriptError64_GetSourcePosition64_Stub(
  637. IRpcStubBuffer *This,
  638. IRpcChannelBuffer *_pRpcChannelBuffer,
  639. PRPC_MESSAGE _pRpcMessage,
  640. DWORD *_pdwStubPhase);
  641. #endif /* __IActiveScriptError64_INTERFACE_DEFINED__ */
  642. #ifndef __IActiveScriptSiteWindow_INTERFACE_DEFINED__
  643. #define __IActiveScriptSiteWindow_INTERFACE_DEFINED__
  644. /* interface IActiveScriptSiteWindow */
  645. /* [unique][uuid][object] */
  646. EXTERN_C const IID IID_IActiveScriptSiteWindow;
  647. #if defined(__cplusplus) && !defined(CINTERFACE)
  648. MIDL_INTERFACE("D10F6761-83E9-11cf-8F20-00805F2CD064")
  649. IActiveScriptSiteWindow : public IUnknown
  650. {
  651. public:
  652. virtual HRESULT STDMETHODCALLTYPE GetWindow(
  653. /* [out] */ HWND *phwnd) = 0;
  654. virtual HRESULT STDMETHODCALLTYPE EnableModeless(
  655. /* [in] */ BOOL fEnable) = 0;
  656. };
  657. #else /* C style interface */
  658. typedef struct IActiveScriptSiteWindowVtbl
  659. {
  660. BEGIN_INTERFACE
  661. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  662. IActiveScriptSiteWindow * This,
  663. /* [in] */ REFIID riid,
  664. /* [iid_is][out] */ void **ppvObject);
  665. ULONG ( STDMETHODCALLTYPE *AddRef )(
  666. IActiveScriptSiteWindow * This);
  667. ULONG ( STDMETHODCALLTYPE *Release )(
  668. IActiveScriptSiteWindow * This);
  669. HRESULT ( STDMETHODCALLTYPE *GetWindow )(
  670. IActiveScriptSiteWindow * This,
  671. /* [out] */ HWND *phwnd);
  672. HRESULT ( STDMETHODCALLTYPE *EnableModeless )(
  673. IActiveScriptSiteWindow * This,
  674. /* [in] */ BOOL fEnable);
  675. END_INTERFACE
  676. } IActiveScriptSiteWindowVtbl;
  677. interface IActiveScriptSiteWindow
  678. {
  679. CONST_VTBL struct IActiveScriptSiteWindowVtbl *lpVtbl;
  680. };
  681. #ifdef COBJMACROS
  682. #define IActiveScriptSiteWindow_QueryInterface(This,riid,ppvObject) \
  683. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  684. #define IActiveScriptSiteWindow_AddRef(This) \
  685. (This)->lpVtbl -> AddRef(This)
  686. #define IActiveScriptSiteWindow_Release(This) \
  687. (This)->lpVtbl -> Release(This)
  688. #define IActiveScriptSiteWindow_GetWindow(This,phwnd) \
  689. (This)->lpVtbl -> GetWindow(This,phwnd)
  690. #define IActiveScriptSiteWindow_EnableModeless(This,fEnable) \
  691. (This)->lpVtbl -> EnableModeless(This,fEnable)
  692. #endif /* COBJMACROS */
  693. #endif /* C style interface */
  694. HRESULT STDMETHODCALLTYPE IActiveScriptSiteWindow_GetWindow_Proxy(
  695. IActiveScriptSiteWindow * This,
  696. /* [out] */ HWND *phwnd);
  697. void __RPC_STUB IActiveScriptSiteWindow_GetWindow_Stub(
  698. IRpcStubBuffer *This,
  699. IRpcChannelBuffer *_pRpcChannelBuffer,
  700. PRPC_MESSAGE _pRpcMessage,
  701. DWORD *_pdwStubPhase);
  702. HRESULT STDMETHODCALLTYPE IActiveScriptSiteWindow_EnableModeless_Proxy(
  703. IActiveScriptSiteWindow * This,
  704. /* [in] */ BOOL fEnable);
  705. void __RPC_STUB IActiveScriptSiteWindow_EnableModeless_Stub(
  706. IRpcStubBuffer *This,
  707. IRpcChannelBuffer *_pRpcChannelBuffer,
  708. PRPC_MESSAGE _pRpcMessage,
  709. DWORD *_pdwStubPhase);
  710. #endif /* __IActiveScriptSiteWindow_INTERFACE_DEFINED__ */
  711. #ifndef __IActiveScriptSiteInterruptPoll_INTERFACE_DEFINED__
  712. #define __IActiveScriptSiteInterruptPoll_INTERFACE_DEFINED__
  713. /* interface IActiveScriptSiteInterruptPoll */
  714. /* [unique][uuid][object] */
  715. EXTERN_C const IID IID_IActiveScriptSiteInterruptPoll;
  716. #if defined(__cplusplus) && !defined(CINTERFACE)
  717. MIDL_INTERFACE("539698A0-CDCA-11CF-A5EB-00AA0047A063")
  718. IActiveScriptSiteInterruptPoll : public IUnknown
  719. {
  720. public:
  721. virtual HRESULT STDMETHODCALLTYPE QueryContinue( void) = 0;
  722. };
  723. #else /* C style interface */
  724. typedef struct IActiveScriptSiteInterruptPollVtbl
  725. {
  726. BEGIN_INTERFACE
  727. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  728. IActiveScriptSiteInterruptPoll * This,
  729. /* [in] */ REFIID riid,
  730. /* [iid_is][out] */ void **ppvObject);
  731. ULONG ( STDMETHODCALLTYPE *AddRef )(
  732. IActiveScriptSiteInterruptPoll * This);
  733. ULONG ( STDMETHODCALLTYPE *Release )(
  734. IActiveScriptSiteInterruptPoll * This);
  735. HRESULT ( STDMETHODCALLTYPE *QueryContinue )(
  736. IActiveScriptSiteInterruptPoll * This);
  737. END_INTERFACE
  738. } IActiveScriptSiteInterruptPollVtbl;
  739. interface IActiveScriptSiteInterruptPoll
  740. {
  741. CONST_VTBL struct IActiveScriptSiteInterruptPollVtbl *lpVtbl;
  742. };
  743. #ifdef COBJMACROS
  744. #define IActiveScriptSiteInterruptPoll_QueryInterface(This,riid,ppvObject) \
  745. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  746. #define IActiveScriptSiteInterruptPoll_AddRef(This) \
  747. (This)->lpVtbl -> AddRef(This)
  748. #define IActiveScriptSiteInterruptPoll_Release(This) \
  749. (This)->lpVtbl -> Release(This)
  750. #define IActiveScriptSiteInterruptPoll_QueryContinue(This) \
  751. (This)->lpVtbl -> QueryContinue(This)
  752. #endif /* COBJMACROS */
  753. #endif /* C style interface */
  754. HRESULT STDMETHODCALLTYPE IActiveScriptSiteInterruptPoll_QueryContinue_Proxy(
  755. IActiveScriptSiteInterruptPoll * This);
  756. void __RPC_STUB IActiveScriptSiteInterruptPoll_QueryContinue_Stub(
  757. IRpcStubBuffer *This,
  758. IRpcChannelBuffer *_pRpcChannelBuffer,
  759. PRPC_MESSAGE _pRpcMessage,
  760. DWORD *_pdwStubPhase);
  761. #endif /* __IActiveScriptSiteInterruptPoll_INTERFACE_DEFINED__ */
  762. #ifndef __IActiveScript_INTERFACE_DEFINED__
  763. #define __IActiveScript_INTERFACE_DEFINED__
  764. /* interface IActiveScript */
  765. /* [unique][uuid][object] */
  766. EXTERN_C const IID IID_IActiveScript;
  767. #if defined(__cplusplus) && !defined(CINTERFACE)
  768. MIDL_INTERFACE("BB1A2AE1-A4F9-11cf-8F20-00805F2CD064")
  769. IActiveScript : public IUnknown
  770. {
  771. public:
  772. virtual HRESULT STDMETHODCALLTYPE SetScriptSite(
  773. /* [in] */ IActiveScriptSite *pass) = 0;
  774. virtual HRESULT STDMETHODCALLTYPE GetScriptSite(
  775. /* [in] */ REFIID riid,
  776. /* [iid_is][out] */ void **ppvObject) = 0;
  777. virtual HRESULT STDMETHODCALLTYPE SetScriptState(
  778. /* [in] */ SCRIPTSTATE ss) = 0;
  779. virtual HRESULT STDMETHODCALLTYPE GetScriptState(
  780. /* [out] */ SCRIPTSTATE *pssState) = 0;
  781. virtual HRESULT STDMETHODCALLTYPE Close( void) = 0;
  782. virtual HRESULT STDMETHODCALLTYPE AddNamedItem(
  783. /* [in] */ LPCOLESTR pstrName,
  784. /* [in] */ DWORD dwFlags) = 0;
  785. virtual HRESULT STDMETHODCALLTYPE AddTypeLib(
  786. /* [in] */ REFGUID rguidTypeLib,
  787. /* [in] */ DWORD dwMajor,
  788. /* [in] */ DWORD dwMinor,
  789. /* [in] */ DWORD dwFlags) = 0;
  790. virtual HRESULT STDMETHODCALLTYPE GetScriptDispatch(
  791. /* [in] */ LPCOLESTR pstrItemName,
  792. /* [out] */ IDispatch **ppdisp) = 0;
  793. virtual HRESULT STDMETHODCALLTYPE GetCurrentScriptThreadID(
  794. /* [out] */ SCRIPTTHREADID *pstidThread) = 0;
  795. virtual HRESULT STDMETHODCALLTYPE GetScriptThreadID(
  796. /* [in] */ DWORD dwWin32ThreadId,
  797. /* [out] */ SCRIPTTHREADID *pstidThread) = 0;
  798. virtual HRESULT STDMETHODCALLTYPE GetScriptThreadState(
  799. /* [in] */ SCRIPTTHREADID stidThread,
  800. /* [out] */ SCRIPTTHREADSTATE *pstsState) = 0;
  801. virtual HRESULT STDMETHODCALLTYPE InterruptScriptThread(
  802. /* [in] */ SCRIPTTHREADID stidThread,
  803. /* [in] */ const EXCEPINFO *pexcepinfo,
  804. /* [in] */ DWORD dwFlags) = 0;
  805. virtual HRESULT STDMETHODCALLTYPE Clone(
  806. /* [out] */ IActiveScript **ppscript) = 0;
  807. };
  808. #else /* C style interface */
  809. typedef struct IActiveScriptVtbl
  810. {
  811. BEGIN_INTERFACE
  812. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  813. IActiveScript * This,
  814. /* [in] */ REFIID riid,
  815. /* [iid_is][out] */ void **ppvObject);
  816. ULONG ( STDMETHODCALLTYPE *AddRef )(
  817. IActiveScript * This);
  818. ULONG ( STDMETHODCALLTYPE *Release )(
  819. IActiveScript * This);
  820. HRESULT ( STDMETHODCALLTYPE *SetScriptSite )(
  821. IActiveScript * This,
  822. /* [in] */ IActiveScriptSite *pass);
  823. HRESULT ( STDMETHODCALLTYPE *GetScriptSite )(
  824. IActiveScript * This,
  825. /* [in] */ REFIID riid,
  826. /* [iid_is][out] */ void **ppvObject);
  827. HRESULT ( STDMETHODCALLTYPE *SetScriptState )(
  828. IActiveScript * This,
  829. /* [in] */ SCRIPTSTATE ss);
  830. HRESULT ( STDMETHODCALLTYPE *GetScriptState )(
  831. IActiveScript * This,
  832. /* [out] */ SCRIPTSTATE *pssState);
  833. HRESULT ( STDMETHODCALLTYPE *Close )(
  834. IActiveScript * This);
  835. HRESULT ( STDMETHODCALLTYPE *AddNamedItem )(
  836. IActiveScript * This,
  837. /* [in] */ LPCOLESTR pstrName,
  838. /* [in] */ DWORD dwFlags);
  839. HRESULT ( STDMETHODCALLTYPE *AddTypeLib )(
  840. IActiveScript * This,
  841. /* [in] */ REFGUID rguidTypeLib,
  842. /* [in] */ DWORD dwMajor,
  843. /* [in] */ DWORD dwMinor,
  844. /* [in] */ DWORD dwFlags);
  845. HRESULT ( STDMETHODCALLTYPE *GetScriptDispatch )(
  846. IActiveScript * This,
  847. /* [in] */ LPCOLESTR pstrItemName,
  848. /* [out] */ IDispatch **ppdisp);
  849. HRESULT ( STDMETHODCALLTYPE *GetCurrentScriptThreadID )(
  850. IActiveScript * This,
  851. /* [out] */ SCRIPTTHREADID *pstidThread);
  852. HRESULT ( STDMETHODCALLTYPE *GetScriptThreadID )(
  853. IActiveScript * This,
  854. /* [in] */ DWORD dwWin32ThreadId,
  855. /* [out] */ SCRIPTTHREADID *pstidThread);
  856. HRESULT ( STDMETHODCALLTYPE *GetScriptThreadState )(
  857. IActiveScript * This,
  858. /* [in] */ SCRIPTTHREADID stidThread,
  859. /* [out] */ SCRIPTTHREADSTATE *pstsState);
  860. HRESULT ( STDMETHODCALLTYPE *InterruptScriptThread )(
  861. IActiveScript * This,
  862. /* [in] */ SCRIPTTHREADID stidThread,
  863. /* [in] */ const EXCEPINFO *pexcepinfo,
  864. /* [in] */ DWORD dwFlags);
  865. HRESULT ( STDMETHODCALLTYPE *Clone )(
  866. IActiveScript * This,
  867. /* [out] */ IActiveScript **ppscript);
  868. END_INTERFACE
  869. } IActiveScriptVtbl;
  870. interface IActiveScript
  871. {
  872. CONST_VTBL struct IActiveScriptVtbl *lpVtbl;
  873. };
  874. #ifdef COBJMACROS
  875. #define IActiveScript_QueryInterface(This,riid,ppvObject) \
  876. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  877. #define IActiveScript_AddRef(This) \
  878. (This)->lpVtbl -> AddRef(This)
  879. #define IActiveScript_Release(This) \
  880. (This)->lpVtbl -> Release(This)
  881. #define IActiveScript_SetScriptSite(This,pass) \
  882. (This)->lpVtbl -> SetScriptSite(This,pass)
  883. #define IActiveScript_GetScriptSite(This,riid,ppvObject) \
  884. (This)->lpVtbl -> GetScriptSite(This,riid,ppvObject)
  885. #define IActiveScript_SetScriptState(This,ss) \
  886. (This)->lpVtbl -> SetScriptState(This,ss)
  887. #define IActiveScript_GetScriptState(This,pssState) \
  888. (This)->lpVtbl -> GetScriptState(This,pssState)
  889. #define IActiveScript_Close(This) \
  890. (This)->lpVtbl -> Close(This)
  891. #define IActiveScript_AddNamedItem(This,pstrName,dwFlags) \
  892. (This)->lpVtbl -> AddNamedItem(This,pstrName,dwFlags)
  893. #define IActiveScript_AddTypeLib(This,rguidTypeLib,dwMajor,dwMinor,dwFlags) \
  894. (This)->lpVtbl -> AddTypeLib(This,rguidTypeLib,dwMajor,dwMinor,dwFlags)
  895. #define IActiveScript_GetScriptDispatch(This,pstrItemName,ppdisp) \
  896. (This)->lpVtbl -> GetScriptDispatch(This,pstrItemName,ppdisp)
  897. #define IActiveScript_GetCurrentScriptThreadID(This,pstidThread) \
  898. (This)->lpVtbl -> GetCurrentScriptThreadID(This,pstidThread)
  899. #define IActiveScript_GetScriptThreadID(This,dwWin32ThreadId,pstidThread) \
  900. (This)->lpVtbl -> GetScriptThreadID(This,dwWin32ThreadId,pstidThread)
  901. #define IActiveScript_GetScriptThreadState(This,stidThread,pstsState) \
  902. (This)->lpVtbl -> GetScriptThreadState(This,stidThread,pstsState)
  903. #define IActiveScript_InterruptScriptThread(This,stidThread,pexcepinfo,dwFlags) \
  904. (This)->lpVtbl -> InterruptScriptThread(This,stidThread,pexcepinfo,dwFlags)
  905. #define IActiveScript_Clone(This,ppscript) \
  906. (This)->lpVtbl -> Clone(This,ppscript)
  907. #endif /* COBJMACROS */
  908. #endif /* C style interface */
  909. HRESULT STDMETHODCALLTYPE IActiveScript_SetScriptSite_Proxy(
  910. IActiveScript * This,
  911. /* [in] */ IActiveScriptSite *pass);
  912. void __RPC_STUB IActiveScript_SetScriptSite_Stub(
  913. IRpcStubBuffer *This,
  914. IRpcChannelBuffer *_pRpcChannelBuffer,
  915. PRPC_MESSAGE _pRpcMessage,
  916. DWORD *_pdwStubPhase);
  917. HRESULT STDMETHODCALLTYPE IActiveScript_GetScriptSite_Proxy(
  918. IActiveScript * This,
  919. /* [in] */ REFIID riid,
  920. /* [iid_is][out] */ void **ppvObject);
  921. void __RPC_STUB IActiveScript_GetScriptSite_Stub(
  922. IRpcStubBuffer *This,
  923. IRpcChannelBuffer *_pRpcChannelBuffer,
  924. PRPC_MESSAGE _pRpcMessage,
  925. DWORD *_pdwStubPhase);
  926. HRESULT STDMETHODCALLTYPE IActiveScript_SetScriptState_Proxy(
  927. IActiveScript * This,
  928. /* [in] */ SCRIPTSTATE ss);
  929. void __RPC_STUB IActiveScript_SetScriptState_Stub(
  930. IRpcStubBuffer *This,
  931. IRpcChannelBuffer *_pRpcChannelBuffer,
  932. PRPC_MESSAGE _pRpcMessage,
  933. DWORD *_pdwStubPhase);
  934. HRESULT STDMETHODCALLTYPE IActiveScript_GetScriptState_Proxy(
  935. IActiveScript * This,
  936. /* [out] */ SCRIPTSTATE *pssState);
  937. void __RPC_STUB IActiveScript_GetScriptState_Stub(
  938. IRpcStubBuffer *This,
  939. IRpcChannelBuffer *_pRpcChannelBuffer,
  940. PRPC_MESSAGE _pRpcMessage,
  941. DWORD *_pdwStubPhase);
  942. HRESULT STDMETHODCALLTYPE IActiveScript_Close_Proxy(
  943. IActiveScript * This);
  944. void __RPC_STUB IActiveScript_Close_Stub(
  945. IRpcStubBuffer *This,
  946. IRpcChannelBuffer *_pRpcChannelBuffer,
  947. PRPC_MESSAGE _pRpcMessage,
  948. DWORD *_pdwStubPhase);
  949. HRESULT STDMETHODCALLTYPE IActiveScript_AddNamedItem_Proxy(
  950. IActiveScript * This,
  951. /* [in] */ LPCOLESTR pstrName,
  952. /* [in] */ DWORD dwFlags);
  953. void __RPC_STUB IActiveScript_AddNamedItem_Stub(
  954. IRpcStubBuffer *This,
  955. IRpcChannelBuffer *_pRpcChannelBuffer,
  956. PRPC_MESSAGE _pRpcMessage,
  957. DWORD *_pdwStubPhase);
  958. HRESULT STDMETHODCALLTYPE IActiveScript_AddTypeLib_Proxy(
  959. IActiveScript * This,
  960. /* [in] */ REFGUID rguidTypeLib,
  961. /* [in] */ DWORD dwMajor,
  962. /* [in] */ DWORD dwMinor,
  963. /* [in] */ DWORD dwFlags);
  964. void __RPC_STUB IActiveScript_AddTypeLib_Stub(
  965. IRpcStubBuffer *This,
  966. IRpcChannelBuffer *_pRpcChannelBuffer,
  967. PRPC_MESSAGE _pRpcMessage,
  968. DWORD *_pdwStubPhase);
  969. HRESULT STDMETHODCALLTYPE IActiveScript_GetScriptDispatch_Proxy(
  970. IActiveScript * This,
  971. /* [in] */ LPCOLESTR pstrItemName,
  972. /* [out] */ IDispatch **ppdisp);
  973. void __RPC_STUB IActiveScript_GetScriptDispatch_Stub(
  974. IRpcStubBuffer *This,
  975. IRpcChannelBuffer *_pRpcChannelBuffer,
  976. PRPC_MESSAGE _pRpcMessage,
  977. DWORD *_pdwStubPhase);
  978. HRESULT STDMETHODCALLTYPE IActiveScript_GetCurrentScriptThreadID_Proxy(
  979. IActiveScript * This,
  980. /* [out] */ SCRIPTTHREADID *pstidThread);
  981. void __RPC_STUB IActiveScript_GetCurrentScriptThreadID_Stub(
  982. IRpcStubBuffer *This,
  983. IRpcChannelBuffer *_pRpcChannelBuffer,
  984. PRPC_MESSAGE _pRpcMessage,
  985. DWORD *_pdwStubPhase);
  986. HRESULT STDMETHODCALLTYPE IActiveScript_GetScriptThreadID_Proxy(
  987. IActiveScript * This,
  988. /* [in] */ DWORD dwWin32ThreadId,
  989. /* [out] */ SCRIPTTHREADID *pstidThread);
  990. void __RPC_STUB IActiveScript_GetScriptThreadID_Stub(
  991. IRpcStubBuffer *This,
  992. IRpcChannelBuffer *_pRpcChannelBuffer,
  993. PRPC_MESSAGE _pRpcMessage,
  994. DWORD *_pdwStubPhase);
  995. HRESULT STDMETHODCALLTYPE IActiveScript_GetScriptThreadState_Proxy(
  996. IActiveScript * This,
  997. /* [in] */ SCRIPTTHREADID stidThread,
  998. /* [out] */ SCRIPTTHREADSTATE *pstsState);
  999. void __RPC_STUB IActiveScript_GetScriptThreadState_Stub(
  1000. IRpcStubBuffer *This,
  1001. IRpcChannelBuffer *_pRpcChannelBuffer,
  1002. PRPC_MESSAGE _pRpcMessage,
  1003. DWORD *_pdwStubPhase);
  1004. HRESULT STDMETHODCALLTYPE IActiveScript_InterruptScriptThread_Proxy(
  1005. IActiveScript * This,
  1006. /* [in] */ SCRIPTTHREADID stidThread,
  1007. /* [in] */ const EXCEPINFO *pexcepinfo,
  1008. /* [in] */ DWORD dwFlags);
  1009. void __RPC_STUB IActiveScript_InterruptScriptThread_Stub(
  1010. IRpcStubBuffer *This,
  1011. IRpcChannelBuffer *_pRpcChannelBuffer,
  1012. PRPC_MESSAGE _pRpcMessage,
  1013. DWORD *_pdwStubPhase);
  1014. HRESULT STDMETHODCALLTYPE IActiveScript_Clone_Proxy(
  1015. IActiveScript * This,
  1016. /* [out] */ IActiveScript **ppscript);
  1017. void __RPC_STUB IActiveScript_Clone_Stub(
  1018. IRpcStubBuffer *This,
  1019. IRpcChannelBuffer *_pRpcChannelBuffer,
  1020. PRPC_MESSAGE _pRpcMessage,
  1021. DWORD *_pdwStubPhase);
  1022. #endif /* __IActiveScript_INTERFACE_DEFINED__ */
  1023. #ifndef __IActiveScriptParse32_INTERFACE_DEFINED__
  1024. #define __IActiveScriptParse32_INTERFACE_DEFINED__
  1025. /* interface IActiveScriptParse32 */
  1026. /* [unique][uuid][object] */
  1027. EXTERN_C const IID IID_IActiveScriptParse32;
  1028. #if defined(__cplusplus) && !defined(CINTERFACE)
  1029. MIDL_INTERFACE("BB1A2AE2-A4F9-11cf-8F20-00805F2CD064")
  1030. IActiveScriptParse32 : public IUnknown
  1031. {
  1032. public:
  1033. virtual HRESULT STDMETHODCALLTYPE InitNew( void) = 0;
  1034. virtual HRESULT STDMETHODCALLTYPE AddScriptlet(
  1035. /* [in] */ LPCOLESTR pstrDefaultName,
  1036. /* [in] */ LPCOLESTR pstrCode,
  1037. /* [in] */ LPCOLESTR pstrItemName,
  1038. /* [in] */ LPCOLESTR pstrSubItemName,
  1039. /* [in] */ LPCOLESTR pstrEventName,
  1040. /* [in] */ LPCOLESTR pstrDelimiter,
  1041. /* [in] */ DWORD dwSourceContextCookie,
  1042. /* [in] */ ULONG ulStartingLineNumber,
  1043. /* [in] */ DWORD dwFlags,
  1044. /* [out] */ BSTR *pbstrName,
  1045. /* [out] */ EXCEPINFO *pexcepinfo) = 0;
  1046. virtual HRESULT STDMETHODCALLTYPE ParseScriptText(
  1047. /* [in] */ LPCOLESTR pstrCode,
  1048. /* [in] */ LPCOLESTR pstrItemName,
  1049. /* [in] */ IUnknown *punkContext,
  1050. /* [in] */ LPCOLESTR pstrDelimiter,
  1051. /* [in] */ DWORD dwSourceContextCookie,
  1052. /* [in] */ ULONG ulStartingLineNumber,
  1053. /* [in] */ DWORD dwFlags,
  1054. /* [out] */ VARIANT *pvarResult,
  1055. /* [out] */ EXCEPINFO *pexcepinfo) = 0;
  1056. };
  1057. #else /* C style interface */
  1058. typedef struct IActiveScriptParse32Vtbl
  1059. {
  1060. BEGIN_INTERFACE
  1061. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1062. IActiveScriptParse32 * This,
  1063. /* [in] */ REFIID riid,
  1064. /* [iid_is][out] */ void **ppvObject);
  1065. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1066. IActiveScriptParse32 * This);
  1067. ULONG ( STDMETHODCALLTYPE *Release )(
  1068. IActiveScriptParse32 * This);
  1069. HRESULT ( STDMETHODCALLTYPE *InitNew )(
  1070. IActiveScriptParse32 * This);
  1071. HRESULT ( STDMETHODCALLTYPE *AddScriptlet )(
  1072. IActiveScriptParse32 * This,
  1073. /* [in] */ LPCOLESTR pstrDefaultName,
  1074. /* [in] */ LPCOLESTR pstrCode,
  1075. /* [in] */ LPCOLESTR pstrItemName,
  1076. /* [in] */ LPCOLESTR pstrSubItemName,
  1077. /* [in] */ LPCOLESTR pstrEventName,
  1078. /* [in] */ LPCOLESTR pstrDelimiter,
  1079. /* [in] */ DWORD dwSourceContextCookie,
  1080. /* [in] */ ULONG ulStartingLineNumber,
  1081. /* [in] */ DWORD dwFlags,
  1082. /* [out] */ BSTR *pbstrName,
  1083. /* [out] */ EXCEPINFO *pexcepinfo);
  1084. HRESULT ( STDMETHODCALLTYPE *ParseScriptText )(
  1085. IActiveScriptParse32 * This,
  1086. /* [in] */ LPCOLESTR pstrCode,
  1087. /* [in] */ LPCOLESTR pstrItemName,
  1088. /* [in] */ IUnknown *punkContext,
  1089. /* [in] */ LPCOLESTR pstrDelimiter,
  1090. /* [in] */ DWORD dwSourceContextCookie,
  1091. /* [in] */ ULONG ulStartingLineNumber,
  1092. /* [in] */ DWORD dwFlags,
  1093. /* [out] */ VARIANT *pvarResult,
  1094. /* [out] */ EXCEPINFO *pexcepinfo);
  1095. END_INTERFACE
  1096. } IActiveScriptParse32Vtbl;
  1097. interface IActiveScriptParse32
  1098. {
  1099. CONST_VTBL struct IActiveScriptParse32Vtbl *lpVtbl;
  1100. };
  1101. #ifdef COBJMACROS
  1102. #define IActiveScriptParse32_QueryInterface(This,riid,ppvObject) \
  1103. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1104. #define IActiveScriptParse32_AddRef(This) \
  1105. (This)->lpVtbl -> AddRef(This)
  1106. #define IActiveScriptParse32_Release(This) \
  1107. (This)->lpVtbl -> Release(This)
  1108. #define IActiveScriptParse32_InitNew(This) \
  1109. (This)->lpVtbl -> InitNew(This)
  1110. #define IActiveScriptParse32_AddScriptlet(This,pstrDefaultName,pstrCode,pstrItemName,pstrSubItemName,pstrEventName,pstrDelimiter,dwSourceContextCookie,ulStartingLineNumber,dwFlags,pbstrName,pexcepinfo) \
  1111. (This)->lpVtbl -> AddScriptlet(This,pstrDefaultName,pstrCode,pstrItemName,pstrSubItemName,pstrEventName,pstrDelimiter,dwSourceContextCookie,ulStartingLineNumber,dwFlags,pbstrName,pexcepinfo)
  1112. #define IActiveScriptParse32_ParseScriptText(This,pstrCode,pstrItemName,punkContext,pstrDelimiter,dwSourceContextCookie,ulStartingLineNumber,dwFlags,pvarResult,pexcepinfo) \
  1113. (This)->lpVtbl -> ParseScriptText(This,pstrCode,pstrItemName,punkContext,pstrDelimiter,dwSourceContextCookie,ulStartingLineNumber,dwFlags,pvarResult,pexcepinfo)
  1114. #endif /* COBJMACROS */
  1115. #endif /* C style interface */
  1116. HRESULT STDMETHODCALLTYPE IActiveScriptParse32_InitNew_Proxy(
  1117. IActiveScriptParse32 * This);
  1118. void __RPC_STUB IActiveScriptParse32_InitNew_Stub(
  1119. IRpcStubBuffer *This,
  1120. IRpcChannelBuffer *_pRpcChannelBuffer,
  1121. PRPC_MESSAGE _pRpcMessage,
  1122. DWORD *_pdwStubPhase);
  1123. HRESULT STDMETHODCALLTYPE IActiveScriptParse32_AddScriptlet_Proxy(
  1124. IActiveScriptParse32 * This,
  1125. /* [in] */ LPCOLESTR pstrDefaultName,
  1126. /* [in] */ LPCOLESTR pstrCode,
  1127. /* [in] */ LPCOLESTR pstrItemName,
  1128. /* [in] */ LPCOLESTR pstrSubItemName,
  1129. /* [in] */ LPCOLESTR pstrEventName,
  1130. /* [in] */ LPCOLESTR pstrDelimiter,
  1131. /* [in] */ DWORD dwSourceContextCookie,
  1132. /* [in] */ ULONG ulStartingLineNumber,
  1133. /* [in] */ DWORD dwFlags,
  1134. /* [out] */ BSTR *pbstrName,
  1135. /* [out] */ EXCEPINFO *pexcepinfo);
  1136. void __RPC_STUB IActiveScriptParse32_AddScriptlet_Stub(
  1137. IRpcStubBuffer *This,
  1138. IRpcChannelBuffer *_pRpcChannelBuffer,
  1139. PRPC_MESSAGE _pRpcMessage,
  1140. DWORD *_pdwStubPhase);
  1141. HRESULT STDMETHODCALLTYPE IActiveScriptParse32_ParseScriptText_Proxy(
  1142. IActiveScriptParse32 * This,
  1143. /* [in] */ LPCOLESTR pstrCode,
  1144. /* [in] */ LPCOLESTR pstrItemName,
  1145. /* [in] */ IUnknown *punkContext,
  1146. /* [in] */ LPCOLESTR pstrDelimiter,
  1147. /* [in] */ DWORD dwSourceContextCookie,
  1148. /* [in] */ ULONG ulStartingLineNumber,
  1149. /* [in] */ DWORD dwFlags,
  1150. /* [out] */ VARIANT *pvarResult,
  1151. /* [out] */ EXCEPINFO *pexcepinfo);
  1152. void __RPC_STUB IActiveScriptParse32_ParseScriptText_Stub(
  1153. IRpcStubBuffer *This,
  1154. IRpcChannelBuffer *_pRpcChannelBuffer,
  1155. PRPC_MESSAGE _pRpcMessage,
  1156. DWORD *_pdwStubPhase);
  1157. #endif /* __IActiveScriptParse32_INTERFACE_DEFINED__ */
  1158. #ifndef __IActiveScriptParse64_INTERFACE_DEFINED__
  1159. #define __IActiveScriptParse64_INTERFACE_DEFINED__
  1160. /* interface IActiveScriptParse64 */
  1161. /* [unique][uuid][object] */
  1162. EXTERN_C const IID IID_IActiveScriptParse64;
  1163. #if defined(__cplusplus) && !defined(CINTERFACE)
  1164. MIDL_INTERFACE("C7EF7658-E1EE-480E-97EA-D52CB4D76D17")
  1165. IActiveScriptParse64 : public IUnknown
  1166. {
  1167. public:
  1168. virtual HRESULT STDMETHODCALLTYPE InitNew( void) = 0;
  1169. virtual HRESULT STDMETHODCALLTYPE AddScriptlet(
  1170. /* [in] */ LPCOLESTR pstrDefaultName,
  1171. /* [in] */ LPCOLESTR pstrCode,
  1172. /* [in] */ LPCOLESTR pstrItemName,
  1173. /* [in] */ LPCOLESTR pstrSubItemName,
  1174. /* [in] */ LPCOLESTR pstrEventName,
  1175. /* [in] */ LPCOLESTR pstrDelimiter,
  1176. /* [in] */ DWORDLONG dwSourceContextCookie,
  1177. /* [in] */ ULONG ulStartingLineNumber,
  1178. /* [in] */ DWORD dwFlags,
  1179. /* [out] */ BSTR *pbstrName,
  1180. /* [out] */ EXCEPINFO *pexcepinfo) = 0;
  1181. virtual HRESULT STDMETHODCALLTYPE ParseScriptText(
  1182. /* [in] */ LPCOLESTR pstrCode,
  1183. /* [in] */ LPCOLESTR pstrItemName,
  1184. /* [in] */ IUnknown *punkContext,
  1185. /* [in] */ LPCOLESTR pstrDelimiter,
  1186. /* [in] */ DWORDLONG dwSourceContextCookie,
  1187. /* [in] */ ULONG ulStartingLineNumber,
  1188. /* [in] */ DWORD dwFlags,
  1189. /* [out] */ VARIANT *pvarResult,
  1190. /* [out] */ EXCEPINFO *pexcepinfo) = 0;
  1191. };
  1192. #else /* C style interface */
  1193. typedef struct IActiveScriptParse64Vtbl
  1194. {
  1195. BEGIN_INTERFACE
  1196. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1197. IActiveScriptParse64 * This,
  1198. /* [in] */ REFIID riid,
  1199. /* [iid_is][out] */ void **ppvObject);
  1200. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1201. IActiveScriptParse64 * This);
  1202. ULONG ( STDMETHODCALLTYPE *Release )(
  1203. IActiveScriptParse64 * This);
  1204. HRESULT ( STDMETHODCALLTYPE *InitNew )(
  1205. IActiveScriptParse64 * This);
  1206. HRESULT ( STDMETHODCALLTYPE *AddScriptlet )(
  1207. IActiveScriptParse64 * This,
  1208. /* [in] */ LPCOLESTR pstrDefaultName,
  1209. /* [in] */ LPCOLESTR pstrCode,
  1210. /* [in] */ LPCOLESTR pstrItemName,
  1211. /* [in] */ LPCOLESTR pstrSubItemName,
  1212. /* [in] */ LPCOLESTR pstrEventName,
  1213. /* [in] */ LPCOLESTR pstrDelimiter,
  1214. /* [in] */ DWORDLONG dwSourceContextCookie,
  1215. /* [in] */ ULONG ulStartingLineNumber,
  1216. /* [in] */ DWORD dwFlags,
  1217. /* [out] */ BSTR *pbstrName,
  1218. /* [out] */ EXCEPINFO *pexcepinfo);
  1219. HRESULT ( STDMETHODCALLTYPE *ParseScriptText )(
  1220. IActiveScriptParse64 * This,
  1221. /* [in] */ LPCOLESTR pstrCode,
  1222. /* [in] */ LPCOLESTR pstrItemName,
  1223. /* [in] */ IUnknown *punkContext,
  1224. /* [in] */ LPCOLESTR pstrDelimiter,
  1225. /* [in] */ DWORDLONG dwSourceContextCookie,
  1226. /* [in] */ ULONG ulStartingLineNumber,
  1227. /* [in] */ DWORD dwFlags,
  1228. /* [out] */ VARIANT *pvarResult,
  1229. /* [out] */ EXCEPINFO *pexcepinfo);
  1230. END_INTERFACE
  1231. } IActiveScriptParse64Vtbl;
  1232. interface IActiveScriptParse64
  1233. {
  1234. CONST_VTBL struct IActiveScriptParse64Vtbl *lpVtbl;
  1235. };
  1236. #ifdef COBJMACROS
  1237. #define IActiveScriptParse64_QueryInterface(This,riid,ppvObject) \
  1238. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1239. #define IActiveScriptParse64_AddRef(This) \
  1240. (This)->lpVtbl -> AddRef(This)
  1241. #define IActiveScriptParse64_Release(This) \
  1242. (This)->lpVtbl -> Release(This)
  1243. #define IActiveScriptParse64_InitNew(This) \
  1244. (This)->lpVtbl -> InitNew(This)
  1245. #define IActiveScriptParse64_AddScriptlet(This,pstrDefaultName,pstrCode,pstrItemName,pstrSubItemName,pstrEventName,pstrDelimiter,dwSourceContextCookie,ulStartingLineNumber,dwFlags,pbstrName,pexcepinfo) \
  1246. (This)->lpVtbl -> AddScriptlet(This,pstrDefaultName,pstrCode,pstrItemName,pstrSubItemName,pstrEventName,pstrDelimiter,dwSourceContextCookie,ulStartingLineNumber,dwFlags,pbstrName,pexcepinfo)
  1247. #define IActiveScriptParse64_ParseScriptText(This,pstrCode,pstrItemName,punkContext,pstrDelimiter,dwSourceContextCookie,ulStartingLineNumber,dwFlags,pvarResult,pexcepinfo) \
  1248. (This)->lpVtbl -> ParseScriptText(This,pstrCode,pstrItemName,punkContext,pstrDelimiter,dwSourceContextCookie,ulStartingLineNumber,dwFlags,pvarResult,pexcepinfo)
  1249. #endif /* COBJMACROS */
  1250. #endif /* C style interface */
  1251. HRESULT STDMETHODCALLTYPE IActiveScriptParse64_InitNew_Proxy(
  1252. IActiveScriptParse64 * This);
  1253. void __RPC_STUB IActiveScriptParse64_InitNew_Stub(
  1254. IRpcStubBuffer *This,
  1255. IRpcChannelBuffer *_pRpcChannelBuffer,
  1256. PRPC_MESSAGE _pRpcMessage,
  1257. DWORD *_pdwStubPhase);
  1258. HRESULT STDMETHODCALLTYPE IActiveScriptParse64_AddScriptlet_Proxy(
  1259. IActiveScriptParse64 * This,
  1260. /* [in] */ LPCOLESTR pstrDefaultName,
  1261. /* [in] */ LPCOLESTR pstrCode,
  1262. /* [in] */ LPCOLESTR pstrItemName,
  1263. /* [in] */ LPCOLESTR pstrSubItemName,
  1264. /* [in] */ LPCOLESTR pstrEventName,
  1265. /* [in] */ LPCOLESTR pstrDelimiter,
  1266. /* [in] */ DWORDLONG dwSourceContextCookie,
  1267. /* [in] */ ULONG ulStartingLineNumber,
  1268. /* [in] */ DWORD dwFlags,
  1269. /* [out] */ BSTR *pbstrName,
  1270. /* [out] */ EXCEPINFO *pexcepinfo);
  1271. void __RPC_STUB IActiveScriptParse64_AddScriptlet_Stub(
  1272. IRpcStubBuffer *This,
  1273. IRpcChannelBuffer *_pRpcChannelBuffer,
  1274. PRPC_MESSAGE _pRpcMessage,
  1275. DWORD *_pdwStubPhase);
  1276. HRESULT STDMETHODCALLTYPE IActiveScriptParse64_ParseScriptText_Proxy(
  1277. IActiveScriptParse64 * This,
  1278. /* [in] */ LPCOLESTR pstrCode,
  1279. /* [in] */ LPCOLESTR pstrItemName,
  1280. /* [in] */ IUnknown *punkContext,
  1281. /* [in] */ LPCOLESTR pstrDelimiter,
  1282. /* [in] */ DWORDLONG dwSourceContextCookie,
  1283. /* [in] */ ULONG ulStartingLineNumber,
  1284. /* [in] */ DWORD dwFlags,
  1285. /* [out] */ VARIANT *pvarResult,
  1286. /* [out] */ EXCEPINFO *pexcepinfo);
  1287. void __RPC_STUB IActiveScriptParse64_ParseScriptText_Stub(
  1288. IRpcStubBuffer *This,
  1289. IRpcChannelBuffer *_pRpcChannelBuffer,
  1290. PRPC_MESSAGE _pRpcMessage,
  1291. DWORD *_pdwStubPhase);
  1292. #endif /* __IActiveScriptParse64_INTERFACE_DEFINED__ */
  1293. /* interface __MIDL_itf_activscp_0266 */
  1294. /* [local] */
  1295. #ifdef _WIN64
  1296. #define IActiveScriptParse IActiveScriptParse64
  1297. #define IID_IActiveScriptParse IID_IActiveScriptParse64
  1298. #else
  1299. #define IActiveScriptParse IActiveScriptParse32
  1300. #define IID_IActiveScriptParse IID_IActiveScriptParse32
  1301. #endif
  1302. typedef IActiveScriptParse *PIActiveScriptParse;
  1303. extern RPC_IF_HANDLE __MIDL_itf_activscp_0266_v0_0_c_ifspec;
  1304. extern RPC_IF_HANDLE __MIDL_itf_activscp_0266_v0_0_s_ifspec;
  1305. #ifndef __IActiveScriptParseProcedureOld32_INTERFACE_DEFINED__
  1306. #define __IActiveScriptParseProcedureOld32_INTERFACE_DEFINED__
  1307. /* interface IActiveScriptParseProcedureOld32 */
  1308. /* [unique][uuid][object] */
  1309. EXTERN_C const IID IID_IActiveScriptParseProcedureOld32;
  1310. #if defined(__cplusplus) && !defined(CINTERFACE)
  1311. MIDL_INTERFACE("1CFF0050-6FDD-11d0-9328-00A0C90DCAA9")
  1312. IActiveScriptParseProcedureOld32 : public IUnknown
  1313. {
  1314. public:
  1315. virtual HRESULT STDMETHODCALLTYPE ParseProcedureText(
  1316. /* [in] */ LPCOLESTR pstrCode,
  1317. /* [in] */ LPCOLESTR pstrFormalParams,
  1318. /* [in] */ LPCOLESTR pstrItemName,
  1319. /* [in] */ IUnknown *punkContext,
  1320. /* [in] */ LPCOLESTR pstrDelimiter,
  1321. /* [in] */ DWORD dwSourceContextCookie,
  1322. /* [in] */ ULONG ulStartingLineNumber,
  1323. /* [in] */ DWORD dwFlags,
  1324. /* [out] */ IDispatch **ppdisp) = 0;
  1325. };
  1326. #else /* C style interface */
  1327. typedef struct IActiveScriptParseProcedureOld32Vtbl
  1328. {
  1329. BEGIN_INTERFACE
  1330. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1331. IActiveScriptParseProcedureOld32 * This,
  1332. /* [in] */ REFIID riid,
  1333. /* [iid_is][out] */ void **ppvObject);
  1334. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1335. IActiveScriptParseProcedureOld32 * This);
  1336. ULONG ( STDMETHODCALLTYPE *Release )(
  1337. IActiveScriptParseProcedureOld32 * This);
  1338. HRESULT ( STDMETHODCALLTYPE *ParseProcedureText )(
  1339. IActiveScriptParseProcedureOld32 * This,
  1340. /* [in] */ LPCOLESTR pstrCode,
  1341. /* [in] */ LPCOLESTR pstrFormalParams,
  1342. /* [in] */ LPCOLESTR pstrItemName,
  1343. /* [in] */ IUnknown *punkContext,
  1344. /* [in] */ LPCOLESTR pstrDelimiter,
  1345. /* [in] */ DWORD dwSourceContextCookie,
  1346. /* [in] */ ULONG ulStartingLineNumber,
  1347. /* [in] */ DWORD dwFlags,
  1348. /* [out] */ IDispatch **ppdisp);
  1349. END_INTERFACE
  1350. } IActiveScriptParseProcedureOld32Vtbl;
  1351. interface IActiveScriptParseProcedureOld32
  1352. {
  1353. CONST_VTBL struct IActiveScriptParseProcedureOld32Vtbl *lpVtbl;
  1354. };
  1355. #ifdef COBJMACROS
  1356. #define IActiveScriptParseProcedureOld32_QueryInterface(This,riid,ppvObject) \
  1357. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1358. #define IActiveScriptParseProcedureOld32_AddRef(This) \
  1359. (This)->lpVtbl -> AddRef(This)
  1360. #define IActiveScriptParseProcedureOld32_Release(This) \
  1361. (This)->lpVtbl -> Release(This)
  1362. #define IActiveScriptParseProcedureOld32_ParseProcedureText(This,pstrCode,pstrFormalParams,pstrItemName,punkContext,pstrDelimiter,dwSourceContextCookie,ulStartingLineNumber,dwFlags,ppdisp) \
  1363. (This)->lpVtbl -> ParseProcedureText(This,pstrCode,pstrFormalParams,pstrItemName,punkContext,pstrDelimiter,dwSourceContextCookie,ulStartingLineNumber,dwFlags,ppdisp)
  1364. #endif /* COBJMACROS */
  1365. #endif /* C style interface */
  1366. HRESULT STDMETHODCALLTYPE IActiveScriptParseProcedureOld32_ParseProcedureText_Proxy(
  1367. IActiveScriptParseProcedureOld32 * This,
  1368. /* [in] */ LPCOLESTR pstrCode,
  1369. /* [in] */ LPCOLESTR pstrFormalParams,
  1370. /* [in] */ LPCOLESTR pstrItemName,
  1371. /* [in] */ IUnknown *punkContext,
  1372. /* [in] */ LPCOLESTR pstrDelimiter,
  1373. /* [in] */ DWORD dwSourceContextCookie,
  1374. /* [in] */ ULONG ulStartingLineNumber,
  1375. /* [in] */ DWORD dwFlags,
  1376. /* [out] */ IDispatch **ppdisp);
  1377. void __RPC_STUB IActiveScriptParseProcedureOld32_ParseProcedureText_Stub(
  1378. IRpcStubBuffer *This,
  1379. IRpcChannelBuffer *_pRpcChannelBuffer,
  1380. PRPC_MESSAGE _pRpcMessage,
  1381. DWORD *_pdwStubPhase);
  1382. #endif /* __IActiveScriptParseProcedureOld32_INTERFACE_DEFINED__ */
  1383. #ifndef __IActiveScriptParseProcedureOld64_INTERFACE_DEFINED__
  1384. #define __IActiveScriptParseProcedureOld64_INTERFACE_DEFINED__
  1385. /* interface IActiveScriptParseProcedureOld64 */
  1386. /* [unique][uuid][object] */
  1387. EXTERN_C const IID IID_IActiveScriptParseProcedureOld64;
  1388. #if defined(__cplusplus) && !defined(CINTERFACE)
  1389. MIDL_INTERFACE("21F57128-08C9-4638-BA12-22D15D88DC5C")
  1390. IActiveScriptParseProcedureOld64 : public IUnknown
  1391. {
  1392. public:
  1393. virtual HRESULT STDMETHODCALLTYPE ParseProcedureText(
  1394. /* [in] */ LPCOLESTR pstrCode,
  1395. /* [in] */ LPCOLESTR pstrFormalParams,
  1396. /* [in] */ LPCOLESTR pstrItemName,
  1397. /* [in] */ IUnknown *punkContext,
  1398. /* [in] */ LPCOLESTR pstrDelimiter,
  1399. /* [in] */ DWORDLONG dwSourceContextCookie,
  1400. /* [in] */ ULONG ulStartingLineNumber,
  1401. /* [in] */ DWORD dwFlags,
  1402. /* [out] */ IDispatch **ppdisp) = 0;
  1403. };
  1404. #else /* C style interface */
  1405. typedef struct IActiveScriptParseProcedureOld64Vtbl
  1406. {
  1407. BEGIN_INTERFACE
  1408. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1409. IActiveScriptParseProcedureOld64 * This,
  1410. /* [in] */ REFIID riid,
  1411. /* [iid_is][out] */ void **ppvObject);
  1412. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1413. IActiveScriptParseProcedureOld64 * This);
  1414. ULONG ( STDMETHODCALLTYPE *Release )(
  1415. IActiveScriptParseProcedureOld64 * This);
  1416. HRESULT ( STDMETHODCALLTYPE *ParseProcedureText )(
  1417. IActiveScriptParseProcedureOld64 * This,
  1418. /* [in] */ LPCOLESTR pstrCode,
  1419. /* [in] */ LPCOLESTR pstrFormalParams,
  1420. /* [in] */ LPCOLESTR pstrItemName,
  1421. /* [in] */ IUnknown *punkContext,
  1422. /* [in] */ LPCOLESTR pstrDelimiter,
  1423. /* [in] */ DWORDLONG dwSourceContextCookie,
  1424. /* [in] */ ULONG ulStartingLineNumber,
  1425. /* [in] */ DWORD dwFlags,
  1426. /* [out] */ IDispatch **ppdisp);
  1427. END_INTERFACE
  1428. } IActiveScriptParseProcedureOld64Vtbl;
  1429. interface IActiveScriptParseProcedureOld64
  1430. {
  1431. CONST_VTBL struct IActiveScriptParseProcedureOld64Vtbl *lpVtbl;
  1432. };
  1433. #ifdef COBJMACROS
  1434. #define IActiveScriptParseProcedureOld64_QueryInterface(This,riid,ppvObject) \
  1435. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1436. #define IActiveScriptParseProcedureOld64_AddRef(This) \
  1437. (This)->lpVtbl -> AddRef(This)
  1438. #define IActiveScriptParseProcedureOld64_Release(This) \
  1439. (This)->lpVtbl -> Release(This)
  1440. #define IActiveScriptParseProcedureOld64_ParseProcedureText(This,pstrCode,pstrFormalParams,pstrItemName,punkContext,pstrDelimiter,dwSourceContextCookie,ulStartingLineNumber,dwFlags,ppdisp) \
  1441. (This)->lpVtbl -> ParseProcedureText(This,pstrCode,pstrFormalParams,pstrItemName,punkContext,pstrDelimiter,dwSourceContextCookie,ulStartingLineNumber,dwFlags,ppdisp)
  1442. #endif /* COBJMACROS */
  1443. #endif /* C style interface */
  1444. HRESULT STDMETHODCALLTYPE IActiveScriptParseProcedureOld64_ParseProcedureText_Proxy(
  1445. IActiveScriptParseProcedureOld64 * This,
  1446. /* [in] */ LPCOLESTR pstrCode,
  1447. /* [in] */ LPCOLESTR pstrFormalParams,
  1448. /* [in] */ LPCOLESTR pstrItemName,
  1449. /* [in] */ IUnknown *punkContext,
  1450. /* [in] */ LPCOLESTR pstrDelimiter,
  1451. /* [in] */ DWORDLONG dwSourceContextCookie,
  1452. /* [in] */ ULONG ulStartingLineNumber,
  1453. /* [in] */ DWORD dwFlags,
  1454. /* [out] */ IDispatch **ppdisp);
  1455. void __RPC_STUB IActiveScriptParseProcedureOld64_ParseProcedureText_Stub(
  1456. IRpcStubBuffer *This,
  1457. IRpcChannelBuffer *_pRpcChannelBuffer,
  1458. PRPC_MESSAGE _pRpcMessage,
  1459. DWORD *_pdwStubPhase);
  1460. #endif /* __IActiveScriptParseProcedureOld64_INTERFACE_DEFINED__ */
  1461. /* interface __MIDL_itf_activscp_0268 */
  1462. /* [local] */
  1463. #ifdef _WIN64
  1464. #define IActiveScriptParseProcedureOld IActiveScriptParseProcedureOld64
  1465. #define IID_IActiveScriptParseProcedureOld IID_IActiveScriptParseProcedureOld64
  1466. #else
  1467. #define IActiveScriptParseProcedureOld IActiveScriptParseProcedureOld32
  1468. #define IID_IActiveScriptParseProcedureOld IID_IActiveScriptParseProcedureOld32
  1469. #endif
  1470. typedef IActiveScriptParseProcedureOld *PIActiveScriptParseProcedureOld;
  1471. extern RPC_IF_HANDLE __MIDL_itf_activscp_0268_v0_0_c_ifspec;
  1472. extern RPC_IF_HANDLE __MIDL_itf_activscp_0268_v0_0_s_ifspec;
  1473. #ifndef __IActiveScriptParseProcedure32_INTERFACE_DEFINED__
  1474. #define __IActiveScriptParseProcedure32_INTERFACE_DEFINED__
  1475. /* interface IActiveScriptParseProcedure32 */
  1476. /* [unique][uuid][object] */
  1477. EXTERN_C const IID IID_IActiveScriptParseProcedure32;
  1478. #if defined(__cplusplus) && !defined(CINTERFACE)
  1479. MIDL_INTERFACE("AA5B6A80-B834-11d0-932F-00A0C90DCAA9")
  1480. IActiveScriptParseProcedure32 : public IUnknown
  1481. {
  1482. public:
  1483. virtual HRESULT STDMETHODCALLTYPE ParseProcedureText(
  1484. /* [in] */ LPCOLESTR pstrCode,
  1485. /* [in] */ LPCOLESTR pstrFormalParams,
  1486. /* [in] */ LPCOLESTR pstrProcedureName,
  1487. /* [in] */ LPCOLESTR pstrItemName,
  1488. /* [in] */ IUnknown *punkContext,
  1489. /* [in] */ LPCOLESTR pstrDelimiter,
  1490. /* [in] */ DWORD dwSourceContextCookie,
  1491. /* [in] */ ULONG ulStartingLineNumber,
  1492. /* [in] */ DWORD dwFlags,
  1493. /* [out] */ IDispatch **ppdisp) = 0;
  1494. };
  1495. #else /* C style interface */
  1496. typedef struct IActiveScriptParseProcedure32Vtbl
  1497. {
  1498. BEGIN_INTERFACE
  1499. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1500. IActiveScriptParseProcedure32 * This,
  1501. /* [in] */ REFIID riid,
  1502. /* [iid_is][out] */ void **ppvObject);
  1503. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1504. IActiveScriptParseProcedure32 * This);
  1505. ULONG ( STDMETHODCALLTYPE *Release )(
  1506. IActiveScriptParseProcedure32 * This);
  1507. HRESULT ( STDMETHODCALLTYPE *ParseProcedureText )(
  1508. IActiveScriptParseProcedure32 * This,
  1509. /* [in] */ LPCOLESTR pstrCode,
  1510. /* [in] */ LPCOLESTR pstrFormalParams,
  1511. /* [in] */ LPCOLESTR pstrProcedureName,
  1512. /* [in] */ LPCOLESTR pstrItemName,
  1513. /* [in] */ IUnknown *punkContext,
  1514. /* [in] */ LPCOLESTR pstrDelimiter,
  1515. /* [in] */ DWORD dwSourceContextCookie,
  1516. /* [in] */ ULONG ulStartingLineNumber,
  1517. /* [in] */ DWORD dwFlags,
  1518. /* [out] */ IDispatch **ppdisp);
  1519. END_INTERFACE
  1520. } IActiveScriptParseProcedure32Vtbl;
  1521. interface IActiveScriptParseProcedure32
  1522. {
  1523. CONST_VTBL struct IActiveScriptParseProcedure32Vtbl *lpVtbl;
  1524. };
  1525. #ifdef COBJMACROS
  1526. #define IActiveScriptParseProcedure32_QueryInterface(This,riid,ppvObject) \
  1527. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1528. #define IActiveScriptParseProcedure32_AddRef(This) \
  1529. (This)->lpVtbl -> AddRef(This)
  1530. #define IActiveScriptParseProcedure32_Release(This) \
  1531. (This)->lpVtbl -> Release(This)
  1532. #define IActiveScriptParseProcedure32_ParseProcedureText(This,pstrCode,pstrFormalParams,pstrProcedureName,pstrItemName,punkContext,pstrDelimiter,dwSourceContextCookie,ulStartingLineNumber,dwFlags,ppdisp) \
  1533. (This)->lpVtbl -> ParseProcedureText(This,pstrCode,pstrFormalParams,pstrProcedureName,pstrItemName,punkContext,pstrDelimiter,dwSourceContextCookie,ulStartingLineNumber,dwFlags,ppdisp)
  1534. #endif /* COBJMACROS */
  1535. #endif /* C style interface */
  1536. HRESULT STDMETHODCALLTYPE IActiveScriptParseProcedure32_ParseProcedureText_Proxy(
  1537. IActiveScriptParseProcedure32 * This,
  1538. /* [in] */ LPCOLESTR pstrCode,
  1539. /* [in] */ LPCOLESTR pstrFormalParams,
  1540. /* [in] */ LPCOLESTR pstrProcedureName,
  1541. /* [in] */ LPCOLESTR pstrItemName,
  1542. /* [in] */ IUnknown *punkContext,
  1543. /* [in] */ LPCOLESTR pstrDelimiter,
  1544. /* [in] */ DWORD dwSourceContextCookie,
  1545. /* [in] */ ULONG ulStartingLineNumber,
  1546. /* [in] */ DWORD dwFlags,
  1547. /* [out] */ IDispatch **ppdisp);
  1548. void __RPC_STUB IActiveScriptParseProcedure32_ParseProcedureText_Stub(
  1549. IRpcStubBuffer *This,
  1550. IRpcChannelBuffer *_pRpcChannelBuffer,
  1551. PRPC_MESSAGE _pRpcMessage,
  1552. DWORD *_pdwStubPhase);
  1553. #endif /* __IActiveScriptParseProcedure32_INTERFACE_DEFINED__ */
  1554. #ifndef __IActiveScriptParseProcedure64_INTERFACE_DEFINED__
  1555. #define __IActiveScriptParseProcedure64_INTERFACE_DEFINED__
  1556. /* interface IActiveScriptParseProcedure64 */
  1557. /* [unique][uuid][object] */
  1558. EXTERN_C const IID IID_IActiveScriptParseProcedure64;
  1559. #if defined(__cplusplus) && !defined(CINTERFACE)
  1560. MIDL_INTERFACE("C64713B6-E029-4CC5-9200-438B72890B6A")
  1561. IActiveScriptParseProcedure64 : public IUnknown
  1562. {
  1563. public:
  1564. virtual HRESULT STDMETHODCALLTYPE ParseProcedureText(
  1565. /* [in] */ LPCOLESTR pstrCode,
  1566. /* [in] */ LPCOLESTR pstrFormalParams,
  1567. /* [in] */ LPCOLESTR pstrProcedureName,
  1568. /* [in] */ LPCOLESTR pstrItemName,
  1569. /* [in] */ IUnknown *punkContext,
  1570. /* [in] */ LPCOLESTR pstrDelimiter,
  1571. /* [in] */ DWORDLONG dwSourceContextCookie,
  1572. /* [in] */ ULONG ulStartingLineNumber,
  1573. /* [in] */ DWORD dwFlags,
  1574. /* [out] */ IDispatch **ppdisp) = 0;
  1575. };
  1576. #else /* C style interface */
  1577. typedef struct IActiveScriptParseProcedure64Vtbl
  1578. {
  1579. BEGIN_INTERFACE
  1580. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1581. IActiveScriptParseProcedure64 * This,
  1582. /* [in] */ REFIID riid,
  1583. /* [iid_is][out] */ void **ppvObject);
  1584. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1585. IActiveScriptParseProcedure64 * This);
  1586. ULONG ( STDMETHODCALLTYPE *Release )(
  1587. IActiveScriptParseProcedure64 * This);
  1588. HRESULT ( STDMETHODCALLTYPE *ParseProcedureText )(
  1589. IActiveScriptParseProcedure64 * This,
  1590. /* [in] */ LPCOLESTR pstrCode,
  1591. /* [in] */ LPCOLESTR pstrFormalParams,
  1592. /* [in] */ LPCOLESTR pstrProcedureName,
  1593. /* [in] */ LPCOLESTR pstrItemName,
  1594. /* [in] */ IUnknown *punkContext,
  1595. /* [in] */ LPCOLESTR pstrDelimiter,
  1596. /* [in] */ DWORDLONG dwSourceContextCookie,
  1597. /* [in] */ ULONG ulStartingLineNumber,
  1598. /* [in] */ DWORD dwFlags,
  1599. /* [out] */ IDispatch **ppdisp);
  1600. END_INTERFACE
  1601. } IActiveScriptParseProcedure64Vtbl;
  1602. interface IActiveScriptParseProcedure64
  1603. {
  1604. CONST_VTBL struct IActiveScriptParseProcedure64Vtbl *lpVtbl;
  1605. };
  1606. #ifdef COBJMACROS
  1607. #define IActiveScriptParseProcedure64_QueryInterface(This,riid,ppvObject) \
  1608. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1609. #define IActiveScriptParseProcedure64_AddRef(This) \
  1610. (This)->lpVtbl -> AddRef(This)
  1611. #define IActiveScriptParseProcedure64_Release(This) \
  1612. (This)->lpVtbl -> Release(This)
  1613. #define IActiveScriptParseProcedure64_ParseProcedureText(This,pstrCode,pstrFormalParams,pstrProcedureName,pstrItemName,punkContext,pstrDelimiter,dwSourceContextCookie,ulStartingLineNumber,dwFlags,ppdisp) \
  1614. (This)->lpVtbl -> ParseProcedureText(This,pstrCode,pstrFormalParams,pstrProcedureName,pstrItemName,punkContext,pstrDelimiter,dwSourceContextCookie,ulStartingLineNumber,dwFlags,ppdisp)
  1615. #endif /* COBJMACROS */
  1616. #endif /* C style interface */
  1617. HRESULT STDMETHODCALLTYPE IActiveScriptParseProcedure64_ParseProcedureText_Proxy(
  1618. IActiveScriptParseProcedure64 * This,
  1619. /* [in] */ LPCOLESTR pstrCode,
  1620. /* [in] */ LPCOLESTR pstrFormalParams,
  1621. /* [in] */ LPCOLESTR pstrProcedureName,
  1622. /* [in] */ LPCOLESTR pstrItemName,
  1623. /* [in] */ IUnknown *punkContext,
  1624. /* [in] */ LPCOLESTR pstrDelimiter,
  1625. /* [in] */ DWORDLONG dwSourceContextCookie,
  1626. /* [in] */ ULONG ulStartingLineNumber,
  1627. /* [in] */ DWORD dwFlags,
  1628. /* [out] */ IDispatch **ppdisp);
  1629. void __RPC_STUB IActiveScriptParseProcedure64_ParseProcedureText_Stub(
  1630. IRpcStubBuffer *This,
  1631. IRpcChannelBuffer *_pRpcChannelBuffer,
  1632. PRPC_MESSAGE _pRpcMessage,
  1633. DWORD *_pdwStubPhase);
  1634. #endif /* __IActiveScriptParseProcedure64_INTERFACE_DEFINED__ */
  1635. /* interface __MIDL_itf_activscp_0270 */
  1636. /* [local] */
  1637. #ifdef _WIN64
  1638. #define IActiveScriptParseProcedure IActiveScriptParseProcedure64
  1639. #define IID_IActiveScriptParseProcedure IID_IActiveScriptParseProcedure64
  1640. #else
  1641. #define IActiveScriptParseProcedure IActiveScriptParseProcedure32
  1642. #define IID_IActiveScriptParseProcedure IID_IActiveScriptParseProcedure32
  1643. #endif
  1644. typedef IActiveScriptParseProcedure *PIActiveScriptParseProcedure;
  1645. extern RPC_IF_HANDLE __MIDL_itf_activscp_0270_v0_0_c_ifspec;
  1646. extern RPC_IF_HANDLE __MIDL_itf_activscp_0270_v0_0_s_ifspec;
  1647. #ifndef __IActiveScriptParseProcedure2_32_INTERFACE_DEFINED__
  1648. #define __IActiveScriptParseProcedure2_32_INTERFACE_DEFINED__
  1649. /* interface IActiveScriptParseProcedure2_32 */
  1650. /* [unique][uuid][object] */
  1651. EXTERN_C const IID IID_IActiveScriptParseProcedure2_32;
  1652. #if defined(__cplusplus) && !defined(CINTERFACE)
  1653. MIDL_INTERFACE("71EE5B20-FB04-11d1-B3A8-00A0C911E8B2")
  1654. IActiveScriptParseProcedure2_32 : public IActiveScriptParseProcedure32
  1655. {
  1656. public:
  1657. };
  1658. #else /* C style interface */
  1659. typedef struct IActiveScriptParseProcedure2_32Vtbl
  1660. {
  1661. BEGIN_INTERFACE
  1662. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1663. IActiveScriptParseProcedure2_32 * This,
  1664. /* [in] */ REFIID riid,
  1665. /* [iid_is][out] */ void **ppvObject);
  1666. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1667. IActiveScriptParseProcedure2_32 * This);
  1668. ULONG ( STDMETHODCALLTYPE *Release )(
  1669. IActiveScriptParseProcedure2_32 * This);
  1670. HRESULT ( STDMETHODCALLTYPE *ParseProcedureText )(
  1671. IActiveScriptParseProcedure2_32 * This,
  1672. /* [in] */ LPCOLESTR pstrCode,
  1673. /* [in] */ LPCOLESTR pstrFormalParams,
  1674. /* [in] */ LPCOLESTR pstrProcedureName,
  1675. /* [in] */ LPCOLESTR pstrItemName,
  1676. /* [in] */ IUnknown *punkContext,
  1677. /* [in] */ LPCOLESTR pstrDelimiter,
  1678. /* [in] */ DWORD dwSourceContextCookie,
  1679. /* [in] */ ULONG ulStartingLineNumber,
  1680. /* [in] */ DWORD dwFlags,
  1681. /* [out] */ IDispatch **ppdisp);
  1682. END_INTERFACE
  1683. } IActiveScriptParseProcedure2_32Vtbl;
  1684. interface IActiveScriptParseProcedure2_32
  1685. {
  1686. CONST_VTBL struct IActiveScriptParseProcedure2_32Vtbl *lpVtbl;
  1687. };
  1688. #ifdef COBJMACROS
  1689. #define IActiveScriptParseProcedure2_32_QueryInterface(This,riid,ppvObject) \
  1690. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1691. #define IActiveScriptParseProcedure2_32_AddRef(This) \
  1692. (This)->lpVtbl -> AddRef(This)
  1693. #define IActiveScriptParseProcedure2_32_Release(This) \
  1694. (This)->lpVtbl -> Release(This)
  1695. #define IActiveScriptParseProcedure2_32_ParseProcedureText(This,pstrCode,pstrFormalParams,pstrProcedureName,pstrItemName,punkContext,pstrDelimiter,dwSourceContextCookie,ulStartingLineNumber,dwFlags,ppdisp) \
  1696. (This)->lpVtbl -> ParseProcedureText(This,pstrCode,pstrFormalParams,pstrProcedureName,pstrItemName,punkContext,pstrDelimiter,dwSourceContextCookie,ulStartingLineNumber,dwFlags,ppdisp)
  1697. #endif /* COBJMACROS */
  1698. #endif /* C style interface */
  1699. #endif /* __IActiveScriptParseProcedure2_32_INTERFACE_DEFINED__ */
  1700. #ifndef __IActiveScriptParseProcedure2_64_INTERFACE_DEFINED__
  1701. #define __IActiveScriptParseProcedure2_64_INTERFACE_DEFINED__
  1702. /* interface IActiveScriptParseProcedure2_64 */
  1703. /* [unique][uuid][object] */
  1704. EXTERN_C const IID IID_IActiveScriptParseProcedure2_64;
  1705. #if defined(__cplusplus) && !defined(CINTERFACE)
  1706. MIDL_INTERFACE("FE7C4271-210C-448D-9F54-76DAB7047B28")
  1707. IActiveScriptParseProcedure2_64 : public IActiveScriptParseProcedure64
  1708. {
  1709. public:
  1710. };
  1711. #else /* C style interface */
  1712. typedef struct IActiveScriptParseProcedure2_64Vtbl
  1713. {
  1714. BEGIN_INTERFACE
  1715. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1716. IActiveScriptParseProcedure2_64 * This,
  1717. /* [in] */ REFIID riid,
  1718. /* [iid_is][out] */ void **ppvObject);
  1719. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1720. IActiveScriptParseProcedure2_64 * This);
  1721. ULONG ( STDMETHODCALLTYPE *Release )(
  1722. IActiveScriptParseProcedure2_64 * This);
  1723. HRESULT ( STDMETHODCALLTYPE *ParseProcedureText )(
  1724. IActiveScriptParseProcedure2_64 * This,
  1725. /* [in] */ LPCOLESTR pstrCode,
  1726. /* [in] */ LPCOLESTR pstrFormalParams,
  1727. /* [in] */ LPCOLESTR pstrProcedureName,
  1728. /* [in] */ LPCOLESTR pstrItemName,
  1729. /* [in] */ IUnknown *punkContext,
  1730. /* [in] */ LPCOLESTR pstrDelimiter,
  1731. /* [in] */ DWORDLONG dwSourceContextCookie,
  1732. /* [in] */ ULONG ulStartingLineNumber,
  1733. /* [in] */ DWORD dwFlags,
  1734. /* [out] */ IDispatch **ppdisp);
  1735. END_INTERFACE
  1736. } IActiveScriptParseProcedure2_64Vtbl;
  1737. interface IActiveScriptParseProcedure2_64
  1738. {
  1739. CONST_VTBL struct IActiveScriptParseProcedure2_64Vtbl *lpVtbl;
  1740. };
  1741. #ifdef COBJMACROS
  1742. #define IActiveScriptParseProcedure2_64_QueryInterface(This,riid,ppvObject) \
  1743. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1744. #define IActiveScriptParseProcedure2_64_AddRef(This) \
  1745. (This)->lpVtbl -> AddRef(This)
  1746. #define IActiveScriptParseProcedure2_64_Release(This) \
  1747. (This)->lpVtbl -> Release(This)
  1748. #define IActiveScriptParseProcedure2_64_ParseProcedureText(This,pstrCode,pstrFormalParams,pstrProcedureName,pstrItemName,punkContext,pstrDelimiter,dwSourceContextCookie,ulStartingLineNumber,dwFlags,ppdisp) \
  1749. (This)->lpVtbl -> ParseProcedureText(This,pstrCode,pstrFormalParams,pstrProcedureName,pstrItemName,punkContext,pstrDelimiter,dwSourceContextCookie,ulStartingLineNumber,dwFlags,ppdisp)
  1750. #endif /* COBJMACROS */
  1751. #endif /* C style interface */
  1752. #endif /* __IActiveScriptParseProcedure2_64_INTERFACE_DEFINED__ */
  1753. /* interface __MIDL_itf_activscp_0272 */
  1754. /* [local] */
  1755. #ifdef _WIN64
  1756. #define IActiveScriptParseProcedure2 IActiveScriptParseProcedure2_64
  1757. #define IID_IActiveScriptParseProcedure2 IID_IActiveScriptParseProcedure2_64
  1758. #else
  1759. #define IActiveScriptParseProcedure2 IActiveScriptParseProcedure2_32
  1760. #define IID_IActiveScriptParseProcedure2 IID_IActiveScriptParseProcedure2_32
  1761. #endif
  1762. typedef IActiveScriptParseProcedure2 *PIActiveScriptParseProcedure2;
  1763. extern RPC_IF_HANDLE __MIDL_itf_activscp_0272_v0_0_c_ifspec;
  1764. extern RPC_IF_HANDLE __MIDL_itf_activscp_0272_v0_0_s_ifspec;
  1765. #ifndef __IActiveScriptEncode_INTERFACE_DEFINED__
  1766. #define __IActiveScriptEncode_INTERFACE_DEFINED__
  1767. /* interface IActiveScriptEncode */
  1768. /* [unique][uuid][object] */
  1769. EXTERN_C const IID IID_IActiveScriptEncode;
  1770. #if defined(__cplusplus) && !defined(CINTERFACE)
  1771. MIDL_INTERFACE("BB1A2AE3-A4F9-11cf-8F20-00805F2CD064")
  1772. IActiveScriptEncode : public IUnknown
  1773. {
  1774. public:
  1775. virtual HRESULT STDMETHODCALLTYPE EncodeSection(
  1776. /* [in] */ LPCOLESTR pchIn,
  1777. /* [in] */ DWORD cchIn,
  1778. /* [out][in] */ LPOLESTR pchOut,
  1779. /* [in] */ DWORD cchOut,
  1780. /* [out][in] */ DWORD *pcchRet) = 0;
  1781. virtual HRESULT STDMETHODCALLTYPE DecodeScript(
  1782. /* [in] */ LPCOLESTR pchIn,
  1783. /* [in] */ DWORD cchIn,
  1784. /* [out][in] */ LPOLESTR pchOut,
  1785. /* [in] */ DWORD cchOut,
  1786. /* [out][in] */ DWORD *pcchRet) = 0;
  1787. virtual HRESULT STDMETHODCALLTYPE GetEncodeProgId(
  1788. /* [out][in] */ BSTR *pbstrOut) = 0;
  1789. };
  1790. #else /* C style interface */
  1791. typedef struct IActiveScriptEncodeVtbl
  1792. {
  1793. BEGIN_INTERFACE
  1794. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1795. IActiveScriptEncode * This,
  1796. /* [in] */ REFIID riid,
  1797. /* [iid_is][out] */ void **ppvObject);
  1798. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1799. IActiveScriptEncode * This);
  1800. ULONG ( STDMETHODCALLTYPE *Release )(
  1801. IActiveScriptEncode * This);
  1802. HRESULT ( STDMETHODCALLTYPE *EncodeSection )(
  1803. IActiveScriptEncode * This,
  1804. /* [in] */ LPCOLESTR pchIn,
  1805. /* [in] */ DWORD cchIn,
  1806. /* [out][in] */ LPOLESTR pchOut,
  1807. /* [in] */ DWORD cchOut,
  1808. /* [out][in] */ DWORD *pcchRet);
  1809. HRESULT ( STDMETHODCALLTYPE *DecodeScript )(
  1810. IActiveScriptEncode * This,
  1811. /* [in] */ LPCOLESTR pchIn,
  1812. /* [in] */ DWORD cchIn,
  1813. /* [out][in] */ LPOLESTR pchOut,
  1814. /* [in] */ DWORD cchOut,
  1815. /* [out][in] */ DWORD *pcchRet);
  1816. HRESULT ( STDMETHODCALLTYPE *GetEncodeProgId )(
  1817. IActiveScriptEncode * This,
  1818. /* [out][in] */ BSTR *pbstrOut);
  1819. END_INTERFACE
  1820. } IActiveScriptEncodeVtbl;
  1821. interface IActiveScriptEncode
  1822. {
  1823. CONST_VTBL struct IActiveScriptEncodeVtbl *lpVtbl;
  1824. };
  1825. #ifdef COBJMACROS
  1826. #define IActiveScriptEncode_QueryInterface(This,riid,ppvObject) \
  1827. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1828. #define IActiveScriptEncode_AddRef(This) \
  1829. (This)->lpVtbl -> AddRef(This)
  1830. #define IActiveScriptEncode_Release(This) \
  1831. (This)->lpVtbl -> Release(This)
  1832. #define IActiveScriptEncode_EncodeSection(This,pchIn,cchIn,pchOut,cchOut,pcchRet) \
  1833. (This)->lpVtbl -> EncodeSection(This,pchIn,cchIn,pchOut,cchOut,pcchRet)
  1834. #define IActiveScriptEncode_DecodeScript(This,pchIn,cchIn,pchOut,cchOut,pcchRet) \
  1835. (This)->lpVtbl -> DecodeScript(This,pchIn,cchIn,pchOut,cchOut,pcchRet)
  1836. #define IActiveScriptEncode_GetEncodeProgId(This,pbstrOut) \
  1837. (This)->lpVtbl -> GetEncodeProgId(This,pbstrOut)
  1838. #endif /* COBJMACROS */
  1839. #endif /* C style interface */
  1840. HRESULT STDMETHODCALLTYPE IActiveScriptEncode_EncodeSection_Proxy(
  1841. IActiveScriptEncode * This,
  1842. /* [in] */ LPCOLESTR pchIn,
  1843. /* [in] */ DWORD cchIn,
  1844. /* [out][in] */ LPOLESTR pchOut,
  1845. /* [in] */ DWORD cchOut,
  1846. /* [out][in] */ DWORD *pcchRet);
  1847. void __RPC_STUB IActiveScriptEncode_EncodeSection_Stub(
  1848. IRpcStubBuffer *This,
  1849. IRpcChannelBuffer *_pRpcChannelBuffer,
  1850. PRPC_MESSAGE _pRpcMessage,
  1851. DWORD *_pdwStubPhase);
  1852. HRESULT STDMETHODCALLTYPE IActiveScriptEncode_DecodeScript_Proxy(
  1853. IActiveScriptEncode * This,
  1854. /* [in] */ LPCOLESTR pchIn,
  1855. /* [in] */ DWORD cchIn,
  1856. /* [out][in] */ LPOLESTR pchOut,
  1857. /* [in] */ DWORD cchOut,
  1858. /* [out][in] */ DWORD *pcchRet);
  1859. void __RPC_STUB IActiveScriptEncode_DecodeScript_Stub(
  1860. IRpcStubBuffer *This,
  1861. IRpcChannelBuffer *_pRpcChannelBuffer,
  1862. PRPC_MESSAGE _pRpcMessage,
  1863. DWORD *_pdwStubPhase);
  1864. HRESULT STDMETHODCALLTYPE IActiveScriptEncode_GetEncodeProgId_Proxy(
  1865. IActiveScriptEncode * This,
  1866. /* [out][in] */ BSTR *pbstrOut);
  1867. void __RPC_STUB IActiveScriptEncode_GetEncodeProgId_Stub(
  1868. IRpcStubBuffer *This,
  1869. IRpcChannelBuffer *_pRpcChannelBuffer,
  1870. PRPC_MESSAGE _pRpcMessage,
  1871. DWORD *_pdwStubPhase);
  1872. #endif /* __IActiveScriptEncode_INTERFACE_DEFINED__ */
  1873. #ifndef __IActiveScriptHostEncode_INTERFACE_DEFINED__
  1874. #define __IActiveScriptHostEncode_INTERFACE_DEFINED__
  1875. /* interface IActiveScriptHostEncode */
  1876. /* [unique][uuid][object] */
  1877. EXTERN_C const IID IID_IActiveScriptHostEncode;
  1878. #if defined(__cplusplus) && !defined(CINTERFACE)
  1879. MIDL_INTERFACE("BEE9B76E-CFE3-11d1-B747-00C04FC2B085")
  1880. IActiveScriptHostEncode : public IUnknown
  1881. {
  1882. public:
  1883. virtual HRESULT STDMETHODCALLTYPE EncodeScriptHostFile(
  1884. /* [in] */ BSTR bstrInFile,
  1885. /* [out][in] */ BSTR *pbstrOutFile,
  1886. /* [in] */ unsigned long cFlags,
  1887. /* [in] */ BSTR bstrDefaultLang) = 0;
  1888. };
  1889. #else /* C style interface */
  1890. typedef struct IActiveScriptHostEncodeVtbl
  1891. {
  1892. BEGIN_INTERFACE
  1893. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1894. IActiveScriptHostEncode * This,
  1895. /* [in] */ REFIID riid,
  1896. /* [iid_is][out] */ void **ppvObject);
  1897. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1898. IActiveScriptHostEncode * This);
  1899. ULONG ( STDMETHODCALLTYPE *Release )(
  1900. IActiveScriptHostEncode * This);
  1901. HRESULT ( STDMETHODCALLTYPE *EncodeScriptHostFile )(
  1902. IActiveScriptHostEncode * This,
  1903. /* [in] */ BSTR bstrInFile,
  1904. /* [out][in] */ BSTR *pbstrOutFile,
  1905. /* [in] */ unsigned long cFlags,
  1906. /* [in] */ BSTR bstrDefaultLang);
  1907. END_INTERFACE
  1908. } IActiveScriptHostEncodeVtbl;
  1909. interface IActiveScriptHostEncode
  1910. {
  1911. CONST_VTBL struct IActiveScriptHostEncodeVtbl *lpVtbl;
  1912. };
  1913. #ifdef COBJMACROS
  1914. #define IActiveScriptHostEncode_QueryInterface(This,riid,ppvObject) \
  1915. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1916. #define IActiveScriptHostEncode_AddRef(This) \
  1917. (This)->lpVtbl -> AddRef(This)
  1918. #define IActiveScriptHostEncode_Release(This) \
  1919. (This)->lpVtbl -> Release(This)
  1920. #define IActiveScriptHostEncode_EncodeScriptHostFile(This,bstrInFile,pbstrOutFile,cFlags,bstrDefaultLang) \
  1921. (This)->lpVtbl -> EncodeScriptHostFile(This,bstrInFile,pbstrOutFile,cFlags,bstrDefaultLang)
  1922. #endif /* COBJMACROS */
  1923. #endif /* C style interface */
  1924. HRESULT STDMETHODCALLTYPE IActiveScriptHostEncode_EncodeScriptHostFile_Proxy(
  1925. IActiveScriptHostEncode * This,
  1926. /* [in] */ BSTR bstrInFile,
  1927. /* [out][in] */ BSTR *pbstrOutFile,
  1928. /* [in] */ unsigned long cFlags,
  1929. /* [in] */ BSTR bstrDefaultLang);
  1930. void __RPC_STUB IActiveScriptHostEncode_EncodeScriptHostFile_Stub(
  1931. IRpcStubBuffer *This,
  1932. IRpcChannelBuffer *_pRpcChannelBuffer,
  1933. PRPC_MESSAGE _pRpcMessage,
  1934. DWORD *_pdwStubPhase);
  1935. #endif /* __IActiveScriptHostEncode_INTERFACE_DEFINED__ */
  1936. #ifndef __IBindEventHandler_INTERFACE_DEFINED__
  1937. #define __IBindEventHandler_INTERFACE_DEFINED__
  1938. /* interface IBindEventHandler */
  1939. /* [unique][uuid][object] */
  1940. EXTERN_C const IID IID_IBindEventHandler;
  1941. #if defined(__cplusplus) && !defined(CINTERFACE)
  1942. MIDL_INTERFACE("63CDBCB0-C1B1-11d0-9336-00A0C90DCAA9")
  1943. IBindEventHandler : public IUnknown
  1944. {
  1945. public:
  1946. virtual HRESULT STDMETHODCALLTYPE BindHandler(
  1947. /* [in] */ LPCOLESTR pstrEvent,
  1948. /* [in] */ IDispatch *pdisp) = 0;
  1949. };
  1950. #else /* C style interface */
  1951. typedef struct IBindEventHandlerVtbl
  1952. {
  1953. BEGIN_INTERFACE
  1954. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1955. IBindEventHandler * This,
  1956. /* [in] */ REFIID riid,
  1957. /* [iid_is][out] */ void **ppvObject);
  1958. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1959. IBindEventHandler * This);
  1960. ULONG ( STDMETHODCALLTYPE *Release )(
  1961. IBindEventHandler * This);
  1962. HRESULT ( STDMETHODCALLTYPE *BindHandler )(
  1963. IBindEventHandler * This,
  1964. /* [in] */ LPCOLESTR pstrEvent,
  1965. /* [in] */ IDispatch *pdisp);
  1966. END_INTERFACE
  1967. } IBindEventHandlerVtbl;
  1968. interface IBindEventHandler
  1969. {
  1970. CONST_VTBL struct IBindEventHandlerVtbl *lpVtbl;
  1971. };
  1972. #ifdef COBJMACROS
  1973. #define IBindEventHandler_QueryInterface(This,riid,ppvObject) \
  1974. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1975. #define IBindEventHandler_AddRef(This) \
  1976. (This)->lpVtbl -> AddRef(This)
  1977. #define IBindEventHandler_Release(This) \
  1978. (This)->lpVtbl -> Release(This)
  1979. #define IBindEventHandler_BindHandler(This,pstrEvent,pdisp) \
  1980. (This)->lpVtbl -> BindHandler(This,pstrEvent,pdisp)
  1981. #endif /* COBJMACROS */
  1982. #endif /* C style interface */
  1983. HRESULT STDMETHODCALLTYPE IBindEventHandler_BindHandler_Proxy(
  1984. IBindEventHandler * This,
  1985. /* [in] */ LPCOLESTR pstrEvent,
  1986. /* [in] */ IDispatch *pdisp);
  1987. void __RPC_STUB IBindEventHandler_BindHandler_Stub(
  1988. IRpcStubBuffer *This,
  1989. IRpcChannelBuffer *_pRpcChannelBuffer,
  1990. PRPC_MESSAGE _pRpcMessage,
  1991. DWORD *_pdwStubPhase);
  1992. #endif /* __IBindEventHandler_INTERFACE_DEFINED__ */
  1993. #ifndef __IActiveScriptStats_INTERFACE_DEFINED__
  1994. #define __IActiveScriptStats_INTERFACE_DEFINED__
  1995. /* interface IActiveScriptStats */
  1996. /* [unique][uuid][object] */
  1997. EXTERN_C const IID IID_IActiveScriptStats;
  1998. #if defined(__cplusplus) && !defined(CINTERFACE)
  1999. MIDL_INTERFACE("B8DA6310-E19B-11d0-933C-00A0C90DCAA9")
  2000. IActiveScriptStats : public IUnknown
  2001. {
  2002. public:
  2003. virtual HRESULT STDMETHODCALLTYPE GetStat(
  2004. /* [in] */ DWORD stid,
  2005. /* [out] */ ULONG *pluHi,
  2006. /* [out] */ ULONG *pluLo) = 0;
  2007. virtual HRESULT STDMETHODCALLTYPE GetStatEx(
  2008. /* [in] */ REFGUID guid,
  2009. /* [out] */ ULONG *pluHi,
  2010. /* [out] */ ULONG *pluLo) = 0;
  2011. virtual HRESULT STDMETHODCALLTYPE ResetStats( void) = 0;
  2012. };
  2013. #else /* C style interface */
  2014. typedef struct IActiveScriptStatsVtbl
  2015. {
  2016. BEGIN_INTERFACE
  2017. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  2018. IActiveScriptStats * This,
  2019. /* [in] */ REFIID riid,
  2020. /* [iid_is][out] */ void **ppvObject);
  2021. ULONG ( STDMETHODCALLTYPE *AddRef )(
  2022. IActiveScriptStats * This);
  2023. ULONG ( STDMETHODCALLTYPE *Release )(
  2024. IActiveScriptStats * This);
  2025. HRESULT ( STDMETHODCALLTYPE *GetStat )(
  2026. IActiveScriptStats * This,
  2027. /* [in] */ DWORD stid,
  2028. /* [out] */ ULONG *pluHi,
  2029. /* [out] */ ULONG *pluLo);
  2030. HRESULT ( STDMETHODCALLTYPE *GetStatEx )(
  2031. IActiveScriptStats * This,
  2032. /* [in] */ REFGUID guid,
  2033. /* [out] */ ULONG *pluHi,
  2034. /* [out] */ ULONG *pluLo);
  2035. HRESULT ( STDMETHODCALLTYPE *ResetStats )(
  2036. IActiveScriptStats * This);
  2037. END_INTERFACE
  2038. } IActiveScriptStatsVtbl;
  2039. interface IActiveScriptStats
  2040. {
  2041. CONST_VTBL struct IActiveScriptStatsVtbl *lpVtbl;
  2042. };
  2043. #ifdef COBJMACROS
  2044. #define IActiveScriptStats_QueryInterface(This,riid,ppvObject) \
  2045. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2046. #define IActiveScriptStats_AddRef(This) \
  2047. (This)->lpVtbl -> AddRef(This)
  2048. #define IActiveScriptStats_Release(This) \
  2049. (This)->lpVtbl -> Release(This)
  2050. #define IActiveScriptStats_GetStat(This,stid,pluHi,pluLo) \
  2051. (This)->lpVtbl -> GetStat(This,stid,pluHi,pluLo)
  2052. #define IActiveScriptStats_GetStatEx(This,guid,pluHi,pluLo) \
  2053. (This)->lpVtbl -> GetStatEx(This,guid,pluHi,pluLo)
  2054. #define IActiveScriptStats_ResetStats(This) \
  2055. (This)->lpVtbl -> ResetStats(This)
  2056. #endif /* COBJMACROS */
  2057. #endif /* C style interface */
  2058. HRESULT STDMETHODCALLTYPE IActiveScriptStats_GetStat_Proxy(
  2059. IActiveScriptStats * This,
  2060. /* [in] */ DWORD stid,
  2061. /* [out] */ ULONG *pluHi,
  2062. /* [out] */ ULONG *pluLo);
  2063. void __RPC_STUB IActiveScriptStats_GetStat_Stub(
  2064. IRpcStubBuffer *This,
  2065. IRpcChannelBuffer *_pRpcChannelBuffer,
  2066. PRPC_MESSAGE _pRpcMessage,
  2067. DWORD *_pdwStubPhase);
  2068. HRESULT STDMETHODCALLTYPE IActiveScriptStats_GetStatEx_Proxy(
  2069. IActiveScriptStats * This,
  2070. /* [in] */ REFGUID guid,
  2071. /* [out] */ ULONG *pluHi,
  2072. /* [out] */ ULONG *pluLo);
  2073. void __RPC_STUB IActiveScriptStats_GetStatEx_Stub(
  2074. IRpcStubBuffer *This,
  2075. IRpcChannelBuffer *_pRpcChannelBuffer,
  2076. PRPC_MESSAGE _pRpcMessage,
  2077. DWORD *_pdwStubPhase);
  2078. HRESULT STDMETHODCALLTYPE IActiveScriptStats_ResetStats_Proxy(
  2079. IActiveScriptStats * This);
  2080. void __RPC_STUB IActiveScriptStats_ResetStats_Stub(
  2081. IRpcStubBuffer *This,
  2082. IRpcChannelBuffer *_pRpcChannelBuffer,
  2083. PRPC_MESSAGE _pRpcMessage,
  2084. DWORD *_pdwStubPhase);
  2085. #endif /* __IActiveScriptStats_INTERFACE_DEFINED__ */
  2086. #ifndef __IActiveScriptProperty_INTERFACE_DEFINED__
  2087. #define __IActiveScriptProperty_INTERFACE_DEFINED__
  2088. /* interface IActiveScriptProperty */
  2089. /* [unique][uuid][object] */
  2090. EXTERN_C const IID IID_IActiveScriptProperty;
  2091. #if defined(__cplusplus) && !defined(CINTERFACE)
  2092. MIDL_INTERFACE("4954E0D0-FBC7-11D1-8410-006008C3FBFC")
  2093. IActiveScriptProperty : public IUnknown
  2094. {
  2095. public:
  2096. virtual HRESULT STDMETHODCALLTYPE GetProperty(
  2097. /* [in] */ DWORD dwProperty,
  2098. /* [in] */ VARIANT *pvarIndex,
  2099. /* [out] */ VARIANT *pvarValue) = 0;
  2100. virtual HRESULT STDMETHODCALLTYPE SetProperty(
  2101. /* [in] */ DWORD dwProperty,
  2102. /* [in] */ VARIANT *pvarIndex,
  2103. /* [in] */ VARIANT *pvarValue) = 0;
  2104. };
  2105. #else /* C style interface */
  2106. typedef struct IActiveScriptPropertyVtbl
  2107. {
  2108. BEGIN_INTERFACE
  2109. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  2110. IActiveScriptProperty * This,
  2111. /* [in] */ REFIID riid,
  2112. /* [iid_is][out] */ void **ppvObject);
  2113. ULONG ( STDMETHODCALLTYPE *AddRef )(
  2114. IActiveScriptProperty * This);
  2115. ULONG ( STDMETHODCALLTYPE *Release )(
  2116. IActiveScriptProperty * This);
  2117. HRESULT ( STDMETHODCALLTYPE *GetProperty )(
  2118. IActiveScriptProperty * This,
  2119. /* [in] */ DWORD dwProperty,
  2120. /* [in] */ VARIANT *pvarIndex,
  2121. /* [out] */ VARIANT *pvarValue);
  2122. HRESULT ( STDMETHODCALLTYPE *SetProperty )(
  2123. IActiveScriptProperty * This,
  2124. /* [in] */ DWORD dwProperty,
  2125. /* [in] */ VARIANT *pvarIndex,
  2126. /* [in] */ VARIANT *pvarValue);
  2127. END_INTERFACE
  2128. } IActiveScriptPropertyVtbl;
  2129. interface IActiveScriptProperty
  2130. {
  2131. CONST_VTBL struct IActiveScriptPropertyVtbl *lpVtbl;
  2132. };
  2133. #ifdef COBJMACROS
  2134. #define IActiveScriptProperty_QueryInterface(This,riid,ppvObject) \
  2135. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2136. #define IActiveScriptProperty_AddRef(This) \
  2137. (This)->lpVtbl -> AddRef(This)
  2138. #define IActiveScriptProperty_Release(This) \
  2139. (This)->lpVtbl -> Release(This)
  2140. #define IActiveScriptProperty_GetProperty(This,dwProperty,pvarIndex,pvarValue) \
  2141. (This)->lpVtbl -> GetProperty(This,dwProperty,pvarIndex,pvarValue)
  2142. #define IActiveScriptProperty_SetProperty(This,dwProperty,pvarIndex,pvarValue) \
  2143. (This)->lpVtbl -> SetProperty(This,dwProperty,pvarIndex,pvarValue)
  2144. #endif /* COBJMACROS */
  2145. #endif /* C style interface */
  2146. HRESULT STDMETHODCALLTYPE IActiveScriptProperty_GetProperty_Proxy(
  2147. IActiveScriptProperty * This,
  2148. /* [in] */ DWORD dwProperty,
  2149. /* [in] */ VARIANT *pvarIndex,
  2150. /* [out] */ VARIANT *pvarValue);
  2151. void __RPC_STUB IActiveScriptProperty_GetProperty_Stub(
  2152. IRpcStubBuffer *This,
  2153. IRpcChannelBuffer *_pRpcChannelBuffer,
  2154. PRPC_MESSAGE _pRpcMessage,
  2155. DWORD *_pdwStubPhase);
  2156. HRESULT STDMETHODCALLTYPE IActiveScriptProperty_SetProperty_Proxy(
  2157. IActiveScriptProperty * This,
  2158. /* [in] */ DWORD dwProperty,
  2159. /* [in] */ VARIANT *pvarIndex,
  2160. /* [in] */ VARIANT *pvarValue);
  2161. void __RPC_STUB IActiveScriptProperty_SetProperty_Stub(
  2162. IRpcStubBuffer *This,
  2163. IRpcChannelBuffer *_pRpcChannelBuffer,
  2164. PRPC_MESSAGE _pRpcMessage,
  2165. DWORD *_pdwStubPhase);
  2166. #endif /* __IActiveScriptProperty_INTERFACE_DEFINED__ */
  2167. #ifndef __ITridentEventSink_INTERFACE_DEFINED__
  2168. #define __ITridentEventSink_INTERFACE_DEFINED__
  2169. /* interface ITridentEventSink */
  2170. /* [unique][uuid][object] */
  2171. EXTERN_C const IID IID_ITridentEventSink;
  2172. #if defined(__cplusplus) && !defined(CINTERFACE)
  2173. MIDL_INTERFACE("1DC9CA50-06EF-11d2-8415-006008C3FBFC")
  2174. ITridentEventSink : public IUnknown
  2175. {
  2176. public:
  2177. virtual HRESULT STDMETHODCALLTYPE FireEvent(
  2178. /* [in] */ LPCOLESTR pstrEvent,
  2179. /* [in] */ DISPPARAMS *pdp,
  2180. /* [out] */ VARIANT *pvarRes,
  2181. /* [out] */ EXCEPINFO *pei) = 0;
  2182. };
  2183. #else /* C style interface */
  2184. typedef struct ITridentEventSinkVtbl
  2185. {
  2186. BEGIN_INTERFACE
  2187. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  2188. ITridentEventSink * This,
  2189. /* [in] */ REFIID riid,
  2190. /* [iid_is][out] */ void **ppvObject);
  2191. ULONG ( STDMETHODCALLTYPE *AddRef )(
  2192. ITridentEventSink * This);
  2193. ULONG ( STDMETHODCALLTYPE *Release )(
  2194. ITridentEventSink * This);
  2195. HRESULT ( STDMETHODCALLTYPE *FireEvent )(
  2196. ITridentEventSink * This,
  2197. /* [in] */ LPCOLESTR pstrEvent,
  2198. /* [in] */ DISPPARAMS *pdp,
  2199. /* [out] */ VARIANT *pvarRes,
  2200. /* [out] */ EXCEPINFO *pei);
  2201. END_INTERFACE
  2202. } ITridentEventSinkVtbl;
  2203. interface ITridentEventSink
  2204. {
  2205. CONST_VTBL struct ITridentEventSinkVtbl *lpVtbl;
  2206. };
  2207. #ifdef COBJMACROS
  2208. #define ITridentEventSink_QueryInterface(This,riid,ppvObject) \
  2209. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2210. #define ITridentEventSink_AddRef(This) \
  2211. (This)->lpVtbl -> AddRef(This)
  2212. #define ITridentEventSink_Release(This) \
  2213. (This)->lpVtbl -> Release(This)
  2214. #define ITridentEventSink_FireEvent(This,pstrEvent,pdp,pvarRes,pei) \
  2215. (This)->lpVtbl -> FireEvent(This,pstrEvent,pdp,pvarRes,pei)
  2216. #endif /* COBJMACROS */
  2217. #endif /* C style interface */
  2218. HRESULT STDMETHODCALLTYPE ITridentEventSink_FireEvent_Proxy(
  2219. ITridentEventSink * This,
  2220. /* [in] */ LPCOLESTR pstrEvent,
  2221. /* [in] */ DISPPARAMS *pdp,
  2222. /* [out] */ VARIANT *pvarRes,
  2223. /* [out] */ EXCEPINFO *pei);
  2224. void __RPC_STUB ITridentEventSink_FireEvent_Stub(
  2225. IRpcStubBuffer *This,
  2226. IRpcChannelBuffer *_pRpcChannelBuffer,
  2227. PRPC_MESSAGE _pRpcMessage,
  2228. DWORD *_pdwStubPhase);
  2229. #endif /* __ITridentEventSink_INTERFACE_DEFINED__ */
  2230. #ifndef __IActiveScriptGarbageCollector_INTERFACE_DEFINED__
  2231. #define __IActiveScriptGarbageCollector_INTERFACE_DEFINED__
  2232. /* interface IActiveScriptGarbageCollector */
  2233. /* [unique][uuid][object] */
  2234. EXTERN_C const IID IID_IActiveScriptGarbageCollector;
  2235. #if defined(__cplusplus) && !defined(CINTERFACE)
  2236. MIDL_INTERFACE("6AA2C4A0-2B53-11d4-A2A0-00104BD35090")
  2237. IActiveScriptGarbageCollector : public IUnknown
  2238. {
  2239. public:
  2240. virtual HRESULT STDMETHODCALLTYPE CollectGarbage(
  2241. SCRIPTGCTYPE scriptgctype) = 0;
  2242. };
  2243. #else /* C style interface */
  2244. typedef struct IActiveScriptGarbageCollectorVtbl
  2245. {
  2246. BEGIN_INTERFACE
  2247. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  2248. IActiveScriptGarbageCollector * This,
  2249. /* [in] */ REFIID riid,
  2250. /* [iid_is][out] */ void **ppvObject);
  2251. ULONG ( STDMETHODCALLTYPE *AddRef )(
  2252. IActiveScriptGarbageCollector * This);
  2253. ULONG ( STDMETHODCALLTYPE *Release )(
  2254. IActiveScriptGarbageCollector * This);
  2255. HRESULT ( STDMETHODCALLTYPE *CollectGarbage )(
  2256. IActiveScriptGarbageCollector * This,
  2257. SCRIPTGCTYPE scriptgctype);
  2258. END_INTERFACE
  2259. } IActiveScriptGarbageCollectorVtbl;
  2260. interface IActiveScriptGarbageCollector
  2261. {
  2262. CONST_VTBL struct IActiveScriptGarbageCollectorVtbl *lpVtbl;
  2263. };
  2264. #ifdef COBJMACROS
  2265. #define IActiveScriptGarbageCollector_QueryInterface(This,riid,ppvObject) \
  2266. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2267. #define IActiveScriptGarbageCollector_AddRef(This) \
  2268. (This)->lpVtbl -> AddRef(This)
  2269. #define IActiveScriptGarbageCollector_Release(This) \
  2270. (This)->lpVtbl -> Release(This)
  2271. #define IActiveScriptGarbageCollector_CollectGarbage(This,scriptgctype) \
  2272. (This)->lpVtbl -> CollectGarbage(This,scriptgctype)
  2273. #endif /* COBJMACROS */
  2274. #endif /* C style interface */
  2275. HRESULT STDMETHODCALLTYPE IActiveScriptGarbageCollector_CollectGarbage_Proxy(
  2276. IActiveScriptGarbageCollector * This,
  2277. SCRIPTGCTYPE scriptgctype);
  2278. void __RPC_STUB IActiveScriptGarbageCollector_CollectGarbage_Stub(
  2279. IRpcStubBuffer *This,
  2280. IRpcChannelBuffer *_pRpcChannelBuffer,
  2281. PRPC_MESSAGE _pRpcMessage,
  2282. DWORD *_pdwStubPhase);
  2283. #endif /* __IActiveScriptGarbageCollector_INTERFACE_DEFINED__ */
  2284. #ifndef __IActiveScriptSIPInfo_INTERFACE_DEFINED__
  2285. #define __IActiveScriptSIPInfo_INTERFACE_DEFINED__
  2286. /* interface IActiveScriptSIPInfo */
  2287. /* [unique][uuid][object] */
  2288. EXTERN_C const IID IID_IActiveScriptSIPInfo;
  2289. #if defined(__cplusplus) && !defined(CINTERFACE)
  2290. MIDL_INTERFACE("764651D0-38DE-11d4-A2A3-00104BD35090")
  2291. IActiveScriptSIPInfo : public IUnknown
  2292. {
  2293. public:
  2294. virtual HRESULT STDMETHODCALLTYPE GetSIPOID(
  2295. /* [out] */ GUID *poid_sip) = 0;
  2296. };
  2297. #else /* C style interface */
  2298. typedef struct IActiveScriptSIPInfoVtbl
  2299. {
  2300. BEGIN_INTERFACE
  2301. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  2302. IActiveScriptSIPInfo * This,
  2303. /* [in] */ REFIID riid,
  2304. /* [iid_is][out] */ void **ppvObject);
  2305. ULONG ( STDMETHODCALLTYPE *AddRef )(
  2306. IActiveScriptSIPInfo * This);
  2307. ULONG ( STDMETHODCALLTYPE *Release )(
  2308. IActiveScriptSIPInfo * This);
  2309. HRESULT ( STDMETHODCALLTYPE *GetSIPOID )(
  2310. IActiveScriptSIPInfo * This,
  2311. /* [out] */ GUID *poid_sip);
  2312. END_INTERFACE
  2313. } IActiveScriptSIPInfoVtbl;
  2314. interface IActiveScriptSIPInfo
  2315. {
  2316. CONST_VTBL struct IActiveScriptSIPInfoVtbl *lpVtbl;
  2317. };
  2318. #ifdef COBJMACROS
  2319. #define IActiveScriptSIPInfo_QueryInterface(This,riid,ppvObject) \
  2320. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2321. #define IActiveScriptSIPInfo_AddRef(This) \
  2322. (This)->lpVtbl -> AddRef(This)
  2323. #define IActiveScriptSIPInfo_Release(This) \
  2324. (This)->lpVtbl -> Release(This)
  2325. #define IActiveScriptSIPInfo_GetSIPOID(This,poid_sip) \
  2326. (This)->lpVtbl -> GetSIPOID(This,poid_sip)
  2327. #endif /* COBJMACROS */
  2328. #endif /* C style interface */
  2329. HRESULT STDMETHODCALLTYPE IActiveScriptSIPInfo_GetSIPOID_Proxy(
  2330. IActiveScriptSIPInfo * This,
  2331. /* [out] */ GUID *poid_sip);
  2332. void __RPC_STUB IActiveScriptSIPInfo_GetSIPOID_Stub(
  2333. IRpcStubBuffer *This,
  2334. IRpcChannelBuffer *_pRpcChannelBuffer,
  2335. PRPC_MESSAGE _pRpcMessage,
  2336. DWORD *_pdwStubPhase);
  2337. #endif /* __IActiveScriptSIPInfo_INTERFACE_DEFINED__ */
  2338. /* interface __MIDL_itf_activscp_0280 */
  2339. /* [local] */
  2340. #endif // __ActivScp_h
  2341. extern RPC_IF_HANDLE __MIDL_itf_activscp_0280_v0_0_c_ifspec;
  2342. extern RPC_IF_HANDLE __MIDL_itf_activscp_0280_v0_0_s_ifspec;
  2343. /* Additional Prototypes for ALL interfaces */
  2344. unsigned long __RPC_USER BSTR_UserSize( unsigned long *, unsigned long , BSTR * );
  2345. unsigned char * __RPC_USER BSTR_UserMarshal( unsigned long *, unsigned char *, BSTR * );
  2346. unsigned char * __RPC_USER BSTR_UserUnmarshal(unsigned long *, unsigned char *, BSTR * );
  2347. void __RPC_USER BSTR_UserFree( unsigned long *, BSTR * );
  2348. unsigned long __RPC_USER HWND_UserSize( unsigned long *, unsigned long , HWND * );
  2349. unsigned char * __RPC_USER HWND_UserMarshal( unsigned long *, unsigned char *, HWND * );
  2350. unsigned char * __RPC_USER HWND_UserUnmarshal(unsigned long *, unsigned char *, HWND * );
  2351. void __RPC_USER HWND_UserFree( unsigned long *, HWND * );
  2352. unsigned long __RPC_USER VARIANT_UserSize( unsigned long *, unsigned long , VARIANT * );
  2353. unsigned char * __RPC_USER VARIANT_UserMarshal( unsigned long *, unsigned char *, VARIANT * );
  2354. unsigned char * __RPC_USER VARIANT_UserUnmarshal(unsigned long *, unsigned char *, VARIANT * );
  2355. void __RPC_USER VARIANT_UserFree( unsigned long *, VARIANT * );
  2356. /* [local] */ HRESULT STDMETHODCALLTYPE IActiveScriptError_GetExceptionInfo_Proxy(
  2357. IActiveScriptError * This,
  2358. /* [out] */ EXCEPINFO *pexcepinfo);
  2359. /* [call_as] */ HRESULT STDMETHODCALLTYPE IActiveScriptError_GetExceptionInfo_Stub(
  2360. IActiveScriptError * This,
  2361. /* [out] */ EXCEPINFO *pexcepinfo);
  2362. /* end of Additional Prototypes */
  2363. #ifdef __cplusplus
  2364. }
  2365. #endif
  2366. #endif