Source code of Windows XP (NT5)
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.

1035 lines
27 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.0347 */
  4. /* Compiler settings for unisrgt.idl:
  5. Oicf, W1, Zp8, env=Win32 (32b run)
  6. protocol : dce , ms_ext, c_ext, oldnames, 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 __unisrgt_h__
  27. #define __unisrgt_h__
  28. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  29. #pragma once
  30. #endif
  31. /* Forward Declarations */
  32. #ifndef __IProcessLock_FWD_DEFINED__
  33. #define __IProcessLock_FWD_DEFINED__
  34. typedef interface IProcessLock IProcessLock;
  35. #endif /* __IProcessLock_FWD_DEFINED__ */
  36. #ifndef __ISurrogateService_FWD_DEFINED__
  37. #define __ISurrogateService_FWD_DEFINED__
  38. typedef interface ISurrogateService ISurrogateService;
  39. #endif /* __ISurrogateService_FWD_DEFINED__ */
  40. #ifndef __ISurrogateService2_FWD_DEFINED__
  41. #define __ISurrogateService2_FWD_DEFINED__
  42. typedef interface ISurrogateService2 ISurrogateService2;
  43. #endif /* __ISurrogateService2_FWD_DEFINED__ */
  44. #ifndef __IPAControl_FWD_DEFINED__
  45. #define __IPAControl_FWD_DEFINED__
  46. typedef interface IPAControl IPAControl;
  47. #endif /* __IPAControl_FWD_DEFINED__ */
  48. #ifndef __IServicesSink_FWD_DEFINED__
  49. #define __IServicesSink_FWD_DEFINED__
  50. typedef interface IServicesSink IServicesSink;
  51. #endif /* __IServicesSink_FWD_DEFINED__ */
  52. /* header files for imported files */
  53. #include "wtypes.h"
  54. #include "objidl.h"
  55. #ifdef __cplusplus
  56. extern "C"{
  57. #endif
  58. void * __RPC_USER MIDL_user_allocate(size_t);
  59. void __RPC_USER MIDL_user_free( void * );
  60. /* interface __MIDL_itf_unisrgt_0000 */
  61. /* [local] */
  62. //+-----------------------------------------------------------------
  63. //
  64. // Microsoft Windows
  65. // Copyright (C) Microsoft Corporation, 1992 - 1998.
  66. //
  67. //------------------------------------------------------------------
  68. typedef
  69. enum tagApplicationType
  70. { ServerApplication = 0,
  71. LibraryApplication = ServerApplication + 1
  72. } ApplicationType;
  73. typedef
  74. enum tagShutdownType
  75. { IdleShutdown = 0,
  76. ForcedShutdown = IdleShutdown + 1
  77. } ShutdownType;
  78. extern RPC_IF_HANDLE __MIDL_itf_unisrgt_0000_ClientIfHandle;
  79. extern RPC_IF_HANDLE __MIDL_itf_unisrgt_0000_ServerIfHandle;
  80. #ifndef __IProcessLock_INTERFACE_DEFINED__
  81. #define __IProcessLock_INTERFACE_DEFINED__
  82. /* interface IProcessLock */
  83. /* [unique][uuid][local][object] */
  84. EXTERN_C const IID IID_IProcessLock;
  85. #if defined(__cplusplus) && !defined(CINTERFACE)
  86. MIDL_INTERFACE("000001d5-0000-0000-C000-000000000046")
  87. IProcessLock : public IUnknown
  88. {
  89. public:
  90. virtual ULONG STDMETHODCALLTYPE AddRefOnProcess( void) = 0;
  91. virtual ULONG STDMETHODCALLTYPE ReleaseRefOnProcess( void) = 0;
  92. };
  93. #else /* C style interface */
  94. typedef struct IProcessLockVtbl
  95. {
  96. BEGIN_INTERFACE
  97. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  98. IProcessLock * This,
  99. /* [in] */ REFIID riid,
  100. /* [iid_is][out] */ void **ppvObject);
  101. ULONG ( STDMETHODCALLTYPE *AddRef )(
  102. IProcessLock * This);
  103. ULONG ( STDMETHODCALLTYPE *Release )(
  104. IProcessLock * This);
  105. ULONG ( STDMETHODCALLTYPE *AddRefOnProcess )(
  106. IProcessLock * This);
  107. ULONG ( STDMETHODCALLTYPE *ReleaseRefOnProcess )(
  108. IProcessLock * This);
  109. END_INTERFACE
  110. } IProcessLockVtbl;
  111. interface IProcessLock
  112. {
  113. CONST_VTBL struct IProcessLockVtbl *lpVtbl;
  114. };
  115. #ifdef COBJMACROS
  116. #define IProcessLock_QueryInterface(This,riid,ppvObject) \
  117. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  118. #define IProcessLock_AddRef(This) \
  119. (This)->lpVtbl -> AddRef(This)
  120. #define IProcessLock_Release(This) \
  121. (This)->lpVtbl -> Release(This)
  122. #define IProcessLock_AddRefOnProcess(This) \
  123. (This)->lpVtbl -> AddRefOnProcess(This)
  124. #define IProcessLock_ReleaseRefOnProcess(This) \
  125. (This)->lpVtbl -> ReleaseRefOnProcess(This)
  126. #endif /* COBJMACROS */
  127. #endif /* C style interface */
  128. ULONG STDMETHODCALLTYPE IProcessLock_AddRefOnProcess_Proxy(
  129. IProcessLock * This);
  130. void __RPC_STUB IProcessLock_AddRefOnProcess_Stub(
  131. IRpcStubBuffer *This,
  132. IRpcChannelBuffer *_pRpcChannelBuffer,
  133. PRPC_MESSAGE _pRpcMessage,
  134. DWORD *_pdwStubPhase);
  135. ULONG STDMETHODCALLTYPE IProcessLock_ReleaseRefOnProcess_Proxy(
  136. IProcessLock * This);
  137. void __RPC_STUB IProcessLock_ReleaseRefOnProcess_Stub(
  138. IRpcStubBuffer *This,
  139. IRpcChannelBuffer *_pRpcChannelBuffer,
  140. PRPC_MESSAGE _pRpcMessage,
  141. DWORD *_pdwStubPhase);
  142. #endif /* __IProcessLock_INTERFACE_DEFINED__ */
  143. #ifndef __ISurrogateService_INTERFACE_DEFINED__
  144. #define __ISurrogateService_INTERFACE_DEFINED__
  145. /* interface ISurrogateService */
  146. /* [unique][uuid][local][object] */
  147. EXTERN_C const IID IID_ISurrogateService;
  148. #if defined(__cplusplus) && !defined(CINTERFACE)
  149. MIDL_INTERFACE("000001d4-0000-0000-C000-000000000046")
  150. ISurrogateService : public IUnknown
  151. {
  152. public:
  153. virtual HRESULT STDMETHODCALLTYPE Init(
  154. /* [in] */ REFGUID rguidProcessID,
  155. /* [in] */ IProcessLock *pProcessLock,
  156. /* [out] */ BOOL *pfApplicationAware) = 0;
  157. virtual HRESULT STDMETHODCALLTYPE ApplicationLaunch(
  158. /* [in] */ REFGUID rguidApplID,
  159. /* [in] */ ApplicationType appType) = 0;
  160. virtual HRESULT STDMETHODCALLTYPE ApplicationFree(
  161. /* [in] */ REFGUID rguidApplID) = 0;
  162. virtual HRESULT STDMETHODCALLTYPE CatalogRefresh(
  163. /* [in] */ ULONG ulReserved) = 0;
  164. virtual HRESULT STDMETHODCALLTYPE ProcessShutdown(
  165. /* [in] */ ShutdownType shutdownType) = 0;
  166. };
  167. #else /* C style interface */
  168. typedef struct ISurrogateServiceVtbl
  169. {
  170. BEGIN_INTERFACE
  171. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  172. ISurrogateService * This,
  173. /* [in] */ REFIID riid,
  174. /* [iid_is][out] */ void **ppvObject);
  175. ULONG ( STDMETHODCALLTYPE *AddRef )(
  176. ISurrogateService * This);
  177. ULONG ( STDMETHODCALLTYPE *Release )(
  178. ISurrogateService * This);
  179. HRESULT ( STDMETHODCALLTYPE *Init )(
  180. ISurrogateService * This,
  181. /* [in] */ REFGUID rguidProcessID,
  182. /* [in] */ IProcessLock *pProcessLock,
  183. /* [out] */ BOOL *pfApplicationAware);
  184. HRESULT ( STDMETHODCALLTYPE *ApplicationLaunch )(
  185. ISurrogateService * This,
  186. /* [in] */ REFGUID rguidApplID,
  187. /* [in] */ ApplicationType appType);
  188. HRESULT ( STDMETHODCALLTYPE *ApplicationFree )(
  189. ISurrogateService * This,
  190. /* [in] */ REFGUID rguidApplID);
  191. HRESULT ( STDMETHODCALLTYPE *CatalogRefresh )(
  192. ISurrogateService * This,
  193. /* [in] */ ULONG ulReserved);
  194. HRESULT ( STDMETHODCALLTYPE *ProcessShutdown )(
  195. ISurrogateService * This,
  196. /* [in] */ ShutdownType shutdownType);
  197. END_INTERFACE
  198. } ISurrogateServiceVtbl;
  199. interface ISurrogateService
  200. {
  201. CONST_VTBL struct ISurrogateServiceVtbl *lpVtbl;
  202. };
  203. #ifdef COBJMACROS
  204. #define ISurrogateService_QueryInterface(This,riid,ppvObject) \
  205. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  206. #define ISurrogateService_AddRef(This) \
  207. (This)->lpVtbl -> AddRef(This)
  208. #define ISurrogateService_Release(This) \
  209. (This)->lpVtbl -> Release(This)
  210. #define ISurrogateService_Init(This,rguidProcessID,pProcessLock,pfApplicationAware) \
  211. (This)->lpVtbl -> Init(This,rguidProcessID,pProcessLock,pfApplicationAware)
  212. #define ISurrogateService_ApplicationLaunch(This,rguidApplID,appType) \
  213. (This)->lpVtbl -> ApplicationLaunch(This,rguidApplID,appType)
  214. #define ISurrogateService_ApplicationFree(This,rguidApplID) \
  215. (This)->lpVtbl -> ApplicationFree(This,rguidApplID)
  216. #define ISurrogateService_CatalogRefresh(This,ulReserved) \
  217. (This)->lpVtbl -> CatalogRefresh(This,ulReserved)
  218. #define ISurrogateService_ProcessShutdown(This,shutdownType) \
  219. (This)->lpVtbl -> ProcessShutdown(This,shutdownType)
  220. #endif /* COBJMACROS */
  221. #endif /* C style interface */
  222. HRESULT STDMETHODCALLTYPE ISurrogateService_Init_Proxy(
  223. ISurrogateService * This,
  224. /* [in] */ REFGUID rguidProcessID,
  225. /* [in] */ IProcessLock *pProcessLock,
  226. /* [out] */ BOOL *pfApplicationAware);
  227. void __RPC_STUB ISurrogateService_Init_Stub(
  228. IRpcStubBuffer *This,
  229. IRpcChannelBuffer *_pRpcChannelBuffer,
  230. PRPC_MESSAGE _pRpcMessage,
  231. DWORD *_pdwStubPhase);
  232. HRESULT STDMETHODCALLTYPE ISurrogateService_ApplicationLaunch_Proxy(
  233. ISurrogateService * This,
  234. /* [in] */ REFGUID rguidApplID,
  235. /* [in] */ ApplicationType appType);
  236. void __RPC_STUB ISurrogateService_ApplicationLaunch_Stub(
  237. IRpcStubBuffer *This,
  238. IRpcChannelBuffer *_pRpcChannelBuffer,
  239. PRPC_MESSAGE _pRpcMessage,
  240. DWORD *_pdwStubPhase);
  241. HRESULT STDMETHODCALLTYPE ISurrogateService_ApplicationFree_Proxy(
  242. ISurrogateService * This,
  243. /* [in] */ REFGUID rguidApplID);
  244. void __RPC_STUB ISurrogateService_ApplicationFree_Stub(
  245. IRpcStubBuffer *This,
  246. IRpcChannelBuffer *_pRpcChannelBuffer,
  247. PRPC_MESSAGE _pRpcMessage,
  248. DWORD *_pdwStubPhase);
  249. HRESULT STDMETHODCALLTYPE ISurrogateService_CatalogRefresh_Proxy(
  250. ISurrogateService * This,
  251. /* [in] */ ULONG ulReserved);
  252. void __RPC_STUB ISurrogateService_CatalogRefresh_Stub(
  253. IRpcStubBuffer *This,
  254. IRpcChannelBuffer *_pRpcChannelBuffer,
  255. PRPC_MESSAGE _pRpcMessage,
  256. DWORD *_pdwStubPhase);
  257. HRESULT STDMETHODCALLTYPE ISurrogateService_ProcessShutdown_Proxy(
  258. ISurrogateService * This,
  259. /* [in] */ ShutdownType shutdownType);
  260. void __RPC_STUB ISurrogateService_ProcessShutdown_Stub(
  261. IRpcStubBuffer *This,
  262. IRpcChannelBuffer *_pRpcChannelBuffer,
  263. PRPC_MESSAGE _pRpcMessage,
  264. DWORD *_pdwStubPhase);
  265. #endif /* __ISurrogateService_INTERFACE_DEFINED__ */
  266. #ifndef __ISurrogateService2_INTERFACE_DEFINED__
  267. #define __ISurrogateService2_INTERFACE_DEFINED__
  268. /* interface ISurrogateService2 */
  269. /* [unique][uuid][local][object] */
  270. EXTERN_C const IID IID_ISurrogateService2;
  271. #if defined(__cplusplus) && !defined(CINTERFACE)
  272. MIDL_INTERFACE("000001da-0000-0000-C000-000000000046")
  273. ISurrogateService2 : public ISurrogateService
  274. {
  275. public:
  276. virtual HRESULT STDMETHODCALLTYPE PauseProcess( void) = 0;
  277. virtual HRESULT STDMETHODCALLTYPE ResumeProcess( void) = 0;
  278. };
  279. #else /* C style interface */
  280. typedef struct ISurrogateService2Vtbl
  281. {
  282. BEGIN_INTERFACE
  283. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  284. ISurrogateService2 * This,
  285. /* [in] */ REFIID riid,
  286. /* [iid_is][out] */ void **ppvObject);
  287. ULONG ( STDMETHODCALLTYPE *AddRef )(
  288. ISurrogateService2 * This);
  289. ULONG ( STDMETHODCALLTYPE *Release )(
  290. ISurrogateService2 * This);
  291. HRESULT ( STDMETHODCALLTYPE *Init )(
  292. ISurrogateService2 * This,
  293. /* [in] */ REFGUID rguidProcessID,
  294. /* [in] */ IProcessLock *pProcessLock,
  295. /* [out] */ BOOL *pfApplicationAware);
  296. HRESULT ( STDMETHODCALLTYPE *ApplicationLaunch )(
  297. ISurrogateService2 * This,
  298. /* [in] */ REFGUID rguidApplID,
  299. /* [in] */ ApplicationType appType);
  300. HRESULT ( STDMETHODCALLTYPE *ApplicationFree )(
  301. ISurrogateService2 * This,
  302. /* [in] */ REFGUID rguidApplID);
  303. HRESULT ( STDMETHODCALLTYPE *CatalogRefresh )(
  304. ISurrogateService2 * This,
  305. /* [in] */ ULONG ulReserved);
  306. HRESULT ( STDMETHODCALLTYPE *ProcessShutdown )(
  307. ISurrogateService2 * This,
  308. /* [in] */ ShutdownType shutdownType);
  309. HRESULT ( STDMETHODCALLTYPE *PauseProcess )(
  310. ISurrogateService2 * This);
  311. HRESULT ( STDMETHODCALLTYPE *ResumeProcess )(
  312. ISurrogateService2 * This);
  313. END_INTERFACE
  314. } ISurrogateService2Vtbl;
  315. interface ISurrogateService2
  316. {
  317. CONST_VTBL struct ISurrogateService2Vtbl *lpVtbl;
  318. };
  319. #ifdef COBJMACROS
  320. #define ISurrogateService2_QueryInterface(This,riid,ppvObject) \
  321. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  322. #define ISurrogateService2_AddRef(This) \
  323. (This)->lpVtbl -> AddRef(This)
  324. #define ISurrogateService2_Release(This) \
  325. (This)->lpVtbl -> Release(This)
  326. #define ISurrogateService2_Init(This,rguidProcessID,pProcessLock,pfApplicationAware) \
  327. (This)->lpVtbl -> Init(This,rguidProcessID,pProcessLock,pfApplicationAware)
  328. #define ISurrogateService2_ApplicationLaunch(This,rguidApplID,appType) \
  329. (This)->lpVtbl -> ApplicationLaunch(This,rguidApplID,appType)
  330. #define ISurrogateService2_ApplicationFree(This,rguidApplID) \
  331. (This)->lpVtbl -> ApplicationFree(This,rguidApplID)
  332. #define ISurrogateService2_CatalogRefresh(This,ulReserved) \
  333. (This)->lpVtbl -> CatalogRefresh(This,ulReserved)
  334. #define ISurrogateService2_ProcessShutdown(This,shutdownType) \
  335. (This)->lpVtbl -> ProcessShutdown(This,shutdownType)
  336. #define ISurrogateService2_PauseProcess(This) \
  337. (This)->lpVtbl -> PauseProcess(This)
  338. #define ISurrogateService2_ResumeProcess(This) \
  339. (This)->lpVtbl -> ResumeProcess(This)
  340. #endif /* COBJMACROS */
  341. #endif /* C style interface */
  342. HRESULT STDMETHODCALLTYPE ISurrogateService2_PauseProcess_Proxy(
  343. ISurrogateService2 * This);
  344. void __RPC_STUB ISurrogateService2_PauseProcess_Stub(
  345. IRpcStubBuffer *This,
  346. IRpcChannelBuffer *_pRpcChannelBuffer,
  347. PRPC_MESSAGE _pRpcMessage,
  348. DWORD *_pdwStubPhase);
  349. HRESULT STDMETHODCALLTYPE ISurrogateService2_ResumeProcess_Proxy(
  350. ISurrogateService2 * This);
  351. void __RPC_STUB ISurrogateService2_ResumeProcess_Stub(
  352. IRpcStubBuffer *This,
  353. IRpcChannelBuffer *_pRpcChannelBuffer,
  354. PRPC_MESSAGE _pRpcMessage,
  355. DWORD *_pdwStubPhase);
  356. #endif /* __ISurrogateService2_INTERFACE_DEFINED__ */
  357. #ifndef __IPAControl_INTERFACE_DEFINED__
  358. #define __IPAControl_INTERFACE_DEFINED__
  359. /* interface IPAControl */
  360. /* [unique][uuid][local][object] */
  361. EXTERN_C const IID IID_IPAControl;
  362. #if defined(__cplusplus) && !defined(CINTERFACE)
  363. MIDL_INTERFACE("000001d2-0000-0000-C000-000000000046")
  364. IPAControl : public IUnknown
  365. {
  366. public:
  367. virtual ULONG STDMETHODCALLTYPE AddRefOnProcess( void) = 0;
  368. virtual ULONG STDMETHODCALLTYPE ReleaseRefOnProcess( void) = 0;
  369. virtual void STDMETHODCALLTYPE PendingInit( void) = 0;
  370. virtual void STDMETHODCALLTYPE ServicesReady( void) = 0;
  371. virtual HRESULT STDMETHODCALLTYPE SuspendApplication(
  372. /* [in] */ REFGUID rguidApplID) = 0;
  373. virtual HRESULT STDMETHODCALLTYPE PendingApplication(
  374. /* [in] */ REFGUID rguidApplID) = 0;
  375. virtual HRESULT STDMETHODCALLTYPE ResumeApplication(
  376. /* [in] */ REFGUID rguidApplID) = 0;
  377. virtual HRESULT STDMETHODCALLTYPE SuspendAll( void) = 0;
  378. virtual HRESULT STDMETHODCALLTYPE ResumeAll( void) = 0;
  379. virtual HRESULT STDMETHODCALLTYPE ForcedShutdown( void) = 0;
  380. virtual HRESULT STDMETHODCALLTYPE SetIdleTimeoutToZero( void) = 0;
  381. };
  382. #else /* C style interface */
  383. typedef struct IPAControlVtbl
  384. {
  385. BEGIN_INTERFACE
  386. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  387. IPAControl * This,
  388. /* [in] */ REFIID riid,
  389. /* [iid_is][out] */ void **ppvObject);
  390. ULONG ( STDMETHODCALLTYPE *AddRef )(
  391. IPAControl * This);
  392. ULONG ( STDMETHODCALLTYPE *Release )(
  393. IPAControl * This);
  394. ULONG ( STDMETHODCALLTYPE *AddRefOnProcess )(
  395. IPAControl * This);
  396. ULONG ( STDMETHODCALLTYPE *ReleaseRefOnProcess )(
  397. IPAControl * This);
  398. void ( STDMETHODCALLTYPE *PendingInit )(
  399. IPAControl * This);
  400. void ( STDMETHODCALLTYPE *ServicesReady )(
  401. IPAControl * This);
  402. HRESULT ( STDMETHODCALLTYPE *SuspendApplication )(
  403. IPAControl * This,
  404. /* [in] */ REFGUID rguidApplID);
  405. HRESULT ( STDMETHODCALLTYPE *PendingApplication )(
  406. IPAControl * This,
  407. /* [in] */ REFGUID rguidApplID);
  408. HRESULT ( STDMETHODCALLTYPE *ResumeApplication )(
  409. IPAControl * This,
  410. /* [in] */ REFGUID rguidApplID);
  411. HRESULT ( STDMETHODCALLTYPE *SuspendAll )(
  412. IPAControl * This);
  413. HRESULT ( STDMETHODCALLTYPE *ResumeAll )(
  414. IPAControl * This);
  415. HRESULT ( STDMETHODCALLTYPE *ForcedShutdown )(
  416. IPAControl * This);
  417. HRESULT ( STDMETHODCALLTYPE *SetIdleTimeoutToZero )(
  418. IPAControl * This);
  419. END_INTERFACE
  420. } IPAControlVtbl;
  421. interface IPAControl
  422. {
  423. CONST_VTBL struct IPAControlVtbl *lpVtbl;
  424. };
  425. #ifdef COBJMACROS
  426. #define IPAControl_QueryInterface(This,riid,ppvObject) \
  427. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  428. #define IPAControl_AddRef(This) \
  429. (This)->lpVtbl -> AddRef(This)
  430. #define IPAControl_Release(This) \
  431. (This)->lpVtbl -> Release(This)
  432. #define IPAControl_AddRefOnProcess(This) \
  433. (This)->lpVtbl -> AddRefOnProcess(This)
  434. #define IPAControl_ReleaseRefOnProcess(This) \
  435. (This)->lpVtbl -> ReleaseRefOnProcess(This)
  436. #define IPAControl_PendingInit(This) \
  437. (This)->lpVtbl -> PendingInit(This)
  438. #define IPAControl_ServicesReady(This) \
  439. (This)->lpVtbl -> ServicesReady(This)
  440. #define IPAControl_SuspendApplication(This,rguidApplID) \
  441. (This)->lpVtbl -> SuspendApplication(This,rguidApplID)
  442. #define IPAControl_PendingApplication(This,rguidApplID) \
  443. (This)->lpVtbl -> PendingApplication(This,rguidApplID)
  444. #define IPAControl_ResumeApplication(This,rguidApplID) \
  445. (This)->lpVtbl -> ResumeApplication(This,rguidApplID)
  446. #define IPAControl_SuspendAll(This) \
  447. (This)->lpVtbl -> SuspendAll(This)
  448. #define IPAControl_ResumeAll(This) \
  449. (This)->lpVtbl -> ResumeAll(This)
  450. #define IPAControl_ForcedShutdown(This) \
  451. (This)->lpVtbl -> ForcedShutdown(This)
  452. #define IPAControl_SetIdleTimeoutToZero(This) \
  453. (This)->lpVtbl -> SetIdleTimeoutToZero(This)
  454. #endif /* COBJMACROS */
  455. #endif /* C style interface */
  456. ULONG STDMETHODCALLTYPE IPAControl_AddRefOnProcess_Proxy(
  457. IPAControl * This);
  458. void __RPC_STUB IPAControl_AddRefOnProcess_Stub(
  459. IRpcStubBuffer *This,
  460. IRpcChannelBuffer *_pRpcChannelBuffer,
  461. PRPC_MESSAGE _pRpcMessage,
  462. DWORD *_pdwStubPhase);
  463. ULONG STDMETHODCALLTYPE IPAControl_ReleaseRefOnProcess_Proxy(
  464. IPAControl * This);
  465. void __RPC_STUB IPAControl_ReleaseRefOnProcess_Stub(
  466. IRpcStubBuffer *This,
  467. IRpcChannelBuffer *_pRpcChannelBuffer,
  468. PRPC_MESSAGE _pRpcMessage,
  469. DWORD *_pdwStubPhase);
  470. void STDMETHODCALLTYPE IPAControl_PendingInit_Proxy(
  471. IPAControl * This);
  472. void __RPC_STUB IPAControl_PendingInit_Stub(
  473. IRpcStubBuffer *This,
  474. IRpcChannelBuffer *_pRpcChannelBuffer,
  475. PRPC_MESSAGE _pRpcMessage,
  476. DWORD *_pdwStubPhase);
  477. void STDMETHODCALLTYPE IPAControl_ServicesReady_Proxy(
  478. IPAControl * This);
  479. void __RPC_STUB IPAControl_ServicesReady_Stub(
  480. IRpcStubBuffer *This,
  481. IRpcChannelBuffer *_pRpcChannelBuffer,
  482. PRPC_MESSAGE _pRpcMessage,
  483. DWORD *_pdwStubPhase);
  484. HRESULT STDMETHODCALLTYPE IPAControl_SuspendApplication_Proxy(
  485. IPAControl * This,
  486. /* [in] */ REFGUID rguidApplID);
  487. void __RPC_STUB IPAControl_SuspendApplication_Stub(
  488. IRpcStubBuffer *This,
  489. IRpcChannelBuffer *_pRpcChannelBuffer,
  490. PRPC_MESSAGE _pRpcMessage,
  491. DWORD *_pdwStubPhase);
  492. HRESULT STDMETHODCALLTYPE IPAControl_PendingApplication_Proxy(
  493. IPAControl * This,
  494. /* [in] */ REFGUID rguidApplID);
  495. void __RPC_STUB IPAControl_PendingApplication_Stub(
  496. IRpcStubBuffer *This,
  497. IRpcChannelBuffer *_pRpcChannelBuffer,
  498. PRPC_MESSAGE _pRpcMessage,
  499. DWORD *_pdwStubPhase);
  500. HRESULT STDMETHODCALLTYPE IPAControl_ResumeApplication_Proxy(
  501. IPAControl * This,
  502. /* [in] */ REFGUID rguidApplID);
  503. void __RPC_STUB IPAControl_ResumeApplication_Stub(
  504. IRpcStubBuffer *This,
  505. IRpcChannelBuffer *_pRpcChannelBuffer,
  506. PRPC_MESSAGE _pRpcMessage,
  507. DWORD *_pdwStubPhase);
  508. HRESULT STDMETHODCALLTYPE IPAControl_SuspendAll_Proxy(
  509. IPAControl * This);
  510. void __RPC_STUB IPAControl_SuspendAll_Stub(
  511. IRpcStubBuffer *This,
  512. IRpcChannelBuffer *_pRpcChannelBuffer,
  513. PRPC_MESSAGE _pRpcMessage,
  514. DWORD *_pdwStubPhase);
  515. HRESULT STDMETHODCALLTYPE IPAControl_ResumeAll_Proxy(
  516. IPAControl * This);
  517. void __RPC_STUB IPAControl_ResumeAll_Stub(
  518. IRpcStubBuffer *This,
  519. IRpcChannelBuffer *_pRpcChannelBuffer,
  520. PRPC_MESSAGE _pRpcMessage,
  521. DWORD *_pdwStubPhase);
  522. HRESULT STDMETHODCALLTYPE IPAControl_ForcedShutdown_Proxy(
  523. IPAControl * This);
  524. void __RPC_STUB IPAControl_ForcedShutdown_Stub(
  525. IRpcStubBuffer *This,
  526. IRpcChannelBuffer *_pRpcChannelBuffer,
  527. PRPC_MESSAGE _pRpcMessage,
  528. DWORD *_pdwStubPhase);
  529. HRESULT STDMETHODCALLTYPE IPAControl_SetIdleTimeoutToZero_Proxy(
  530. IPAControl * This);
  531. void __RPC_STUB IPAControl_SetIdleTimeoutToZero_Stub(
  532. IRpcStubBuffer *This,
  533. IRpcChannelBuffer *_pRpcChannelBuffer,
  534. PRPC_MESSAGE _pRpcMessage,
  535. DWORD *_pdwStubPhase);
  536. #endif /* __IPAControl_INTERFACE_DEFINED__ */
  537. #ifndef __IServicesSink_INTERFACE_DEFINED__
  538. #define __IServicesSink_INTERFACE_DEFINED__
  539. /* interface IServicesSink */
  540. /* [unique][uuid][local][object] */
  541. EXTERN_C const IID IID_IServicesSink;
  542. #if defined(__cplusplus) && !defined(CINTERFACE)
  543. MIDL_INTERFACE("000001d3-0000-0000-C000-000000000046")
  544. IServicesSink : public IUnknown
  545. {
  546. public:
  547. virtual void STDMETHODCALLTYPE ApplicationLaunch(
  548. /* [in] */ REFGUID rguidApplID,
  549. /* [in] */ ApplicationType appType) = 0;
  550. virtual void STDMETHODCALLTYPE ApplicationFree(
  551. /* [in] */ REFGUID rguidApplID) = 0;
  552. virtual void STDMETHODCALLTYPE ProcessFree( void) = 0;
  553. virtual HRESULT STDMETHODCALLTYPE PauseApplication( void) = 0;
  554. virtual HRESULT STDMETHODCALLTYPE ResumeApplication( void) = 0;
  555. };
  556. #else /* C style interface */
  557. typedef struct IServicesSinkVtbl
  558. {
  559. BEGIN_INTERFACE
  560. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  561. IServicesSink * This,
  562. /* [in] */ REFIID riid,
  563. /* [iid_is][out] */ void **ppvObject);
  564. ULONG ( STDMETHODCALLTYPE *AddRef )(
  565. IServicesSink * This);
  566. ULONG ( STDMETHODCALLTYPE *Release )(
  567. IServicesSink * This);
  568. void ( STDMETHODCALLTYPE *ApplicationLaunch )(
  569. IServicesSink * This,
  570. /* [in] */ REFGUID rguidApplID,
  571. /* [in] */ ApplicationType appType);
  572. void ( STDMETHODCALLTYPE *ApplicationFree )(
  573. IServicesSink * This,
  574. /* [in] */ REFGUID rguidApplID);
  575. void ( STDMETHODCALLTYPE *ProcessFree )(
  576. IServicesSink * This);
  577. HRESULT ( STDMETHODCALLTYPE *PauseApplication )(
  578. IServicesSink * This);
  579. HRESULT ( STDMETHODCALLTYPE *ResumeApplication )(
  580. IServicesSink * This);
  581. END_INTERFACE
  582. } IServicesSinkVtbl;
  583. interface IServicesSink
  584. {
  585. CONST_VTBL struct IServicesSinkVtbl *lpVtbl;
  586. };
  587. #ifdef COBJMACROS
  588. #define IServicesSink_QueryInterface(This,riid,ppvObject) \
  589. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  590. #define IServicesSink_AddRef(This) \
  591. (This)->lpVtbl -> AddRef(This)
  592. #define IServicesSink_Release(This) \
  593. (This)->lpVtbl -> Release(This)
  594. #define IServicesSink_ApplicationLaunch(This,rguidApplID,appType) \
  595. (This)->lpVtbl -> ApplicationLaunch(This,rguidApplID,appType)
  596. #define IServicesSink_ApplicationFree(This,rguidApplID) \
  597. (This)->lpVtbl -> ApplicationFree(This,rguidApplID)
  598. #define IServicesSink_ProcessFree(This) \
  599. (This)->lpVtbl -> ProcessFree(This)
  600. #define IServicesSink_PauseApplication(This) \
  601. (This)->lpVtbl -> PauseApplication(This)
  602. #define IServicesSink_ResumeApplication(This) \
  603. (This)->lpVtbl -> ResumeApplication(This)
  604. #endif /* COBJMACROS */
  605. #endif /* C style interface */
  606. void STDMETHODCALLTYPE IServicesSink_ApplicationLaunch_Proxy(
  607. IServicesSink * This,
  608. /* [in] */ REFGUID rguidApplID,
  609. /* [in] */ ApplicationType appType);
  610. void __RPC_STUB IServicesSink_ApplicationLaunch_Stub(
  611. IRpcStubBuffer *This,
  612. IRpcChannelBuffer *_pRpcChannelBuffer,
  613. PRPC_MESSAGE _pRpcMessage,
  614. DWORD *_pdwStubPhase);
  615. void STDMETHODCALLTYPE IServicesSink_ApplicationFree_Proxy(
  616. IServicesSink * This,
  617. /* [in] */ REFGUID rguidApplID);
  618. void __RPC_STUB IServicesSink_ApplicationFree_Stub(
  619. IRpcStubBuffer *This,
  620. IRpcChannelBuffer *_pRpcChannelBuffer,
  621. PRPC_MESSAGE _pRpcMessage,
  622. DWORD *_pdwStubPhase);
  623. void STDMETHODCALLTYPE IServicesSink_ProcessFree_Proxy(
  624. IServicesSink * This);
  625. void __RPC_STUB IServicesSink_ProcessFree_Stub(
  626. IRpcStubBuffer *This,
  627. IRpcChannelBuffer *_pRpcChannelBuffer,
  628. PRPC_MESSAGE _pRpcMessage,
  629. DWORD *_pdwStubPhase);
  630. HRESULT STDMETHODCALLTYPE IServicesSink_PauseApplication_Proxy(
  631. IServicesSink * This);
  632. void __RPC_STUB IServicesSink_PauseApplication_Stub(
  633. IRpcStubBuffer *This,
  634. IRpcChannelBuffer *_pRpcChannelBuffer,
  635. PRPC_MESSAGE _pRpcMessage,
  636. DWORD *_pdwStubPhase);
  637. HRESULT STDMETHODCALLTYPE IServicesSink_ResumeApplication_Proxy(
  638. IServicesSink * This);
  639. void __RPC_STUB IServicesSink_ResumeApplication_Stub(
  640. IRpcStubBuffer *This,
  641. IRpcChannelBuffer *_pRpcChannelBuffer,
  642. PRPC_MESSAGE _pRpcMessage,
  643. DWORD *_pdwStubPhase);
  644. #endif /* __IServicesSink_INTERFACE_DEFINED__ */
  645. /* interface __MIDL_itf_unisrgt_0095 */
  646. /* [local] */
  647. STDAPI CoRegisterSurrogateEx (REFGUID rguidProcessID,
  648. ISurrogate* pSrgt);
  649. STDAPI CoLoadServices (REFGUID rguidProcessID,
  650. IPAControl* pPAControl,
  651. REFIID riid, void **ppv );
  652. typedef HRESULT (STDAPICALLTYPE *FN_CoLoadServices)
  653. (REFGUID rguidProcessID,
  654. IPAControl* pPAControl,
  655. REFIID riid, void **ppv );
  656. extern RPC_IF_HANDLE __MIDL_itf_unisrgt_0095_ClientIfHandle;
  657. extern RPC_IF_HANDLE __MIDL_itf_unisrgt_0095_ServerIfHandle;
  658. /* Additional Prototypes for ALL interfaces */
  659. /* end of Additional Prototypes */
  660. #ifdef __cplusplus
  661. }
  662. #endif
  663. #endif