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.

1904 lines
60 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 activaut.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 __activaut_h__
  27. #define __activaut_h__
  28. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  29. #pragma once
  30. #endif
  31. /* Forward Declarations */
  32. #ifndef __IScriptNode_FWD_DEFINED__
  33. #define __IScriptNode_FWD_DEFINED__
  34. typedef interface IScriptNode IScriptNode;
  35. #endif /* __IScriptNode_FWD_DEFINED__ */
  36. #ifndef __IScriptEntry_FWD_DEFINED__
  37. #define __IScriptEntry_FWD_DEFINED__
  38. typedef interface IScriptEntry IScriptEntry;
  39. #endif /* __IScriptEntry_FWD_DEFINED__ */
  40. #ifndef __IScriptScriptlet_FWD_DEFINED__
  41. #define __IScriptScriptlet_FWD_DEFINED__
  42. typedef interface IScriptScriptlet IScriptScriptlet;
  43. #endif /* __IScriptScriptlet_FWD_DEFINED__ */
  44. #ifndef __IActiveScriptAuthor_FWD_DEFINED__
  45. #define __IActiveScriptAuthor_FWD_DEFINED__
  46. typedef interface IActiveScriptAuthor IActiveScriptAuthor;
  47. #endif /* __IActiveScriptAuthor_FWD_DEFINED__ */
  48. #ifndef __IActiveScriptAuthorProcedure_FWD_DEFINED__
  49. #define __IActiveScriptAuthorProcedure_FWD_DEFINED__
  50. typedef interface IActiveScriptAuthorProcedure IActiveScriptAuthorProcedure;
  51. #endif /* __IActiveScriptAuthorProcedure_FWD_DEFINED__ */
  52. /* header files for imported files */
  53. #include "ocidl.h"
  54. #ifdef __cplusplus
  55. extern "C"{
  56. #endif
  57. void * __RPC_USER MIDL_user_allocate(size_t);
  58. void __RPC_USER MIDL_user_free( void * );
  59. /* interface __MIDL_itf_activaut_0000 */
  60. /* [local] */
  61. //=--------------------------------------------------------------------------=
  62. // ActivAut.h
  63. //=--------------------------------------------------------------------------=
  64. // (C) Copyright 1997 Microsoft Corporation. All Rights Reserved.
  65. //
  66. // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
  67. // ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
  68. // THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
  69. // PARTICULAR PURPOSE.
  70. //=--------------------------------------------------------------------------=
  71. //
  72. #pragma comment(lib,"uuid.lib")
  73. //
  74. // Declarations for ActiveX Script Authoring.
  75. //
  76. #ifndef __ActivAut_h
  77. #define __ActivAut_h
  78. /* GUIDs
  79. ********/
  80. #ifndef _NO_AUTHOR_GUIDS
  81. // {0AEE2A92-BCBB-11d0-8C72-00C04FC2B085}
  82. DEFINE_GUID(CATID_ActiveScriptAuthor, 0xaee2a92, 0xbcbb, 0x11d0, 0x8c, 0x72, 0x0, 0xc0, 0x4f, 0xc2, 0xb0, 0x85);
  83. // {9C109DA0-7006-11d1-B36C-00A0C911E8B2}
  84. DEFINE_GUID(IID_IActiveScriptAuthor, 0x9c109da0, 0x7006, 0x11d1, 0xb3, 0x6c, 0x00, 0xa0, 0xc9, 0x11, 0xe8, 0xb2);
  85. // {0AEE2A94-BCBB-11d0-8C72-00C04FC2B085}
  86. DEFINE_GUID(IID_IScriptNode, 0xaee2a94, 0xbcbb, 0x11d0, 0x8c, 0x72, 0x0, 0xc0, 0x4f, 0xc2, 0xb0, 0x85);
  87. // {0AEE2A95-BCBB-11d0-8C72-00C04FC2B085}
  88. DEFINE_GUID(IID_IScriptEntry, 0xaee2a95, 0xbcbb, 0x11d0, 0x8c, 0x72, 0x0, 0xc0, 0x4f, 0xc2, 0xb0, 0x85);
  89. // {0AEE2A96-BCBB-11d0-8C72-00C04FC2B085}
  90. DEFINE_GUID(IID_IScriptScriptlet, 0xaee2a96, 0xbcbb, 0x11d0, 0x8c, 0x72, 0x0, 0xc0, 0x4f, 0xc2, 0xb0, 0x85);
  91. // {7E2D4B70-BD9A-11d0-9336-00A0C90DCAA9}
  92. DEFINE_GUID(IID_IActiveScriptAuthorProcedure, 0x7e2d4b70, 0xbd9a, 0x11d0, 0x93, 0x36, 0x0, 0xa0, 0xc9, 0xd, 0xca, 0xa9);
  93. #endif // _NO_AUTHOR_GUIDS
  94. /* Interfaces
  95. *************/
  96. // Output flags for GetLanguageFlags
  97. const DWORD fasaPreferInternalHandler = 0x0001;
  98. const DWORD fasaSupportInternalHandler = 0x0002;
  99. const DWORD fasaCaseSensitive = 0x0004;
  100. // Flags for statement completion
  101. const DWORD SCRIPT_CMPL_NOLIST = 0x0000;
  102. const DWORD SCRIPT_CMPL_MEMBERLIST = 0x0001;
  103. const DWORD SCRIPT_CMPL_ENUMLIST = 0x0002;
  104. const DWORD SCRIPT_CMPL_PARAMTIP = 0x0004;
  105. const DWORD SCRIPT_CMPL_GLOBALLIST = 0x0008;
  106. const DWORD SCRIPT_CMPL_ENUM_TRIGGER = 0x0001;
  107. const DWORD SCRIPT_CMPL_MEMBER_TRIGGER = 0x0002;
  108. const DWORD SCRIPT_CMPL_PARAM_TRIGGER = 0x0003;
  109. const DWORD SCRIPT_CMPL_COMMIT = 0x0004;
  110. // Flags for getting attributes
  111. const DWORD GETATTRTYPE_NORMAL = 0x0000;
  112. const DWORD GETATTRTYPE_DEPSCAN = 0x0001;
  113. // GETATTRFLAG_THIS can be used with either GETATTRTYPE_NORMAL or GETATTRTYPE_DEPSCAN
  114. const DWORD GETATTRFLAG_THIS = 0x0100;
  115. const DWORD GETATTRFLAG_HUMANTEXT = 0x8000;
  116. // When the GETATTR_LOCALIZE flag is set the following bit will be
  117. // set for source attributes that should be considered localized
  118. const DWORD SOURCETEXT_ATTR_HUMANTEXT = 0x8000;
  119. // Valid attributes returned for GETATTR_DEPSCAN
  120. const DWORD SOURCETEXT_ATTR_IDENTIFIER = 0x0100;
  121. const DWORD SOURCETEXT_ATTR_MEMBERLOOKUP = 0x0200;
  122. // When the GETATTRFLAG_THIS flag is set the following bit will be
  123. // set for the this pointer (JS) or me pointer (VBS)
  124. const DWORD SOURCETEXT_ATTR_THIS = 0x0400;
  125. typedef WORD SOURCE_TEXT_ATTR;
  126. extern RPC_IF_HANDLE __MIDL_itf_activaut_0000_v0_0_c_ifspec;
  127. extern RPC_IF_HANDLE __MIDL_itf_activaut_0000_v0_0_s_ifspec;
  128. #ifndef __IScriptNode_INTERFACE_DEFINED__
  129. #define __IScriptNode_INTERFACE_DEFINED__
  130. /* interface IScriptNode */
  131. /* [object][unique][uuid] */
  132. EXTERN_C const IID IID_IScriptNode;
  133. #if defined(__cplusplus) && !defined(CINTERFACE)
  134. MIDL_INTERFACE("0AEE2A94-BCBB-11d0-8C72-00C04FC2B085")
  135. IScriptNode : public IUnknown
  136. {
  137. public:
  138. virtual HRESULT STDMETHODCALLTYPE Alive( void) = 0;
  139. virtual HRESULT STDMETHODCALLTYPE Delete( void) = 0;
  140. virtual HRESULT STDMETHODCALLTYPE GetParent(
  141. /* [out] */ IScriptNode **ppsnParent) = 0;
  142. virtual HRESULT STDMETHODCALLTYPE GetIndexInParent(
  143. /* [out] */ ULONG *pisn) = 0;
  144. virtual HRESULT STDMETHODCALLTYPE GetCookie(
  145. /* [out] */ DWORD *pdwCookie) = 0;
  146. virtual HRESULT STDMETHODCALLTYPE GetNumberOfChildren(
  147. /* [out] */ ULONG *pcsn) = 0;
  148. virtual HRESULT STDMETHODCALLTYPE GetChild(
  149. /* [in] */ ULONG isn,
  150. /* [out] */ IScriptNode **ppsn) = 0;
  151. virtual HRESULT STDMETHODCALLTYPE GetLanguage(
  152. /* [out] */ BSTR *pbstr) = 0;
  153. virtual HRESULT STDMETHODCALLTYPE CreateChildEntry(
  154. /* [in] */ ULONG isn,
  155. /* [in] */ DWORD dwCookie,
  156. /* [in] */ LPCOLESTR pszDelimiter,
  157. /* [out] */ IScriptEntry **ppse) = 0;
  158. virtual HRESULT STDMETHODCALLTYPE CreateChildHandler(
  159. /* [in] */ LPCOLESTR pszDefaultName,
  160. /* [size_is][in] */ LPCOLESTR *prgpszNames,
  161. /* [in] */ ULONG cpszNames,
  162. /* [in] */ LPCOLESTR pszEvent,
  163. /* [in] */ LPCOLESTR pszDelimiter,
  164. /* [in] */ ITypeInfo *ptiSignature,
  165. /* [in] */ ULONG iMethodSignature,
  166. /* [in] */ ULONG isn,
  167. /* [in] */ DWORD dwCookie,
  168. /* [out] */ IScriptEntry **ppse) = 0;
  169. };
  170. #else /* C style interface */
  171. typedef struct IScriptNodeVtbl
  172. {
  173. BEGIN_INTERFACE
  174. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  175. IScriptNode * This,
  176. /* [in] */ REFIID riid,
  177. /* [iid_is][out] */ void **ppvObject);
  178. ULONG ( STDMETHODCALLTYPE *AddRef )(
  179. IScriptNode * This);
  180. ULONG ( STDMETHODCALLTYPE *Release )(
  181. IScriptNode * This);
  182. HRESULT ( STDMETHODCALLTYPE *Alive )(
  183. IScriptNode * This);
  184. HRESULT ( STDMETHODCALLTYPE *Delete )(
  185. IScriptNode * This);
  186. HRESULT ( STDMETHODCALLTYPE *GetParent )(
  187. IScriptNode * This,
  188. /* [out] */ IScriptNode **ppsnParent);
  189. HRESULT ( STDMETHODCALLTYPE *GetIndexInParent )(
  190. IScriptNode * This,
  191. /* [out] */ ULONG *pisn);
  192. HRESULT ( STDMETHODCALLTYPE *GetCookie )(
  193. IScriptNode * This,
  194. /* [out] */ DWORD *pdwCookie);
  195. HRESULT ( STDMETHODCALLTYPE *GetNumberOfChildren )(
  196. IScriptNode * This,
  197. /* [out] */ ULONG *pcsn);
  198. HRESULT ( STDMETHODCALLTYPE *GetChild )(
  199. IScriptNode * This,
  200. /* [in] */ ULONG isn,
  201. /* [out] */ IScriptNode **ppsn);
  202. HRESULT ( STDMETHODCALLTYPE *GetLanguage )(
  203. IScriptNode * This,
  204. /* [out] */ BSTR *pbstr);
  205. HRESULT ( STDMETHODCALLTYPE *CreateChildEntry )(
  206. IScriptNode * This,
  207. /* [in] */ ULONG isn,
  208. /* [in] */ DWORD dwCookie,
  209. /* [in] */ LPCOLESTR pszDelimiter,
  210. /* [out] */ IScriptEntry **ppse);
  211. HRESULT ( STDMETHODCALLTYPE *CreateChildHandler )(
  212. IScriptNode * This,
  213. /* [in] */ LPCOLESTR pszDefaultName,
  214. /* [size_is][in] */ LPCOLESTR *prgpszNames,
  215. /* [in] */ ULONG cpszNames,
  216. /* [in] */ LPCOLESTR pszEvent,
  217. /* [in] */ LPCOLESTR pszDelimiter,
  218. /* [in] */ ITypeInfo *ptiSignature,
  219. /* [in] */ ULONG iMethodSignature,
  220. /* [in] */ ULONG isn,
  221. /* [in] */ DWORD dwCookie,
  222. /* [out] */ IScriptEntry **ppse);
  223. END_INTERFACE
  224. } IScriptNodeVtbl;
  225. interface IScriptNode
  226. {
  227. CONST_VTBL struct IScriptNodeVtbl *lpVtbl;
  228. };
  229. #ifdef COBJMACROS
  230. #define IScriptNode_QueryInterface(This,riid,ppvObject) \
  231. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  232. #define IScriptNode_AddRef(This) \
  233. (This)->lpVtbl -> AddRef(This)
  234. #define IScriptNode_Release(This) \
  235. (This)->lpVtbl -> Release(This)
  236. #define IScriptNode_Alive(This) \
  237. (This)->lpVtbl -> Alive(This)
  238. #define IScriptNode_Delete(This) \
  239. (This)->lpVtbl -> Delete(This)
  240. #define IScriptNode_GetParent(This,ppsnParent) \
  241. (This)->lpVtbl -> GetParent(This,ppsnParent)
  242. #define IScriptNode_GetIndexInParent(This,pisn) \
  243. (This)->lpVtbl -> GetIndexInParent(This,pisn)
  244. #define IScriptNode_GetCookie(This,pdwCookie) \
  245. (This)->lpVtbl -> GetCookie(This,pdwCookie)
  246. #define IScriptNode_GetNumberOfChildren(This,pcsn) \
  247. (This)->lpVtbl -> GetNumberOfChildren(This,pcsn)
  248. #define IScriptNode_GetChild(This,isn,ppsn) \
  249. (This)->lpVtbl -> GetChild(This,isn,ppsn)
  250. #define IScriptNode_GetLanguage(This,pbstr) \
  251. (This)->lpVtbl -> GetLanguage(This,pbstr)
  252. #define IScriptNode_CreateChildEntry(This,isn,dwCookie,pszDelimiter,ppse) \
  253. (This)->lpVtbl -> CreateChildEntry(This,isn,dwCookie,pszDelimiter,ppse)
  254. #define IScriptNode_CreateChildHandler(This,pszDefaultName,prgpszNames,cpszNames,pszEvent,pszDelimiter,ptiSignature,iMethodSignature,isn,dwCookie,ppse) \
  255. (This)->lpVtbl -> CreateChildHandler(This,pszDefaultName,prgpszNames,cpszNames,pszEvent,pszDelimiter,ptiSignature,iMethodSignature,isn,dwCookie,ppse)
  256. #endif /* COBJMACROS */
  257. #endif /* C style interface */
  258. HRESULT STDMETHODCALLTYPE IScriptNode_Alive_Proxy(
  259. IScriptNode * This);
  260. void __RPC_STUB IScriptNode_Alive_Stub(
  261. IRpcStubBuffer *This,
  262. IRpcChannelBuffer *_pRpcChannelBuffer,
  263. PRPC_MESSAGE _pRpcMessage,
  264. DWORD *_pdwStubPhase);
  265. HRESULT STDMETHODCALLTYPE IScriptNode_Delete_Proxy(
  266. IScriptNode * This);
  267. void __RPC_STUB IScriptNode_Delete_Stub(
  268. IRpcStubBuffer *This,
  269. IRpcChannelBuffer *_pRpcChannelBuffer,
  270. PRPC_MESSAGE _pRpcMessage,
  271. DWORD *_pdwStubPhase);
  272. HRESULT STDMETHODCALLTYPE IScriptNode_GetParent_Proxy(
  273. IScriptNode * This,
  274. /* [out] */ IScriptNode **ppsnParent);
  275. void __RPC_STUB IScriptNode_GetParent_Stub(
  276. IRpcStubBuffer *This,
  277. IRpcChannelBuffer *_pRpcChannelBuffer,
  278. PRPC_MESSAGE _pRpcMessage,
  279. DWORD *_pdwStubPhase);
  280. HRESULT STDMETHODCALLTYPE IScriptNode_GetIndexInParent_Proxy(
  281. IScriptNode * This,
  282. /* [out] */ ULONG *pisn);
  283. void __RPC_STUB IScriptNode_GetIndexInParent_Stub(
  284. IRpcStubBuffer *This,
  285. IRpcChannelBuffer *_pRpcChannelBuffer,
  286. PRPC_MESSAGE _pRpcMessage,
  287. DWORD *_pdwStubPhase);
  288. HRESULT STDMETHODCALLTYPE IScriptNode_GetCookie_Proxy(
  289. IScriptNode * This,
  290. /* [out] */ DWORD *pdwCookie);
  291. void __RPC_STUB IScriptNode_GetCookie_Stub(
  292. IRpcStubBuffer *This,
  293. IRpcChannelBuffer *_pRpcChannelBuffer,
  294. PRPC_MESSAGE _pRpcMessage,
  295. DWORD *_pdwStubPhase);
  296. HRESULT STDMETHODCALLTYPE IScriptNode_GetNumberOfChildren_Proxy(
  297. IScriptNode * This,
  298. /* [out] */ ULONG *pcsn);
  299. void __RPC_STUB IScriptNode_GetNumberOfChildren_Stub(
  300. IRpcStubBuffer *This,
  301. IRpcChannelBuffer *_pRpcChannelBuffer,
  302. PRPC_MESSAGE _pRpcMessage,
  303. DWORD *_pdwStubPhase);
  304. HRESULT STDMETHODCALLTYPE IScriptNode_GetChild_Proxy(
  305. IScriptNode * This,
  306. /* [in] */ ULONG isn,
  307. /* [out] */ IScriptNode **ppsn);
  308. void __RPC_STUB IScriptNode_GetChild_Stub(
  309. IRpcStubBuffer *This,
  310. IRpcChannelBuffer *_pRpcChannelBuffer,
  311. PRPC_MESSAGE _pRpcMessage,
  312. DWORD *_pdwStubPhase);
  313. HRESULT STDMETHODCALLTYPE IScriptNode_GetLanguage_Proxy(
  314. IScriptNode * This,
  315. /* [out] */ BSTR *pbstr);
  316. void __RPC_STUB IScriptNode_GetLanguage_Stub(
  317. IRpcStubBuffer *This,
  318. IRpcChannelBuffer *_pRpcChannelBuffer,
  319. PRPC_MESSAGE _pRpcMessage,
  320. DWORD *_pdwStubPhase);
  321. HRESULT STDMETHODCALLTYPE IScriptNode_CreateChildEntry_Proxy(
  322. IScriptNode * This,
  323. /* [in] */ ULONG isn,
  324. /* [in] */ DWORD dwCookie,
  325. /* [in] */ LPCOLESTR pszDelimiter,
  326. /* [out] */ IScriptEntry **ppse);
  327. void __RPC_STUB IScriptNode_CreateChildEntry_Stub(
  328. IRpcStubBuffer *This,
  329. IRpcChannelBuffer *_pRpcChannelBuffer,
  330. PRPC_MESSAGE _pRpcMessage,
  331. DWORD *_pdwStubPhase);
  332. HRESULT STDMETHODCALLTYPE IScriptNode_CreateChildHandler_Proxy(
  333. IScriptNode * This,
  334. /* [in] */ LPCOLESTR pszDefaultName,
  335. /* [size_is][in] */ LPCOLESTR *prgpszNames,
  336. /* [in] */ ULONG cpszNames,
  337. /* [in] */ LPCOLESTR pszEvent,
  338. /* [in] */ LPCOLESTR pszDelimiter,
  339. /* [in] */ ITypeInfo *ptiSignature,
  340. /* [in] */ ULONG iMethodSignature,
  341. /* [in] */ ULONG isn,
  342. /* [in] */ DWORD dwCookie,
  343. /* [out] */ IScriptEntry **ppse);
  344. void __RPC_STUB IScriptNode_CreateChildHandler_Stub(
  345. IRpcStubBuffer *This,
  346. IRpcChannelBuffer *_pRpcChannelBuffer,
  347. PRPC_MESSAGE _pRpcMessage,
  348. DWORD *_pdwStubPhase);
  349. #endif /* __IScriptNode_INTERFACE_DEFINED__ */
  350. #ifndef __IScriptEntry_INTERFACE_DEFINED__
  351. #define __IScriptEntry_INTERFACE_DEFINED__
  352. /* interface IScriptEntry */
  353. /* [object][unique][uuid] */
  354. EXTERN_C const IID IID_IScriptEntry;
  355. #if defined(__cplusplus) && !defined(CINTERFACE)
  356. MIDL_INTERFACE("0AEE2A95-BCBB-11d0-8C72-00C04FC2B085")
  357. IScriptEntry : public IScriptNode
  358. {
  359. public:
  360. virtual HRESULT STDMETHODCALLTYPE GetText(
  361. /* [out] */ BSTR *pbstr) = 0;
  362. virtual HRESULT STDMETHODCALLTYPE SetText(
  363. /* [in] */ LPCOLESTR psz) = 0;
  364. virtual HRESULT STDMETHODCALLTYPE GetBody(
  365. /* [out] */ BSTR *pbstr) = 0;
  366. virtual HRESULT STDMETHODCALLTYPE SetBody(
  367. /* [in] */ LPCOLESTR psz) = 0;
  368. virtual HRESULT STDMETHODCALLTYPE GetName(
  369. /* [out] */ BSTR *pbstr) = 0;
  370. virtual HRESULT STDMETHODCALLTYPE SetName(
  371. /* [in] */ LPCOLESTR psz) = 0;
  372. virtual HRESULT STDMETHODCALLTYPE GetItemName(
  373. /* [out] */ BSTR *pbstr) = 0;
  374. virtual HRESULT STDMETHODCALLTYPE SetItemName(
  375. /* [in] */ LPCOLESTR psz) = 0;
  376. virtual HRESULT STDMETHODCALLTYPE GetSignature(
  377. /* [out] */ ITypeInfo **ppti,
  378. /* [out] */ ULONG *piMethod) = 0;
  379. virtual HRESULT STDMETHODCALLTYPE SetSignature(
  380. /* [in] */ ITypeInfo *pti,
  381. /* [in] */ ULONG iMethod) = 0;
  382. virtual HRESULT STDMETHODCALLTYPE GetRange(
  383. /* [out] */ ULONG *pichMin,
  384. /* [out] */ ULONG *pcch) = 0;
  385. };
  386. #else /* C style interface */
  387. typedef struct IScriptEntryVtbl
  388. {
  389. BEGIN_INTERFACE
  390. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  391. IScriptEntry * This,
  392. /* [in] */ REFIID riid,
  393. /* [iid_is][out] */ void **ppvObject);
  394. ULONG ( STDMETHODCALLTYPE *AddRef )(
  395. IScriptEntry * This);
  396. ULONG ( STDMETHODCALLTYPE *Release )(
  397. IScriptEntry * This);
  398. HRESULT ( STDMETHODCALLTYPE *Alive )(
  399. IScriptEntry * This);
  400. HRESULT ( STDMETHODCALLTYPE *Delete )(
  401. IScriptEntry * This);
  402. HRESULT ( STDMETHODCALLTYPE *GetParent )(
  403. IScriptEntry * This,
  404. /* [out] */ IScriptNode **ppsnParent);
  405. HRESULT ( STDMETHODCALLTYPE *GetIndexInParent )(
  406. IScriptEntry * This,
  407. /* [out] */ ULONG *pisn);
  408. HRESULT ( STDMETHODCALLTYPE *GetCookie )(
  409. IScriptEntry * This,
  410. /* [out] */ DWORD *pdwCookie);
  411. HRESULT ( STDMETHODCALLTYPE *GetNumberOfChildren )(
  412. IScriptEntry * This,
  413. /* [out] */ ULONG *pcsn);
  414. HRESULT ( STDMETHODCALLTYPE *GetChild )(
  415. IScriptEntry * This,
  416. /* [in] */ ULONG isn,
  417. /* [out] */ IScriptNode **ppsn);
  418. HRESULT ( STDMETHODCALLTYPE *GetLanguage )(
  419. IScriptEntry * This,
  420. /* [out] */ BSTR *pbstr);
  421. HRESULT ( STDMETHODCALLTYPE *CreateChildEntry )(
  422. IScriptEntry * This,
  423. /* [in] */ ULONG isn,
  424. /* [in] */ DWORD dwCookie,
  425. /* [in] */ LPCOLESTR pszDelimiter,
  426. /* [out] */ IScriptEntry **ppse);
  427. HRESULT ( STDMETHODCALLTYPE *CreateChildHandler )(
  428. IScriptEntry * This,
  429. /* [in] */ LPCOLESTR pszDefaultName,
  430. /* [size_is][in] */ LPCOLESTR *prgpszNames,
  431. /* [in] */ ULONG cpszNames,
  432. /* [in] */ LPCOLESTR pszEvent,
  433. /* [in] */ LPCOLESTR pszDelimiter,
  434. /* [in] */ ITypeInfo *ptiSignature,
  435. /* [in] */ ULONG iMethodSignature,
  436. /* [in] */ ULONG isn,
  437. /* [in] */ DWORD dwCookie,
  438. /* [out] */ IScriptEntry **ppse);
  439. HRESULT ( STDMETHODCALLTYPE *GetText )(
  440. IScriptEntry * This,
  441. /* [out] */ BSTR *pbstr);
  442. HRESULT ( STDMETHODCALLTYPE *SetText )(
  443. IScriptEntry * This,
  444. /* [in] */ LPCOLESTR psz);
  445. HRESULT ( STDMETHODCALLTYPE *GetBody )(
  446. IScriptEntry * This,
  447. /* [out] */ BSTR *pbstr);
  448. HRESULT ( STDMETHODCALLTYPE *SetBody )(
  449. IScriptEntry * This,
  450. /* [in] */ LPCOLESTR psz);
  451. HRESULT ( STDMETHODCALLTYPE *GetName )(
  452. IScriptEntry * This,
  453. /* [out] */ BSTR *pbstr);
  454. HRESULT ( STDMETHODCALLTYPE *SetName )(
  455. IScriptEntry * This,
  456. /* [in] */ LPCOLESTR psz);
  457. HRESULT ( STDMETHODCALLTYPE *GetItemName )(
  458. IScriptEntry * This,
  459. /* [out] */ BSTR *pbstr);
  460. HRESULT ( STDMETHODCALLTYPE *SetItemName )(
  461. IScriptEntry * This,
  462. /* [in] */ LPCOLESTR psz);
  463. HRESULT ( STDMETHODCALLTYPE *GetSignature )(
  464. IScriptEntry * This,
  465. /* [out] */ ITypeInfo **ppti,
  466. /* [out] */ ULONG *piMethod);
  467. HRESULT ( STDMETHODCALLTYPE *SetSignature )(
  468. IScriptEntry * This,
  469. /* [in] */ ITypeInfo *pti,
  470. /* [in] */ ULONG iMethod);
  471. HRESULT ( STDMETHODCALLTYPE *GetRange )(
  472. IScriptEntry * This,
  473. /* [out] */ ULONG *pichMin,
  474. /* [out] */ ULONG *pcch);
  475. END_INTERFACE
  476. } IScriptEntryVtbl;
  477. interface IScriptEntry
  478. {
  479. CONST_VTBL struct IScriptEntryVtbl *lpVtbl;
  480. };
  481. #ifdef COBJMACROS
  482. #define IScriptEntry_QueryInterface(This,riid,ppvObject) \
  483. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  484. #define IScriptEntry_AddRef(This) \
  485. (This)->lpVtbl -> AddRef(This)
  486. #define IScriptEntry_Release(This) \
  487. (This)->lpVtbl -> Release(This)
  488. #define IScriptEntry_Alive(This) \
  489. (This)->lpVtbl -> Alive(This)
  490. #define IScriptEntry_Delete(This) \
  491. (This)->lpVtbl -> Delete(This)
  492. #define IScriptEntry_GetParent(This,ppsnParent) \
  493. (This)->lpVtbl -> GetParent(This,ppsnParent)
  494. #define IScriptEntry_GetIndexInParent(This,pisn) \
  495. (This)->lpVtbl -> GetIndexInParent(This,pisn)
  496. #define IScriptEntry_GetCookie(This,pdwCookie) \
  497. (This)->lpVtbl -> GetCookie(This,pdwCookie)
  498. #define IScriptEntry_GetNumberOfChildren(This,pcsn) \
  499. (This)->lpVtbl -> GetNumberOfChildren(This,pcsn)
  500. #define IScriptEntry_GetChild(This,isn,ppsn) \
  501. (This)->lpVtbl -> GetChild(This,isn,ppsn)
  502. #define IScriptEntry_GetLanguage(This,pbstr) \
  503. (This)->lpVtbl -> GetLanguage(This,pbstr)
  504. #define IScriptEntry_CreateChildEntry(This,isn,dwCookie,pszDelimiter,ppse) \
  505. (This)->lpVtbl -> CreateChildEntry(This,isn,dwCookie,pszDelimiter,ppse)
  506. #define IScriptEntry_CreateChildHandler(This,pszDefaultName,prgpszNames,cpszNames,pszEvent,pszDelimiter,ptiSignature,iMethodSignature,isn,dwCookie,ppse) \
  507. (This)->lpVtbl -> CreateChildHandler(This,pszDefaultName,prgpszNames,cpszNames,pszEvent,pszDelimiter,ptiSignature,iMethodSignature,isn,dwCookie,ppse)
  508. #define IScriptEntry_GetText(This,pbstr) \
  509. (This)->lpVtbl -> GetText(This,pbstr)
  510. #define IScriptEntry_SetText(This,psz) \
  511. (This)->lpVtbl -> SetText(This,psz)
  512. #define IScriptEntry_GetBody(This,pbstr) \
  513. (This)->lpVtbl -> GetBody(This,pbstr)
  514. #define IScriptEntry_SetBody(This,psz) \
  515. (This)->lpVtbl -> SetBody(This,psz)
  516. #define IScriptEntry_GetName(This,pbstr) \
  517. (This)->lpVtbl -> GetName(This,pbstr)
  518. #define IScriptEntry_SetName(This,psz) \
  519. (This)->lpVtbl -> SetName(This,psz)
  520. #define IScriptEntry_GetItemName(This,pbstr) \
  521. (This)->lpVtbl -> GetItemName(This,pbstr)
  522. #define IScriptEntry_SetItemName(This,psz) \
  523. (This)->lpVtbl -> SetItemName(This,psz)
  524. #define IScriptEntry_GetSignature(This,ppti,piMethod) \
  525. (This)->lpVtbl -> GetSignature(This,ppti,piMethod)
  526. #define IScriptEntry_SetSignature(This,pti,iMethod) \
  527. (This)->lpVtbl -> SetSignature(This,pti,iMethod)
  528. #define IScriptEntry_GetRange(This,pichMin,pcch) \
  529. (This)->lpVtbl -> GetRange(This,pichMin,pcch)
  530. #endif /* COBJMACROS */
  531. #endif /* C style interface */
  532. HRESULT STDMETHODCALLTYPE IScriptEntry_GetText_Proxy(
  533. IScriptEntry * This,
  534. /* [out] */ BSTR *pbstr);
  535. void __RPC_STUB IScriptEntry_GetText_Stub(
  536. IRpcStubBuffer *This,
  537. IRpcChannelBuffer *_pRpcChannelBuffer,
  538. PRPC_MESSAGE _pRpcMessage,
  539. DWORD *_pdwStubPhase);
  540. HRESULT STDMETHODCALLTYPE IScriptEntry_SetText_Proxy(
  541. IScriptEntry * This,
  542. /* [in] */ LPCOLESTR psz);
  543. void __RPC_STUB IScriptEntry_SetText_Stub(
  544. IRpcStubBuffer *This,
  545. IRpcChannelBuffer *_pRpcChannelBuffer,
  546. PRPC_MESSAGE _pRpcMessage,
  547. DWORD *_pdwStubPhase);
  548. HRESULT STDMETHODCALLTYPE IScriptEntry_GetBody_Proxy(
  549. IScriptEntry * This,
  550. /* [out] */ BSTR *pbstr);
  551. void __RPC_STUB IScriptEntry_GetBody_Stub(
  552. IRpcStubBuffer *This,
  553. IRpcChannelBuffer *_pRpcChannelBuffer,
  554. PRPC_MESSAGE _pRpcMessage,
  555. DWORD *_pdwStubPhase);
  556. HRESULT STDMETHODCALLTYPE IScriptEntry_SetBody_Proxy(
  557. IScriptEntry * This,
  558. /* [in] */ LPCOLESTR psz);
  559. void __RPC_STUB IScriptEntry_SetBody_Stub(
  560. IRpcStubBuffer *This,
  561. IRpcChannelBuffer *_pRpcChannelBuffer,
  562. PRPC_MESSAGE _pRpcMessage,
  563. DWORD *_pdwStubPhase);
  564. HRESULT STDMETHODCALLTYPE IScriptEntry_GetName_Proxy(
  565. IScriptEntry * This,
  566. /* [out] */ BSTR *pbstr);
  567. void __RPC_STUB IScriptEntry_GetName_Stub(
  568. IRpcStubBuffer *This,
  569. IRpcChannelBuffer *_pRpcChannelBuffer,
  570. PRPC_MESSAGE _pRpcMessage,
  571. DWORD *_pdwStubPhase);
  572. HRESULT STDMETHODCALLTYPE IScriptEntry_SetName_Proxy(
  573. IScriptEntry * This,
  574. /* [in] */ LPCOLESTR psz);
  575. void __RPC_STUB IScriptEntry_SetName_Stub(
  576. IRpcStubBuffer *This,
  577. IRpcChannelBuffer *_pRpcChannelBuffer,
  578. PRPC_MESSAGE _pRpcMessage,
  579. DWORD *_pdwStubPhase);
  580. HRESULT STDMETHODCALLTYPE IScriptEntry_GetItemName_Proxy(
  581. IScriptEntry * This,
  582. /* [out] */ BSTR *pbstr);
  583. void __RPC_STUB IScriptEntry_GetItemName_Stub(
  584. IRpcStubBuffer *This,
  585. IRpcChannelBuffer *_pRpcChannelBuffer,
  586. PRPC_MESSAGE _pRpcMessage,
  587. DWORD *_pdwStubPhase);
  588. HRESULT STDMETHODCALLTYPE IScriptEntry_SetItemName_Proxy(
  589. IScriptEntry * This,
  590. /* [in] */ LPCOLESTR psz);
  591. void __RPC_STUB IScriptEntry_SetItemName_Stub(
  592. IRpcStubBuffer *This,
  593. IRpcChannelBuffer *_pRpcChannelBuffer,
  594. PRPC_MESSAGE _pRpcMessage,
  595. DWORD *_pdwStubPhase);
  596. HRESULT STDMETHODCALLTYPE IScriptEntry_GetSignature_Proxy(
  597. IScriptEntry * This,
  598. /* [out] */ ITypeInfo **ppti,
  599. /* [out] */ ULONG *piMethod);
  600. void __RPC_STUB IScriptEntry_GetSignature_Stub(
  601. IRpcStubBuffer *This,
  602. IRpcChannelBuffer *_pRpcChannelBuffer,
  603. PRPC_MESSAGE _pRpcMessage,
  604. DWORD *_pdwStubPhase);
  605. HRESULT STDMETHODCALLTYPE IScriptEntry_SetSignature_Proxy(
  606. IScriptEntry * This,
  607. /* [in] */ ITypeInfo *pti,
  608. /* [in] */ ULONG iMethod);
  609. void __RPC_STUB IScriptEntry_SetSignature_Stub(
  610. IRpcStubBuffer *This,
  611. IRpcChannelBuffer *_pRpcChannelBuffer,
  612. PRPC_MESSAGE _pRpcMessage,
  613. DWORD *_pdwStubPhase);
  614. HRESULT STDMETHODCALLTYPE IScriptEntry_GetRange_Proxy(
  615. IScriptEntry * This,
  616. /* [out] */ ULONG *pichMin,
  617. /* [out] */ ULONG *pcch);
  618. void __RPC_STUB IScriptEntry_GetRange_Stub(
  619. IRpcStubBuffer *This,
  620. IRpcChannelBuffer *_pRpcChannelBuffer,
  621. PRPC_MESSAGE _pRpcMessage,
  622. DWORD *_pdwStubPhase);
  623. #endif /* __IScriptEntry_INTERFACE_DEFINED__ */
  624. #ifndef __IScriptScriptlet_INTERFACE_DEFINED__
  625. #define __IScriptScriptlet_INTERFACE_DEFINED__
  626. /* interface IScriptScriptlet */
  627. /* [object][unique][uuid] */
  628. EXTERN_C const IID IID_IScriptScriptlet;
  629. #if defined(__cplusplus) && !defined(CINTERFACE)
  630. MIDL_INTERFACE("0AEE2A96-BCBB-11d0-8C72-00C04FC2B085")
  631. IScriptScriptlet : public IScriptEntry
  632. {
  633. public:
  634. virtual HRESULT STDMETHODCALLTYPE GetSubItemName(
  635. /* [out] */ BSTR *pbstr) = 0;
  636. virtual HRESULT STDMETHODCALLTYPE SetSubItemName(
  637. /* [in] */ LPCOLESTR psz) = 0;
  638. virtual HRESULT STDMETHODCALLTYPE GetEventName(
  639. /* [out] */ BSTR *pbstr) = 0;
  640. virtual HRESULT STDMETHODCALLTYPE SetEventName(
  641. /* [in] */ LPCOLESTR psz) = 0;
  642. virtual HRESULT STDMETHODCALLTYPE GetSimpleEventName(
  643. /* [out] */ BSTR *pbstr) = 0;
  644. virtual HRESULT STDMETHODCALLTYPE SetSimpleEventName(
  645. /* [in] */ LPCOLESTR psz) = 0;
  646. };
  647. #else /* C style interface */
  648. typedef struct IScriptScriptletVtbl
  649. {
  650. BEGIN_INTERFACE
  651. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  652. IScriptScriptlet * This,
  653. /* [in] */ REFIID riid,
  654. /* [iid_is][out] */ void **ppvObject);
  655. ULONG ( STDMETHODCALLTYPE *AddRef )(
  656. IScriptScriptlet * This);
  657. ULONG ( STDMETHODCALLTYPE *Release )(
  658. IScriptScriptlet * This);
  659. HRESULT ( STDMETHODCALLTYPE *Alive )(
  660. IScriptScriptlet * This);
  661. HRESULT ( STDMETHODCALLTYPE *Delete )(
  662. IScriptScriptlet * This);
  663. HRESULT ( STDMETHODCALLTYPE *GetParent )(
  664. IScriptScriptlet * This,
  665. /* [out] */ IScriptNode **ppsnParent);
  666. HRESULT ( STDMETHODCALLTYPE *GetIndexInParent )(
  667. IScriptScriptlet * This,
  668. /* [out] */ ULONG *pisn);
  669. HRESULT ( STDMETHODCALLTYPE *GetCookie )(
  670. IScriptScriptlet * This,
  671. /* [out] */ DWORD *pdwCookie);
  672. HRESULT ( STDMETHODCALLTYPE *GetNumberOfChildren )(
  673. IScriptScriptlet * This,
  674. /* [out] */ ULONG *pcsn);
  675. HRESULT ( STDMETHODCALLTYPE *GetChild )(
  676. IScriptScriptlet * This,
  677. /* [in] */ ULONG isn,
  678. /* [out] */ IScriptNode **ppsn);
  679. HRESULT ( STDMETHODCALLTYPE *GetLanguage )(
  680. IScriptScriptlet * This,
  681. /* [out] */ BSTR *pbstr);
  682. HRESULT ( STDMETHODCALLTYPE *CreateChildEntry )(
  683. IScriptScriptlet * This,
  684. /* [in] */ ULONG isn,
  685. /* [in] */ DWORD dwCookie,
  686. /* [in] */ LPCOLESTR pszDelimiter,
  687. /* [out] */ IScriptEntry **ppse);
  688. HRESULT ( STDMETHODCALLTYPE *CreateChildHandler )(
  689. IScriptScriptlet * This,
  690. /* [in] */ LPCOLESTR pszDefaultName,
  691. /* [size_is][in] */ LPCOLESTR *prgpszNames,
  692. /* [in] */ ULONG cpszNames,
  693. /* [in] */ LPCOLESTR pszEvent,
  694. /* [in] */ LPCOLESTR pszDelimiter,
  695. /* [in] */ ITypeInfo *ptiSignature,
  696. /* [in] */ ULONG iMethodSignature,
  697. /* [in] */ ULONG isn,
  698. /* [in] */ DWORD dwCookie,
  699. /* [out] */ IScriptEntry **ppse);
  700. HRESULT ( STDMETHODCALLTYPE *GetText )(
  701. IScriptScriptlet * This,
  702. /* [out] */ BSTR *pbstr);
  703. HRESULT ( STDMETHODCALLTYPE *SetText )(
  704. IScriptScriptlet * This,
  705. /* [in] */ LPCOLESTR psz);
  706. HRESULT ( STDMETHODCALLTYPE *GetBody )(
  707. IScriptScriptlet * This,
  708. /* [out] */ BSTR *pbstr);
  709. HRESULT ( STDMETHODCALLTYPE *SetBody )(
  710. IScriptScriptlet * This,
  711. /* [in] */ LPCOLESTR psz);
  712. HRESULT ( STDMETHODCALLTYPE *GetName )(
  713. IScriptScriptlet * This,
  714. /* [out] */ BSTR *pbstr);
  715. HRESULT ( STDMETHODCALLTYPE *SetName )(
  716. IScriptScriptlet * This,
  717. /* [in] */ LPCOLESTR psz);
  718. HRESULT ( STDMETHODCALLTYPE *GetItemName )(
  719. IScriptScriptlet * This,
  720. /* [out] */ BSTR *pbstr);
  721. HRESULT ( STDMETHODCALLTYPE *SetItemName )(
  722. IScriptScriptlet * This,
  723. /* [in] */ LPCOLESTR psz);
  724. HRESULT ( STDMETHODCALLTYPE *GetSignature )(
  725. IScriptScriptlet * This,
  726. /* [out] */ ITypeInfo **ppti,
  727. /* [out] */ ULONG *piMethod);
  728. HRESULT ( STDMETHODCALLTYPE *SetSignature )(
  729. IScriptScriptlet * This,
  730. /* [in] */ ITypeInfo *pti,
  731. /* [in] */ ULONG iMethod);
  732. HRESULT ( STDMETHODCALLTYPE *GetRange )(
  733. IScriptScriptlet * This,
  734. /* [out] */ ULONG *pichMin,
  735. /* [out] */ ULONG *pcch);
  736. HRESULT ( STDMETHODCALLTYPE *GetSubItemName )(
  737. IScriptScriptlet * This,
  738. /* [out] */ BSTR *pbstr);
  739. HRESULT ( STDMETHODCALLTYPE *SetSubItemName )(
  740. IScriptScriptlet * This,
  741. /* [in] */ LPCOLESTR psz);
  742. HRESULT ( STDMETHODCALLTYPE *GetEventName )(
  743. IScriptScriptlet * This,
  744. /* [out] */ BSTR *pbstr);
  745. HRESULT ( STDMETHODCALLTYPE *SetEventName )(
  746. IScriptScriptlet * This,
  747. /* [in] */ LPCOLESTR psz);
  748. HRESULT ( STDMETHODCALLTYPE *GetSimpleEventName )(
  749. IScriptScriptlet * This,
  750. /* [out] */ BSTR *pbstr);
  751. HRESULT ( STDMETHODCALLTYPE *SetSimpleEventName )(
  752. IScriptScriptlet * This,
  753. /* [in] */ LPCOLESTR psz);
  754. END_INTERFACE
  755. } IScriptScriptletVtbl;
  756. interface IScriptScriptlet
  757. {
  758. CONST_VTBL struct IScriptScriptletVtbl *lpVtbl;
  759. };
  760. #ifdef COBJMACROS
  761. #define IScriptScriptlet_QueryInterface(This,riid,ppvObject) \
  762. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  763. #define IScriptScriptlet_AddRef(This) \
  764. (This)->lpVtbl -> AddRef(This)
  765. #define IScriptScriptlet_Release(This) \
  766. (This)->lpVtbl -> Release(This)
  767. #define IScriptScriptlet_Alive(This) \
  768. (This)->lpVtbl -> Alive(This)
  769. #define IScriptScriptlet_Delete(This) \
  770. (This)->lpVtbl -> Delete(This)
  771. #define IScriptScriptlet_GetParent(This,ppsnParent) \
  772. (This)->lpVtbl -> GetParent(This,ppsnParent)
  773. #define IScriptScriptlet_GetIndexInParent(This,pisn) \
  774. (This)->lpVtbl -> GetIndexInParent(This,pisn)
  775. #define IScriptScriptlet_GetCookie(This,pdwCookie) \
  776. (This)->lpVtbl -> GetCookie(This,pdwCookie)
  777. #define IScriptScriptlet_GetNumberOfChildren(This,pcsn) \
  778. (This)->lpVtbl -> GetNumberOfChildren(This,pcsn)
  779. #define IScriptScriptlet_GetChild(This,isn,ppsn) \
  780. (This)->lpVtbl -> GetChild(This,isn,ppsn)
  781. #define IScriptScriptlet_GetLanguage(This,pbstr) \
  782. (This)->lpVtbl -> GetLanguage(This,pbstr)
  783. #define IScriptScriptlet_CreateChildEntry(This,isn,dwCookie,pszDelimiter,ppse) \
  784. (This)->lpVtbl -> CreateChildEntry(This,isn,dwCookie,pszDelimiter,ppse)
  785. #define IScriptScriptlet_CreateChildHandler(This,pszDefaultName,prgpszNames,cpszNames,pszEvent,pszDelimiter,ptiSignature,iMethodSignature,isn,dwCookie,ppse) \
  786. (This)->lpVtbl -> CreateChildHandler(This,pszDefaultName,prgpszNames,cpszNames,pszEvent,pszDelimiter,ptiSignature,iMethodSignature,isn,dwCookie,ppse)
  787. #define IScriptScriptlet_GetText(This,pbstr) \
  788. (This)->lpVtbl -> GetText(This,pbstr)
  789. #define IScriptScriptlet_SetText(This,psz) \
  790. (This)->lpVtbl -> SetText(This,psz)
  791. #define IScriptScriptlet_GetBody(This,pbstr) \
  792. (This)->lpVtbl -> GetBody(This,pbstr)
  793. #define IScriptScriptlet_SetBody(This,psz) \
  794. (This)->lpVtbl -> SetBody(This,psz)
  795. #define IScriptScriptlet_GetName(This,pbstr) \
  796. (This)->lpVtbl -> GetName(This,pbstr)
  797. #define IScriptScriptlet_SetName(This,psz) \
  798. (This)->lpVtbl -> SetName(This,psz)
  799. #define IScriptScriptlet_GetItemName(This,pbstr) \
  800. (This)->lpVtbl -> GetItemName(This,pbstr)
  801. #define IScriptScriptlet_SetItemName(This,psz) \
  802. (This)->lpVtbl -> SetItemName(This,psz)
  803. #define IScriptScriptlet_GetSignature(This,ppti,piMethod) \
  804. (This)->lpVtbl -> GetSignature(This,ppti,piMethod)
  805. #define IScriptScriptlet_SetSignature(This,pti,iMethod) \
  806. (This)->lpVtbl -> SetSignature(This,pti,iMethod)
  807. #define IScriptScriptlet_GetRange(This,pichMin,pcch) \
  808. (This)->lpVtbl -> GetRange(This,pichMin,pcch)
  809. #define IScriptScriptlet_GetSubItemName(This,pbstr) \
  810. (This)->lpVtbl -> GetSubItemName(This,pbstr)
  811. #define IScriptScriptlet_SetSubItemName(This,psz) \
  812. (This)->lpVtbl -> SetSubItemName(This,psz)
  813. #define IScriptScriptlet_GetEventName(This,pbstr) \
  814. (This)->lpVtbl -> GetEventName(This,pbstr)
  815. #define IScriptScriptlet_SetEventName(This,psz) \
  816. (This)->lpVtbl -> SetEventName(This,psz)
  817. #define IScriptScriptlet_GetSimpleEventName(This,pbstr) \
  818. (This)->lpVtbl -> GetSimpleEventName(This,pbstr)
  819. #define IScriptScriptlet_SetSimpleEventName(This,psz) \
  820. (This)->lpVtbl -> SetSimpleEventName(This,psz)
  821. #endif /* COBJMACROS */
  822. #endif /* C style interface */
  823. HRESULT STDMETHODCALLTYPE IScriptScriptlet_GetSubItemName_Proxy(
  824. IScriptScriptlet * This,
  825. /* [out] */ BSTR *pbstr);
  826. void __RPC_STUB IScriptScriptlet_GetSubItemName_Stub(
  827. IRpcStubBuffer *This,
  828. IRpcChannelBuffer *_pRpcChannelBuffer,
  829. PRPC_MESSAGE _pRpcMessage,
  830. DWORD *_pdwStubPhase);
  831. HRESULT STDMETHODCALLTYPE IScriptScriptlet_SetSubItemName_Proxy(
  832. IScriptScriptlet * This,
  833. /* [in] */ LPCOLESTR psz);
  834. void __RPC_STUB IScriptScriptlet_SetSubItemName_Stub(
  835. IRpcStubBuffer *This,
  836. IRpcChannelBuffer *_pRpcChannelBuffer,
  837. PRPC_MESSAGE _pRpcMessage,
  838. DWORD *_pdwStubPhase);
  839. HRESULT STDMETHODCALLTYPE IScriptScriptlet_GetEventName_Proxy(
  840. IScriptScriptlet * This,
  841. /* [out] */ BSTR *pbstr);
  842. void __RPC_STUB IScriptScriptlet_GetEventName_Stub(
  843. IRpcStubBuffer *This,
  844. IRpcChannelBuffer *_pRpcChannelBuffer,
  845. PRPC_MESSAGE _pRpcMessage,
  846. DWORD *_pdwStubPhase);
  847. HRESULT STDMETHODCALLTYPE IScriptScriptlet_SetEventName_Proxy(
  848. IScriptScriptlet * This,
  849. /* [in] */ LPCOLESTR psz);
  850. void __RPC_STUB IScriptScriptlet_SetEventName_Stub(
  851. IRpcStubBuffer *This,
  852. IRpcChannelBuffer *_pRpcChannelBuffer,
  853. PRPC_MESSAGE _pRpcMessage,
  854. DWORD *_pdwStubPhase);
  855. HRESULT STDMETHODCALLTYPE IScriptScriptlet_GetSimpleEventName_Proxy(
  856. IScriptScriptlet * This,
  857. /* [out] */ BSTR *pbstr);
  858. void __RPC_STUB IScriptScriptlet_GetSimpleEventName_Stub(
  859. IRpcStubBuffer *This,
  860. IRpcChannelBuffer *_pRpcChannelBuffer,
  861. PRPC_MESSAGE _pRpcMessage,
  862. DWORD *_pdwStubPhase);
  863. HRESULT STDMETHODCALLTYPE IScriptScriptlet_SetSimpleEventName_Proxy(
  864. IScriptScriptlet * This,
  865. /* [in] */ LPCOLESTR psz);
  866. void __RPC_STUB IScriptScriptlet_SetSimpleEventName_Stub(
  867. IRpcStubBuffer *This,
  868. IRpcChannelBuffer *_pRpcChannelBuffer,
  869. PRPC_MESSAGE _pRpcMessage,
  870. DWORD *_pdwStubPhase);
  871. #endif /* __IScriptScriptlet_INTERFACE_DEFINED__ */
  872. #ifndef __IActiveScriptAuthor_INTERFACE_DEFINED__
  873. #define __IActiveScriptAuthor_INTERFACE_DEFINED__
  874. /* interface IActiveScriptAuthor */
  875. /* [object][unique][uuid] */
  876. EXTERN_C const IID IID_IActiveScriptAuthor;
  877. #if defined(__cplusplus) && !defined(CINTERFACE)
  878. MIDL_INTERFACE("9C109DA0-7006-11d1-B36C-00A0C911E8B2")
  879. IActiveScriptAuthor : public IUnknown
  880. {
  881. public:
  882. virtual HRESULT STDMETHODCALLTYPE AddNamedItem(
  883. /* [in] */ LPCOLESTR pszName,
  884. /* [in] */ DWORD dwFlags,
  885. /* [in] */ IDispatch *pdisp) = 0;
  886. virtual HRESULT STDMETHODCALLTYPE AddScriptlet(
  887. /* [in] */ LPCOLESTR pszDefaultName,
  888. /* [in] */ LPCOLESTR pszCode,
  889. /* [in] */ LPCOLESTR pszItemName,
  890. /* [in] */ LPCOLESTR pszSubItemName,
  891. /* [in] */ LPCOLESTR pszEventName,
  892. /* [in] */ LPCOLESTR pszDelimiter,
  893. /* [in] */ DWORD dwCookie,
  894. /* [in] */ DWORD dwFlags) = 0;
  895. virtual HRESULT STDMETHODCALLTYPE ParseScriptText(
  896. /* [in] */ LPCOLESTR pszCode,
  897. /* [in] */ LPCOLESTR pszItemName,
  898. /* [in] */ LPCOLESTR pszDelimiter,
  899. /* [in] */ DWORD dwCookie,
  900. /* [in] */ DWORD dwFlags) = 0;
  901. virtual HRESULT STDMETHODCALLTYPE GetScriptTextAttributes(
  902. /* [size_is][in] */ LPCOLESTR pszCode,
  903. /* [in] */ ULONG cch,
  904. /* [in] */ LPCOLESTR pszDelimiter,
  905. /* [in] */ DWORD dwFlags,
  906. /* [size_is][out][in] */ SOURCE_TEXT_ATTR *pattr) = 0;
  907. virtual HRESULT STDMETHODCALLTYPE GetScriptletTextAttributes(
  908. /* [size_is][in] */ LPCOLESTR pszCode,
  909. /* [in] */ ULONG cch,
  910. /* [in] */ LPCOLESTR pszDelimiter,
  911. /* [in] */ DWORD dwFlags,
  912. /* [size_is][out][in] */ SOURCE_TEXT_ATTR *pattr) = 0;
  913. virtual HRESULT STDMETHODCALLTYPE GetRoot(
  914. /* [out] */ IScriptNode **ppsp) = 0;
  915. virtual HRESULT STDMETHODCALLTYPE GetLanguageFlags(
  916. /* [out] */ DWORD *pgrfasa) = 0;
  917. virtual HRESULT STDMETHODCALLTYPE GetEventHandler(
  918. /* [in] */ IDispatch *pdisp,
  919. /* [in] */ LPCOLESTR pszItem,
  920. /* [in] */ LPCOLESTR pszSubItem,
  921. /* [in] */ LPCOLESTR pszEvent,
  922. /* [out] */ IScriptEntry **ppse) = 0;
  923. virtual HRESULT STDMETHODCALLTYPE RemoveNamedItem(
  924. /* [in] */ LPCOLESTR pszName) = 0;
  925. virtual HRESULT STDMETHODCALLTYPE AddTypeLib(
  926. /* [in] */ REFGUID rguidTypeLib,
  927. /* [in] */ DWORD dwMajor,
  928. /* [in] */ DWORD dwMinor,
  929. /* [in] */ DWORD dwFlags) = 0;
  930. virtual HRESULT STDMETHODCALLTYPE RemoveTypeLib(
  931. /* [in] */ REFGUID rguidTypeLib,
  932. /* [in] */ DWORD dwMajor,
  933. /* [in] */ DWORD dwMinor) = 0;
  934. virtual HRESULT STDMETHODCALLTYPE GetChars(
  935. /* [in] */ DWORD fRequestedList,
  936. /* [out] */ BSTR *pbstrChars) = 0;
  937. virtual HRESULT STDMETHODCALLTYPE GetInfoFromContext(
  938. /* [in] */ LPCOLESTR pszCode,
  939. /* [in] */ ULONG cchCode,
  940. /* [in] */ ULONG ichCurrentPosition,
  941. /* [in] */ DWORD dwListTypesRequested,
  942. /* [out] */ DWORD *pdwListTypesProvided,
  943. /* [out] */ ULONG *pichListAnchorPosition,
  944. /* [out] */ ULONG *pichFuncAnchorPosition,
  945. /* [out] */ MEMBERID *pmemid,
  946. /* [out] */ LONG *piCurrentParameter,
  947. /* [out] */ IUnknown **ppunk) = 0;
  948. virtual HRESULT STDMETHODCALLTYPE IsCommitChar(
  949. /* [in] */ OLECHAR ch,
  950. /* [out] */ BOOL *pfcommit) = 0;
  951. };
  952. #else /* C style interface */
  953. typedef struct IActiveScriptAuthorVtbl
  954. {
  955. BEGIN_INTERFACE
  956. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  957. IActiveScriptAuthor * This,
  958. /* [in] */ REFIID riid,
  959. /* [iid_is][out] */ void **ppvObject);
  960. ULONG ( STDMETHODCALLTYPE *AddRef )(
  961. IActiveScriptAuthor * This);
  962. ULONG ( STDMETHODCALLTYPE *Release )(
  963. IActiveScriptAuthor * This);
  964. HRESULT ( STDMETHODCALLTYPE *AddNamedItem )(
  965. IActiveScriptAuthor * This,
  966. /* [in] */ LPCOLESTR pszName,
  967. /* [in] */ DWORD dwFlags,
  968. /* [in] */ IDispatch *pdisp);
  969. HRESULT ( STDMETHODCALLTYPE *AddScriptlet )(
  970. IActiveScriptAuthor * This,
  971. /* [in] */ LPCOLESTR pszDefaultName,
  972. /* [in] */ LPCOLESTR pszCode,
  973. /* [in] */ LPCOLESTR pszItemName,
  974. /* [in] */ LPCOLESTR pszSubItemName,
  975. /* [in] */ LPCOLESTR pszEventName,
  976. /* [in] */ LPCOLESTR pszDelimiter,
  977. /* [in] */ DWORD dwCookie,
  978. /* [in] */ DWORD dwFlags);
  979. HRESULT ( STDMETHODCALLTYPE *ParseScriptText )(
  980. IActiveScriptAuthor * This,
  981. /* [in] */ LPCOLESTR pszCode,
  982. /* [in] */ LPCOLESTR pszItemName,
  983. /* [in] */ LPCOLESTR pszDelimiter,
  984. /* [in] */ DWORD dwCookie,
  985. /* [in] */ DWORD dwFlags);
  986. HRESULT ( STDMETHODCALLTYPE *GetScriptTextAttributes )(
  987. IActiveScriptAuthor * This,
  988. /* [size_is][in] */ LPCOLESTR pszCode,
  989. /* [in] */ ULONG cch,
  990. /* [in] */ LPCOLESTR pszDelimiter,
  991. /* [in] */ DWORD dwFlags,
  992. /* [size_is][out][in] */ SOURCE_TEXT_ATTR *pattr);
  993. HRESULT ( STDMETHODCALLTYPE *GetScriptletTextAttributes )(
  994. IActiveScriptAuthor * This,
  995. /* [size_is][in] */ LPCOLESTR pszCode,
  996. /* [in] */ ULONG cch,
  997. /* [in] */ LPCOLESTR pszDelimiter,
  998. /* [in] */ DWORD dwFlags,
  999. /* [size_is][out][in] */ SOURCE_TEXT_ATTR *pattr);
  1000. HRESULT ( STDMETHODCALLTYPE *GetRoot )(
  1001. IActiveScriptAuthor * This,
  1002. /* [out] */ IScriptNode **ppsp);
  1003. HRESULT ( STDMETHODCALLTYPE *GetLanguageFlags )(
  1004. IActiveScriptAuthor * This,
  1005. /* [out] */ DWORD *pgrfasa);
  1006. HRESULT ( STDMETHODCALLTYPE *GetEventHandler )(
  1007. IActiveScriptAuthor * This,
  1008. /* [in] */ IDispatch *pdisp,
  1009. /* [in] */ LPCOLESTR pszItem,
  1010. /* [in] */ LPCOLESTR pszSubItem,
  1011. /* [in] */ LPCOLESTR pszEvent,
  1012. /* [out] */ IScriptEntry **ppse);
  1013. HRESULT ( STDMETHODCALLTYPE *RemoveNamedItem )(
  1014. IActiveScriptAuthor * This,
  1015. /* [in] */ LPCOLESTR pszName);
  1016. HRESULT ( STDMETHODCALLTYPE *AddTypeLib )(
  1017. IActiveScriptAuthor * This,
  1018. /* [in] */ REFGUID rguidTypeLib,
  1019. /* [in] */ DWORD dwMajor,
  1020. /* [in] */ DWORD dwMinor,
  1021. /* [in] */ DWORD dwFlags);
  1022. HRESULT ( STDMETHODCALLTYPE *RemoveTypeLib )(
  1023. IActiveScriptAuthor * This,
  1024. /* [in] */ REFGUID rguidTypeLib,
  1025. /* [in] */ DWORD dwMajor,
  1026. /* [in] */ DWORD dwMinor);
  1027. HRESULT ( STDMETHODCALLTYPE *GetChars )(
  1028. IActiveScriptAuthor * This,
  1029. /* [in] */ DWORD fRequestedList,
  1030. /* [out] */ BSTR *pbstrChars);
  1031. HRESULT ( STDMETHODCALLTYPE *GetInfoFromContext )(
  1032. IActiveScriptAuthor * This,
  1033. /* [in] */ LPCOLESTR pszCode,
  1034. /* [in] */ ULONG cchCode,
  1035. /* [in] */ ULONG ichCurrentPosition,
  1036. /* [in] */ DWORD dwListTypesRequested,
  1037. /* [out] */ DWORD *pdwListTypesProvided,
  1038. /* [out] */ ULONG *pichListAnchorPosition,
  1039. /* [out] */ ULONG *pichFuncAnchorPosition,
  1040. /* [out] */ MEMBERID *pmemid,
  1041. /* [out] */ LONG *piCurrentParameter,
  1042. /* [out] */ IUnknown **ppunk);
  1043. HRESULT ( STDMETHODCALLTYPE *IsCommitChar )(
  1044. IActiveScriptAuthor * This,
  1045. /* [in] */ OLECHAR ch,
  1046. /* [out] */ BOOL *pfcommit);
  1047. END_INTERFACE
  1048. } IActiveScriptAuthorVtbl;
  1049. interface IActiveScriptAuthor
  1050. {
  1051. CONST_VTBL struct IActiveScriptAuthorVtbl *lpVtbl;
  1052. };
  1053. #ifdef COBJMACROS
  1054. #define IActiveScriptAuthor_QueryInterface(This,riid,ppvObject) \
  1055. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1056. #define IActiveScriptAuthor_AddRef(This) \
  1057. (This)->lpVtbl -> AddRef(This)
  1058. #define IActiveScriptAuthor_Release(This) \
  1059. (This)->lpVtbl -> Release(This)
  1060. #define IActiveScriptAuthor_AddNamedItem(This,pszName,dwFlags,pdisp) \
  1061. (This)->lpVtbl -> AddNamedItem(This,pszName,dwFlags,pdisp)
  1062. #define IActiveScriptAuthor_AddScriptlet(This,pszDefaultName,pszCode,pszItemName,pszSubItemName,pszEventName,pszDelimiter,dwCookie,dwFlags) \
  1063. (This)->lpVtbl -> AddScriptlet(This,pszDefaultName,pszCode,pszItemName,pszSubItemName,pszEventName,pszDelimiter,dwCookie,dwFlags)
  1064. #define IActiveScriptAuthor_ParseScriptText(This,pszCode,pszItemName,pszDelimiter,dwCookie,dwFlags) \
  1065. (This)->lpVtbl -> ParseScriptText(This,pszCode,pszItemName,pszDelimiter,dwCookie,dwFlags)
  1066. #define IActiveScriptAuthor_GetScriptTextAttributes(This,pszCode,cch,pszDelimiter,dwFlags,pattr) \
  1067. (This)->lpVtbl -> GetScriptTextAttributes(This,pszCode,cch,pszDelimiter,dwFlags,pattr)
  1068. #define IActiveScriptAuthor_GetScriptletTextAttributes(This,pszCode,cch,pszDelimiter,dwFlags,pattr) \
  1069. (This)->lpVtbl -> GetScriptletTextAttributes(This,pszCode,cch,pszDelimiter,dwFlags,pattr)
  1070. #define IActiveScriptAuthor_GetRoot(This,ppsp) \
  1071. (This)->lpVtbl -> GetRoot(This,ppsp)
  1072. #define IActiveScriptAuthor_GetLanguageFlags(This,pgrfasa) \
  1073. (This)->lpVtbl -> GetLanguageFlags(This,pgrfasa)
  1074. #define IActiveScriptAuthor_GetEventHandler(This,pdisp,pszItem,pszSubItem,pszEvent,ppse) \
  1075. (This)->lpVtbl -> GetEventHandler(This,pdisp,pszItem,pszSubItem,pszEvent,ppse)
  1076. #define IActiveScriptAuthor_RemoveNamedItem(This,pszName) \
  1077. (This)->lpVtbl -> RemoveNamedItem(This,pszName)
  1078. #define IActiveScriptAuthor_AddTypeLib(This,rguidTypeLib,dwMajor,dwMinor,dwFlags) \
  1079. (This)->lpVtbl -> AddTypeLib(This,rguidTypeLib,dwMajor,dwMinor,dwFlags)
  1080. #define IActiveScriptAuthor_RemoveTypeLib(This,rguidTypeLib,dwMajor,dwMinor) \
  1081. (This)->lpVtbl -> RemoveTypeLib(This,rguidTypeLib,dwMajor,dwMinor)
  1082. #define IActiveScriptAuthor_GetChars(This,fRequestedList,pbstrChars) \
  1083. (This)->lpVtbl -> GetChars(This,fRequestedList,pbstrChars)
  1084. #define IActiveScriptAuthor_GetInfoFromContext(This,pszCode,cchCode,ichCurrentPosition,dwListTypesRequested,pdwListTypesProvided,pichListAnchorPosition,pichFuncAnchorPosition,pmemid,piCurrentParameter,ppunk) \
  1085. (This)->lpVtbl -> GetInfoFromContext(This,pszCode,cchCode,ichCurrentPosition,dwListTypesRequested,pdwListTypesProvided,pichListAnchorPosition,pichFuncAnchorPosition,pmemid,piCurrentParameter,ppunk)
  1086. #define IActiveScriptAuthor_IsCommitChar(This,ch,pfcommit) \
  1087. (This)->lpVtbl -> IsCommitChar(This,ch,pfcommit)
  1088. #endif /* COBJMACROS */
  1089. #endif /* C style interface */
  1090. HRESULT STDMETHODCALLTYPE IActiveScriptAuthor_AddNamedItem_Proxy(
  1091. IActiveScriptAuthor * This,
  1092. /* [in] */ LPCOLESTR pszName,
  1093. /* [in] */ DWORD dwFlags,
  1094. /* [in] */ IDispatch *pdisp);
  1095. void __RPC_STUB IActiveScriptAuthor_AddNamedItem_Stub(
  1096. IRpcStubBuffer *This,
  1097. IRpcChannelBuffer *_pRpcChannelBuffer,
  1098. PRPC_MESSAGE _pRpcMessage,
  1099. DWORD *_pdwStubPhase);
  1100. HRESULT STDMETHODCALLTYPE IActiveScriptAuthor_AddScriptlet_Proxy(
  1101. IActiveScriptAuthor * This,
  1102. /* [in] */ LPCOLESTR pszDefaultName,
  1103. /* [in] */ LPCOLESTR pszCode,
  1104. /* [in] */ LPCOLESTR pszItemName,
  1105. /* [in] */ LPCOLESTR pszSubItemName,
  1106. /* [in] */ LPCOLESTR pszEventName,
  1107. /* [in] */ LPCOLESTR pszDelimiter,
  1108. /* [in] */ DWORD dwCookie,
  1109. /* [in] */ DWORD dwFlags);
  1110. void __RPC_STUB IActiveScriptAuthor_AddScriptlet_Stub(
  1111. IRpcStubBuffer *This,
  1112. IRpcChannelBuffer *_pRpcChannelBuffer,
  1113. PRPC_MESSAGE _pRpcMessage,
  1114. DWORD *_pdwStubPhase);
  1115. HRESULT STDMETHODCALLTYPE IActiveScriptAuthor_ParseScriptText_Proxy(
  1116. IActiveScriptAuthor * This,
  1117. /* [in] */ LPCOLESTR pszCode,
  1118. /* [in] */ LPCOLESTR pszItemName,
  1119. /* [in] */ LPCOLESTR pszDelimiter,
  1120. /* [in] */ DWORD dwCookie,
  1121. /* [in] */ DWORD dwFlags);
  1122. void __RPC_STUB IActiveScriptAuthor_ParseScriptText_Stub(
  1123. IRpcStubBuffer *This,
  1124. IRpcChannelBuffer *_pRpcChannelBuffer,
  1125. PRPC_MESSAGE _pRpcMessage,
  1126. DWORD *_pdwStubPhase);
  1127. HRESULT STDMETHODCALLTYPE IActiveScriptAuthor_GetScriptTextAttributes_Proxy(
  1128. IActiveScriptAuthor * This,
  1129. /* [size_is][in] */ LPCOLESTR pszCode,
  1130. /* [in] */ ULONG cch,
  1131. /* [in] */ LPCOLESTR pszDelimiter,
  1132. /* [in] */ DWORD dwFlags,
  1133. /* [size_is][out][in] */ SOURCE_TEXT_ATTR *pattr);
  1134. void __RPC_STUB IActiveScriptAuthor_GetScriptTextAttributes_Stub(
  1135. IRpcStubBuffer *This,
  1136. IRpcChannelBuffer *_pRpcChannelBuffer,
  1137. PRPC_MESSAGE _pRpcMessage,
  1138. DWORD *_pdwStubPhase);
  1139. HRESULT STDMETHODCALLTYPE IActiveScriptAuthor_GetScriptletTextAttributes_Proxy(
  1140. IActiveScriptAuthor * This,
  1141. /* [size_is][in] */ LPCOLESTR pszCode,
  1142. /* [in] */ ULONG cch,
  1143. /* [in] */ LPCOLESTR pszDelimiter,
  1144. /* [in] */ DWORD dwFlags,
  1145. /* [size_is][out][in] */ SOURCE_TEXT_ATTR *pattr);
  1146. void __RPC_STUB IActiveScriptAuthor_GetScriptletTextAttributes_Stub(
  1147. IRpcStubBuffer *This,
  1148. IRpcChannelBuffer *_pRpcChannelBuffer,
  1149. PRPC_MESSAGE _pRpcMessage,
  1150. DWORD *_pdwStubPhase);
  1151. HRESULT STDMETHODCALLTYPE IActiveScriptAuthor_GetRoot_Proxy(
  1152. IActiveScriptAuthor * This,
  1153. /* [out] */ IScriptNode **ppsp);
  1154. void __RPC_STUB IActiveScriptAuthor_GetRoot_Stub(
  1155. IRpcStubBuffer *This,
  1156. IRpcChannelBuffer *_pRpcChannelBuffer,
  1157. PRPC_MESSAGE _pRpcMessage,
  1158. DWORD *_pdwStubPhase);
  1159. HRESULT STDMETHODCALLTYPE IActiveScriptAuthor_GetLanguageFlags_Proxy(
  1160. IActiveScriptAuthor * This,
  1161. /* [out] */ DWORD *pgrfasa);
  1162. void __RPC_STUB IActiveScriptAuthor_GetLanguageFlags_Stub(
  1163. IRpcStubBuffer *This,
  1164. IRpcChannelBuffer *_pRpcChannelBuffer,
  1165. PRPC_MESSAGE _pRpcMessage,
  1166. DWORD *_pdwStubPhase);
  1167. HRESULT STDMETHODCALLTYPE IActiveScriptAuthor_GetEventHandler_Proxy(
  1168. IActiveScriptAuthor * This,
  1169. /* [in] */ IDispatch *pdisp,
  1170. /* [in] */ LPCOLESTR pszItem,
  1171. /* [in] */ LPCOLESTR pszSubItem,
  1172. /* [in] */ LPCOLESTR pszEvent,
  1173. /* [out] */ IScriptEntry **ppse);
  1174. void __RPC_STUB IActiveScriptAuthor_GetEventHandler_Stub(
  1175. IRpcStubBuffer *This,
  1176. IRpcChannelBuffer *_pRpcChannelBuffer,
  1177. PRPC_MESSAGE _pRpcMessage,
  1178. DWORD *_pdwStubPhase);
  1179. HRESULT STDMETHODCALLTYPE IActiveScriptAuthor_RemoveNamedItem_Proxy(
  1180. IActiveScriptAuthor * This,
  1181. /* [in] */ LPCOLESTR pszName);
  1182. void __RPC_STUB IActiveScriptAuthor_RemoveNamedItem_Stub(
  1183. IRpcStubBuffer *This,
  1184. IRpcChannelBuffer *_pRpcChannelBuffer,
  1185. PRPC_MESSAGE _pRpcMessage,
  1186. DWORD *_pdwStubPhase);
  1187. HRESULT STDMETHODCALLTYPE IActiveScriptAuthor_AddTypeLib_Proxy(
  1188. IActiveScriptAuthor * This,
  1189. /* [in] */ REFGUID rguidTypeLib,
  1190. /* [in] */ DWORD dwMajor,
  1191. /* [in] */ DWORD dwMinor,
  1192. /* [in] */ DWORD dwFlags);
  1193. void __RPC_STUB IActiveScriptAuthor_AddTypeLib_Stub(
  1194. IRpcStubBuffer *This,
  1195. IRpcChannelBuffer *_pRpcChannelBuffer,
  1196. PRPC_MESSAGE _pRpcMessage,
  1197. DWORD *_pdwStubPhase);
  1198. HRESULT STDMETHODCALLTYPE IActiveScriptAuthor_RemoveTypeLib_Proxy(
  1199. IActiveScriptAuthor * This,
  1200. /* [in] */ REFGUID rguidTypeLib,
  1201. /* [in] */ DWORD dwMajor,
  1202. /* [in] */ DWORD dwMinor);
  1203. void __RPC_STUB IActiveScriptAuthor_RemoveTypeLib_Stub(
  1204. IRpcStubBuffer *This,
  1205. IRpcChannelBuffer *_pRpcChannelBuffer,
  1206. PRPC_MESSAGE _pRpcMessage,
  1207. DWORD *_pdwStubPhase);
  1208. HRESULT STDMETHODCALLTYPE IActiveScriptAuthor_GetChars_Proxy(
  1209. IActiveScriptAuthor * This,
  1210. /* [in] */ DWORD fRequestedList,
  1211. /* [out] */ BSTR *pbstrChars);
  1212. void __RPC_STUB IActiveScriptAuthor_GetChars_Stub(
  1213. IRpcStubBuffer *This,
  1214. IRpcChannelBuffer *_pRpcChannelBuffer,
  1215. PRPC_MESSAGE _pRpcMessage,
  1216. DWORD *_pdwStubPhase);
  1217. HRESULT STDMETHODCALLTYPE IActiveScriptAuthor_GetInfoFromContext_Proxy(
  1218. IActiveScriptAuthor * This,
  1219. /* [in] */ LPCOLESTR pszCode,
  1220. /* [in] */ ULONG cchCode,
  1221. /* [in] */ ULONG ichCurrentPosition,
  1222. /* [in] */ DWORD dwListTypesRequested,
  1223. /* [out] */ DWORD *pdwListTypesProvided,
  1224. /* [out] */ ULONG *pichListAnchorPosition,
  1225. /* [out] */ ULONG *pichFuncAnchorPosition,
  1226. /* [out] */ MEMBERID *pmemid,
  1227. /* [out] */ LONG *piCurrentParameter,
  1228. /* [out] */ IUnknown **ppunk);
  1229. void __RPC_STUB IActiveScriptAuthor_GetInfoFromContext_Stub(
  1230. IRpcStubBuffer *This,
  1231. IRpcChannelBuffer *_pRpcChannelBuffer,
  1232. PRPC_MESSAGE _pRpcMessage,
  1233. DWORD *_pdwStubPhase);
  1234. HRESULT STDMETHODCALLTYPE IActiveScriptAuthor_IsCommitChar_Proxy(
  1235. IActiveScriptAuthor * This,
  1236. /* [in] */ OLECHAR ch,
  1237. /* [out] */ BOOL *pfcommit);
  1238. void __RPC_STUB IActiveScriptAuthor_IsCommitChar_Stub(
  1239. IRpcStubBuffer *This,
  1240. IRpcChannelBuffer *_pRpcChannelBuffer,
  1241. PRPC_MESSAGE _pRpcMessage,
  1242. DWORD *_pdwStubPhase);
  1243. #endif /* __IActiveScriptAuthor_INTERFACE_DEFINED__ */
  1244. #ifndef __IActiveScriptAuthorProcedure_INTERFACE_DEFINED__
  1245. #define __IActiveScriptAuthorProcedure_INTERFACE_DEFINED__
  1246. /* interface IActiveScriptAuthorProcedure */
  1247. /* [object][unique][uuid] */
  1248. EXTERN_C const IID IID_IActiveScriptAuthorProcedure;
  1249. #if defined(__cplusplus) && !defined(CINTERFACE)
  1250. MIDL_INTERFACE("7E2D4B70-BD9A-11d0-9336-00A0C90DCAA9")
  1251. IActiveScriptAuthorProcedure : public IUnknown
  1252. {
  1253. public:
  1254. virtual HRESULT STDMETHODCALLTYPE ParseProcedureText(
  1255. /* [in] */ LPCOLESTR pszCode,
  1256. /* [in] */ LPCOLESTR pszFormalParams,
  1257. /* [in] */ LPCOLESTR pszProcedureName,
  1258. /* [in] */ LPCOLESTR pszItemName,
  1259. /* [in] */ LPCOLESTR pszDelimiter,
  1260. /* [in] */ DWORD dwCookie,
  1261. /* [in] */ DWORD dwFlags,
  1262. /* [in] */ IDispatch *pdispFor) = 0;
  1263. };
  1264. #else /* C style interface */
  1265. typedef struct IActiveScriptAuthorProcedureVtbl
  1266. {
  1267. BEGIN_INTERFACE
  1268. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1269. IActiveScriptAuthorProcedure * This,
  1270. /* [in] */ REFIID riid,
  1271. /* [iid_is][out] */ void **ppvObject);
  1272. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1273. IActiveScriptAuthorProcedure * This);
  1274. ULONG ( STDMETHODCALLTYPE *Release )(
  1275. IActiveScriptAuthorProcedure * This);
  1276. HRESULT ( STDMETHODCALLTYPE *ParseProcedureText )(
  1277. IActiveScriptAuthorProcedure * This,
  1278. /* [in] */ LPCOLESTR pszCode,
  1279. /* [in] */ LPCOLESTR pszFormalParams,
  1280. /* [in] */ LPCOLESTR pszProcedureName,
  1281. /* [in] */ LPCOLESTR pszItemName,
  1282. /* [in] */ LPCOLESTR pszDelimiter,
  1283. /* [in] */ DWORD dwCookie,
  1284. /* [in] */ DWORD dwFlags,
  1285. /* [in] */ IDispatch *pdispFor);
  1286. END_INTERFACE
  1287. } IActiveScriptAuthorProcedureVtbl;
  1288. interface IActiveScriptAuthorProcedure
  1289. {
  1290. CONST_VTBL struct IActiveScriptAuthorProcedureVtbl *lpVtbl;
  1291. };
  1292. #ifdef COBJMACROS
  1293. #define IActiveScriptAuthorProcedure_QueryInterface(This,riid,ppvObject) \
  1294. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1295. #define IActiveScriptAuthorProcedure_AddRef(This) \
  1296. (This)->lpVtbl -> AddRef(This)
  1297. #define IActiveScriptAuthorProcedure_Release(This) \
  1298. (This)->lpVtbl -> Release(This)
  1299. #define IActiveScriptAuthorProcedure_ParseProcedureText(This,pszCode,pszFormalParams,pszProcedureName,pszItemName,pszDelimiter,dwCookie,dwFlags,pdispFor) \
  1300. (This)->lpVtbl -> ParseProcedureText(This,pszCode,pszFormalParams,pszProcedureName,pszItemName,pszDelimiter,dwCookie,dwFlags,pdispFor)
  1301. #endif /* COBJMACROS */
  1302. #endif /* C style interface */
  1303. HRESULT STDMETHODCALLTYPE IActiveScriptAuthorProcedure_ParseProcedureText_Proxy(
  1304. IActiveScriptAuthorProcedure * This,
  1305. /* [in] */ LPCOLESTR pszCode,
  1306. /* [in] */ LPCOLESTR pszFormalParams,
  1307. /* [in] */ LPCOLESTR pszProcedureName,
  1308. /* [in] */ LPCOLESTR pszItemName,
  1309. /* [in] */ LPCOLESTR pszDelimiter,
  1310. /* [in] */ DWORD dwCookie,
  1311. /* [in] */ DWORD dwFlags,
  1312. /* [in] */ IDispatch *pdispFor);
  1313. void __RPC_STUB IActiveScriptAuthorProcedure_ParseProcedureText_Stub(
  1314. IRpcStubBuffer *This,
  1315. IRpcChannelBuffer *_pRpcChannelBuffer,
  1316. PRPC_MESSAGE _pRpcMessage,
  1317. DWORD *_pdwStubPhase);
  1318. #endif /* __IActiveScriptAuthorProcedure_INTERFACE_DEFINED__ */
  1319. /* interface __MIDL_itf_activaut_0263 */
  1320. /* [local] */
  1321. #endif // __ActivAut_h
  1322. extern RPC_IF_HANDLE __MIDL_itf_activaut_0263_v0_0_c_ifspec;
  1323. extern RPC_IF_HANDLE __MIDL_itf_activaut_0263_v0_0_s_ifspec;
  1324. /* Additional Prototypes for ALL interfaces */
  1325. unsigned long __RPC_USER BSTR_UserSize( unsigned long *, unsigned long , BSTR * );
  1326. unsigned char * __RPC_USER BSTR_UserMarshal( unsigned long *, unsigned char *, BSTR * );
  1327. unsigned char * __RPC_USER BSTR_UserUnmarshal(unsigned long *, unsigned char *, BSTR * );
  1328. void __RPC_USER BSTR_UserFree( unsigned long *, BSTR * );
  1329. /* end of Additional Prototypes */
  1330. #ifdef __cplusplus
  1331. }
  1332. #endif
  1333. #endif