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.

3038 lines
99 KiB

  1. #pragma warning( disable: 4049 ) /* more than 64k source lines */
  2. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  3. /* File created by MIDL compiler version 6.00.0334 */
  4. /* Compiler settings for scrproc.idl:
  5. Oicf, W1, Zp8, env=Win32 (32b run)
  6. protocol : dce , ms_ext, c_ext, robust
  7. error checks: allocation ref bounds_check enum stub_data
  8. VC __declspec() decoration level:
  9. __declspec(uuid()), __declspec(selectany), __declspec(novtable)
  10. DECLSPEC_UUID(), MIDL_INTERFACE()
  11. */
  12. //@@MIDL_FILE_HEADING( )
  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__ 475
  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 __scrproc_h__
  27. #define __scrproc_h__
  28. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  29. #pragma once
  30. #endif
  31. /* Forward Declarations */
  32. #ifndef __IScriptedProcess_FWD_DEFINED__
  33. #define __IScriptedProcess_FWD_DEFINED__
  34. typedef interface IScriptedProcess IScriptedProcess;
  35. #endif /* __IScriptedProcess_FWD_DEFINED__ */
  36. #ifndef __IScriptedProcessSink_FWD_DEFINED__
  37. #define __IScriptedProcessSink_FWD_DEFINED__
  38. typedef interface IScriptedProcessSink IScriptedProcessSink;
  39. #endif /* __IScriptedProcessSink_FWD_DEFINED__ */
  40. #ifndef __LocalScriptedProcess_FWD_DEFINED__
  41. #define __LocalScriptedProcess_FWD_DEFINED__
  42. #ifdef __cplusplus
  43. typedef class LocalScriptedProcess LocalScriptedProcess;
  44. #else
  45. typedef struct LocalScriptedProcess LocalScriptedProcess;
  46. #endif /* __cplusplus */
  47. #endif /* __LocalScriptedProcess_FWD_DEFINED__ */
  48. /* header files for imported files */
  49. #include "oleidl.h"
  50. #ifdef __cplusplus
  51. extern "C"{
  52. #endif
  53. void * __RPC_USER MIDL_user_allocate(size_t);
  54. void __RPC_USER MIDL_user_free( void * );
  55. /* interface __MIDL_itf_scrproc_0000 */
  56. /* [local] */
  57. extern RPC_IF_HANDLE __MIDL_itf_scrproc_0000_v0_0_c_ifspec;
  58. extern RPC_IF_HANDLE __MIDL_itf_scrproc_0000_v0_0_s_ifspec;
  59. #ifndef __IScriptedProcess_INTERFACE_DEFINED__
  60. #define __IScriptedProcess_INTERFACE_DEFINED__
  61. /* interface IScriptedProcess */
  62. /* [uuid][object] */
  63. EXTERN_C const IID IID_IScriptedProcess;
  64. #if defined(__cplusplus) && !defined(CINTERFACE)
  65. MIDL_INTERFACE("854c3171-c854-4a77-b189-606859e4391b")
  66. IScriptedProcess : public IUnknown
  67. {
  68. public:
  69. virtual HRESULT STDMETHODCALLTYPE SetProcessID(
  70. /* [in] */ long lProcessID,
  71. /* [string][in] */ wchar_t *pszEnvID) = 0;
  72. virtual HRESULT STDMETHODCALLTYPE SendData(
  73. /* [string][in] */ wchar_t *pszType,
  74. /* [string][in] */ wchar_t *pszData,
  75. /* [out] */ long *plReturn) = 0;
  76. virtual HRESULT STDMETHODCALLTYPE SetExitCode(
  77. /* [in] */ long lExitCode) = 0;
  78. virtual HRESULT STDMETHODCALLTYPE SetProcessSink(
  79. /* [in] */ IScriptedProcessSink *pSPS) = 0;
  80. };
  81. #else /* C style interface */
  82. typedef struct IScriptedProcessVtbl
  83. {
  84. BEGIN_INTERFACE
  85. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  86. IScriptedProcess * This,
  87. /* [in] */ REFIID riid,
  88. /* [iid_is][out] */ void **ppvObject);
  89. ULONG ( STDMETHODCALLTYPE *AddRef )(
  90. IScriptedProcess * This);
  91. ULONG ( STDMETHODCALLTYPE *Release )(
  92. IScriptedProcess * This);
  93. HRESULT ( STDMETHODCALLTYPE *SetProcessID )(
  94. IScriptedProcess * This,
  95. /* [in] */ long lProcessID,
  96. /* [string][in] */ wchar_t *pszEnvID);
  97. HRESULT ( STDMETHODCALLTYPE *SendData )(
  98. IScriptedProcess * This,
  99. /* [string][in] */ wchar_t *pszType,
  100. /* [string][in] */ wchar_t *pszData,
  101. /* [out] */ long *plReturn);
  102. HRESULT ( STDMETHODCALLTYPE *SetExitCode )(
  103. IScriptedProcess * This,
  104. /* [in] */ long lExitCode);
  105. HRESULT ( STDMETHODCALLTYPE *SetProcessSink )(
  106. IScriptedProcess * This,
  107. /* [in] */ IScriptedProcessSink *pSPS);
  108. END_INTERFACE
  109. } IScriptedProcessVtbl;
  110. interface IScriptedProcess
  111. {
  112. CONST_VTBL struct IScriptedProcessVtbl *lpVtbl;
  113. };
  114. #ifdef COBJMACROS
  115. #define IScriptedProcess_QueryInterface(This,riid,ppvObject) \
  116. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  117. #define IScriptedProcess_AddRef(This) \
  118. (This)->lpVtbl -> AddRef(This)
  119. #define IScriptedProcess_Release(This) \
  120. (This)->lpVtbl -> Release(This)
  121. #define IScriptedProcess_SetProcessID(This,lProcessID,pszEnvID) \
  122. (This)->lpVtbl -> SetProcessID(This,lProcessID,pszEnvID)
  123. #define IScriptedProcess_SendData(This,pszType,pszData,plReturn) \
  124. (This)->lpVtbl -> SendData(This,pszType,pszData,plReturn)
  125. #define IScriptedProcess_SetExitCode(This,lExitCode) \
  126. (This)->lpVtbl -> SetExitCode(This,lExitCode)
  127. #define IScriptedProcess_SetProcessSink(This,pSPS) \
  128. (This)->lpVtbl -> SetProcessSink(This,pSPS)
  129. #endif /* COBJMACROS */
  130. #endif /* C style interface */
  131. HRESULT STDMETHODCALLTYPE IScriptedProcess_SetProcessID_Proxy(
  132. IScriptedProcess * This,
  133. /* [in] */ long lProcessID,
  134. /* [string][in] */ wchar_t *pszEnvID);
  135. void __RPC_STUB IScriptedProcess_SetProcessID_Stub(
  136. IRpcStubBuffer *This,
  137. IRpcChannelBuffer *_pRpcChannelBuffer,
  138. PRPC_MESSAGE _pRpcMessage,
  139. DWORD *_pdwStubPhase);
  140. HRESULT STDMETHODCALLTYPE IScriptedProcess_SendData_Proxy(
  141. IScriptedProcess * This,
  142. /* [string][in] */ wchar_t *pszType,
  143. /* [string][in] */ wchar_t *pszData,
  144. /* [out] */ long *plReturn);
  145. void __RPC_STUB IScriptedProcess_SendData_Stub(
  146. IRpcStubBuffer *This,
  147. IRpcChannelBuffer *_pRpcChannelBuffer,
  148. PRPC_MESSAGE _pRpcMessage,
  149. DWORD *_pdwStubPhase);
  150. HRESULT STDMETHODCALLTYPE IScriptedProcess_SetExitCode_Proxy(
  151. IScriptedProcess * This,
  152. /* [in] */ long lExitCode);
  153. void __RPC_STUB IScriptedProcess_SetExitCode_Stub(
  154. IRpcStubBuffer *This,
  155. IRpcChannelBuffer *_pRpcChannelBuffer,
  156. PRPC_MESSAGE _pRpcMessage,
  157. DWORD *_pdwStubPhase);
  158. HRESULT STDMETHODCALLTYPE IScriptedProcess_SetProcessSink_Proxy(
  159. IScriptedProcess * This,
  160. /* [in] */ IScriptedProcessSink *pSPS);
  161. void __RPC_STUB IScriptedProcess_SetProcessSink_Stub(
  162. IRpcStubBuffer *This,
  163. IRpcChannelBuffer *_pRpcChannelBuffer,
  164. PRPC_MESSAGE _pRpcMessage,
  165. DWORD *_pdwStubPhase);
  166. #endif /* __IScriptedProcess_INTERFACE_DEFINED__ */
  167. #ifndef __IScriptedProcessSink_INTERFACE_DEFINED__
  168. #define __IScriptedProcessSink_INTERFACE_DEFINED__
  169. /* interface IScriptedProcessSink */
  170. /* [uuid][object] */
  171. EXTERN_C const IID IID_IScriptedProcessSink;
  172. #if defined(__cplusplus) && !defined(CINTERFACE)
  173. MIDL_INTERFACE("854c3172-c854-4a77-b189-606859e4391b")
  174. IScriptedProcessSink : public IUnknown
  175. {
  176. public:
  177. virtual HRESULT STDMETHODCALLTYPE RequestExit( void) = 0;
  178. virtual HRESULT STDMETHODCALLTYPE ReceiveData(
  179. /* [string][in] */ wchar_t *pszType,
  180. /* [string][in] */ wchar_t *pszData,
  181. /* [out] */ long *plReturn) = 0;
  182. };
  183. #else /* C style interface */
  184. typedef struct IScriptedProcessSinkVtbl
  185. {
  186. BEGIN_INTERFACE
  187. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  188. IScriptedProcessSink * This,
  189. /* [in] */ REFIID riid,
  190. /* [iid_is][out] */ void **ppvObject);
  191. ULONG ( STDMETHODCALLTYPE *AddRef )(
  192. IScriptedProcessSink * This);
  193. ULONG ( STDMETHODCALLTYPE *Release )(
  194. IScriptedProcessSink * This);
  195. HRESULT ( STDMETHODCALLTYPE *RequestExit )(
  196. IScriptedProcessSink * This);
  197. HRESULT ( STDMETHODCALLTYPE *ReceiveData )(
  198. IScriptedProcessSink * This,
  199. /* [string][in] */ wchar_t *pszType,
  200. /* [string][in] */ wchar_t *pszData,
  201. /* [out] */ long *plReturn);
  202. END_INTERFACE
  203. } IScriptedProcessSinkVtbl;
  204. interface IScriptedProcessSink
  205. {
  206. CONST_VTBL struct IScriptedProcessSinkVtbl *lpVtbl;
  207. };
  208. #ifdef COBJMACROS
  209. #define IScriptedProcessSink_QueryInterface(This,riid,ppvObject) \
  210. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  211. #define IScriptedProcessSink_AddRef(This) \
  212. (This)->lpVtbl -> AddRef(This)
  213. #define IScriptedProcessSink_Release(This) \
  214. (This)->lpVtbl -> Release(This)
  215. #define IScriptedProcessSink_RequestExit(This) \
  216. (This)->lpVtbl -> RequestExit(This)
  217. #define IScriptedProcessSink_ReceiveData(This,pszType,pszData,plReturn) \
  218. (This)->lpVtbl -> ReceiveData(This,pszType,pszData,plReturn)
  219. #endif /* COBJMACROS */
  220. #endif /* C style interface */
  221. HRESULT STDMETHODCALLTYPE IScriptedProcessSink_RequestExit_Proxy(
  222. IScriptedProcessSink * This);
  223. void __RPC_STUB IScriptedProcessSink_RequestExit_Stub(
  224. IRpcStubBuffer *This,
  225. IRpcChannelBuffer *_pRpcChannelBuffer,
  226. PRPC_MESSAGE _pRpcMessage,
  227. DWORD *_pdwStubPhase);
  228. HRESULT STDMETHODCALLTYPE IScriptedProcessSink_ReceiveData_Proxy(
  229. IScriptedProcessSink * This,
  230. /* [string][in] */ wchar_t *pszType,
  231. /* [string][in] */ wchar_t *pszData,
  232. /* [out] */ long *plReturn);
  233. void __RPC_STUB IScriptedProcessSink_ReceiveData_Stub(
  234. IRpcStubBuffer *This,
  235. IRpcChannelBuffer *_pRpcChannelBuffer,
  236. PRPC_MESSAGE _pRpcMessage,
  237. DWORD *_pdwStubPhase);
  238. #endif /* __IScriptedProcessSink_INTERFACE_DEFINED__ */
  239. #ifndef __MTScriptedProcessLib_LIBRARY_DEFINED__
  240. #define __MTScriptedProcessLib_LIBRARY_DEFINED__
  241. /* library MTScriptedProcessLib */
  242. /* [uuid] */
  243. EXTERN_C const IID LIBID_MTScriptedProcessLib;
  244. EXTERN_C const CLSID CLSID_LocalScriptedProcess;
  245. #ifdef __cplusplus
  246. class DECLSPEC_UUID("854c316f-c854-4a77-b189-606859e4391b")
  247. LocalScriptedProcess;
  248. #endif
  249. #endif /* __MTScriptedProcessLib_LIBRARY_DEFINED__ */
  250. /* Additional Prototypes for ALL interfaces */
  251. /* end of Additional Prototypes */
  252. #ifdef __cplusplus
  253. }
  254. #endif
  255. #endif
  256. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  257. /* File created by MIDL compiler version 6.00.0338 */
  258. /* Compiler settings for od.idl:
  259. Oicf, W1, Zp8, env=Win32 (32b run)
  260. protocol : dce , ms_ext, c_ext, robust
  261. error checks: allocation ref bounds_check enum stub_data
  262. VC __declspec() decoration level:
  263. __declspec(uuid()), __declspec(selectany), __declspec(novtable)
  264. DECLSPEC_UUID(), MIDL_INTERFACE()
  265. */
  266. //@@MIDL_FILE_HEADING( )
  267. /* verify that the <rpcndr.h> version is high enough to compile this file*/
  268. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  269. #define __REQUIRED_RPCNDR_H_VERSION__ 475
  270. #endif
  271. #include "rpc.h"
  272. #include "rpcndr.h"
  273. #ifndef __RPCNDR_H_VERSION__
  274. #error this stub requires an updated version of <rpcndr.h>
  275. #endif // __RPCNDR_H_VERSION__
  276. #ifndef COM_NO_WINDOWS_H
  277. #include "windows.h"
  278. #include "ole2.h"
  279. #endif /*COM_NO_WINDOWS_H*/
  280. #ifndef __od_h__
  281. #define __od_h__
  282. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  283. #pragma once
  284. #endif
  285. /* Forward Declarations */
  286. #ifndef __IObjectDaemon_FWD_DEFINED__
  287. #define __IObjectDaemon_FWD_DEFINED__
  288. typedef interface IObjectDaemon IObjectDaemon;
  289. #endif /* __IObjectDaemon_FWD_DEFINED__ */
  290. #ifndef __ObjectDaemon_FWD_DEFINED__
  291. #define __ObjectDaemon_FWD_DEFINED__
  292. #ifdef __cplusplus
  293. typedef class ObjectDaemon ObjectDaemon;
  294. #else
  295. typedef struct ObjectDaemon ObjectDaemon;
  296. #endif /* __cplusplus */
  297. #endif /* __ObjectDaemon_FWD_DEFINED__ */
  298. /* header files for imported files */
  299. #include "unknwn.h"
  300. #include "oaidl.h"
  301. #ifdef __cplusplus
  302. extern "C"{
  303. #endif
  304. void * __RPC_USER MIDL_user_allocate(size_t);
  305. void __RPC_USER MIDL_user_free( void * );
  306. #ifndef __IObjectDaemon_INTERFACE_DEFINED__
  307. #define __IObjectDaemon_INTERFACE_DEFINED__
  308. /* interface IObjectDaemon */
  309. /* [object][dual][uuid] */
  310. EXTERN_C const IID IID_IObjectDaemon;
  311. #if defined(__cplusplus) && !defined(CINTERFACE)
  312. MIDL_INTERFACE("854c3183-c854-4a77-b189-606859e4391b")
  313. IObjectDaemon : public IDispatch
  314. {
  315. public:
  316. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetMaximumIndex(
  317. /* [retval][out] */ DWORD *dwMaxIndex) = 0;
  318. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetIdentity(
  319. /* [in] */ DWORD dwIndex,
  320. /* [retval][out] */ BSTR *pbstrIdentity) = 0;
  321. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetProgID(
  322. /* [in] */ DWORD dwIndex,
  323. /* [retval][out] */ BSTR *pbstrProgId) = 0;
  324. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE OpenInterface(
  325. /* [in] */ BSTR bstrIdentity,
  326. /* [in] */ BSTR bstrProgId,
  327. /* [in] */ BOOL fCreate,
  328. /* [retval][out] */ IDispatch **ppDisp) = 0;
  329. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE RemoveInterface(
  330. /* [in] */ BSTR bstrIdentity,
  331. /* [in] */ BSTR bstrProgId) = 0;
  332. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE IdentifyInterface(
  333. /* [in] */ IDispatch *pDisp,
  334. /* [out] */ BSTR *pbstrIdentity,
  335. /* [retval][out] */ BSTR *pbstrProgId) = 0;
  336. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE IdentifyInterfaceIndex(
  337. /* [in] */ IDispatch *pDisp,
  338. /* [retval][out] */ DWORD *pdwIndex) = 0;
  339. };
  340. #else /* C style interface */
  341. typedef struct IObjectDaemonVtbl
  342. {
  343. BEGIN_INTERFACE
  344. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  345. IObjectDaemon * This,
  346. /* [in] */ REFIID riid,
  347. /* [iid_is][out] */ void **ppvObject);
  348. ULONG ( STDMETHODCALLTYPE *AddRef )(
  349. IObjectDaemon * This);
  350. ULONG ( STDMETHODCALLTYPE *Release )(
  351. IObjectDaemon * This);
  352. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  353. IObjectDaemon * This,
  354. /* [out] */ UINT *pctinfo);
  355. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  356. IObjectDaemon * This,
  357. /* [in] */ UINT iTInfo,
  358. /* [in] */ LCID lcid,
  359. /* [out] */ ITypeInfo **ppTInfo);
  360. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  361. IObjectDaemon * This,
  362. /* [in] */ REFIID riid,
  363. /* [size_is][in] */ LPOLESTR *rgszNames,
  364. /* [in] */ UINT cNames,
  365. /* [in] */ LCID lcid,
  366. /* [size_is][out] */ DISPID *rgDispId);
  367. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  368. IObjectDaemon * This,
  369. /* [in] */ DISPID dispIdMember,
  370. /* [in] */ REFIID riid,
  371. /* [in] */ LCID lcid,
  372. /* [in] */ WORD wFlags,
  373. /* [out][in] */ DISPPARAMS *pDispParams,
  374. /* [out] */ VARIANT *pVarResult,
  375. /* [out] */ EXCEPINFO *pExcepInfo,
  376. /* [out] */ UINT *puArgErr);
  377. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetMaximumIndex )(
  378. IObjectDaemon * This,
  379. /* [retval][out] */ DWORD *dwMaxIndex);
  380. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetIdentity )(
  381. IObjectDaemon * This,
  382. /* [in] */ DWORD dwIndex,
  383. /* [retval][out] */ BSTR *pbstrIdentity);
  384. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetProgID )(
  385. IObjectDaemon * This,
  386. /* [in] */ DWORD dwIndex,
  387. /* [retval][out] */ BSTR *pbstrProgId);
  388. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *OpenInterface )(
  389. IObjectDaemon * This,
  390. /* [in] */ BSTR bstrIdentity,
  391. /* [in] */ BSTR bstrProgId,
  392. /* [in] */ BOOL fCreate,
  393. /* [retval][out] */ IDispatch **ppDisp);
  394. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *RemoveInterface )(
  395. IObjectDaemon * This,
  396. /* [in] */ BSTR bstrIdentity,
  397. /* [in] */ BSTR bstrProgId);
  398. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *IdentifyInterface )(
  399. IObjectDaemon * This,
  400. /* [in] */ IDispatch *pDisp,
  401. /* [out] */ BSTR *pbstrIdentity,
  402. /* [retval][out] */ BSTR *pbstrProgId);
  403. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *IdentifyInterfaceIndex )(
  404. IObjectDaemon * This,
  405. /* [in] */ IDispatch *pDisp,
  406. /* [retval][out] */ DWORD *pdwIndex);
  407. END_INTERFACE
  408. } IObjectDaemonVtbl;
  409. interface IObjectDaemon
  410. {
  411. CONST_VTBL struct IObjectDaemonVtbl *lpVtbl;
  412. };
  413. #ifdef COBJMACROS
  414. #define IObjectDaemon_QueryInterface(This,riid,ppvObject) \
  415. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  416. #define IObjectDaemon_AddRef(This) \
  417. (This)->lpVtbl -> AddRef(This)
  418. #define IObjectDaemon_Release(This) \
  419. (This)->lpVtbl -> Release(This)
  420. #define IObjectDaemon_GetTypeInfoCount(This,pctinfo) \
  421. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  422. #define IObjectDaemon_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  423. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  424. #define IObjectDaemon_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  425. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  426. #define IObjectDaemon_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  427. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  428. #define IObjectDaemon_GetMaximumIndex(This,dwMaxIndex) \
  429. (This)->lpVtbl -> GetMaximumIndex(This,dwMaxIndex)
  430. #define IObjectDaemon_GetIdentity(This,dwIndex,pbstrIdentity) \
  431. (This)->lpVtbl -> GetIdentity(This,dwIndex,pbstrIdentity)
  432. #define IObjectDaemon_GetProgID(This,dwIndex,pbstrProgId) \
  433. (This)->lpVtbl -> GetProgID(This,dwIndex,pbstrProgId)
  434. #define IObjectDaemon_OpenInterface(This,bstrIdentity,bstrProgId,fCreate,ppDisp) \
  435. (This)->lpVtbl -> OpenInterface(This,bstrIdentity,bstrProgId,fCreate,ppDisp)
  436. #define IObjectDaemon_RemoveInterface(This,bstrIdentity,bstrProgId) \
  437. (This)->lpVtbl -> RemoveInterface(This,bstrIdentity,bstrProgId)
  438. #define IObjectDaemon_IdentifyInterface(This,pDisp,pbstrIdentity,pbstrProgId) \
  439. (This)->lpVtbl -> IdentifyInterface(This,pDisp,pbstrIdentity,pbstrProgId)
  440. #define IObjectDaemon_IdentifyInterfaceIndex(This,pDisp,pdwIndex) \
  441. (This)->lpVtbl -> IdentifyInterfaceIndex(This,pDisp,pdwIndex)
  442. #endif /* COBJMACROS */
  443. #endif /* C style interface */
  444. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IObjectDaemon_GetMaximumIndex_Proxy(
  445. IObjectDaemon * This,
  446. /* [retval][out] */ DWORD *dwMaxIndex);
  447. void __RPC_STUB IObjectDaemon_GetMaximumIndex_Stub(
  448. IRpcStubBuffer *This,
  449. IRpcChannelBuffer *_pRpcChannelBuffer,
  450. PRPC_MESSAGE _pRpcMessage,
  451. DWORD *_pdwStubPhase);
  452. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IObjectDaemon_GetIdentity_Proxy(
  453. IObjectDaemon * This,
  454. /* [in] */ DWORD dwIndex,
  455. /* [retval][out] */ BSTR *pbstrIdentity);
  456. void __RPC_STUB IObjectDaemon_GetIdentity_Stub(
  457. IRpcStubBuffer *This,
  458. IRpcChannelBuffer *_pRpcChannelBuffer,
  459. PRPC_MESSAGE _pRpcMessage,
  460. DWORD *_pdwStubPhase);
  461. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IObjectDaemon_GetProgID_Proxy(
  462. IObjectDaemon * This,
  463. /* [in] */ DWORD dwIndex,
  464. /* [retval][out] */ BSTR *pbstrProgId);
  465. void __RPC_STUB IObjectDaemon_GetProgID_Stub(
  466. IRpcStubBuffer *This,
  467. IRpcChannelBuffer *_pRpcChannelBuffer,
  468. PRPC_MESSAGE _pRpcMessage,
  469. DWORD *_pdwStubPhase);
  470. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IObjectDaemon_OpenInterface_Proxy(
  471. IObjectDaemon * This,
  472. /* [in] */ BSTR bstrIdentity,
  473. /* [in] */ BSTR bstrProgId,
  474. /* [in] */ BOOL fCreate,
  475. /* [retval][out] */ IDispatch **ppDisp);
  476. void __RPC_STUB IObjectDaemon_OpenInterface_Stub(
  477. IRpcStubBuffer *This,
  478. IRpcChannelBuffer *_pRpcChannelBuffer,
  479. PRPC_MESSAGE _pRpcMessage,
  480. DWORD *_pdwStubPhase);
  481. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IObjectDaemon_RemoveInterface_Proxy(
  482. IObjectDaemon * This,
  483. /* [in] */ BSTR bstrIdentity,
  484. /* [in] */ BSTR bstrProgId);
  485. void __RPC_STUB IObjectDaemon_RemoveInterface_Stub(
  486. IRpcStubBuffer *This,
  487. IRpcChannelBuffer *_pRpcChannelBuffer,
  488. PRPC_MESSAGE _pRpcMessage,
  489. DWORD *_pdwStubPhase);
  490. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IObjectDaemon_IdentifyInterface_Proxy(
  491. IObjectDaemon * This,
  492. /* [in] */ IDispatch *pDisp,
  493. /* [out] */ BSTR *pbstrIdentity,
  494. /* [retval][out] */ BSTR *pbstrProgId);
  495. void __RPC_STUB IObjectDaemon_IdentifyInterface_Stub(
  496. IRpcStubBuffer *This,
  497. IRpcChannelBuffer *_pRpcChannelBuffer,
  498. PRPC_MESSAGE _pRpcMessage,
  499. DWORD *_pdwStubPhase);
  500. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IObjectDaemon_IdentifyInterfaceIndex_Proxy(
  501. IObjectDaemon * This,
  502. /* [in] */ IDispatch *pDisp,
  503. /* [retval][out] */ DWORD *pdwIndex);
  504. void __RPC_STUB IObjectDaemon_IdentifyInterfaceIndex_Stub(
  505. IRpcStubBuffer *This,
  506. IRpcChannelBuffer *_pRpcChannelBuffer,
  507. PRPC_MESSAGE _pRpcMessage,
  508. DWORD *_pdwStubPhase);
  509. #endif /* __IObjectDaemon_INTERFACE_DEFINED__ */
  510. #ifndef __ObjectDaemonLib_LIBRARY_DEFINED__
  511. #define __ObjectDaemonLib_LIBRARY_DEFINED__
  512. /* library ObjectDaemonLib */
  513. /* [uuid] */
  514. EXTERN_C const IID LIBID_ObjectDaemonLib;
  515. EXTERN_C const CLSID CLSID_ObjectDaemon;
  516. #ifdef __cplusplus
  517. class DECLSPEC_UUID("854c3184-c854-4a77-b189-606859e4391b")
  518. ObjectDaemon;
  519. #endif
  520. #endif /* __ObjectDaemonLib_LIBRARY_DEFINED__ */
  521. /* Additional Prototypes for ALL interfaces */
  522. unsigned long __RPC_USER BSTR_UserSize( unsigned long *, unsigned long , BSTR * );
  523. unsigned char * __RPC_USER BSTR_UserMarshal( unsigned long *, unsigned char *, BSTR * );
  524. unsigned char * __RPC_USER BSTR_UserUnmarshal(unsigned long *, unsigned char *, BSTR * );
  525. void __RPC_USER BSTR_UserFree( unsigned long *, BSTR * );
  526. /* end of Additional Prototypes */
  527. #ifdef __cplusplus
  528. }
  529. #endif
  530. #endif
  531. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  532. /* File created by MIDL compiler version 6.00.0338 */
  533. /* Compiler settings for mtscript.idl:
  534. Oicf, W1, Zp8, env=Win32 (32b run)
  535. protocol : dce , ms_ext, c_ext, robust
  536. error checks: allocation ref bounds_check enum stub_data
  537. VC __declspec() decoration level:
  538. __declspec(uuid()), __declspec(selectany), __declspec(novtable)
  539. DECLSPEC_UUID(), MIDL_INTERFACE()
  540. */
  541. //@@MIDL_FILE_HEADING( )
  542. /* verify that the <rpcndr.h> version is high enough to compile this file*/
  543. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  544. #define __REQUIRED_RPCNDR_H_VERSION__ 475
  545. #endif
  546. #include "rpc.h"
  547. #include "rpcndr.h"
  548. #ifndef __RPCNDR_H_VERSION__
  549. #error this stub requires an updated version of <rpcndr.h>
  550. #endif // __RPCNDR_H_VERSION__
  551. #ifndef __mtscript_h__
  552. #define __mtscript_h__
  553. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  554. #pragma once
  555. #endif
  556. /* Forward Declarations */
  557. #ifndef __IRemoteMTScriptProxy_FWD_DEFINED__
  558. #define __IRemoteMTScriptProxy_FWD_DEFINED__
  559. typedef interface IRemoteMTScriptProxy IRemoteMTScriptProxy;
  560. #endif /* __IRemoteMTScriptProxy_FWD_DEFINED__ */
  561. #ifndef __IConnectedMachine_FWD_DEFINED__
  562. #define __IConnectedMachine_FWD_DEFINED__
  563. typedef interface IConnectedMachine IConnectedMachine;
  564. #endif /* __IConnectedMachine_FWD_DEFINED__ */
  565. #ifndef __IGlobalMTScript_FWD_DEFINED__
  566. #define __IGlobalMTScript_FWD_DEFINED__
  567. typedef interface IGlobalMTScript IGlobalMTScript;
  568. #endif /* __IGlobalMTScript_FWD_DEFINED__ */
  569. #ifndef __DLocalMTScriptEvents_FWD_DEFINED__
  570. #define __DLocalMTScriptEvents_FWD_DEFINED__
  571. typedef interface DLocalMTScriptEvents DLocalMTScriptEvents;
  572. #endif /* __DLocalMTScriptEvents_FWD_DEFINED__ */
  573. #ifndef __DRemoteMTScriptEvents_FWD_DEFINED__
  574. #define __DRemoteMTScriptEvents_FWD_DEFINED__
  575. typedef interface DRemoteMTScriptEvents DRemoteMTScriptEvents;
  576. #endif /* __DRemoteMTScriptEvents_FWD_DEFINED__ */
  577. #ifndef __LocalMTScript_FWD_DEFINED__
  578. #define __LocalMTScript_FWD_DEFINED__
  579. #ifdef __cplusplus
  580. typedef class LocalMTScript LocalMTScript;
  581. #else
  582. typedef struct LocalMTScript LocalMTScript;
  583. #endif /* __cplusplus */
  584. #endif /* __LocalMTScript_FWD_DEFINED__ */
  585. #ifndef __RemoteMTScript_FWD_DEFINED__
  586. #define __RemoteMTScript_FWD_DEFINED__
  587. #ifdef __cplusplus
  588. typedef class RemoteMTScript RemoteMTScript;
  589. #else
  590. typedef struct RemoteMTScript RemoteMTScript;
  591. #endif /* __cplusplus */
  592. #endif /* __RemoteMTScript_FWD_DEFINED__ */
  593. #ifndef __RemoteMTScriptProxy_FWD_DEFINED__
  594. #define __RemoteMTScriptProxy_FWD_DEFINED__
  595. #ifdef __cplusplus
  596. typedef class RemoteMTScriptProxy RemoteMTScriptProxy;
  597. #else
  598. typedef struct RemoteMTScriptProxy RemoteMTScriptProxy;
  599. #endif /* __cplusplus */
  600. #endif /* __RemoteMTScriptProxy_FWD_DEFINED__ */
  601. /* header files for imported files */
  602. #ifdef __cplusplus
  603. extern "C"{
  604. #endif
  605. void * __RPC_USER MIDL_user_allocate(size_t);
  606. void __RPC_USER MIDL_user_free( void * );
  607. #ifndef __MTScriptEngine_LIBRARY_DEFINED__
  608. #define __MTScriptEngine_LIBRARY_DEFINED__
  609. /* library MTScriptEngine */
  610. /* [version][uuid] */
  611. #define IConnectedMachine_lVersionMajor ( 0 )
  612. #define IConnectedMachine_lVersionMinor ( 0 )
  613. EXTERN_C const IID LIBID_MTScriptEngine;
  614. #ifndef __IRemoteMTScriptProxy_INTERFACE_DEFINED__
  615. #define __IRemoteMTScriptProxy_INTERFACE_DEFINED__
  616. /* interface IRemoteMTScriptProxy */
  617. /* [object][dual][uuid] */
  618. EXTERN_C const IID IID_IRemoteMTScriptProxy;
  619. #if defined(__cplusplus) && !defined(CINTERFACE)
  620. MIDL_INTERFACE("854c3181-c854-4a77-b189-606859e4391b")
  621. IRemoteMTScriptProxy : public IDispatch
  622. {
  623. public:
  624. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE Connect(
  625. /* [defaultvalue][in] */ BSTR bstrMachine = L"") = 0;
  626. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE ConnectToMTScript(
  627. /* [defaultvalue][in] */ BSTR bstrMachine = L"",
  628. /* [defaultvalue][in] */ BSTR bstrIdentity = L"Build",
  629. /* [defaultvalue][in] */ BOOL fCreate = FALSE) = 0;
  630. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE ConnectToObjectDaemon(
  631. /* [defaultvalue][in] */ BSTR bstrMachine,
  632. /* [retval][out] */ IObjectDaemon **ppIOD) = 0;
  633. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE Disconnect( void) = 0;
  634. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE DownloadFile(
  635. /* [in] */ BSTR bstrUrl,
  636. /* [retval][out] */ BSTR *bstrFile) = 0;
  637. };
  638. #else /* C style interface */
  639. typedef struct IRemoteMTScriptProxyVtbl
  640. {
  641. BEGIN_INTERFACE
  642. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  643. IRemoteMTScriptProxy * This,
  644. /* [in] */ REFIID riid,
  645. /* [iid_is][out] */ void **ppvObject);
  646. ULONG ( STDMETHODCALLTYPE *AddRef )(
  647. IRemoteMTScriptProxy * This);
  648. ULONG ( STDMETHODCALLTYPE *Release )(
  649. IRemoteMTScriptProxy * This);
  650. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  651. IRemoteMTScriptProxy * This,
  652. /* [out] */ UINT *pctinfo);
  653. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  654. IRemoteMTScriptProxy * This,
  655. /* [in] */ UINT iTInfo,
  656. /* [in] */ LCID lcid,
  657. /* [out] */ ITypeInfo **ppTInfo);
  658. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  659. IRemoteMTScriptProxy * This,
  660. /* [in] */ REFIID riid,
  661. /* [size_is][in] */ LPOLESTR *rgszNames,
  662. /* [in] */ UINT cNames,
  663. /* [in] */ LCID lcid,
  664. /* [size_is][out] */ DISPID *rgDispId);
  665. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  666. IRemoteMTScriptProxy * This,
  667. /* [in] */ DISPID dispIdMember,
  668. /* [in] */ REFIID riid,
  669. /* [in] */ LCID lcid,
  670. /* [in] */ WORD wFlags,
  671. /* [out][in] */ DISPPARAMS *pDispParams,
  672. /* [out] */ VARIANT *pVarResult,
  673. /* [out] */ EXCEPINFO *pExcepInfo,
  674. /* [out] */ UINT *puArgErr);
  675. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *Connect )(
  676. IRemoteMTScriptProxy * This,
  677. /* [defaultvalue][in] */ BSTR bstrMachine);
  678. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *ConnectToMTScript )(
  679. IRemoteMTScriptProxy * This,
  680. /* [defaultvalue][in] */ BSTR bstrMachine,
  681. /* [defaultvalue][in] */ BSTR bstrIdentity,
  682. /* [defaultvalue][in] */ BOOL fCreate);
  683. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *ConnectToObjectDaemon )(
  684. IRemoteMTScriptProxy * This,
  685. /* [defaultvalue][in] */ BSTR bstrMachine,
  686. /* [retval][out] */ IObjectDaemon **ppIOD);
  687. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *Disconnect )(
  688. IRemoteMTScriptProxy * This);
  689. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *DownloadFile )(
  690. IRemoteMTScriptProxy * This,
  691. /* [in] */ BSTR bstrUrl,
  692. /* [retval][out] */ BSTR *bstrFile);
  693. END_INTERFACE
  694. } IRemoteMTScriptProxyVtbl;
  695. interface IRemoteMTScriptProxy
  696. {
  697. CONST_VTBL struct IRemoteMTScriptProxyVtbl *lpVtbl;
  698. };
  699. #ifdef COBJMACROS
  700. #define IRemoteMTScriptProxy_QueryInterface(This,riid,ppvObject) \
  701. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  702. #define IRemoteMTScriptProxy_AddRef(This) \
  703. (This)->lpVtbl -> AddRef(This)
  704. #define IRemoteMTScriptProxy_Release(This) \
  705. (This)->lpVtbl -> Release(This)
  706. #define IRemoteMTScriptProxy_GetTypeInfoCount(This,pctinfo) \
  707. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  708. #define IRemoteMTScriptProxy_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  709. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  710. #define IRemoteMTScriptProxy_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  711. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  712. #define IRemoteMTScriptProxy_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  713. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  714. #define IRemoteMTScriptProxy_Connect(This,bstrMachine) \
  715. (This)->lpVtbl -> Connect(This,bstrMachine)
  716. #define IRemoteMTScriptProxy_ConnectToMTScript(This,bstrMachine,bstrIdentity,fCreate) \
  717. (This)->lpVtbl -> ConnectToMTScript(This,bstrMachine,bstrIdentity,fCreate)
  718. #define IRemoteMTScriptProxy_ConnectToObjectDaemon(This,bstrMachine,ppIOD) \
  719. (This)->lpVtbl -> ConnectToObjectDaemon(This,bstrMachine,ppIOD)
  720. #define IRemoteMTScriptProxy_Disconnect(This) \
  721. (This)->lpVtbl -> Disconnect(This)
  722. #define IRemoteMTScriptProxy_DownloadFile(This,bstrUrl,bstrFile) \
  723. (This)->lpVtbl -> DownloadFile(This,bstrUrl,bstrFile)
  724. #endif /* COBJMACROS */
  725. #endif /* C style interface */
  726. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IRemoteMTScriptProxy_Connect_Proxy(
  727. IRemoteMTScriptProxy * This,
  728. /* [defaultvalue][in] */ BSTR bstrMachine);
  729. void __RPC_STUB IRemoteMTScriptProxy_Connect_Stub(
  730. IRpcStubBuffer *This,
  731. IRpcChannelBuffer *_pRpcChannelBuffer,
  732. PRPC_MESSAGE _pRpcMessage,
  733. DWORD *_pdwStubPhase);
  734. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IRemoteMTScriptProxy_ConnectToMTScript_Proxy(
  735. IRemoteMTScriptProxy * This,
  736. /* [defaultvalue][in] */ BSTR bstrMachine,
  737. /* [defaultvalue][in] */ BSTR bstrIdentity,
  738. /* [defaultvalue][in] */ BOOL fCreate);
  739. void __RPC_STUB IRemoteMTScriptProxy_ConnectToMTScript_Stub(
  740. IRpcStubBuffer *This,
  741. IRpcChannelBuffer *_pRpcChannelBuffer,
  742. PRPC_MESSAGE _pRpcMessage,
  743. DWORD *_pdwStubPhase);
  744. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IRemoteMTScriptProxy_ConnectToObjectDaemon_Proxy(
  745. IRemoteMTScriptProxy * This,
  746. /* [defaultvalue][in] */ BSTR bstrMachine,
  747. /* [retval][out] */ IObjectDaemon **ppIOD);
  748. void __RPC_STUB IRemoteMTScriptProxy_ConnectToObjectDaemon_Stub(
  749. IRpcStubBuffer *This,
  750. IRpcChannelBuffer *_pRpcChannelBuffer,
  751. PRPC_MESSAGE _pRpcMessage,
  752. DWORD *_pdwStubPhase);
  753. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IRemoteMTScriptProxy_Disconnect_Proxy(
  754. IRemoteMTScriptProxy * This);
  755. void __RPC_STUB IRemoteMTScriptProxy_Disconnect_Stub(
  756. IRpcStubBuffer *This,
  757. IRpcChannelBuffer *_pRpcChannelBuffer,
  758. PRPC_MESSAGE _pRpcMessage,
  759. DWORD *_pdwStubPhase);
  760. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IRemoteMTScriptProxy_DownloadFile_Proxy(
  761. IRemoteMTScriptProxy * This,
  762. /* [in] */ BSTR bstrUrl,
  763. /* [retval][out] */ BSTR *bstrFile);
  764. void __RPC_STUB IRemoteMTScriptProxy_DownloadFile_Stub(
  765. IRpcStubBuffer *This,
  766. IRpcChannelBuffer *_pRpcChannelBuffer,
  767. PRPC_MESSAGE _pRpcMessage,
  768. DWORD *_pdwStubPhase);
  769. #endif /* __IRemoteMTScriptProxy_INTERFACE_DEFINED__ */
  770. #ifndef __IConnectedMachine_INTERFACE_DEFINED__
  771. #define __IConnectedMachine_INTERFACE_DEFINED__
  772. /* interface IConnectedMachine */
  773. /* [object][version][dual][uuid] */
  774. EXTERN_C const IID IID_IConnectedMachine;
  775. #if defined(__cplusplus) && !defined(CINTERFACE)
  776. MIDL_INTERFACE("854c316c-c854-4a77-b189-606859e4391b")
  777. IConnectedMachine : public IDispatch
  778. {
  779. public:
  780. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE Exec(
  781. /* [in] */ BSTR bstrCmd,
  782. /* [in] */ BSTR bstrParams,
  783. /* [retval][out] */ VARIANT *pvData) = 0;
  784. virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_PublicData(
  785. /* [retval][out] */ VARIANT *pvData) = 0;
  786. virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_Name(
  787. /* [retval][out] */ BSTR *name) = 0;
  788. virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_Platform(
  789. /* [retval][out] */ BSTR *platform) = 0;
  790. virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_OS(
  791. /* [retval][out] */ BSTR *os) = 0;
  792. virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_MajorVer(
  793. /* [retval][out] */ long *majorver) = 0;
  794. virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_MinorVer(
  795. /* [retval][out] */ long *minorver) = 0;
  796. virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_BuildNum(
  797. /* [retval][out] */ long *buildnum) = 0;
  798. virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_PlatformIsNT(
  799. /* [retval][out] */ VARIANT_BOOL *pfIsNT) = 0;
  800. virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_ServicePack(
  801. /* [retval][out] */ BSTR *servicepack) = 0;
  802. virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_HostMajorVer(
  803. /* [retval][out] */ long *majorver) = 0;
  804. virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_HostMinorVer(
  805. /* [retval][out] */ long *minorver) = 0;
  806. virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_StatusValue(
  807. /* [in] */ long nIndex,
  808. /* [retval][out] */ long *pnStatus) = 0;
  809. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE CreateIScriptedProcess(
  810. /* [in] */ long lProcessID,
  811. /* [string][in] */ wchar_t *pszEnvID,
  812. /* [retval][out] */ IScriptedProcess **pISP) = 0;
  813. };
  814. #else /* C style interface */
  815. typedef struct IConnectedMachineVtbl
  816. {
  817. BEGIN_INTERFACE
  818. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  819. IConnectedMachine * This,
  820. /* [in] */ REFIID riid,
  821. /* [iid_is][out] */ void **ppvObject);
  822. ULONG ( STDMETHODCALLTYPE *AddRef )(
  823. IConnectedMachine * This);
  824. ULONG ( STDMETHODCALLTYPE *Release )(
  825. IConnectedMachine * This);
  826. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  827. IConnectedMachine * This,
  828. /* [out] */ UINT *pctinfo);
  829. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  830. IConnectedMachine * This,
  831. /* [in] */ UINT iTInfo,
  832. /* [in] */ LCID lcid,
  833. /* [out] */ ITypeInfo **ppTInfo);
  834. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  835. IConnectedMachine * This,
  836. /* [in] */ REFIID riid,
  837. /* [size_is][in] */ LPOLESTR *rgszNames,
  838. /* [in] */ UINT cNames,
  839. /* [in] */ LCID lcid,
  840. /* [size_is][out] */ DISPID *rgDispId);
  841. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  842. IConnectedMachine * This,
  843. /* [in] */ DISPID dispIdMember,
  844. /* [in] */ REFIID riid,
  845. /* [in] */ LCID lcid,
  846. /* [in] */ WORD wFlags,
  847. /* [out][in] */ DISPPARAMS *pDispParams,
  848. /* [out] */ VARIANT *pVarResult,
  849. /* [out] */ EXCEPINFO *pExcepInfo,
  850. /* [out] */ UINT *puArgErr);
  851. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *Exec )(
  852. IConnectedMachine * This,
  853. /* [in] */ BSTR bstrCmd,
  854. /* [in] */ BSTR bstrParams,
  855. /* [retval][out] */ VARIANT *pvData);
  856. /* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_PublicData )(
  857. IConnectedMachine * This,
  858. /* [retval][out] */ VARIANT *pvData);
  859. /* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Name )(
  860. IConnectedMachine * This,
  861. /* [retval][out] */ BSTR *name);
  862. /* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Platform )(
  863. IConnectedMachine * This,
  864. /* [retval][out] */ BSTR *platform);
  865. /* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_OS )(
  866. IConnectedMachine * This,
  867. /* [retval][out] */ BSTR *os);
  868. /* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_MajorVer )(
  869. IConnectedMachine * This,
  870. /* [retval][out] */ long *majorver);
  871. /* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_MinorVer )(
  872. IConnectedMachine * This,
  873. /* [retval][out] */ long *minorver);
  874. /* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_BuildNum )(
  875. IConnectedMachine * This,
  876. /* [retval][out] */ long *buildnum);
  877. /* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_PlatformIsNT )(
  878. IConnectedMachine * This,
  879. /* [retval][out] */ VARIANT_BOOL *pfIsNT);
  880. /* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ServicePack )(
  881. IConnectedMachine * This,
  882. /* [retval][out] */ BSTR *servicepack);
  883. /* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_HostMajorVer )(
  884. IConnectedMachine * This,
  885. /* [retval][out] */ long *majorver);
  886. /* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_HostMinorVer )(
  887. IConnectedMachine * This,
  888. /* [retval][out] */ long *minorver);
  889. /* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_StatusValue )(
  890. IConnectedMachine * This,
  891. /* [in] */ long nIndex,
  892. /* [retval][out] */ long *pnStatus);
  893. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *CreateIScriptedProcess )(
  894. IConnectedMachine * This,
  895. /* [in] */ long lProcessID,
  896. /* [string][in] */ wchar_t *pszEnvID,
  897. /* [retval][out] */ IScriptedProcess **pISP);
  898. END_INTERFACE
  899. } IConnectedMachineVtbl;
  900. interface IConnectedMachine
  901. {
  902. CONST_VTBL struct IConnectedMachineVtbl *lpVtbl;
  903. };
  904. #ifdef COBJMACROS
  905. #define IConnectedMachine_QueryInterface(This,riid,ppvObject) \
  906. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  907. #define IConnectedMachine_AddRef(This) \
  908. (This)->lpVtbl -> AddRef(This)
  909. #define IConnectedMachine_Release(This) \
  910. (This)->lpVtbl -> Release(This)
  911. #define IConnectedMachine_GetTypeInfoCount(This,pctinfo) \
  912. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  913. #define IConnectedMachine_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  914. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  915. #define IConnectedMachine_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  916. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  917. #define IConnectedMachine_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  918. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  919. #define IConnectedMachine_Exec(This,bstrCmd,bstrParams,pvData) \
  920. (This)->lpVtbl -> Exec(This,bstrCmd,bstrParams,pvData)
  921. #define IConnectedMachine_get_PublicData(This,pvData) \
  922. (This)->lpVtbl -> get_PublicData(This,pvData)
  923. #define IConnectedMachine_get_Name(This,name) \
  924. (This)->lpVtbl -> get_Name(This,name)
  925. #define IConnectedMachine_get_Platform(This,platform) \
  926. (This)->lpVtbl -> get_Platform(This,platform)
  927. #define IConnectedMachine_get_OS(This,os) \
  928. (This)->lpVtbl -> get_OS(This,os)
  929. #define IConnectedMachine_get_MajorVer(This,majorver) \
  930. (This)->lpVtbl -> get_MajorVer(This,majorver)
  931. #define IConnectedMachine_get_MinorVer(This,minorver) \
  932. (This)->lpVtbl -> get_MinorVer(This,minorver)
  933. #define IConnectedMachine_get_BuildNum(This,buildnum) \
  934. (This)->lpVtbl -> get_BuildNum(This,buildnum)
  935. #define IConnectedMachine_get_PlatformIsNT(This,pfIsNT) \
  936. (This)->lpVtbl -> get_PlatformIsNT(This,pfIsNT)
  937. #define IConnectedMachine_get_ServicePack(This,servicepack) \
  938. (This)->lpVtbl -> get_ServicePack(This,servicepack)
  939. #define IConnectedMachine_get_HostMajorVer(This,majorver) \
  940. (This)->lpVtbl -> get_HostMajorVer(This,majorver)
  941. #define IConnectedMachine_get_HostMinorVer(This,minorver) \
  942. (This)->lpVtbl -> get_HostMinorVer(This,minorver)
  943. #define IConnectedMachine_get_StatusValue(This,nIndex,pnStatus) \
  944. (This)->lpVtbl -> get_StatusValue(This,nIndex,pnStatus)
  945. #define IConnectedMachine_CreateIScriptedProcess(This,lProcessID,pszEnvID,pISP) \
  946. (This)->lpVtbl -> CreateIScriptedProcess(This,lProcessID,pszEnvID,pISP)
  947. #endif /* COBJMACROS */
  948. #endif /* C style interface */
  949. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IConnectedMachine_Exec_Proxy(
  950. IConnectedMachine * This,
  951. /* [in] */ BSTR bstrCmd,
  952. /* [in] */ BSTR bstrParams,
  953. /* [retval][out] */ VARIANT *pvData);
  954. void __RPC_STUB IConnectedMachine_Exec_Stub(
  955. IRpcStubBuffer *This,
  956. IRpcChannelBuffer *_pRpcChannelBuffer,
  957. PRPC_MESSAGE _pRpcMessage,
  958. DWORD *_pdwStubPhase);
  959. /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IConnectedMachine_get_PublicData_Proxy(
  960. IConnectedMachine * This,
  961. /* [retval][out] */ VARIANT *pvData);
  962. void __RPC_STUB IConnectedMachine_get_PublicData_Stub(
  963. IRpcStubBuffer *This,
  964. IRpcChannelBuffer *_pRpcChannelBuffer,
  965. PRPC_MESSAGE _pRpcMessage,
  966. DWORD *_pdwStubPhase);
  967. /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IConnectedMachine_get_Name_Proxy(
  968. IConnectedMachine * This,
  969. /* [retval][out] */ BSTR *name);
  970. void __RPC_STUB IConnectedMachine_get_Name_Stub(
  971. IRpcStubBuffer *This,
  972. IRpcChannelBuffer *_pRpcChannelBuffer,
  973. PRPC_MESSAGE _pRpcMessage,
  974. DWORD *_pdwStubPhase);
  975. /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IConnectedMachine_get_Platform_Proxy(
  976. IConnectedMachine * This,
  977. /* [retval][out] */ BSTR *platform);
  978. void __RPC_STUB IConnectedMachine_get_Platform_Stub(
  979. IRpcStubBuffer *This,
  980. IRpcChannelBuffer *_pRpcChannelBuffer,
  981. PRPC_MESSAGE _pRpcMessage,
  982. DWORD *_pdwStubPhase);
  983. /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IConnectedMachine_get_OS_Proxy(
  984. IConnectedMachine * This,
  985. /* [retval][out] */ BSTR *os);
  986. void __RPC_STUB IConnectedMachine_get_OS_Stub(
  987. IRpcStubBuffer *This,
  988. IRpcChannelBuffer *_pRpcChannelBuffer,
  989. PRPC_MESSAGE _pRpcMessage,
  990. DWORD *_pdwStubPhase);
  991. /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IConnectedMachine_get_MajorVer_Proxy(
  992. IConnectedMachine * This,
  993. /* [retval][out] */ long *majorver);
  994. void __RPC_STUB IConnectedMachine_get_MajorVer_Stub(
  995. IRpcStubBuffer *This,
  996. IRpcChannelBuffer *_pRpcChannelBuffer,
  997. PRPC_MESSAGE _pRpcMessage,
  998. DWORD *_pdwStubPhase);
  999. /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IConnectedMachine_get_MinorVer_Proxy(
  1000. IConnectedMachine * This,
  1001. /* [retval][out] */ long *minorver);
  1002. void __RPC_STUB IConnectedMachine_get_MinorVer_Stub(
  1003. IRpcStubBuffer *This,
  1004. IRpcChannelBuffer *_pRpcChannelBuffer,
  1005. PRPC_MESSAGE _pRpcMessage,
  1006. DWORD *_pdwStubPhase);
  1007. /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IConnectedMachine_get_BuildNum_Proxy(
  1008. IConnectedMachine * This,
  1009. /* [retval][out] */ long *buildnum);
  1010. void __RPC_STUB IConnectedMachine_get_BuildNum_Stub(
  1011. IRpcStubBuffer *This,
  1012. IRpcChannelBuffer *_pRpcChannelBuffer,
  1013. PRPC_MESSAGE _pRpcMessage,
  1014. DWORD *_pdwStubPhase);
  1015. /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IConnectedMachine_get_PlatformIsNT_Proxy(
  1016. IConnectedMachine * This,
  1017. /* [retval][out] */ VARIANT_BOOL *pfIsNT);
  1018. void __RPC_STUB IConnectedMachine_get_PlatformIsNT_Stub(
  1019. IRpcStubBuffer *This,
  1020. IRpcChannelBuffer *_pRpcChannelBuffer,
  1021. PRPC_MESSAGE _pRpcMessage,
  1022. DWORD *_pdwStubPhase);
  1023. /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IConnectedMachine_get_ServicePack_Proxy(
  1024. IConnectedMachine * This,
  1025. /* [retval][out] */ BSTR *servicepack);
  1026. void __RPC_STUB IConnectedMachine_get_ServicePack_Stub(
  1027. IRpcStubBuffer *This,
  1028. IRpcChannelBuffer *_pRpcChannelBuffer,
  1029. PRPC_MESSAGE _pRpcMessage,
  1030. DWORD *_pdwStubPhase);
  1031. /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IConnectedMachine_get_HostMajorVer_Proxy(
  1032. IConnectedMachine * This,
  1033. /* [retval][out] */ long *majorver);
  1034. void __RPC_STUB IConnectedMachine_get_HostMajorVer_Stub(
  1035. IRpcStubBuffer *This,
  1036. IRpcChannelBuffer *_pRpcChannelBuffer,
  1037. PRPC_MESSAGE _pRpcMessage,
  1038. DWORD *_pdwStubPhase);
  1039. /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IConnectedMachine_get_HostMinorVer_Proxy(
  1040. IConnectedMachine * This,
  1041. /* [retval][out] */ long *minorver);
  1042. void __RPC_STUB IConnectedMachine_get_HostMinorVer_Stub(
  1043. IRpcStubBuffer *This,
  1044. IRpcChannelBuffer *_pRpcChannelBuffer,
  1045. PRPC_MESSAGE _pRpcMessage,
  1046. DWORD *_pdwStubPhase);
  1047. /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IConnectedMachine_get_StatusValue_Proxy(
  1048. IConnectedMachine * This,
  1049. /* [in] */ long nIndex,
  1050. /* [retval][out] */ long *pnStatus);
  1051. void __RPC_STUB IConnectedMachine_get_StatusValue_Stub(
  1052. IRpcStubBuffer *This,
  1053. IRpcChannelBuffer *_pRpcChannelBuffer,
  1054. PRPC_MESSAGE _pRpcMessage,
  1055. DWORD *_pdwStubPhase);
  1056. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IConnectedMachine_CreateIScriptedProcess_Proxy(
  1057. IConnectedMachine * This,
  1058. /* [in] */ long lProcessID,
  1059. /* [string][in] */ wchar_t *pszEnvID,
  1060. /* [retval][out] */ IScriptedProcess **pISP);
  1061. void __RPC_STUB IConnectedMachine_CreateIScriptedProcess_Stub(
  1062. IRpcStubBuffer *This,
  1063. IRpcChannelBuffer *_pRpcChannelBuffer,
  1064. PRPC_MESSAGE _pRpcMessage,
  1065. DWORD *_pdwStubPhase);
  1066. #endif /* __IConnectedMachine_INTERFACE_DEFINED__ */
  1067. #ifndef __IGlobalMTScript_INTERFACE_DEFINED__
  1068. #define __IGlobalMTScript_INTERFACE_DEFINED__
  1069. /* interface IGlobalMTScript */
  1070. /* [object][local][dual][uuid] */
  1071. EXTERN_C const IID IID_IGlobalMTScript;
  1072. #if defined(__cplusplus) && !defined(CINTERFACE)
  1073. MIDL_INTERFACE("854c316b-c854-4a77-b189-606859e4391b")
  1074. IGlobalMTScript : public IDispatch
  1075. {
  1076. public:
  1077. virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_HostMajorVer(
  1078. /* [retval][out] */ long *majorver) = 0;
  1079. virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_HostMinorVer(
  1080. /* [retval][out] */ long *minorver) = 0;
  1081. virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_PublicData(
  1082. /* [retval][out] */ VARIANT *pvData) = 0;
  1083. virtual /* [propput] */ HRESULT STDMETHODCALLTYPE put_PublicData(
  1084. /* [in] */ VARIANT vData) = 0;
  1085. virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_PrivateData(
  1086. /* [retval][out] */ VARIANT *pvData) = 0;
  1087. virtual /* [propput] */ HRESULT STDMETHODCALLTYPE put_PrivateData(
  1088. /* [in] */ VARIANT vData) = 0;
  1089. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE ExitProcess( void) = 0;
  1090. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE Restart( void) = 0;
  1091. virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_LocalMachine(
  1092. /* [retval][out] */ BSTR *pbstrName) = 0;
  1093. virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_Identity(
  1094. /* [retval][out] */ BSTR *pbstrIdentity) = 0;
  1095. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE Include(
  1096. BSTR bstrPath) = 0;
  1097. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE CallScript(
  1098. /* [in] */ BSTR Path,
  1099. /* [in][optional] */ VARIANT *Param) = 0;
  1100. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SpawnScript(
  1101. /* [in] */ BSTR Path,
  1102. /* [in][optional] */ VARIANT *Param) = 0;
  1103. virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_ScriptParam(
  1104. /* [retval][out] */ VARIANT *Param) = 0;
  1105. virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_ScriptPath(
  1106. /* [retval][out] */ BSTR *pbstrPath) = 0;
  1107. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE CallExternal(
  1108. /* [in] */ BSTR bstrDLLName,
  1109. /* [in] */ BSTR bstrFunctionName,
  1110. /* [optional][in] */ VARIANT *pParam,
  1111. /* [retval][out] */ long *pdwRetVal) = 0;
  1112. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE ResetSync(
  1113. /* [in] */ const BSTR bstrName) = 0;
  1114. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE WaitForSync(
  1115. /* [in] */ BSTR bstrName,
  1116. /* [in] */ long nTimeout,
  1117. /* [retval][out] */ VARIANT_BOOL *pfSignaled) = 0;
  1118. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE WaitForMultipleSyncs(
  1119. /* [in] */ const BSTR bstrNameList,
  1120. /* [in] */ VARIANT_BOOL fWaitForAll,
  1121. /* [in] */ long nTimeout,
  1122. /* [retval][out] */ long *plSignal) = 0;
  1123. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SignalThreadSync(
  1124. /* [in] */ BSTR bstrName) = 0;
  1125. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE TakeThreadLock(
  1126. /* [in] */ BSTR bstrName) = 0;
  1127. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE ReleaseThreadLock(
  1128. /* [in] */ BSTR bstrName) = 0;
  1129. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE DoEvents( void) = 0;
  1130. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE MessageBoxTimeout(
  1131. /* [in] */ BSTR bstrMessage,
  1132. /* [in] */ long cButtons,
  1133. /* [in] */ BSTR bstrButtonText,
  1134. /* [in] */ long lTimeout,
  1135. /* [in] */ long lEventInterval,
  1136. /* [in] */ VARIANT_BOOL fCanCancel,
  1137. /* [in] */ VARIANT_BOOL fConfirm,
  1138. /* [retval][out] */ long *plSelected) = 0;
  1139. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE RunLocalCommand(
  1140. /* [in] */ BSTR bstrCommand,
  1141. /* [in] */ BSTR bstrDir,
  1142. /* [defaultvalue][in] */ BSTR bstrTitle,
  1143. /* [defaultvalue][in] */ VARIANT_BOOL fMinimize,
  1144. /* [defaultvalue][in] */ VARIANT_BOOL fGetOutput,
  1145. /* [defaultvalue][in] */ VARIANT_BOOL fWait,
  1146. /* [defaultvalue][in] */ VARIANT_BOOL fNoCrashPopup,
  1147. /* [defaultvalue][in] */ VARIANT_BOOL fNoEnviron,
  1148. /* [retval][out] */ long *plProcessID) = 0;
  1149. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetLastRunLocalError(
  1150. /* [retval][out] */ long *plErrorCode) = 0;
  1151. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetProcessOutput(
  1152. /* [in] */ long lProcessID,
  1153. /* [retval][out] */ BSTR *pbstrData) = 0;
  1154. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetProcessExitCode(
  1155. /* [in] */ long lProcessID,
  1156. /* [retval][out] */ long *plExitCode) = 0;
  1157. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE TerminateProcess(
  1158. /* [in] */ long lProcessID) = 0;
  1159. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SendToProcess(
  1160. /* [in] */ long lProcessID,
  1161. /* [in] */ BSTR bstrType,
  1162. /* [in] */ BSTR bstrData,
  1163. /* [retval][out] */ long *plReturn) = 0;
  1164. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SendMail(
  1165. /* [in] */ BSTR bstrTo,
  1166. /* [in] */ BSTR bstrCC,
  1167. /* [in] */ BSTR bstrBCC,
  1168. /* [in] */ BSTR bstrSubject,
  1169. /* [in] */ BSTR bstrMessage,
  1170. /* [defaultvalue][in] */ BSTR bstrAttachmentPath,
  1171. /* [defaultvalue][in] */ BSTR bstrUsername,
  1172. /* [defaultvalue][in] */ BSTR bstrPassword,
  1173. /* [retval][out] */ long *plErrorCode) = 0;
  1174. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SendSMTPMail(
  1175. /* [in] */ BSTR bstrFrom,
  1176. /* [in] */ BSTR bstrTo,
  1177. /* [in] */ BSTR bstrCC,
  1178. /* [in] */ BSTR bstrSubject,
  1179. /* [in] */ BSTR bstrMessage,
  1180. /* [in] */ BSTR bstrSMTPHost,
  1181. /* [retval][out] */ long *plErrorCode) = 0;
  1182. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE ASSERT(
  1183. /* [in] */ VARIANT_BOOL Assertion,
  1184. /* [in] */ BSTR Message) = 0;
  1185. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE OUTPUTDEBUGSTRING(
  1186. /* [in] */ BSTR Message) = 0;
  1187. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE UnevalString(
  1188. /* [in] */ BSTR bstrIn,
  1189. /* [retval][out] */ BSTR *bstrOut) = 0;
  1190. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE CopyOrAppendFile(
  1191. /* [in] */ BSTR bstrSrc,
  1192. /* [in] */ BSTR bstrDst,
  1193. /* [in] */ long nSrcOffset,
  1194. /* [in] */ long nSrcLength,
  1195. /* [in] */ VARIANT_BOOL fAppend,
  1196. /* [retval][out] */ long *nSrcFilePosition) = 0;
  1197. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE Sleep(
  1198. /* [in] */ int nTimeout) = 0;
  1199. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE Reboot( void) = 0;
  1200. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE NotifyScript(
  1201. BSTR bstrEvent,
  1202. VARIANT vData) = 0;
  1203. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE RegisterEventSource(
  1204. /* [in] */ IDispatch *pDisp,
  1205. /* [defaultvalue][in] */ BSTR bstrProgID = L"") = 0;
  1206. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE UnregisterEventSource(
  1207. /* [in] */ IDispatch *pDisp) = 0;
  1208. virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_StatusValue(
  1209. /* [in] */ long nIndex,
  1210. /* [retval][out] */ long *pnStatus) = 0;
  1211. virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_StatusValue(
  1212. /* [in] */ long nIndex,
  1213. /* [in] */ long nStatus) = 0;
  1214. };
  1215. #else /* C style interface */
  1216. typedef struct IGlobalMTScriptVtbl
  1217. {
  1218. BEGIN_INTERFACE
  1219. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1220. IGlobalMTScript * This,
  1221. /* [in] */ REFIID riid,
  1222. /* [iid_is][out] */ void **ppvObject);
  1223. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1224. IGlobalMTScript * This);
  1225. ULONG ( STDMETHODCALLTYPE *Release )(
  1226. IGlobalMTScript * This);
  1227. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  1228. IGlobalMTScript * This,
  1229. /* [out] */ UINT *pctinfo);
  1230. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  1231. IGlobalMTScript * This,
  1232. /* [in] */ UINT iTInfo,
  1233. /* [in] */ LCID lcid,
  1234. /* [out] */ ITypeInfo **ppTInfo);
  1235. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  1236. IGlobalMTScript * This,
  1237. /* [in] */ REFIID riid,
  1238. /* [size_is][in] */ LPOLESTR *rgszNames,
  1239. /* [in] */ UINT cNames,
  1240. /* [in] */ LCID lcid,
  1241. /* [size_is][out] */ DISPID *rgDispId);
  1242. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  1243. IGlobalMTScript * This,
  1244. /* [in] */ DISPID dispIdMember,
  1245. /* [in] */ REFIID riid,
  1246. /* [in] */ LCID lcid,
  1247. /* [in] */ WORD wFlags,
  1248. /* [out][in] */ DISPPARAMS *pDispParams,
  1249. /* [out] */ VARIANT *pVarResult,
  1250. /* [out] */ EXCEPINFO *pExcepInfo,
  1251. /* [out] */ UINT *puArgErr);
  1252. /* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_HostMajorVer )(
  1253. IGlobalMTScript * This,
  1254. /* [retval][out] */ long *majorver);
  1255. /* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_HostMinorVer )(
  1256. IGlobalMTScript * This,
  1257. /* [retval][out] */ long *minorver);
  1258. /* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_PublicData )(
  1259. IGlobalMTScript * This,
  1260. /* [retval][out] */ VARIANT *pvData);
  1261. /* [propput] */ HRESULT ( STDMETHODCALLTYPE *put_PublicData )(
  1262. IGlobalMTScript * This,
  1263. /* [in] */ VARIANT vData);
  1264. /* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_PrivateData )(
  1265. IGlobalMTScript * This,
  1266. /* [retval][out] */ VARIANT *pvData);
  1267. /* [propput] */ HRESULT ( STDMETHODCALLTYPE *put_PrivateData )(
  1268. IGlobalMTScript * This,
  1269. /* [in] */ VARIANT vData);
  1270. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *ExitProcess )(
  1271. IGlobalMTScript * This);
  1272. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *Restart )(
  1273. IGlobalMTScript * This);
  1274. /* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_LocalMachine )(
  1275. IGlobalMTScript * This,
  1276. /* [retval][out] */ BSTR *pbstrName);
  1277. /* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Identity )(
  1278. IGlobalMTScript * This,
  1279. /* [retval][out] */ BSTR *pbstrIdentity);
  1280. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *Include )(
  1281. IGlobalMTScript * This,
  1282. BSTR bstrPath);
  1283. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *CallScript )(
  1284. IGlobalMTScript * This,
  1285. /* [in] */ BSTR Path,
  1286. /* [in][optional] */ VARIANT *Param);
  1287. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SpawnScript )(
  1288. IGlobalMTScript * This,
  1289. /* [in] */ BSTR Path,
  1290. /* [in][optional] */ VARIANT *Param);
  1291. /* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ScriptParam )(
  1292. IGlobalMTScript * This,
  1293. /* [retval][out] */ VARIANT *Param);
  1294. /* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ScriptPath )(
  1295. IGlobalMTScript * This,
  1296. /* [retval][out] */ BSTR *pbstrPath);
  1297. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *CallExternal )(
  1298. IGlobalMTScript * This,
  1299. /* [in] */ BSTR bstrDLLName,
  1300. /* [in] */ BSTR bstrFunctionName,
  1301. /* [optional][in] */ VARIANT *pParam,
  1302. /* [retval][out] */ long *pdwRetVal);
  1303. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *ResetSync )(
  1304. IGlobalMTScript * This,
  1305. /* [in] */ const BSTR bstrName);
  1306. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *WaitForSync )(
  1307. IGlobalMTScript * This,
  1308. /* [in] */ BSTR bstrName,
  1309. /* [in] */ long nTimeout,
  1310. /* [retval][out] */ VARIANT_BOOL *pfSignaled);
  1311. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *WaitForMultipleSyncs )(
  1312. IGlobalMTScript * This,
  1313. /* [in] */ const BSTR bstrNameList,
  1314. /* [in] */ VARIANT_BOOL fWaitForAll,
  1315. /* [in] */ long nTimeout,
  1316. /* [retval][out] */ long *plSignal);
  1317. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SignalThreadSync )(
  1318. IGlobalMTScript * This,
  1319. /* [in] */ BSTR bstrName);
  1320. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *TakeThreadLock )(
  1321. IGlobalMTScript * This,
  1322. /* [in] */ BSTR bstrName);
  1323. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *ReleaseThreadLock )(
  1324. IGlobalMTScript * This,
  1325. /* [in] */ BSTR bstrName);
  1326. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *DoEvents )(
  1327. IGlobalMTScript * This);
  1328. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *MessageBoxTimeout )(
  1329. IGlobalMTScript * This,
  1330. /* [in] */ BSTR bstrMessage,
  1331. /* [in] */ long cButtons,
  1332. /* [in] */ BSTR bstrButtonText,
  1333. /* [in] */ long lTimeout,
  1334. /* [in] */ long lEventInterval,
  1335. /* [in] */ VARIANT_BOOL fCanCancel,
  1336. /* [in] */ VARIANT_BOOL fConfirm,
  1337. /* [retval][out] */ long *plSelected);
  1338. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *RunLocalCommand )(
  1339. IGlobalMTScript * This,
  1340. /* [in] */ BSTR bstrCommand,
  1341. /* [in] */ BSTR bstrDir,
  1342. /* [defaultvalue][in] */ BSTR bstrTitle,
  1343. /* [defaultvalue][in] */ VARIANT_BOOL fMinimize,
  1344. /* [defaultvalue][in] */ VARIANT_BOOL fGetOutput,
  1345. /* [defaultvalue][in] */ VARIANT_BOOL fWait,
  1346. /* [defaultvalue][in] */ VARIANT_BOOL fNoCrashPopup,
  1347. /* [defaultvalue][in] */ VARIANT_BOOL fNoEnviron,
  1348. /* [retval][out] */ long *plProcessID);
  1349. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetLastRunLocalError )(
  1350. IGlobalMTScript * This,
  1351. /* [retval][out] */ long *plErrorCode);
  1352. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetProcessOutput )(
  1353. IGlobalMTScript * This,
  1354. /* [in] */ long lProcessID,
  1355. /* [retval][out] */ BSTR *pbstrData);
  1356. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetProcessExitCode )(
  1357. IGlobalMTScript * This,
  1358. /* [in] */ long lProcessID,
  1359. /* [retval][out] */ long *plExitCode);
  1360. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *TerminateProcess )(
  1361. IGlobalMTScript * This,
  1362. /* [in] */ long lProcessID);
  1363. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SendToProcess )(
  1364. IGlobalMTScript * This,
  1365. /* [in] */ long lProcessID,
  1366. /* [in] */ BSTR bstrType,
  1367. /* [in] */ BSTR bstrData,
  1368. /* [retval][out] */ long *plReturn);
  1369. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SendMail )(
  1370. IGlobalMTScript * This,
  1371. /* [in] */ BSTR bstrTo,
  1372. /* [in] */ BSTR bstrCC,
  1373. /* [in] */ BSTR bstrBCC,
  1374. /* [in] */ BSTR bstrSubject,
  1375. /* [in] */ BSTR bstrMessage,
  1376. /* [defaultvalue][in] */ BSTR bstrAttachmentPath,
  1377. /* [defaultvalue][in] */ BSTR bstrUsername,
  1378. /* [defaultvalue][in] */ BSTR bstrPassword,
  1379. /* [retval][out] */ long *plErrorCode);
  1380. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SendSMTPMail )(
  1381. IGlobalMTScript * This,
  1382. /* [in] */ BSTR bstrFrom,
  1383. /* [in] */ BSTR bstrTo,
  1384. /* [in] */ BSTR bstrCC,
  1385. /* [in] */ BSTR bstrSubject,
  1386. /* [in] */ BSTR bstrMessage,
  1387. /* [in] */ BSTR bstrSMTPHost,
  1388. /* [retval][out] */ long *plErrorCode);
  1389. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *ASSERT )(
  1390. IGlobalMTScript * This,
  1391. /* [in] */ VARIANT_BOOL Assertion,
  1392. /* [in] */ BSTR Message);
  1393. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *OUTPUTDEBUGSTRING )(
  1394. IGlobalMTScript * This,
  1395. /* [in] */ BSTR Message);
  1396. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *UnevalString )(
  1397. IGlobalMTScript * This,
  1398. /* [in] */ BSTR bstrIn,
  1399. /* [retval][out] */ BSTR *bstrOut);
  1400. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *CopyOrAppendFile )(
  1401. IGlobalMTScript * This,
  1402. /* [in] */ BSTR bstrSrc,
  1403. /* [in] */ BSTR bstrDst,
  1404. /* [in] */ long nSrcOffset,
  1405. /* [in] */ long nSrcLength,
  1406. /* [in] */ VARIANT_BOOL fAppend,
  1407. /* [retval][out] */ long *nSrcFilePosition);
  1408. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *Sleep )(
  1409. IGlobalMTScript * This,
  1410. /* [in] */ int nTimeout);
  1411. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *Reboot )(
  1412. IGlobalMTScript * This);
  1413. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *NotifyScript )(
  1414. IGlobalMTScript * This,
  1415. BSTR bstrEvent,
  1416. VARIANT vData);
  1417. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *RegisterEventSource )(
  1418. IGlobalMTScript * This,
  1419. /* [in] */ IDispatch *pDisp,
  1420. /* [defaultvalue][in] */ BSTR bstrProgID);
  1421. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *UnregisterEventSource )(
  1422. IGlobalMTScript * This,
  1423. /* [in] */ IDispatch *pDisp);
  1424. /* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_StatusValue )(
  1425. IGlobalMTScript * This,
  1426. /* [in] */ long nIndex,
  1427. /* [retval][out] */ long *pnStatus);
  1428. /* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE *put_StatusValue )(
  1429. IGlobalMTScript * This,
  1430. /* [in] */ long nIndex,
  1431. /* [in] */ long nStatus);
  1432. END_INTERFACE
  1433. } IGlobalMTScriptVtbl;
  1434. interface IGlobalMTScript
  1435. {
  1436. CONST_VTBL struct IGlobalMTScriptVtbl *lpVtbl;
  1437. };
  1438. #ifdef COBJMACROS
  1439. #define IGlobalMTScript_QueryInterface(This,riid,ppvObject) \
  1440. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1441. #define IGlobalMTScript_AddRef(This) \
  1442. (This)->lpVtbl -> AddRef(This)
  1443. #define IGlobalMTScript_Release(This) \
  1444. (This)->lpVtbl -> Release(This)
  1445. #define IGlobalMTScript_GetTypeInfoCount(This,pctinfo) \
  1446. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1447. #define IGlobalMTScript_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  1448. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1449. #define IGlobalMTScript_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  1450. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1451. #define IGlobalMTScript_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  1452. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1453. #define IGlobalMTScript_get_HostMajorVer(This,majorver) \
  1454. (This)->lpVtbl -> get_HostMajorVer(This,majorver)
  1455. #define IGlobalMTScript_get_HostMinorVer(This,minorver) \
  1456. (This)->lpVtbl -> get_HostMinorVer(This,minorver)
  1457. #define IGlobalMTScript_get_PublicData(This,pvData) \
  1458. (This)->lpVtbl -> get_PublicData(This,pvData)
  1459. #define IGlobalMTScript_put_PublicData(This,vData) \
  1460. (This)->lpVtbl -> put_PublicData(This,vData)
  1461. #define IGlobalMTScript_get_PrivateData(This,pvData) \
  1462. (This)->lpVtbl -> get_PrivateData(This,pvData)
  1463. #define IGlobalMTScript_put_PrivateData(This,vData) \
  1464. (This)->lpVtbl -> put_PrivateData(This,vData)
  1465. #define IGlobalMTScript_ExitProcess(This) \
  1466. (This)->lpVtbl -> ExitProcess(This)
  1467. #define IGlobalMTScript_Restart(This) \
  1468. (This)->lpVtbl -> Restart(This)
  1469. #define IGlobalMTScript_get_LocalMachine(This,pbstrName) \
  1470. (This)->lpVtbl -> get_LocalMachine(This,pbstrName)
  1471. #define IGlobalMTScript_get_Identity(This,pbstrIdentity) \
  1472. (This)->lpVtbl -> get_Identity(This,pbstrIdentity)
  1473. #define IGlobalMTScript_Include(This,bstrPath) \
  1474. (This)->lpVtbl -> Include(This,bstrPath)
  1475. #define IGlobalMTScript_CallScript(This,Path,Param) \
  1476. (This)->lpVtbl -> CallScript(This,Path,Param)
  1477. #define IGlobalMTScript_SpawnScript(This,Path,Param) \
  1478. (This)->lpVtbl -> SpawnScript(This,Path,Param)
  1479. #define IGlobalMTScript_get_ScriptParam(This,Param) \
  1480. (This)->lpVtbl -> get_ScriptParam(This,Param)
  1481. #define IGlobalMTScript_get_ScriptPath(This,pbstrPath) \
  1482. (This)->lpVtbl -> get_ScriptPath(This,pbstrPath)
  1483. #define IGlobalMTScript_CallExternal(This,bstrDLLName,bstrFunctionName,pParam,pdwRetVal) \
  1484. (This)->lpVtbl -> CallExternal(This,bstrDLLName,bstrFunctionName,pParam,pdwRetVal)
  1485. #define IGlobalMTScript_ResetSync(This,bstrName) \
  1486. (This)->lpVtbl -> ResetSync(This,bstrName)
  1487. #define IGlobalMTScript_WaitForSync(This,bstrName,nTimeout,pfSignaled) \
  1488. (This)->lpVtbl -> WaitForSync(This,bstrName,nTimeout,pfSignaled)
  1489. #define IGlobalMTScript_WaitForMultipleSyncs(This,bstrNameList,fWaitForAll,nTimeout,plSignal) \
  1490. (This)->lpVtbl -> WaitForMultipleSyncs(This,bstrNameList,fWaitForAll,nTimeout,plSignal)
  1491. #define IGlobalMTScript_SignalThreadSync(This,bstrName) \
  1492. (This)->lpVtbl -> SignalThreadSync(This,bstrName)
  1493. #define IGlobalMTScript_TakeThreadLock(This,bstrName) \
  1494. (This)->lpVtbl -> TakeThreadLock(This,bstrName)
  1495. #define IGlobalMTScript_ReleaseThreadLock(This,bstrName) \
  1496. (This)->lpVtbl -> ReleaseThreadLock(This,bstrName)
  1497. #define IGlobalMTScript_DoEvents(This) \
  1498. (This)->lpVtbl -> DoEvents(This)
  1499. #define IGlobalMTScript_MessageBoxTimeout(This,bstrMessage,cButtons,bstrButtonText,lTimeout,lEventInterval,fCanCancel,fConfirm,plSelected) \
  1500. (This)->lpVtbl -> MessageBoxTimeout(This,bstrMessage,cButtons,bstrButtonText,lTimeout,lEventInterval,fCanCancel,fConfirm,plSelected)
  1501. #define IGlobalMTScript_RunLocalCommand(This,bstrCommand,bstrDir,bstrTitle,fMinimize,fGetOutput,fWait,fNoCrashPopup,fNoEnviron,plProcessID) \
  1502. (This)->lpVtbl -> RunLocalCommand(This,bstrCommand,bstrDir,bstrTitle,fMinimize,fGetOutput,fWait,fNoCrashPopup,fNoEnviron,plProcessID)
  1503. #define IGlobalMTScript_GetLastRunLocalError(This,plErrorCode) \
  1504. (This)->lpVtbl -> GetLastRunLocalError(This,plErrorCode)
  1505. #define IGlobalMTScript_GetProcessOutput(This,lProcessID,pbstrData) \
  1506. (This)->lpVtbl -> GetProcessOutput(This,lProcessID,pbstrData)
  1507. #define IGlobalMTScript_GetProcessExitCode(This,lProcessID,plExitCode) \
  1508. (This)->lpVtbl -> GetProcessExitCode(This,lProcessID,plExitCode)
  1509. #define IGlobalMTScript_TerminateProcess(This,lProcessID) \
  1510. (This)->lpVtbl -> TerminateProcess(This,lProcessID)
  1511. #define IGlobalMTScript_SendToProcess(This,lProcessID,bstrType,bstrData,plReturn) \
  1512. (This)->lpVtbl -> SendToProcess(This,lProcessID,bstrType,bstrData,plReturn)
  1513. #define IGlobalMTScript_SendMail(This,bstrTo,bstrCC,bstrBCC,bstrSubject,bstrMessage,bstrAttachmentPath,bstrUsername,bstrPassword,plErrorCode) \
  1514. (This)->lpVtbl -> SendMail(This,bstrTo,bstrCC,bstrBCC,bstrSubject,bstrMessage,bstrAttachmentPath,bstrUsername,bstrPassword,plErrorCode)
  1515. #define IGlobalMTScript_SendSMTPMail(This,bstrFrom,bstrTo,bstrCC,bstrSubject,bstrMessage,bstrSMTPHost,plErrorCode) \
  1516. (This)->lpVtbl -> SendSMTPMail(This,bstrFrom,bstrTo,bstrCC,bstrSubject,bstrMessage,bstrSMTPHost,plErrorCode)
  1517. #define IGlobalMTScript_ASSERT(This,Assertion,Message) \
  1518. (This)->lpVtbl -> ASSERT(This,Assertion,Message)
  1519. #define IGlobalMTScript_OUTPUTDEBUGSTRING(This,Message) \
  1520. (This)->lpVtbl -> OUTPUTDEBUGSTRING(This,Message)
  1521. #define IGlobalMTScript_UnevalString(This,bstrIn,bstrOut) \
  1522. (This)->lpVtbl -> UnevalString(This,bstrIn,bstrOut)
  1523. #define IGlobalMTScript_CopyOrAppendFile(This,bstrSrc,bstrDst,nSrcOffset,nSrcLength,fAppend,nSrcFilePosition) \
  1524. (This)->lpVtbl -> CopyOrAppendFile(This,bstrSrc,bstrDst,nSrcOffset,nSrcLength,fAppend,nSrcFilePosition)
  1525. #define IGlobalMTScript_Sleep(This,nTimeout) \
  1526. (This)->lpVtbl -> Sleep(This,nTimeout)
  1527. #define IGlobalMTScript_Reboot(This) \
  1528. (This)->lpVtbl -> Reboot(This)
  1529. #define IGlobalMTScript_NotifyScript(This,bstrEvent,vData) \
  1530. (This)->lpVtbl -> NotifyScript(This,bstrEvent,vData)
  1531. #define IGlobalMTScript_RegisterEventSource(This,pDisp,bstrProgID) \
  1532. (This)->lpVtbl -> RegisterEventSource(This,pDisp,bstrProgID)
  1533. #define IGlobalMTScript_UnregisterEventSource(This,pDisp) \
  1534. (This)->lpVtbl -> UnregisterEventSource(This,pDisp)
  1535. #define IGlobalMTScript_get_StatusValue(This,nIndex,pnStatus) \
  1536. (This)->lpVtbl -> get_StatusValue(This,nIndex,pnStatus)
  1537. #define IGlobalMTScript_put_StatusValue(This,nIndex,nStatus) \
  1538. (This)->lpVtbl -> put_StatusValue(This,nIndex,nStatus)
  1539. #endif /* COBJMACROS */
  1540. #endif /* C style interface */
  1541. /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IGlobalMTScript_get_HostMajorVer_Proxy(
  1542. IGlobalMTScript * This,
  1543. /* [retval][out] */ long *majorver);
  1544. void __RPC_STUB IGlobalMTScript_get_HostMajorVer_Stub(
  1545. IRpcStubBuffer *This,
  1546. IRpcChannelBuffer *_pRpcChannelBuffer,
  1547. PRPC_MESSAGE _pRpcMessage,
  1548. DWORD *_pdwStubPhase);
  1549. /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IGlobalMTScript_get_HostMinorVer_Proxy(
  1550. IGlobalMTScript * This,
  1551. /* [retval][out] */ long *minorver);
  1552. void __RPC_STUB IGlobalMTScript_get_HostMinorVer_Stub(
  1553. IRpcStubBuffer *This,
  1554. IRpcChannelBuffer *_pRpcChannelBuffer,
  1555. PRPC_MESSAGE _pRpcMessage,
  1556. DWORD *_pdwStubPhase);
  1557. /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IGlobalMTScript_get_PublicData_Proxy(
  1558. IGlobalMTScript * This,
  1559. /* [retval][out] */ VARIANT *pvData);
  1560. void __RPC_STUB IGlobalMTScript_get_PublicData_Stub(
  1561. IRpcStubBuffer *This,
  1562. IRpcChannelBuffer *_pRpcChannelBuffer,
  1563. PRPC_MESSAGE _pRpcMessage,
  1564. DWORD *_pdwStubPhase);
  1565. /* [propput] */ HRESULT STDMETHODCALLTYPE IGlobalMTScript_put_PublicData_Proxy(
  1566. IGlobalMTScript * This,
  1567. /* [in] */ VARIANT vData);
  1568. void __RPC_STUB IGlobalMTScript_put_PublicData_Stub(
  1569. IRpcStubBuffer *This,
  1570. IRpcChannelBuffer *_pRpcChannelBuffer,
  1571. PRPC_MESSAGE _pRpcMessage,
  1572. DWORD *_pdwStubPhase);
  1573. /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IGlobalMTScript_get_PrivateData_Proxy(
  1574. IGlobalMTScript * This,
  1575. /* [retval][out] */ VARIANT *pvData);
  1576. void __RPC_STUB IGlobalMTScript_get_PrivateData_Stub(
  1577. IRpcStubBuffer *This,
  1578. IRpcChannelBuffer *_pRpcChannelBuffer,
  1579. PRPC_MESSAGE _pRpcMessage,
  1580. DWORD *_pdwStubPhase);
  1581. /* [propput] */ HRESULT STDMETHODCALLTYPE IGlobalMTScript_put_PrivateData_Proxy(
  1582. IGlobalMTScript * This,
  1583. /* [in] */ VARIANT vData);
  1584. void __RPC_STUB IGlobalMTScript_put_PrivateData_Stub(
  1585. IRpcStubBuffer *This,
  1586. IRpcChannelBuffer *_pRpcChannelBuffer,
  1587. PRPC_MESSAGE _pRpcMessage,
  1588. DWORD *_pdwStubPhase);
  1589. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IGlobalMTScript_ExitProcess_Proxy(
  1590. IGlobalMTScript * This);
  1591. void __RPC_STUB IGlobalMTScript_ExitProcess_Stub(
  1592. IRpcStubBuffer *This,
  1593. IRpcChannelBuffer *_pRpcChannelBuffer,
  1594. PRPC_MESSAGE _pRpcMessage,
  1595. DWORD *_pdwStubPhase);
  1596. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IGlobalMTScript_Restart_Proxy(
  1597. IGlobalMTScript * This);
  1598. void __RPC_STUB IGlobalMTScript_Restart_Stub(
  1599. IRpcStubBuffer *This,
  1600. IRpcChannelBuffer *_pRpcChannelBuffer,
  1601. PRPC_MESSAGE _pRpcMessage,
  1602. DWORD *_pdwStubPhase);
  1603. /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IGlobalMTScript_get_LocalMachine_Proxy(
  1604. IGlobalMTScript * This,
  1605. /* [retval][out] */ BSTR *pbstrName);
  1606. void __RPC_STUB IGlobalMTScript_get_LocalMachine_Stub(
  1607. IRpcStubBuffer *This,
  1608. IRpcChannelBuffer *_pRpcChannelBuffer,
  1609. PRPC_MESSAGE _pRpcMessage,
  1610. DWORD *_pdwStubPhase);
  1611. /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IGlobalMTScript_get_Identity_Proxy(
  1612. IGlobalMTScript * This,
  1613. /* [retval][out] */ BSTR *pbstrIdentity);
  1614. void __RPC_STUB IGlobalMTScript_get_Identity_Stub(
  1615. IRpcStubBuffer *This,
  1616. IRpcChannelBuffer *_pRpcChannelBuffer,
  1617. PRPC_MESSAGE _pRpcMessage,
  1618. DWORD *_pdwStubPhase);
  1619. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IGlobalMTScript_Include_Proxy(
  1620. IGlobalMTScript * This,
  1621. BSTR bstrPath);
  1622. void __RPC_STUB IGlobalMTScript_Include_Stub(
  1623. IRpcStubBuffer *This,
  1624. IRpcChannelBuffer *_pRpcChannelBuffer,
  1625. PRPC_MESSAGE _pRpcMessage,
  1626. DWORD *_pdwStubPhase);
  1627. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IGlobalMTScript_CallScript_Proxy(
  1628. IGlobalMTScript * This,
  1629. /* [in] */ BSTR Path,
  1630. /* [in][optional] */ VARIANT *Param);
  1631. void __RPC_STUB IGlobalMTScript_CallScript_Stub(
  1632. IRpcStubBuffer *This,
  1633. IRpcChannelBuffer *_pRpcChannelBuffer,
  1634. PRPC_MESSAGE _pRpcMessage,
  1635. DWORD *_pdwStubPhase);
  1636. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IGlobalMTScript_SpawnScript_Proxy(
  1637. IGlobalMTScript * This,
  1638. /* [in] */ BSTR Path,
  1639. /* [in][optional] */ VARIANT *Param);
  1640. void __RPC_STUB IGlobalMTScript_SpawnScript_Stub(
  1641. IRpcStubBuffer *This,
  1642. IRpcChannelBuffer *_pRpcChannelBuffer,
  1643. PRPC_MESSAGE _pRpcMessage,
  1644. DWORD *_pdwStubPhase);
  1645. /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IGlobalMTScript_get_ScriptParam_Proxy(
  1646. IGlobalMTScript * This,
  1647. /* [retval][out] */ VARIANT *Param);
  1648. void __RPC_STUB IGlobalMTScript_get_ScriptParam_Stub(
  1649. IRpcStubBuffer *This,
  1650. IRpcChannelBuffer *_pRpcChannelBuffer,
  1651. PRPC_MESSAGE _pRpcMessage,
  1652. DWORD *_pdwStubPhase);
  1653. /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IGlobalMTScript_get_ScriptPath_Proxy(
  1654. IGlobalMTScript * This,
  1655. /* [retval][out] */ BSTR *pbstrPath);
  1656. void __RPC_STUB IGlobalMTScript_get_ScriptPath_Stub(
  1657. IRpcStubBuffer *This,
  1658. IRpcChannelBuffer *_pRpcChannelBuffer,
  1659. PRPC_MESSAGE _pRpcMessage,
  1660. DWORD *_pdwStubPhase);
  1661. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IGlobalMTScript_CallExternal_Proxy(
  1662. IGlobalMTScript * This,
  1663. /* [in] */ BSTR bstrDLLName,
  1664. /* [in] */ BSTR bstrFunctionName,
  1665. /* [optional][in] */ VARIANT *pParam,
  1666. /* [retval][out] */ long *pdwRetVal);
  1667. void __RPC_STUB IGlobalMTScript_CallExternal_Stub(
  1668. IRpcStubBuffer *This,
  1669. IRpcChannelBuffer *_pRpcChannelBuffer,
  1670. PRPC_MESSAGE _pRpcMessage,
  1671. DWORD *_pdwStubPhase);
  1672. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IGlobalMTScript_ResetSync_Proxy(
  1673. IGlobalMTScript * This,
  1674. /* [in] */ const BSTR bstrName);
  1675. void __RPC_STUB IGlobalMTScript_ResetSync_Stub(
  1676. IRpcStubBuffer *This,
  1677. IRpcChannelBuffer *_pRpcChannelBuffer,
  1678. PRPC_MESSAGE _pRpcMessage,
  1679. DWORD *_pdwStubPhase);
  1680. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IGlobalMTScript_WaitForSync_Proxy(
  1681. IGlobalMTScript * This,
  1682. /* [in] */ BSTR bstrName,
  1683. /* [in] */ long nTimeout,
  1684. /* [retval][out] */ VARIANT_BOOL *pfSignaled);
  1685. void __RPC_STUB IGlobalMTScript_WaitForSync_Stub(
  1686. IRpcStubBuffer *This,
  1687. IRpcChannelBuffer *_pRpcChannelBuffer,
  1688. PRPC_MESSAGE _pRpcMessage,
  1689. DWORD *_pdwStubPhase);
  1690. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IGlobalMTScript_WaitForMultipleSyncs_Proxy(
  1691. IGlobalMTScript * This,
  1692. /* [in] */ const BSTR bstrNameList,
  1693. /* [in] */ VARIANT_BOOL fWaitForAll,
  1694. /* [in] */ long nTimeout,
  1695. /* [retval][out] */ long *plSignal);
  1696. void __RPC_STUB IGlobalMTScript_WaitForMultipleSyncs_Stub(
  1697. IRpcStubBuffer *This,
  1698. IRpcChannelBuffer *_pRpcChannelBuffer,
  1699. PRPC_MESSAGE _pRpcMessage,
  1700. DWORD *_pdwStubPhase);
  1701. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IGlobalMTScript_SignalThreadSync_Proxy(
  1702. IGlobalMTScript * This,
  1703. /* [in] */ BSTR bstrName);
  1704. void __RPC_STUB IGlobalMTScript_SignalThreadSync_Stub(
  1705. IRpcStubBuffer *This,
  1706. IRpcChannelBuffer *_pRpcChannelBuffer,
  1707. PRPC_MESSAGE _pRpcMessage,
  1708. DWORD *_pdwStubPhase);
  1709. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IGlobalMTScript_TakeThreadLock_Proxy(
  1710. IGlobalMTScript * This,
  1711. /* [in] */ BSTR bstrName);
  1712. void __RPC_STUB IGlobalMTScript_TakeThreadLock_Stub(
  1713. IRpcStubBuffer *This,
  1714. IRpcChannelBuffer *_pRpcChannelBuffer,
  1715. PRPC_MESSAGE _pRpcMessage,
  1716. DWORD *_pdwStubPhase);
  1717. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IGlobalMTScript_ReleaseThreadLock_Proxy(
  1718. IGlobalMTScript * This,
  1719. /* [in] */ BSTR bstrName);
  1720. void __RPC_STUB IGlobalMTScript_ReleaseThreadLock_Stub(
  1721. IRpcStubBuffer *This,
  1722. IRpcChannelBuffer *_pRpcChannelBuffer,
  1723. PRPC_MESSAGE _pRpcMessage,
  1724. DWORD *_pdwStubPhase);
  1725. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IGlobalMTScript_DoEvents_Proxy(
  1726. IGlobalMTScript * This);
  1727. void __RPC_STUB IGlobalMTScript_DoEvents_Stub(
  1728. IRpcStubBuffer *This,
  1729. IRpcChannelBuffer *_pRpcChannelBuffer,
  1730. PRPC_MESSAGE _pRpcMessage,
  1731. DWORD *_pdwStubPhase);
  1732. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IGlobalMTScript_MessageBoxTimeout_Proxy(
  1733. IGlobalMTScript * This,
  1734. /* [in] */ BSTR bstrMessage,
  1735. /* [in] */ long cButtons,
  1736. /* [in] */ BSTR bstrButtonText,
  1737. /* [in] */ long lTimeout,
  1738. /* [in] */ long lEventInterval,
  1739. /* [in] */ VARIANT_BOOL fCanCancel,
  1740. /* [in] */ VARIANT_BOOL fConfirm,
  1741. /* [retval][out] */ long *plSelected);
  1742. void __RPC_STUB IGlobalMTScript_MessageBoxTimeout_Stub(
  1743. IRpcStubBuffer *This,
  1744. IRpcChannelBuffer *_pRpcChannelBuffer,
  1745. PRPC_MESSAGE _pRpcMessage,
  1746. DWORD *_pdwStubPhase);
  1747. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IGlobalMTScript_RunLocalCommand_Proxy(
  1748. IGlobalMTScript * This,
  1749. /* [in] */ BSTR bstrCommand,
  1750. /* [in] */ BSTR bstrDir,
  1751. /* [defaultvalue][in] */ BSTR bstrTitle,
  1752. /* [defaultvalue][in] */ VARIANT_BOOL fMinimize,
  1753. /* [defaultvalue][in] */ VARIANT_BOOL fGetOutput,
  1754. /* [defaultvalue][in] */ VARIANT_BOOL fWait,
  1755. /* [defaultvalue][in] */ VARIANT_BOOL fNoCrashPopup,
  1756. /* [defaultvalue][in] */ VARIANT_BOOL fNoEnviron,
  1757. /* [retval][out] */ long *plProcessID);
  1758. void __RPC_STUB IGlobalMTScript_RunLocalCommand_Stub(
  1759. IRpcStubBuffer *This,
  1760. IRpcChannelBuffer *_pRpcChannelBuffer,
  1761. PRPC_MESSAGE _pRpcMessage,
  1762. DWORD *_pdwStubPhase);
  1763. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IGlobalMTScript_GetLastRunLocalError_Proxy(
  1764. IGlobalMTScript * This,
  1765. /* [retval][out] */ long *plErrorCode);
  1766. void __RPC_STUB IGlobalMTScript_GetLastRunLocalError_Stub(
  1767. IRpcStubBuffer *This,
  1768. IRpcChannelBuffer *_pRpcChannelBuffer,
  1769. PRPC_MESSAGE _pRpcMessage,
  1770. DWORD *_pdwStubPhase);
  1771. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IGlobalMTScript_GetProcessOutput_Proxy(
  1772. IGlobalMTScript * This,
  1773. /* [in] */ long lProcessID,
  1774. /* [retval][out] */ BSTR *pbstrData);
  1775. void __RPC_STUB IGlobalMTScript_GetProcessOutput_Stub(
  1776. IRpcStubBuffer *This,
  1777. IRpcChannelBuffer *_pRpcChannelBuffer,
  1778. PRPC_MESSAGE _pRpcMessage,
  1779. DWORD *_pdwStubPhase);
  1780. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IGlobalMTScript_GetProcessExitCode_Proxy(
  1781. IGlobalMTScript * This,
  1782. /* [in] */ long lProcessID,
  1783. /* [retval][out] */ long *plExitCode);
  1784. void __RPC_STUB IGlobalMTScript_GetProcessExitCode_Stub(
  1785. IRpcStubBuffer *This,
  1786. IRpcChannelBuffer *_pRpcChannelBuffer,
  1787. PRPC_MESSAGE _pRpcMessage,
  1788. DWORD *_pdwStubPhase);
  1789. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IGlobalMTScript_TerminateProcess_Proxy(
  1790. IGlobalMTScript * This,
  1791. /* [in] */ long lProcessID);
  1792. void __RPC_STUB IGlobalMTScript_TerminateProcess_Stub(
  1793. IRpcStubBuffer *This,
  1794. IRpcChannelBuffer *_pRpcChannelBuffer,
  1795. PRPC_MESSAGE _pRpcMessage,
  1796. DWORD *_pdwStubPhase);
  1797. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IGlobalMTScript_SendToProcess_Proxy(
  1798. IGlobalMTScript * This,
  1799. /* [in] */ long lProcessID,
  1800. /* [in] */ BSTR bstrType,
  1801. /* [in] */ BSTR bstrData,
  1802. /* [retval][out] */ long *plReturn);
  1803. void __RPC_STUB IGlobalMTScript_SendToProcess_Stub(
  1804. IRpcStubBuffer *This,
  1805. IRpcChannelBuffer *_pRpcChannelBuffer,
  1806. PRPC_MESSAGE _pRpcMessage,
  1807. DWORD *_pdwStubPhase);
  1808. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IGlobalMTScript_SendMail_Proxy(
  1809. IGlobalMTScript * This,
  1810. /* [in] */ BSTR bstrTo,
  1811. /* [in] */ BSTR bstrCC,
  1812. /* [in] */ BSTR bstrBCC,
  1813. /* [in] */ BSTR bstrSubject,
  1814. /* [in] */ BSTR bstrMessage,
  1815. /* [defaultvalue][in] */ BSTR bstrAttachmentPath,
  1816. /* [defaultvalue][in] */ BSTR bstrUsername,
  1817. /* [defaultvalue][in] */ BSTR bstrPassword,
  1818. /* [retval][out] */ long *plErrorCode);
  1819. void __RPC_STUB IGlobalMTScript_SendMail_Stub(
  1820. IRpcStubBuffer *This,
  1821. IRpcChannelBuffer *_pRpcChannelBuffer,
  1822. PRPC_MESSAGE _pRpcMessage,
  1823. DWORD *_pdwStubPhase);
  1824. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IGlobalMTScript_SendSMTPMail_Proxy(
  1825. IGlobalMTScript * This,
  1826. /* [in] */ BSTR bstrFrom,
  1827. /* [in] */ BSTR bstrTo,
  1828. /* [in] */ BSTR bstrCC,
  1829. /* [in] */ BSTR bstrSubject,
  1830. /* [in] */ BSTR bstrMessage,
  1831. /* [in] */ BSTR bstrSMTPHost,
  1832. /* [retval][out] */ long *plErrorCode);
  1833. void __RPC_STUB IGlobalMTScript_SendSMTPMail_Stub(
  1834. IRpcStubBuffer *This,
  1835. IRpcChannelBuffer *_pRpcChannelBuffer,
  1836. PRPC_MESSAGE _pRpcMessage,
  1837. DWORD *_pdwStubPhase);
  1838. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IGlobalMTScript_ASSERT_Proxy(
  1839. IGlobalMTScript * This,
  1840. /* [in] */ VARIANT_BOOL Assertion,
  1841. /* [in] */ BSTR Message);
  1842. void __RPC_STUB IGlobalMTScript_ASSERT_Stub(
  1843. IRpcStubBuffer *This,
  1844. IRpcChannelBuffer *_pRpcChannelBuffer,
  1845. PRPC_MESSAGE _pRpcMessage,
  1846. DWORD *_pdwStubPhase);
  1847. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IGlobalMTScript_OUTPUTDEBUGSTRING_Proxy(
  1848. IGlobalMTScript * This,
  1849. /* [in] */ BSTR Message);
  1850. void __RPC_STUB IGlobalMTScript_OUTPUTDEBUGSTRING_Stub(
  1851. IRpcStubBuffer *This,
  1852. IRpcChannelBuffer *_pRpcChannelBuffer,
  1853. PRPC_MESSAGE _pRpcMessage,
  1854. DWORD *_pdwStubPhase);
  1855. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IGlobalMTScript_UnevalString_Proxy(
  1856. IGlobalMTScript * This,
  1857. /* [in] */ BSTR bstrIn,
  1858. /* [retval][out] */ BSTR *bstrOut);
  1859. void __RPC_STUB IGlobalMTScript_UnevalString_Stub(
  1860. IRpcStubBuffer *This,
  1861. IRpcChannelBuffer *_pRpcChannelBuffer,
  1862. PRPC_MESSAGE _pRpcMessage,
  1863. DWORD *_pdwStubPhase);
  1864. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IGlobalMTScript_CopyOrAppendFile_Proxy(
  1865. IGlobalMTScript * This,
  1866. /* [in] */ BSTR bstrSrc,
  1867. /* [in] */ BSTR bstrDst,
  1868. /* [in] */ long nSrcOffset,
  1869. /* [in] */ long nSrcLength,
  1870. /* [in] */ VARIANT_BOOL fAppend,
  1871. /* [retval][out] */ long *nSrcFilePosition);
  1872. void __RPC_STUB IGlobalMTScript_CopyOrAppendFile_Stub(
  1873. IRpcStubBuffer *This,
  1874. IRpcChannelBuffer *_pRpcChannelBuffer,
  1875. PRPC_MESSAGE _pRpcMessage,
  1876. DWORD *_pdwStubPhase);
  1877. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IGlobalMTScript_Sleep_Proxy(
  1878. IGlobalMTScript * This,
  1879. /* [in] */ int nTimeout);
  1880. void __RPC_STUB IGlobalMTScript_Sleep_Stub(
  1881. IRpcStubBuffer *This,
  1882. IRpcChannelBuffer *_pRpcChannelBuffer,
  1883. PRPC_MESSAGE _pRpcMessage,
  1884. DWORD *_pdwStubPhase);
  1885. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IGlobalMTScript_Reboot_Proxy(
  1886. IGlobalMTScript * This);
  1887. void __RPC_STUB IGlobalMTScript_Reboot_Stub(
  1888. IRpcStubBuffer *This,
  1889. IRpcChannelBuffer *_pRpcChannelBuffer,
  1890. PRPC_MESSAGE _pRpcMessage,
  1891. DWORD *_pdwStubPhase);
  1892. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IGlobalMTScript_NotifyScript_Proxy(
  1893. IGlobalMTScript * This,
  1894. BSTR bstrEvent,
  1895. VARIANT vData);
  1896. void __RPC_STUB IGlobalMTScript_NotifyScript_Stub(
  1897. IRpcStubBuffer *This,
  1898. IRpcChannelBuffer *_pRpcChannelBuffer,
  1899. PRPC_MESSAGE _pRpcMessage,
  1900. DWORD *_pdwStubPhase);
  1901. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IGlobalMTScript_RegisterEventSource_Proxy(
  1902. IGlobalMTScript * This,
  1903. /* [in] */ IDispatch *pDisp,
  1904. /* [defaultvalue][in] */ BSTR bstrProgID);
  1905. void __RPC_STUB IGlobalMTScript_RegisterEventSource_Stub(
  1906. IRpcStubBuffer *This,
  1907. IRpcChannelBuffer *_pRpcChannelBuffer,
  1908. PRPC_MESSAGE _pRpcMessage,
  1909. DWORD *_pdwStubPhase);
  1910. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IGlobalMTScript_UnregisterEventSource_Proxy(
  1911. IGlobalMTScript * This,
  1912. /* [in] */ IDispatch *pDisp);
  1913. void __RPC_STUB IGlobalMTScript_UnregisterEventSource_Stub(
  1914. IRpcStubBuffer *This,
  1915. IRpcChannelBuffer *_pRpcChannelBuffer,
  1916. PRPC_MESSAGE _pRpcMessage,
  1917. DWORD *_pdwStubPhase);
  1918. /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IGlobalMTScript_get_StatusValue_Proxy(
  1919. IGlobalMTScript * This,
  1920. /* [in] */ long nIndex,
  1921. /* [retval][out] */ long *pnStatus);
  1922. void __RPC_STUB IGlobalMTScript_get_StatusValue_Stub(
  1923. IRpcStubBuffer *This,
  1924. IRpcChannelBuffer *_pRpcChannelBuffer,
  1925. PRPC_MESSAGE _pRpcMessage,
  1926. DWORD *_pdwStubPhase);
  1927. /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE IGlobalMTScript_put_StatusValue_Proxy(
  1928. IGlobalMTScript * This,
  1929. /* [in] */ long nIndex,
  1930. /* [in] */ long nStatus);
  1931. void __RPC_STUB IGlobalMTScript_put_StatusValue_Stub(
  1932. IRpcStubBuffer *This,
  1933. IRpcChannelBuffer *_pRpcChannelBuffer,
  1934. PRPC_MESSAGE _pRpcMessage,
  1935. DWORD *_pdwStubPhase);
  1936. #endif /* __IGlobalMTScript_INTERFACE_DEFINED__ */
  1937. #ifndef __DLocalMTScriptEvents_DISPINTERFACE_DEFINED__
  1938. #define __DLocalMTScriptEvents_DISPINTERFACE_DEFINED__
  1939. /* dispinterface DLocalMTScriptEvents */
  1940. /* [uuid] */
  1941. EXTERN_C const IID DIID_DLocalMTScriptEvents;
  1942. #if defined(__cplusplus) && !defined(CINTERFACE)
  1943. MIDL_INTERFACE("854c316a-c854-4a77-b189-606859e4391b")
  1944. DLocalMTScriptEvents : public IDispatch
  1945. {
  1946. };
  1947. #else /* C style interface */
  1948. typedef struct DLocalMTScriptEventsVtbl
  1949. {
  1950. BEGIN_INTERFACE
  1951. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1952. DLocalMTScriptEvents * This,
  1953. /* [in] */ REFIID riid,
  1954. /* [iid_is][out] */ void **ppvObject);
  1955. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1956. DLocalMTScriptEvents * This);
  1957. ULONG ( STDMETHODCALLTYPE *Release )(
  1958. DLocalMTScriptEvents * This);
  1959. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  1960. DLocalMTScriptEvents * This,
  1961. /* [out] */ UINT *pctinfo);
  1962. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  1963. DLocalMTScriptEvents * This,
  1964. /* [in] */ UINT iTInfo,
  1965. /* [in] */ LCID lcid,
  1966. /* [out] */ ITypeInfo **ppTInfo);
  1967. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  1968. DLocalMTScriptEvents * This,
  1969. /* [in] */ REFIID riid,
  1970. /* [size_is][in] */ LPOLESTR *rgszNames,
  1971. /* [in] */ UINT cNames,
  1972. /* [in] */ LCID lcid,
  1973. /* [size_is][out] */ DISPID *rgDispId);
  1974. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  1975. DLocalMTScriptEvents * This,
  1976. /* [in] */ DISPID dispIdMember,
  1977. /* [in] */ REFIID riid,
  1978. /* [in] */ LCID lcid,
  1979. /* [in] */ WORD wFlags,
  1980. /* [out][in] */ DISPPARAMS *pDispParams,
  1981. /* [out] */ VARIANT *pVarResult,
  1982. /* [out] */ EXCEPINFO *pExcepInfo,
  1983. /* [out] */ UINT *puArgErr);
  1984. END_INTERFACE
  1985. } DLocalMTScriptEventsVtbl;
  1986. interface DLocalMTScriptEvents
  1987. {
  1988. CONST_VTBL struct DLocalMTScriptEventsVtbl *lpVtbl;
  1989. };
  1990. #ifdef COBJMACROS
  1991. #define DLocalMTScriptEvents_QueryInterface(This,riid,ppvObject) \
  1992. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1993. #define DLocalMTScriptEvents_AddRef(This) \
  1994. (This)->lpVtbl -> AddRef(This)
  1995. #define DLocalMTScriptEvents_Release(This) \
  1996. (This)->lpVtbl -> Release(This)
  1997. #define DLocalMTScriptEvents_GetTypeInfoCount(This,pctinfo) \
  1998. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1999. #define DLocalMTScriptEvents_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  2000. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2001. #define DLocalMTScriptEvents_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  2002. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2003. #define DLocalMTScriptEvents_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  2004. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2005. #endif /* COBJMACROS */
  2006. #endif /* C style interface */
  2007. #endif /* __DLocalMTScriptEvents_DISPINTERFACE_DEFINED__ */
  2008. #ifndef __DRemoteMTScriptEvents_DISPINTERFACE_DEFINED__
  2009. #define __DRemoteMTScriptEvents_DISPINTERFACE_DEFINED__
  2010. /* dispinterface DRemoteMTScriptEvents */
  2011. /* [uuid] */
  2012. EXTERN_C const IID DIID_DRemoteMTScriptEvents;
  2013. #if defined(__cplusplus) && !defined(CINTERFACE)
  2014. MIDL_INTERFACE("854c3170-c854-4a77-b189-606859e4391b")
  2015. DRemoteMTScriptEvents : public IDispatch
  2016. {
  2017. };
  2018. #else /* C style interface */
  2019. typedef struct DRemoteMTScriptEventsVtbl
  2020. {
  2021. BEGIN_INTERFACE
  2022. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  2023. DRemoteMTScriptEvents * This,
  2024. /* [in] */ REFIID riid,
  2025. /* [iid_is][out] */ void **ppvObject);
  2026. ULONG ( STDMETHODCALLTYPE *AddRef )(
  2027. DRemoteMTScriptEvents * This);
  2028. ULONG ( STDMETHODCALLTYPE *Release )(
  2029. DRemoteMTScriptEvents * This);
  2030. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  2031. DRemoteMTScriptEvents * This,
  2032. /* [out] */ UINT *pctinfo);
  2033. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  2034. DRemoteMTScriptEvents * This,
  2035. /* [in] */ UINT iTInfo,
  2036. /* [in] */ LCID lcid,
  2037. /* [out] */ ITypeInfo **ppTInfo);
  2038. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  2039. DRemoteMTScriptEvents * This,
  2040. /* [in] */ REFIID riid,
  2041. /* [size_is][in] */ LPOLESTR *rgszNames,
  2042. /* [in] */ UINT cNames,
  2043. /* [in] */ LCID lcid,
  2044. /* [size_is][out] */ DISPID *rgDispId);
  2045. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  2046. DRemoteMTScriptEvents * This,
  2047. /* [in] */ DISPID dispIdMember,
  2048. /* [in] */ REFIID riid,
  2049. /* [in] */ LCID lcid,
  2050. /* [in] */ WORD wFlags,
  2051. /* [out][in] */ DISPPARAMS *pDispParams,
  2052. /* [out] */ VARIANT *pVarResult,
  2053. /* [out] */ EXCEPINFO *pExcepInfo,
  2054. /* [out] */ UINT *puArgErr);
  2055. END_INTERFACE
  2056. } DRemoteMTScriptEventsVtbl;
  2057. interface DRemoteMTScriptEvents
  2058. {
  2059. CONST_VTBL struct DRemoteMTScriptEventsVtbl *lpVtbl;
  2060. };
  2061. #ifdef COBJMACROS
  2062. #define DRemoteMTScriptEvents_QueryInterface(This,riid,ppvObject) \
  2063. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2064. #define DRemoteMTScriptEvents_AddRef(This) \
  2065. (This)->lpVtbl -> AddRef(This)
  2066. #define DRemoteMTScriptEvents_Release(This) \
  2067. (This)->lpVtbl -> Release(This)
  2068. #define DRemoteMTScriptEvents_GetTypeInfoCount(This,pctinfo) \
  2069. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  2070. #define DRemoteMTScriptEvents_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  2071. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2072. #define DRemoteMTScriptEvents_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  2073. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2074. #define DRemoteMTScriptEvents_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  2075. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2076. #endif /* COBJMACROS */
  2077. #endif /* C style interface */
  2078. #endif /* __DRemoteMTScriptEvents_DISPINTERFACE_DEFINED__ */
  2079. EXTERN_C const CLSID CLSID_LocalMTScript;
  2080. #ifdef __cplusplus
  2081. class DECLSPEC_UUID("854c316e-c854-4a77-b189-606859e4391b")
  2082. LocalMTScript;
  2083. #endif
  2084. EXTERN_C const CLSID CLSID_RemoteMTScript;
  2085. #ifdef __cplusplus
  2086. class DECLSPEC_UUID("854c316d-c854-4a77-b189-606859e4391b")
  2087. RemoteMTScript;
  2088. #endif
  2089. EXTERN_C const CLSID CLSID_RemoteMTScriptProxy;
  2090. #ifdef __cplusplus
  2091. class DECLSPEC_UUID("854c3182-c854-4a77-b189-606859e4391b")
  2092. RemoteMTScriptProxy;
  2093. #endif
  2094. #endif /* __MTScriptEngine_LIBRARY_DEFINED__ */
  2095. /* Additional Prototypes for ALL interfaces */
  2096. /* end of Additional Prototypes */
  2097. #ifdef __cplusplus
  2098. }
  2099. #endif
  2100. #endif