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.

2639 lines
80 KiB

  1. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  2. /* File created by MIDL compiler version 6.00.0361 */
  3. /* Compiler settings for activate.idl:
  4. Oicf, W1, Zp8, env=Win32 (32b run)
  5. protocol : dce , ms_ext, c_ext, oldnames, robust
  6. error checks: allocation ref bounds_check enum stub_data , no_format_optimization
  7. VC __declspec() decoration level:
  8. __declspec(uuid()), __declspec(selectany), __declspec(novtable)
  9. DECLSPEC_UUID(), MIDL_INTERFACE()
  10. */
  11. //@@MIDL_FILE_HEADING( )
  12. #pragma warning( disable: 4049 ) /* more than 64k source lines */
  13. /* verify that the <rpcndr.h> version is high enough to compile this file*/
  14. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  15. #define __REQUIRED_RPCNDR_H_VERSION__ 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 __activate_h__
  27. #define __activate_h__
  28. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  29. #pragma once
  30. #endif
  31. /* Forward Declarations */
  32. #ifndef __ISystemActivator_FWD_DEFINED__
  33. #define __ISystemActivator_FWD_DEFINED__
  34. typedef interface ISystemActivator ISystemActivator;
  35. #endif /* __ISystemActivator_FWD_DEFINED__ */
  36. #ifndef __IInitActivationPropertiesIn_FWD_DEFINED__
  37. #define __IInitActivationPropertiesIn_FWD_DEFINED__
  38. typedef interface IInitActivationPropertiesIn IInitActivationPropertiesIn;
  39. #endif /* __IInitActivationPropertiesIn_FWD_DEFINED__ */
  40. #ifndef __IActivationPropertiesIn_FWD_DEFINED__
  41. #define __IActivationPropertiesIn_FWD_DEFINED__
  42. typedef interface IActivationPropertiesIn IActivationPropertiesIn;
  43. #endif /* __IActivationPropertiesIn_FWD_DEFINED__ */
  44. #ifndef __IActivationPropertiesOut_FWD_DEFINED__
  45. #define __IActivationPropertiesOut_FWD_DEFINED__
  46. typedef interface IActivationPropertiesOut IActivationPropertiesOut;
  47. #endif /* __IActivationPropertiesOut_FWD_DEFINED__ */
  48. #ifndef __IActivationStageInfo_FWD_DEFINED__
  49. #define __IActivationStageInfo_FWD_DEFINED__
  50. typedef interface IActivationStageInfo IActivationStageInfo;
  51. #endif /* __IActivationStageInfo_FWD_DEFINED__ */
  52. #ifndef __IServerLocationInfo_FWD_DEFINED__
  53. #define __IServerLocationInfo_FWD_DEFINED__
  54. typedef interface IServerLocationInfo IServerLocationInfo;
  55. #endif /* __IServerLocationInfo_FWD_DEFINED__ */
  56. #ifndef __IActivationContextInfo_FWD_DEFINED__
  57. #define __IActivationContextInfo_FWD_DEFINED__
  58. typedef interface IActivationContextInfo IActivationContextInfo;
  59. #endif /* __IActivationContextInfo_FWD_DEFINED__ */
  60. #ifndef __IOverrideTargetContext_FWD_DEFINED__
  61. #define __IOverrideTargetContext_FWD_DEFINED__
  62. typedef interface IOverrideTargetContext IOverrideTargetContext;
  63. #endif /* __IOverrideTargetContext_FWD_DEFINED__ */
  64. #ifndef __IActivationSecurityInfo_FWD_DEFINED__
  65. #define __IActivationSecurityInfo_FWD_DEFINED__
  66. typedef interface IActivationSecurityInfo IActivationSecurityInfo;
  67. #endif /* __IActivationSecurityInfo_FWD_DEFINED__ */
  68. #ifndef __IEnumSCMProcessInfo_FWD_DEFINED__
  69. #define __IEnumSCMProcessInfo_FWD_DEFINED__
  70. typedef interface IEnumSCMProcessInfo IEnumSCMProcessInfo;
  71. #endif /* __IEnumSCMProcessInfo_FWD_DEFINED__ */
  72. #ifndef __ISCMProcessControl_FWD_DEFINED__
  73. #define __ISCMProcessControl_FWD_DEFINED__
  74. typedef interface ISCMProcessControl ISCMProcessControl;
  75. #endif /* __ISCMProcessControl_FWD_DEFINED__ */
  76. /* header files for imported files */
  77. #include "obase.h"
  78. #include "objidl.h"
  79. #include "contxt.h"
  80. #ifdef __cplusplus
  81. extern "C"{
  82. #endif
  83. void * __RPC_USER MIDL_user_allocate(size_t);
  84. void __RPC_USER MIDL_user_free( void * );
  85. /* interface __MIDL_itf_activate_0000 */
  86. /* [local] */
  87. extern RPC_IF_HANDLE __MIDL_itf_activate_0000_ClientIfHandle;
  88. extern RPC_IF_HANDLE __MIDL_itf_activate_0000_ServerIfHandle;
  89. #ifndef __ISystemActivator_INTERFACE_DEFINED__
  90. #define __ISystemActivator_INTERFACE_DEFINED__
  91. /* interface ISystemActivator */
  92. /* [unique][uuid][object] */
  93. EXTERN_C const IID IID_ISystemActivator;
  94. #if defined(__cplusplus) && !defined(CINTERFACE)
  95. MIDL_INTERFACE("000001A0-0000-0000-C000-000000000046")
  96. ISystemActivator : public IUnknown
  97. {
  98. public:
  99. virtual HRESULT STDMETHODCALLTYPE GetClassObject(
  100. /* [unique][in] */ IActivationPropertiesIn *pActProperties,
  101. /* [out] */ IActivationPropertiesOut **ppActProperties) = 0;
  102. virtual HRESULT STDMETHODCALLTYPE CreateInstance(
  103. /* [unique][in] */ IUnknown *pUnkOuter,
  104. /* [unique][in] */ IActivationPropertiesIn *pActProperties,
  105. /* [out] */ IActivationPropertiesOut **ppActProperties) = 0;
  106. };
  107. #else /* C style interface */
  108. typedef struct ISystemActivatorVtbl
  109. {
  110. BEGIN_INTERFACE
  111. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  112. ISystemActivator * This,
  113. /* [in] */ REFIID riid,
  114. /* [iid_is][out] */ void **ppvObject);
  115. ULONG ( STDMETHODCALLTYPE *AddRef )(
  116. ISystemActivator * This);
  117. ULONG ( STDMETHODCALLTYPE *Release )(
  118. ISystemActivator * This);
  119. HRESULT ( STDMETHODCALLTYPE *GetClassObject )(
  120. ISystemActivator * This,
  121. /* [unique][in] */ IActivationPropertiesIn *pActProperties,
  122. /* [out] */ IActivationPropertiesOut **ppActProperties);
  123. HRESULT ( STDMETHODCALLTYPE *CreateInstance )(
  124. ISystemActivator * This,
  125. /* [unique][in] */ IUnknown *pUnkOuter,
  126. /* [unique][in] */ IActivationPropertiesIn *pActProperties,
  127. /* [out] */ IActivationPropertiesOut **ppActProperties);
  128. END_INTERFACE
  129. } ISystemActivatorVtbl;
  130. interface ISystemActivator
  131. {
  132. CONST_VTBL struct ISystemActivatorVtbl *lpVtbl;
  133. };
  134. #ifdef COBJMACROS
  135. #define ISystemActivator_QueryInterface(This,riid,ppvObject) \
  136. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  137. #define ISystemActivator_AddRef(This) \
  138. (This)->lpVtbl -> AddRef(This)
  139. #define ISystemActivator_Release(This) \
  140. (This)->lpVtbl -> Release(This)
  141. #define ISystemActivator_GetClassObject(This,pActProperties,ppActProperties) \
  142. (This)->lpVtbl -> GetClassObject(This,pActProperties,ppActProperties)
  143. #define ISystemActivator_CreateInstance(This,pUnkOuter,pActProperties,ppActProperties) \
  144. (This)->lpVtbl -> CreateInstance(This,pUnkOuter,pActProperties,ppActProperties)
  145. #endif /* COBJMACROS */
  146. #endif /* C style interface */
  147. HRESULT STDMETHODCALLTYPE ISystemActivator_GetClassObject_Proxy(
  148. ISystemActivator * This,
  149. /* [unique][in] */ IActivationPropertiesIn *pActProperties,
  150. /* [out] */ IActivationPropertiesOut **ppActProperties);
  151. void __RPC_STUB ISystemActivator_GetClassObject_Stub(
  152. IRpcStubBuffer *This,
  153. IRpcChannelBuffer *_pRpcChannelBuffer,
  154. PRPC_MESSAGE _pRpcMessage,
  155. DWORD *_pdwStubPhase);
  156. HRESULT STDMETHODCALLTYPE ISystemActivator_CreateInstance_Proxy(
  157. ISystemActivator * This,
  158. /* [unique][in] */ IUnknown *pUnkOuter,
  159. /* [unique][in] */ IActivationPropertiesIn *pActProperties,
  160. /* [out] */ IActivationPropertiesOut **ppActProperties);
  161. void __RPC_STUB ISystemActivator_CreateInstance_Stub(
  162. IRpcStubBuffer *This,
  163. IRpcChannelBuffer *_pRpcChannelBuffer,
  164. PRPC_MESSAGE _pRpcMessage,
  165. DWORD *_pdwStubPhase);
  166. #endif /* __ISystemActivator_INTERFACE_DEFINED__ */
  167. /* interface __MIDL_itf_activate_0118 */
  168. /* [local] */
  169. typedef
  170. enum tagACTIVATION_FLAGS
  171. { ACTVFLAGS_NONE = 0,
  172. ACTVFLAGS_WX86_CALLER = 1,
  173. ACTVFLAGS_DISABLE_AAA = 2
  174. } ACTIVATION_FLAGS;
  175. extern RPC_IF_HANDLE __MIDL_itf_activate_0118_ClientIfHandle;
  176. extern RPC_IF_HANDLE __MIDL_itf_activate_0118_ServerIfHandle;
  177. #ifndef __IInitActivationPropertiesIn_INTERFACE_DEFINED__
  178. #define __IInitActivationPropertiesIn_INTERFACE_DEFINED__
  179. /* interface IInitActivationPropertiesIn */
  180. /* [unique][uuid][local][object] */
  181. EXTERN_C const IID IID_IInitActivationPropertiesIn;
  182. #if defined(__cplusplus) && !defined(CINTERFACE)
  183. MIDL_INTERFACE("000001A1-0000-0000-C000-000000000046")
  184. IInitActivationPropertiesIn : public IUnknown
  185. {
  186. public:
  187. virtual HRESULT STDMETHODCALLTYPE SetClsctx(
  188. /* [in] */ DWORD clsctx) = 0;
  189. virtual HRESULT STDMETHODCALLTYPE SetActivationFlags(
  190. /* [in] */ DWORD actvflags) = 0;
  191. virtual HRESULT STDMETHODCALLTYPE SetClassInfo(
  192. /* [unique][in] */ IUnknown *pUnkClassInfo) = 0;
  193. virtual HRESULT STDMETHODCALLTYPE SetContextInfo(
  194. /* [unique][in] */ IContext *pClientContext,
  195. /* [in] */ IContext *pPrototypeContext) = 0;
  196. virtual HRESULT STDMETHODCALLTYPE SetConstructFromStorage(
  197. /* [unique][in] */ IStorage *pStorage) = 0;
  198. virtual HRESULT STDMETHODCALLTYPE SetConstructFromFile(
  199. /* [in] */ WCHAR *wszFileName,
  200. /* [in] */ DWORD dwMode) = 0;
  201. };
  202. #else /* C style interface */
  203. typedef struct IInitActivationPropertiesInVtbl
  204. {
  205. BEGIN_INTERFACE
  206. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  207. IInitActivationPropertiesIn * This,
  208. /* [in] */ REFIID riid,
  209. /* [iid_is][out] */ void **ppvObject);
  210. ULONG ( STDMETHODCALLTYPE *AddRef )(
  211. IInitActivationPropertiesIn * This);
  212. ULONG ( STDMETHODCALLTYPE *Release )(
  213. IInitActivationPropertiesIn * This);
  214. HRESULT ( STDMETHODCALLTYPE *SetClsctx )(
  215. IInitActivationPropertiesIn * This,
  216. /* [in] */ DWORD clsctx);
  217. HRESULT ( STDMETHODCALLTYPE *SetActivationFlags )(
  218. IInitActivationPropertiesIn * This,
  219. /* [in] */ DWORD actvflags);
  220. HRESULT ( STDMETHODCALLTYPE *SetClassInfo )(
  221. IInitActivationPropertiesIn * This,
  222. /* [unique][in] */ IUnknown *pUnkClassInfo);
  223. HRESULT ( STDMETHODCALLTYPE *SetContextInfo )(
  224. IInitActivationPropertiesIn * This,
  225. /* [unique][in] */ IContext *pClientContext,
  226. /* [in] */ IContext *pPrototypeContext);
  227. HRESULT ( STDMETHODCALLTYPE *SetConstructFromStorage )(
  228. IInitActivationPropertiesIn * This,
  229. /* [unique][in] */ IStorage *pStorage);
  230. HRESULT ( STDMETHODCALLTYPE *SetConstructFromFile )(
  231. IInitActivationPropertiesIn * This,
  232. /* [in] */ WCHAR *wszFileName,
  233. /* [in] */ DWORD dwMode);
  234. END_INTERFACE
  235. } IInitActivationPropertiesInVtbl;
  236. interface IInitActivationPropertiesIn
  237. {
  238. CONST_VTBL struct IInitActivationPropertiesInVtbl *lpVtbl;
  239. };
  240. #ifdef COBJMACROS
  241. #define IInitActivationPropertiesIn_QueryInterface(This,riid,ppvObject) \
  242. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  243. #define IInitActivationPropertiesIn_AddRef(This) \
  244. (This)->lpVtbl -> AddRef(This)
  245. #define IInitActivationPropertiesIn_Release(This) \
  246. (This)->lpVtbl -> Release(This)
  247. #define IInitActivationPropertiesIn_SetClsctx(This,clsctx) \
  248. (This)->lpVtbl -> SetClsctx(This,clsctx)
  249. #define IInitActivationPropertiesIn_SetActivationFlags(This,actvflags) \
  250. (This)->lpVtbl -> SetActivationFlags(This,actvflags)
  251. #define IInitActivationPropertiesIn_SetClassInfo(This,pUnkClassInfo) \
  252. (This)->lpVtbl -> SetClassInfo(This,pUnkClassInfo)
  253. #define IInitActivationPropertiesIn_SetContextInfo(This,pClientContext,pPrototypeContext) \
  254. (This)->lpVtbl -> SetContextInfo(This,pClientContext,pPrototypeContext)
  255. #define IInitActivationPropertiesIn_SetConstructFromStorage(This,pStorage) \
  256. (This)->lpVtbl -> SetConstructFromStorage(This,pStorage)
  257. #define IInitActivationPropertiesIn_SetConstructFromFile(This,wszFileName,dwMode) \
  258. (This)->lpVtbl -> SetConstructFromFile(This,wszFileName,dwMode)
  259. #endif /* COBJMACROS */
  260. #endif /* C style interface */
  261. HRESULT STDMETHODCALLTYPE IInitActivationPropertiesIn_SetClsctx_Proxy(
  262. IInitActivationPropertiesIn * This,
  263. /* [in] */ DWORD clsctx);
  264. void __RPC_STUB IInitActivationPropertiesIn_SetClsctx_Stub(
  265. IRpcStubBuffer *This,
  266. IRpcChannelBuffer *_pRpcChannelBuffer,
  267. PRPC_MESSAGE _pRpcMessage,
  268. DWORD *_pdwStubPhase);
  269. HRESULT STDMETHODCALLTYPE IInitActivationPropertiesIn_SetActivationFlags_Proxy(
  270. IInitActivationPropertiesIn * This,
  271. /* [in] */ DWORD actvflags);
  272. void __RPC_STUB IInitActivationPropertiesIn_SetActivationFlags_Stub(
  273. IRpcStubBuffer *This,
  274. IRpcChannelBuffer *_pRpcChannelBuffer,
  275. PRPC_MESSAGE _pRpcMessage,
  276. DWORD *_pdwStubPhase);
  277. HRESULT STDMETHODCALLTYPE IInitActivationPropertiesIn_SetClassInfo_Proxy(
  278. IInitActivationPropertiesIn * This,
  279. /* [unique][in] */ IUnknown *pUnkClassInfo);
  280. void __RPC_STUB IInitActivationPropertiesIn_SetClassInfo_Stub(
  281. IRpcStubBuffer *This,
  282. IRpcChannelBuffer *_pRpcChannelBuffer,
  283. PRPC_MESSAGE _pRpcMessage,
  284. DWORD *_pdwStubPhase);
  285. HRESULT STDMETHODCALLTYPE IInitActivationPropertiesIn_SetContextInfo_Proxy(
  286. IInitActivationPropertiesIn * This,
  287. /* [unique][in] */ IContext *pClientContext,
  288. /* [in] */ IContext *pPrototypeContext);
  289. void __RPC_STUB IInitActivationPropertiesIn_SetContextInfo_Stub(
  290. IRpcStubBuffer *This,
  291. IRpcChannelBuffer *_pRpcChannelBuffer,
  292. PRPC_MESSAGE _pRpcMessage,
  293. DWORD *_pdwStubPhase);
  294. HRESULT STDMETHODCALLTYPE IInitActivationPropertiesIn_SetConstructFromStorage_Proxy(
  295. IInitActivationPropertiesIn * This,
  296. /* [unique][in] */ IStorage *pStorage);
  297. void __RPC_STUB IInitActivationPropertiesIn_SetConstructFromStorage_Stub(
  298. IRpcStubBuffer *This,
  299. IRpcChannelBuffer *_pRpcChannelBuffer,
  300. PRPC_MESSAGE _pRpcMessage,
  301. DWORD *_pdwStubPhase);
  302. HRESULT STDMETHODCALLTYPE IInitActivationPropertiesIn_SetConstructFromFile_Proxy(
  303. IInitActivationPropertiesIn * This,
  304. /* [in] */ WCHAR *wszFileName,
  305. /* [in] */ DWORD dwMode);
  306. void __RPC_STUB IInitActivationPropertiesIn_SetConstructFromFile_Stub(
  307. IRpcStubBuffer *This,
  308. IRpcChannelBuffer *_pRpcChannelBuffer,
  309. PRPC_MESSAGE _pRpcMessage,
  310. DWORD *_pdwStubPhase);
  311. #endif /* __IInitActivationPropertiesIn_INTERFACE_DEFINED__ */
  312. #ifndef __IActivationPropertiesIn_INTERFACE_DEFINED__
  313. #define __IActivationPropertiesIn_INTERFACE_DEFINED__
  314. /* interface IActivationPropertiesIn */
  315. /* [unique][uuid][local][object] */
  316. EXTERN_C const IID IID_IActivationPropertiesIn;
  317. #if defined(__cplusplus) && !defined(CINTERFACE)
  318. MIDL_INTERFACE("000001A2-0000-0000-C000-000000000046")
  319. IActivationPropertiesIn : public IUnknown
  320. {
  321. public:
  322. virtual HRESULT STDMETHODCALLTYPE GetActivationID(
  323. /* [out] */ GUID *pActivationID) = 0;
  324. virtual HRESULT STDMETHODCALLTYPE GetClassInfo(
  325. /* [in] */ REFIID riid,
  326. /* [iid_is][out] */ void **ppv) = 0;
  327. virtual HRESULT STDMETHODCALLTYPE GetClsctx(
  328. /* [out] */ DWORD *pclsctx) = 0;
  329. virtual HRESULT STDMETHODCALLTYPE GetActivationFlags(
  330. /* [out] */ DWORD *pactvflags) = 0;
  331. virtual HRESULT STDMETHODCALLTYPE AddRequestedIIDs(
  332. /* [in] */ DWORD cIfs,
  333. /* [size_is][in] */ IID *rgIID) = 0;
  334. virtual HRESULT STDMETHODCALLTYPE GetRequestedIIDs(
  335. /* [out] */ ULONG *pulCount,
  336. /* [out] */ IID **prgIID) = 0;
  337. virtual HRESULT STDMETHODCALLTYPE DelegateGetClassObject(
  338. /* [out] */ IActivationPropertiesOut **pActPropsOut) = 0;
  339. virtual HRESULT STDMETHODCALLTYPE DelegateCreateInstance(
  340. /* [in] */ IUnknown *pUnkOuter,
  341. /* [out] */ IActivationPropertiesOut **pActPropsOut) = 0;
  342. virtual HRESULT STDMETHODCALLTYPE DelegateCIAndGetCF(
  343. /* [in] */ IUnknown *pUnkOuter,
  344. /* [out] */ IActivationPropertiesOut **pActPropsOut,
  345. /* [out] */ IClassFactory **ppCf) = 0;
  346. virtual HRESULT STDMETHODCALLTYPE GetReturnActivationProperties(
  347. /* [in] */ IUnknown *pUnk,
  348. /* [out] */ IActivationPropertiesOut **ppActOut) = 0;
  349. };
  350. #else /* C style interface */
  351. typedef struct IActivationPropertiesInVtbl
  352. {
  353. BEGIN_INTERFACE
  354. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  355. IActivationPropertiesIn * This,
  356. /* [in] */ REFIID riid,
  357. /* [iid_is][out] */ void **ppvObject);
  358. ULONG ( STDMETHODCALLTYPE *AddRef )(
  359. IActivationPropertiesIn * This);
  360. ULONG ( STDMETHODCALLTYPE *Release )(
  361. IActivationPropertiesIn * This);
  362. HRESULT ( STDMETHODCALLTYPE *GetActivationID )(
  363. IActivationPropertiesIn * This,
  364. /* [out] */ GUID *pActivationID);
  365. HRESULT ( STDMETHODCALLTYPE *GetClassInfo )(
  366. IActivationPropertiesIn * This,
  367. /* [in] */ REFIID riid,
  368. /* [iid_is][out] */ void **ppv);
  369. HRESULT ( STDMETHODCALLTYPE *GetClsctx )(
  370. IActivationPropertiesIn * This,
  371. /* [out] */ DWORD *pclsctx);
  372. HRESULT ( STDMETHODCALLTYPE *GetActivationFlags )(
  373. IActivationPropertiesIn * This,
  374. /* [out] */ DWORD *pactvflags);
  375. HRESULT ( STDMETHODCALLTYPE *AddRequestedIIDs )(
  376. IActivationPropertiesIn * This,
  377. /* [in] */ DWORD cIfs,
  378. /* [size_is][in] */ IID *rgIID);
  379. HRESULT ( STDMETHODCALLTYPE *GetRequestedIIDs )(
  380. IActivationPropertiesIn * This,
  381. /* [out] */ ULONG *pulCount,
  382. /* [out] */ IID **prgIID);
  383. HRESULT ( STDMETHODCALLTYPE *DelegateGetClassObject )(
  384. IActivationPropertiesIn * This,
  385. /* [out] */ IActivationPropertiesOut **pActPropsOut);
  386. HRESULT ( STDMETHODCALLTYPE *DelegateCreateInstance )(
  387. IActivationPropertiesIn * This,
  388. /* [in] */ IUnknown *pUnkOuter,
  389. /* [out] */ IActivationPropertiesOut **pActPropsOut);
  390. HRESULT ( STDMETHODCALLTYPE *DelegateCIAndGetCF )(
  391. IActivationPropertiesIn * This,
  392. /* [in] */ IUnknown *pUnkOuter,
  393. /* [out] */ IActivationPropertiesOut **pActPropsOut,
  394. /* [out] */ IClassFactory **ppCf);
  395. HRESULT ( STDMETHODCALLTYPE *GetReturnActivationProperties )(
  396. IActivationPropertiesIn * This,
  397. /* [in] */ IUnknown *pUnk,
  398. /* [out] */ IActivationPropertiesOut **ppActOut);
  399. END_INTERFACE
  400. } IActivationPropertiesInVtbl;
  401. interface IActivationPropertiesIn
  402. {
  403. CONST_VTBL struct IActivationPropertiesInVtbl *lpVtbl;
  404. };
  405. #ifdef COBJMACROS
  406. #define IActivationPropertiesIn_QueryInterface(This,riid,ppvObject) \
  407. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  408. #define IActivationPropertiesIn_AddRef(This) \
  409. (This)->lpVtbl -> AddRef(This)
  410. #define IActivationPropertiesIn_Release(This) \
  411. (This)->lpVtbl -> Release(This)
  412. #define IActivationPropertiesIn_GetActivationID(This,pActivationID) \
  413. (This)->lpVtbl -> GetActivationID(This,pActivationID)
  414. #define IActivationPropertiesIn_GetClassInfo(This,riid,ppv) \
  415. (This)->lpVtbl -> GetClassInfo(This,riid,ppv)
  416. #define IActivationPropertiesIn_GetClsctx(This,pclsctx) \
  417. (This)->lpVtbl -> GetClsctx(This,pclsctx)
  418. #define IActivationPropertiesIn_GetActivationFlags(This,pactvflags) \
  419. (This)->lpVtbl -> GetActivationFlags(This,pactvflags)
  420. #define IActivationPropertiesIn_AddRequestedIIDs(This,cIfs,rgIID) \
  421. (This)->lpVtbl -> AddRequestedIIDs(This,cIfs,rgIID)
  422. #define IActivationPropertiesIn_GetRequestedIIDs(This,pulCount,prgIID) \
  423. (This)->lpVtbl -> GetRequestedIIDs(This,pulCount,prgIID)
  424. #define IActivationPropertiesIn_DelegateGetClassObject(This,pActPropsOut) \
  425. (This)->lpVtbl -> DelegateGetClassObject(This,pActPropsOut)
  426. #define IActivationPropertiesIn_DelegateCreateInstance(This,pUnkOuter,pActPropsOut) \
  427. (This)->lpVtbl -> DelegateCreateInstance(This,pUnkOuter,pActPropsOut)
  428. #define IActivationPropertiesIn_DelegateCIAndGetCF(This,pUnkOuter,pActPropsOut,ppCf) \
  429. (This)->lpVtbl -> DelegateCIAndGetCF(This,pUnkOuter,pActPropsOut,ppCf)
  430. #define IActivationPropertiesIn_GetReturnActivationProperties(This,pUnk,ppActOut) \
  431. (This)->lpVtbl -> GetReturnActivationProperties(This,pUnk,ppActOut)
  432. #endif /* COBJMACROS */
  433. #endif /* C style interface */
  434. HRESULT STDMETHODCALLTYPE IActivationPropertiesIn_GetActivationID_Proxy(
  435. IActivationPropertiesIn * This,
  436. /* [out] */ GUID *pActivationID);
  437. void __RPC_STUB IActivationPropertiesIn_GetActivationID_Stub(
  438. IRpcStubBuffer *This,
  439. IRpcChannelBuffer *_pRpcChannelBuffer,
  440. PRPC_MESSAGE _pRpcMessage,
  441. DWORD *_pdwStubPhase);
  442. HRESULT STDMETHODCALLTYPE IActivationPropertiesIn_GetClassInfo_Proxy(
  443. IActivationPropertiesIn * This,
  444. /* [in] */ REFIID riid,
  445. /* [iid_is][out] */ void **ppv);
  446. void __RPC_STUB IActivationPropertiesIn_GetClassInfo_Stub(
  447. IRpcStubBuffer *This,
  448. IRpcChannelBuffer *_pRpcChannelBuffer,
  449. PRPC_MESSAGE _pRpcMessage,
  450. DWORD *_pdwStubPhase);
  451. HRESULT STDMETHODCALLTYPE IActivationPropertiesIn_GetClsctx_Proxy(
  452. IActivationPropertiesIn * This,
  453. /* [out] */ DWORD *pclsctx);
  454. void __RPC_STUB IActivationPropertiesIn_GetClsctx_Stub(
  455. IRpcStubBuffer *This,
  456. IRpcChannelBuffer *_pRpcChannelBuffer,
  457. PRPC_MESSAGE _pRpcMessage,
  458. DWORD *_pdwStubPhase);
  459. HRESULT STDMETHODCALLTYPE IActivationPropertiesIn_GetActivationFlags_Proxy(
  460. IActivationPropertiesIn * This,
  461. /* [out] */ DWORD *pactvflags);
  462. void __RPC_STUB IActivationPropertiesIn_GetActivationFlags_Stub(
  463. IRpcStubBuffer *This,
  464. IRpcChannelBuffer *_pRpcChannelBuffer,
  465. PRPC_MESSAGE _pRpcMessage,
  466. DWORD *_pdwStubPhase);
  467. HRESULT STDMETHODCALLTYPE IActivationPropertiesIn_AddRequestedIIDs_Proxy(
  468. IActivationPropertiesIn * This,
  469. /* [in] */ DWORD cIfs,
  470. /* [size_is][in] */ IID *rgIID);
  471. void __RPC_STUB IActivationPropertiesIn_AddRequestedIIDs_Stub(
  472. IRpcStubBuffer *This,
  473. IRpcChannelBuffer *_pRpcChannelBuffer,
  474. PRPC_MESSAGE _pRpcMessage,
  475. DWORD *_pdwStubPhase);
  476. HRESULT STDMETHODCALLTYPE IActivationPropertiesIn_GetRequestedIIDs_Proxy(
  477. IActivationPropertiesIn * This,
  478. /* [out] */ ULONG *pulCount,
  479. /* [out] */ IID **prgIID);
  480. void __RPC_STUB IActivationPropertiesIn_GetRequestedIIDs_Stub(
  481. IRpcStubBuffer *This,
  482. IRpcChannelBuffer *_pRpcChannelBuffer,
  483. PRPC_MESSAGE _pRpcMessage,
  484. DWORD *_pdwStubPhase);
  485. HRESULT STDMETHODCALLTYPE IActivationPropertiesIn_DelegateGetClassObject_Proxy(
  486. IActivationPropertiesIn * This,
  487. /* [out] */ IActivationPropertiesOut **pActPropsOut);
  488. void __RPC_STUB IActivationPropertiesIn_DelegateGetClassObject_Stub(
  489. IRpcStubBuffer *This,
  490. IRpcChannelBuffer *_pRpcChannelBuffer,
  491. PRPC_MESSAGE _pRpcMessage,
  492. DWORD *_pdwStubPhase);
  493. HRESULT STDMETHODCALLTYPE IActivationPropertiesIn_DelegateCreateInstance_Proxy(
  494. IActivationPropertiesIn * This,
  495. /* [in] */ IUnknown *pUnkOuter,
  496. /* [out] */ IActivationPropertiesOut **pActPropsOut);
  497. void __RPC_STUB IActivationPropertiesIn_DelegateCreateInstance_Stub(
  498. IRpcStubBuffer *This,
  499. IRpcChannelBuffer *_pRpcChannelBuffer,
  500. PRPC_MESSAGE _pRpcMessage,
  501. DWORD *_pdwStubPhase);
  502. HRESULT STDMETHODCALLTYPE IActivationPropertiesIn_DelegateCIAndGetCF_Proxy(
  503. IActivationPropertiesIn * This,
  504. /* [in] */ IUnknown *pUnkOuter,
  505. /* [out] */ IActivationPropertiesOut **pActPropsOut,
  506. /* [out] */ IClassFactory **ppCf);
  507. void __RPC_STUB IActivationPropertiesIn_DelegateCIAndGetCF_Stub(
  508. IRpcStubBuffer *This,
  509. IRpcChannelBuffer *_pRpcChannelBuffer,
  510. PRPC_MESSAGE _pRpcMessage,
  511. DWORD *_pdwStubPhase);
  512. HRESULT STDMETHODCALLTYPE IActivationPropertiesIn_GetReturnActivationProperties_Proxy(
  513. IActivationPropertiesIn * This,
  514. /* [in] */ IUnknown *pUnk,
  515. /* [out] */ IActivationPropertiesOut **ppActOut);
  516. void __RPC_STUB IActivationPropertiesIn_GetReturnActivationProperties_Stub(
  517. IRpcStubBuffer *This,
  518. IRpcChannelBuffer *_pRpcChannelBuffer,
  519. PRPC_MESSAGE _pRpcMessage,
  520. DWORD *_pdwStubPhase);
  521. #endif /* __IActivationPropertiesIn_INTERFACE_DEFINED__ */
  522. #ifndef __IActivationPropertiesOut_INTERFACE_DEFINED__
  523. #define __IActivationPropertiesOut_INTERFACE_DEFINED__
  524. /* interface IActivationPropertiesOut */
  525. /* [unique][uuid][local][object] */
  526. EXTERN_C const IID IID_IActivationPropertiesOut;
  527. #if defined(__cplusplus) && !defined(CINTERFACE)
  528. MIDL_INTERFACE("000001A3-0000-0000-C000-000000000046")
  529. IActivationPropertiesOut : public IUnknown
  530. {
  531. public:
  532. virtual HRESULT STDMETHODCALLTYPE GetActivationID(
  533. /* [out] */ GUID *pActivationID) = 0;
  534. virtual HRESULT STDMETHODCALLTYPE GetObjectInterface(
  535. /* [in] */ REFIID riid,
  536. /* [in] */ DWORD actvflags,
  537. /* [iid_is][out] */ void **ppv) = 0;
  538. virtual HRESULT STDMETHODCALLTYPE GetObjectInterfaces(
  539. /* [in] */ DWORD cIfs,
  540. /* [in] */ DWORD actvflags,
  541. /* [size_is][in] */ MULTI_QI *multiQi) = 0;
  542. virtual HRESULT STDMETHODCALLTYPE RemoveRequestedIIDs(
  543. /* [in] */ DWORD cIfs,
  544. /* [size_is][in] */ IID *rgIID) = 0;
  545. };
  546. #else /* C style interface */
  547. typedef struct IActivationPropertiesOutVtbl
  548. {
  549. BEGIN_INTERFACE
  550. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  551. IActivationPropertiesOut * This,
  552. /* [in] */ REFIID riid,
  553. /* [iid_is][out] */ void **ppvObject);
  554. ULONG ( STDMETHODCALLTYPE *AddRef )(
  555. IActivationPropertiesOut * This);
  556. ULONG ( STDMETHODCALLTYPE *Release )(
  557. IActivationPropertiesOut * This);
  558. HRESULT ( STDMETHODCALLTYPE *GetActivationID )(
  559. IActivationPropertiesOut * This,
  560. /* [out] */ GUID *pActivationID);
  561. HRESULT ( STDMETHODCALLTYPE *GetObjectInterface )(
  562. IActivationPropertiesOut * This,
  563. /* [in] */ REFIID riid,
  564. /* [in] */ DWORD actvflags,
  565. /* [iid_is][out] */ void **ppv);
  566. HRESULT ( STDMETHODCALLTYPE *GetObjectInterfaces )(
  567. IActivationPropertiesOut * This,
  568. /* [in] */ DWORD cIfs,
  569. /* [in] */ DWORD actvflags,
  570. /* [size_is][in] */ MULTI_QI *multiQi);
  571. HRESULT ( STDMETHODCALLTYPE *RemoveRequestedIIDs )(
  572. IActivationPropertiesOut * This,
  573. /* [in] */ DWORD cIfs,
  574. /* [size_is][in] */ IID *rgIID);
  575. END_INTERFACE
  576. } IActivationPropertiesOutVtbl;
  577. interface IActivationPropertiesOut
  578. {
  579. CONST_VTBL struct IActivationPropertiesOutVtbl *lpVtbl;
  580. };
  581. #ifdef COBJMACROS
  582. #define IActivationPropertiesOut_QueryInterface(This,riid,ppvObject) \
  583. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  584. #define IActivationPropertiesOut_AddRef(This) \
  585. (This)->lpVtbl -> AddRef(This)
  586. #define IActivationPropertiesOut_Release(This) \
  587. (This)->lpVtbl -> Release(This)
  588. #define IActivationPropertiesOut_GetActivationID(This,pActivationID) \
  589. (This)->lpVtbl -> GetActivationID(This,pActivationID)
  590. #define IActivationPropertiesOut_GetObjectInterface(This,riid,actvflags,ppv) \
  591. (This)->lpVtbl -> GetObjectInterface(This,riid,actvflags,ppv)
  592. #define IActivationPropertiesOut_GetObjectInterfaces(This,cIfs,actvflags,multiQi) \
  593. (This)->lpVtbl -> GetObjectInterfaces(This,cIfs,actvflags,multiQi)
  594. #define IActivationPropertiesOut_RemoveRequestedIIDs(This,cIfs,rgIID) \
  595. (This)->lpVtbl -> RemoveRequestedIIDs(This,cIfs,rgIID)
  596. #endif /* COBJMACROS */
  597. #endif /* C style interface */
  598. HRESULT STDMETHODCALLTYPE IActivationPropertiesOut_GetActivationID_Proxy(
  599. IActivationPropertiesOut * This,
  600. /* [out] */ GUID *pActivationID);
  601. void __RPC_STUB IActivationPropertiesOut_GetActivationID_Stub(
  602. IRpcStubBuffer *This,
  603. IRpcChannelBuffer *_pRpcChannelBuffer,
  604. PRPC_MESSAGE _pRpcMessage,
  605. DWORD *_pdwStubPhase);
  606. HRESULT STDMETHODCALLTYPE IActivationPropertiesOut_GetObjectInterface_Proxy(
  607. IActivationPropertiesOut * This,
  608. /* [in] */ REFIID riid,
  609. /* [in] */ DWORD actvflags,
  610. /* [iid_is][out] */ void **ppv);
  611. void __RPC_STUB IActivationPropertiesOut_GetObjectInterface_Stub(
  612. IRpcStubBuffer *This,
  613. IRpcChannelBuffer *_pRpcChannelBuffer,
  614. PRPC_MESSAGE _pRpcMessage,
  615. DWORD *_pdwStubPhase);
  616. HRESULT STDMETHODCALLTYPE IActivationPropertiesOut_GetObjectInterfaces_Proxy(
  617. IActivationPropertiesOut * This,
  618. /* [in] */ DWORD cIfs,
  619. /* [in] */ DWORD actvflags,
  620. /* [size_is][in] */ MULTI_QI *multiQi);
  621. void __RPC_STUB IActivationPropertiesOut_GetObjectInterfaces_Stub(
  622. IRpcStubBuffer *This,
  623. IRpcChannelBuffer *_pRpcChannelBuffer,
  624. PRPC_MESSAGE _pRpcMessage,
  625. DWORD *_pdwStubPhase);
  626. HRESULT STDMETHODCALLTYPE IActivationPropertiesOut_RemoveRequestedIIDs_Proxy(
  627. IActivationPropertiesOut * This,
  628. /* [in] */ DWORD cIfs,
  629. /* [size_is][in] */ IID *rgIID);
  630. void __RPC_STUB IActivationPropertiesOut_RemoveRequestedIIDs_Stub(
  631. IRpcStubBuffer *This,
  632. IRpcChannelBuffer *_pRpcChannelBuffer,
  633. PRPC_MESSAGE _pRpcMessage,
  634. DWORD *_pdwStubPhase);
  635. #endif /* __IActivationPropertiesOut_INTERFACE_DEFINED__ */
  636. /* interface __MIDL_itf_activate_0121 */
  637. /* [local] */
  638. typedef
  639. enum tagACTIVATION_STAGE
  640. { CLIENT_CONTEXT_STAGE = 1,
  641. CLIENT_MACHINE_STAGE = 2,
  642. SERVER_MACHINE_STAGE = 3,
  643. SERVER_PROCESS_STAGE = 4,
  644. SERVER_CONTEXT_STAGE = 5
  645. } ACTIVATION_STAGE;
  646. extern RPC_IF_HANDLE __MIDL_itf_activate_0121_ClientIfHandle;
  647. extern RPC_IF_HANDLE __MIDL_itf_activate_0121_ServerIfHandle;
  648. #ifndef __IActivationStageInfo_INTERFACE_DEFINED__
  649. #define __IActivationStageInfo_INTERFACE_DEFINED__
  650. /* interface IActivationStageInfo */
  651. /* [unique][uuid][object][local] */
  652. EXTERN_C const IID IID_IActivationStageInfo;
  653. #if defined(__cplusplus) && !defined(CINTERFACE)
  654. MIDL_INTERFACE("000001A8-0000-0000-C000-000000000046")
  655. IActivationStageInfo : public IUnknown
  656. {
  657. public:
  658. virtual HRESULT STDMETHODCALLTYPE SetStageAndIndex(
  659. /* [in] */ ACTIVATION_STAGE stage,
  660. /* [in] */ int index) = 0;
  661. virtual HRESULT STDMETHODCALLTYPE GetStage(
  662. /* [out] */ ACTIVATION_STAGE *pstage) = 0;
  663. virtual HRESULT STDMETHODCALLTYPE GetIndex(
  664. /* [out] */ int *pindex) = 0;
  665. };
  666. #else /* C style interface */
  667. typedef struct IActivationStageInfoVtbl
  668. {
  669. BEGIN_INTERFACE
  670. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  671. IActivationStageInfo * This,
  672. /* [in] */ REFIID riid,
  673. /* [iid_is][out] */ void **ppvObject);
  674. ULONG ( STDMETHODCALLTYPE *AddRef )(
  675. IActivationStageInfo * This);
  676. ULONG ( STDMETHODCALLTYPE *Release )(
  677. IActivationStageInfo * This);
  678. HRESULT ( STDMETHODCALLTYPE *SetStageAndIndex )(
  679. IActivationStageInfo * This,
  680. /* [in] */ ACTIVATION_STAGE stage,
  681. /* [in] */ int index);
  682. HRESULT ( STDMETHODCALLTYPE *GetStage )(
  683. IActivationStageInfo * This,
  684. /* [out] */ ACTIVATION_STAGE *pstage);
  685. HRESULT ( STDMETHODCALLTYPE *GetIndex )(
  686. IActivationStageInfo * This,
  687. /* [out] */ int *pindex);
  688. END_INTERFACE
  689. } IActivationStageInfoVtbl;
  690. interface IActivationStageInfo
  691. {
  692. CONST_VTBL struct IActivationStageInfoVtbl *lpVtbl;
  693. };
  694. #ifdef COBJMACROS
  695. #define IActivationStageInfo_QueryInterface(This,riid,ppvObject) \
  696. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  697. #define IActivationStageInfo_AddRef(This) \
  698. (This)->lpVtbl -> AddRef(This)
  699. #define IActivationStageInfo_Release(This) \
  700. (This)->lpVtbl -> Release(This)
  701. #define IActivationStageInfo_SetStageAndIndex(This,stage,index) \
  702. (This)->lpVtbl -> SetStageAndIndex(This,stage,index)
  703. #define IActivationStageInfo_GetStage(This,pstage) \
  704. (This)->lpVtbl -> GetStage(This,pstage)
  705. #define IActivationStageInfo_GetIndex(This,pindex) \
  706. (This)->lpVtbl -> GetIndex(This,pindex)
  707. #endif /* COBJMACROS */
  708. #endif /* C style interface */
  709. HRESULT STDMETHODCALLTYPE IActivationStageInfo_SetStageAndIndex_Proxy(
  710. IActivationStageInfo * This,
  711. /* [in] */ ACTIVATION_STAGE stage,
  712. /* [in] */ int index);
  713. void __RPC_STUB IActivationStageInfo_SetStageAndIndex_Stub(
  714. IRpcStubBuffer *This,
  715. IRpcChannelBuffer *_pRpcChannelBuffer,
  716. PRPC_MESSAGE _pRpcMessage,
  717. DWORD *_pdwStubPhase);
  718. HRESULT STDMETHODCALLTYPE IActivationStageInfo_GetStage_Proxy(
  719. IActivationStageInfo * This,
  720. /* [out] */ ACTIVATION_STAGE *pstage);
  721. void __RPC_STUB IActivationStageInfo_GetStage_Stub(
  722. IRpcStubBuffer *This,
  723. IRpcChannelBuffer *_pRpcChannelBuffer,
  724. PRPC_MESSAGE _pRpcMessage,
  725. DWORD *_pdwStubPhase);
  726. HRESULT STDMETHODCALLTYPE IActivationStageInfo_GetIndex_Proxy(
  727. IActivationStageInfo * This,
  728. /* [out] */ int *pindex);
  729. void __RPC_STUB IActivationStageInfo_GetIndex_Stub(
  730. IRpcStubBuffer *This,
  731. IRpcChannelBuffer *_pRpcChannelBuffer,
  732. PRPC_MESSAGE _pRpcMessage,
  733. DWORD *_pdwStubPhase);
  734. #endif /* __IActivationStageInfo_INTERFACE_DEFINED__ */
  735. /* interface __MIDL_itf_activate_0122 */
  736. /* [local] */
  737. typedef
  738. enum _PRT
  739. { PRT_IGNORE = 0,
  740. PRT_CREATE_NEW = 1,
  741. PRT_USE_THIS = 2,
  742. PRT_USE_THIS_ONLY = 3
  743. } PROCESS_REQUEST_TYPE;
  744. extern RPC_IF_HANDLE __MIDL_itf_activate_0122_ClientIfHandle;
  745. extern RPC_IF_HANDLE __MIDL_itf_activate_0122_ServerIfHandle;
  746. #ifndef __IServerLocationInfo_INTERFACE_DEFINED__
  747. #define __IServerLocationInfo_INTERFACE_DEFINED__
  748. /* interface IServerLocationInfo */
  749. /* [unique][uuid][local][object] */
  750. EXTERN_C const IID IID_IServerLocationInfo;
  751. #if defined(__cplusplus) && !defined(CINTERFACE)
  752. MIDL_INTERFACE("000001A4-0000-0000-C000-000000000046")
  753. IServerLocationInfo : public IUnknown
  754. {
  755. public:
  756. virtual HRESULT STDMETHODCALLTYPE SetRemoteServerName(
  757. /* [unique][string][in] */ WCHAR *pswzMachineName) = 0;
  758. virtual HRESULT STDMETHODCALLTYPE GetRemoteServerName(
  759. /* [string][out] */ WCHAR **pswzMachineName) = 0;
  760. virtual HRESULT STDMETHODCALLTYPE SetProcess(
  761. /* [in] */ DWORD pid,
  762. DWORD dwPRT) = 0;
  763. virtual HRESULT STDMETHODCALLTYPE GetProcess(
  764. /* [out] */ DWORD *ppid,
  765. DWORD *pdwPRT) = 0;
  766. virtual HRESULT STDMETHODCALLTYPE SetApartment(
  767. /* [in] */ APTID apartmentId) = 0;
  768. virtual HRESULT STDMETHODCALLTYPE GetApartment(
  769. /* [out] */ APTID *pApartmentId) = 0;
  770. virtual HRESULT STDMETHODCALLTYPE SetContext(
  771. /* [in] */ IObjContext *pContext) = 0;
  772. virtual HRESULT STDMETHODCALLTYPE GetContext(
  773. /* [out] */ IObjContext **ppContext) = 0;
  774. };
  775. #else /* C style interface */
  776. typedef struct IServerLocationInfoVtbl
  777. {
  778. BEGIN_INTERFACE
  779. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  780. IServerLocationInfo * This,
  781. /* [in] */ REFIID riid,
  782. /* [iid_is][out] */ void **ppvObject);
  783. ULONG ( STDMETHODCALLTYPE *AddRef )(
  784. IServerLocationInfo * This);
  785. ULONG ( STDMETHODCALLTYPE *Release )(
  786. IServerLocationInfo * This);
  787. HRESULT ( STDMETHODCALLTYPE *SetRemoteServerName )(
  788. IServerLocationInfo * This,
  789. /* [unique][string][in] */ WCHAR *pswzMachineName);
  790. HRESULT ( STDMETHODCALLTYPE *GetRemoteServerName )(
  791. IServerLocationInfo * This,
  792. /* [string][out] */ WCHAR **pswzMachineName);
  793. HRESULT ( STDMETHODCALLTYPE *SetProcess )(
  794. IServerLocationInfo * This,
  795. /* [in] */ DWORD pid,
  796. DWORD dwPRT);
  797. HRESULT ( STDMETHODCALLTYPE *GetProcess )(
  798. IServerLocationInfo * This,
  799. /* [out] */ DWORD *ppid,
  800. DWORD *pdwPRT);
  801. HRESULT ( STDMETHODCALLTYPE *SetApartment )(
  802. IServerLocationInfo * This,
  803. /* [in] */ APTID apartmentId);
  804. HRESULT ( STDMETHODCALLTYPE *GetApartment )(
  805. IServerLocationInfo * This,
  806. /* [out] */ APTID *pApartmentId);
  807. HRESULT ( STDMETHODCALLTYPE *SetContext )(
  808. IServerLocationInfo * This,
  809. /* [in] */ IObjContext *pContext);
  810. HRESULT ( STDMETHODCALLTYPE *GetContext )(
  811. IServerLocationInfo * This,
  812. /* [out] */ IObjContext **ppContext);
  813. END_INTERFACE
  814. } IServerLocationInfoVtbl;
  815. interface IServerLocationInfo
  816. {
  817. CONST_VTBL struct IServerLocationInfoVtbl *lpVtbl;
  818. };
  819. #ifdef COBJMACROS
  820. #define IServerLocationInfo_QueryInterface(This,riid,ppvObject) \
  821. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  822. #define IServerLocationInfo_AddRef(This) \
  823. (This)->lpVtbl -> AddRef(This)
  824. #define IServerLocationInfo_Release(This) \
  825. (This)->lpVtbl -> Release(This)
  826. #define IServerLocationInfo_SetRemoteServerName(This,pswzMachineName) \
  827. (This)->lpVtbl -> SetRemoteServerName(This,pswzMachineName)
  828. #define IServerLocationInfo_GetRemoteServerName(This,pswzMachineName) \
  829. (This)->lpVtbl -> GetRemoteServerName(This,pswzMachineName)
  830. #define IServerLocationInfo_SetProcess(This,pid,dwPRT) \
  831. (This)->lpVtbl -> SetProcess(This,pid,dwPRT)
  832. #define IServerLocationInfo_GetProcess(This,ppid,pdwPRT) \
  833. (This)->lpVtbl -> GetProcess(This,ppid,pdwPRT)
  834. #define IServerLocationInfo_SetApartment(This,apartmentId) \
  835. (This)->lpVtbl -> SetApartment(This,apartmentId)
  836. #define IServerLocationInfo_GetApartment(This,pApartmentId) \
  837. (This)->lpVtbl -> GetApartment(This,pApartmentId)
  838. #define IServerLocationInfo_SetContext(This,pContext) \
  839. (This)->lpVtbl -> SetContext(This,pContext)
  840. #define IServerLocationInfo_GetContext(This,ppContext) \
  841. (This)->lpVtbl -> GetContext(This,ppContext)
  842. #endif /* COBJMACROS */
  843. #endif /* C style interface */
  844. HRESULT STDMETHODCALLTYPE IServerLocationInfo_SetRemoteServerName_Proxy(
  845. IServerLocationInfo * This,
  846. /* [unique][string][in] */ WCHAR *pswzMachineName);
  847. void __RPC_STUB IServerLocationInfo_SetRemoteServerName_Stub(
  848. IRpcStubBuffer *This,
  849. IRpcChannelBuffer *_pRpcChannelBuffer,
  850. PRPC_MESSAGE _pRpcMessage,
  851. DWORD *_pdwStubPhase);
  852. HRESULT STDMETHODCALLTYPE IServerLocationInfo_GetRemoteServerName_Proxy(
  853. IServerLocationInfo * This,
  854. /* [string][out] */ WCHAR **pswzMachineName);
  855. void __RPC_STUB IServerLocationInfo_GetRemoteServerName_Stub(
  856. IRpcStubBuffer *This,
  857. IRpcChannelBuffer *_pRpcChannelBuffer,
  858. PRPC_MESSAGE _pRpcMessage,
  859. DWORD *_pdwStubPhase);
  860. HRESULT STDMETHODCALLTYPE IServerLocationInfo_SetProcess_Proxy(
  861. IServerLocationInfo * This,
  862. /* [in] */ DWORD pid,
  863. DWORD dwPRT);
  864. void __RPC_STUB IServerLocationInfo_SetProcess_Stub(
  865. IRpcStubBuffer *This,
  866. IRpcChannelBuffer *_pRpcChannelBuffer,
  867. PRPC_MESSAGE _pRpcMessage,
  868. DWORD *_pdwStubPhase);
  869. HRESULT STDMETHODCALLTYPE IServerLocationInfo_GetProcess_Proxy(
  870. IServerLocationInfo * This,
  871. /* [out] */ DWORD *ppid,
  872. DWORD *pdwPRT);
  873. void __RPC_STUB IServerLocationInfo_GetProcess_Stub(
  874. IRpcStubBuffer *This,
  875. IRpcChannelBuffer *_pRpcChannelBuffer,
  876. PRPC_MESSAGE _pRpcMessage,
  877. DWORD *_pdwStubPhase);
  878. HRESULT STDMETHODCALLTYPE IServerLocationInfo_SetApartment_Proxy(
  879. IServerLocationInfo * This,
  880. /* [in] */ APTID apartmentId);
  881. void __RPC_STUB IServerLocationInfo_SetApartment_Stub(
  882. IRpcStubBuffer *This,
  883. IRpcChannelBuffer *_pRpcChannelBuffer,
  884. PRPC_MESSAGE _pRpcMessage,
  885. DWORD *_pdwStubPhase);
  886. HRESULT STDMETHODCALLTYPE IServerLocationInfo_GetApartment_Proxy(
  887. IServerLocationInfo * This,
  888. /* [out] */ APTID *pApartmentId);
  889. void __RPC_STUB IServerLocationInfo_GetApartment_Stub(
  890. IRpcStubBuffer *This,
  891. IRpcChannelBuffer *_pRpcChannelBuffer,
  892. PRPC_MESSAGE _pRpcMessage,
  893. DWORD *_pdwStubPhase);
  894. HRESULT STDMETHODCALLTYPE IServerLocationInfo_SetContext_Proxy(
  895. IServerLocationInfo * This,
  896. /* [in] */ IObjContext *pContext);
  897. void __RPC_STUB IServerLocationInfo_SetContext_Stub(
  898. IRpcStubBuffer *This,
  899. IRpcChannelBuffer *_pRpcChannelBuffer,
  900. PRPC_MESSAGE _pRpcMessage,
  901. DWORD *_pdwStubPhase);
  902. HRESULT STDMETHODCALLTYPE IServerLocationInfo_GetContext_Proxy(
  903. IServerLocationInfo * This,
  904. /* [out] */ IObjContext **ppContext);
  905. void __RPC_STUB IServerLocationInfo_GetContext_Stub(
  906. IRpcStubBuffer *This,
  907. IRpcChannelBuffer *_pRpcChannelBuffer,
  908. PRPC_MESSAGE _pRpcMessage,
  909. DWORD *_pdwStubPhase);
  910. #endif /* __IServerLocationInfo_INTERFACE_DEFINED__ */
  911. #ifndef __IActivationContextInfo_INTERFACE_DEFINED__
  912. #define __IActivationContextInfo_INTERFACE_DEFINED__
  913. /* interface IActivationContextInfo */
  914. /* [unique][uuid][local][object] */
  915. EXTERN_C const IID IID_IActivationContextInfo;
  916. #if defined(__cplusplus) && !defined(CINTERFACE)
  917. MIDL_INTERFACE("000001A5-0000-0000-C000-000000000046")
  918. IActivationContextInfo : public IUnknown
  919. {
  920. public:
  921. virtual HRESULT STDMETHODCALLTYPE GetClientContext(
  922. /* [out] */ IContext **ppClientContext) = 0;
  923. virtual HRESULT STDMETHODCALLTYPE GetPrototypeContext(
  924. /* [out] */ IContext **ppContext) = 0;
  925. virtual HRESULT STDMETHODCALLTYPE IsClientContextOK(
  926. /* [out] */ BOOL *fYes) = 0;
  927. virtual HRESULT STDMETHODCALLTYPE SetClientContextNotOK( void) = 0;
  928. };
  929. #else /* C style interface */
  930. typedef struct IActivationContextInfoVtbl
  931. {
  932. BEGIN_INTERFACE
  933. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  934. IActivationContextInfo * This,
  935. /* [in] */ REFIID riid,
  936. /* [iid_is][out] */ void **ppvObject);
  937. ULONG ( STDMETHODCALLTYPE *AddRef )(
  938. IActivationContextInfo * This);
  939. ULONG ( STDMETHODCALLTYPE *Release )(
  940. IActivationContextInfo * This);
  941. HRESULT ( STDMETHODCALLTYPE *GetClientContext )(
  942. IActivationContextInfo * This,
  943. /* [out] */ IContext **ppClientContext);
  944. HRESULT ( STDMETHODCALLTYPE *GetPrototypeContext )(
  945. IActivationContextInfo * This,
  946. /* [out] */ IContext **ppContext);
  947. HRESULT ( STDMETHODCALLTYPE *IsClientContextOK )(
  948. IActivationContextInfo * This,
  949. /* [out] */ BOOL *fYes);
  950. HRESULT ( STDMETHODCALLTYPE *SetClientContextNotOK )(
  951. IActivationContextInfo * This);
  952. END_INTERFACE
  953. } IActivationContextInfoVtbl;
  954. interface IActivationContextInfo
  955. {
  956. CONST_VTBL struct IActivationContextInfoVtbl *lpVtbl;
  957. };
  958. #ifdef COBJMACROS
  959. #define IActivationContextInfo_QueryInterface(This,riid,ppvObject) \
  960. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  961. #define IActivationContextInfo_AddRef(This) \
  962. (This)->lpVtbl -> AddRef(This)
  963. #define IActivationContextInfo_Release(This) \
  964. (This)->lpVtbl -> Release(This)
  965. #define IActivationContextInfo_GetClientContext(This,ppClientContext) \
  966. (This)->lpVtbl -> GetClientContext(This,ppClientContext)
  967. #define IActivationContextInfo_GetPrototypeContext(This,ppContext) \
  968. (This)->lpVtbl -> GetPrototypeContext(This,ppContext)
  969. #define IActivationContextInfo_IsClientContextOK(This,fYes) \
  970. (This)->lpVtbl -> IsClientContextOK(This,fYes)
  971. #define IActivationContextInfo_SetClientContextNotOK(This) \
  972. (This)->lpVtbl -> SetClientContextNotOK(This)
  973. #endif /* COBJMACROS */
  974. #endif /* C style interface */
  975. HRESULT STDMETHODCALLTYPE IActivationContextInfo_GetClientContext_Proxy(
  976. IActivationContextInfo * This,
  977. /* [out] */ IContext **ppClientContext);
  978. void __RPC_STUB IActivationContextInfo_GetClientContext_Stub(
  979. IRpcStubBuffer *This,
  980. IRpcChannelBuffer *_pRpcChannelBuffer,
  981. PRPC_MESSAGE _pRpcMessage,
  982. DWORD *_pdwStubPhase);
  983. HRESULT STDMETHODCALLTYPE IActivationContextInfo_GetPrototypeContext_Proxy(
  984. IActivationContextInfo * This,
  985. /* [out] */ IContext **ppContext);
  986. void __RPC_STUB IActivationContextInfo_GetPrototypeContext_Stub(
  987. IRpcStubBuffer *This,
  988. IRpcChannelBuffer *_pRpcChannelBuffer,
  989. PRPC_MESSAGE _pRpcMessage,
  990. DWORD *_pdwStubPhase);
  991. HRESULT STDMETHODCALLTYPE IActivationContextInfo_IsClientContextOK_Proxy(
  992. IActivationContextInfo * This,
  993. /* [out] */ BOOL *fYes);
  994. void __RPC_STUB IActivationContextInfo_IsClientContextOK_Stub(
  995. IRpcStubBuffer *This,
  996. IRpcChannelBuffer *_pRpcChannelBuffer,
  997. PRPC_MESSAGE _pRpcMessage,
  998. DWORD *_pdwStubPhase);
  999. HRESULT STDMETHODCALLTYPE IActivationContextInfo_SetClientContextNotOK_Proxy(
  1000. IActivationContextInfo * This);
  1001. void __RPC_STUB IActivationContextInfo_SetClientContextNotOK_Stub(
  1002. IRpcStubBuffer *This,
  1003. IRpcChannelBuffer *_pRpcChannelBuffer,
  1004. PRPC_MESSAGE _pRpcMessage,
  1005. DWORD *_pdwStubPhase);
  1006. #endif /* __IActivationContextInfo_INTERFACE_DEFINED__ */
  1007. #ifndef __IOverrideTargetContext_INTERFACE_DEFINED__
  1008. #define __IOverrideTargetContext_INTERFACE_DEFINED__
  1009. /* interface IOverrideTargetContext */
  1010. /* [unique][uuid][local][object] */
  1011. EXTERN_C const IID IID_IOverrideTargetContext;
  1012. #if defined(__cplusplus) && !defined(CINTERFACE)
  1013. MIDL_INTERFACE("000001BA-0000-0000-C000-000000000046")
  1014. IOverrideTargetContext : public IUnknown
  1015. {
  1016. public:
  1017. virtual HRESULT STDMETHODCALLTYPE OverrideTargetContext(
  1018. /* [in] */ REFGUID guidTargetCtxtId) = 0;
  1019. };
  1020. #else /* C style interface */
  1021. typedef struct IOverrideTargetContextVtbl
  1022. {
  1023. BEGIN_INTERFACE
  1024. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1025. IOverrideTargetContext * This,
  1026. /* [in] */ REFIID riid,
  1027. /* [iid_is][out] */ void **ppvObject);
  1028. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1029. IOverrideTargetContext * This);
  1030. ULONG ( STDMETHODCALLTYPE *Release )(
  1031. IOverrideTargetContext * This);
  1032. HRESULT ( STDMETHODCALLTYPE *OverrideTargetContext )(
  1033. IOverrideTargetContext * This,
  1034. /* [in] */ REFGUID guidTargetCtxtId);
  1035. END_INTERFACE
  1036. } IOverrideTargetContextVtbl;
  1037. interface IOverrideTargetContext
  1038. {
  1039. CONST_VTBL struct IOverrideTargetContextVtbl *lpVtbl;
  1040. };
  1041. #ifdef COBJMACROS
  1042. #define IOverrideTargetContext_QueryInterface(This,riid,ppvObject) \
  1043. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1044. #define IOverrideTargetContext_AddRef(This) \
  1045. (This)->lpVtbl -> AddRef(This)
  1046. #define IOverrideTargetContext_Release(This) \
  1047. (This)->lpVtbl -> Release(This)
  1048. #define IOverrideTargetContext_OverrideTargetContext(This,guidTargetCtxtId) \
  1049. (This)->lpVtbl -> OverrideTargetContext(This,guidTargetCtxtId)
  1050. #endif /* COBJMACROS */
  1051. #endif /* C style interface */
  1052. HRESULT STDMETHODCALLTYPE IOverrideTargetContext_OverrideTargetContext_Proxy(
  1053. IOverrideTargetContext * This,
  1054. /* [in] */ REFGUID guidTargetCtxtId);
  1055. void __RPC_STUB IOverrideTargetContext_OverrideTargetContext_Stub(
  1056. IRpcStubBuffer *This,
  1057. IRpcChannelBuffer *_pRpcChannelBuffer,
  1058. PRPC_MESSAGE _pRpcMessage,
  1059. DWORD *_pdwStubPhase);
  1060. #endif /* __IOverrideTargetContext_INTERFACE_DEFINED__ */
  1061. #ifndef __IActivationSecurityInfo_INTERFACE_DEFINED__
  1062. #define __IActivationSecurityInfo_INTERFACE_DEFINED__
  1063. /* interface IActivationSecurityInfo */
  1064. /* [unique][uuid][local][object] */
  1065. EXTERN_C const IID IID_IActivationSecurityInfo;
  1066. #if defined(__cplusplus) && !defined(CINTERFACE)
  1067. MIDL_INTERFACE("000001A6-0000-0000-C000-000000000046")
  1068. IActivationSecurityInfo : public IUnknown
  1069. {
  1070. public:
  1071. virtual HRESULT STDMETHODCALLTYPE SetAuthnFlags(
  1072. /* [in] */ DWORD dwAuthnFlags) = 0;
  1073. virtual HRESULT STDMETHODCALLTYPE GetAuthnFlags(
  1074. /* [out] */ DWORD *pdwAuthnFlags) = 0;
  1075. virtual HRESULT STDMETHODCALLTYPE SetAuthnSvc(
  1076. /* [in] */ DWORD dwAuthnSvc) = 0;
  1077. virtual HRESULT STDMETHODCALLTYPE GetAuthnSvc(
  1078. /* [out] */ DWORD *pdwAuthnSvc) = 0;
  1079. virtual HRESULT STDMETHODCALLTYPE SetAuthzSvc(
  1080. /* [in] */ DWORD dwAuthzSvc) = 0;
  1081. virtual HRESULT STDMETHODCALLTYPE GetAuthzSvc(
  1082. /* [out] */ DWORD *pdwAuthzSvc) = 0;
  1083. virtual HRESULT STDMETHODCALLTYPE SetAuthnLevel(
  1084. /* [in] */ DWORD dwAuthnLevel) = 0;
  1085. virtual HRESULT STDMETHODCALLTYPE GetAuthnLevel(
  1086. /* [out] */ DWORD *pdwAuthnLevel) = 0;
  1087. virtual HRESULT STDMETHODCALLTYPE SetImpLevel(
  1088. /* [in] */ DWORD dwImpLevel) = 0;
  1089. virtual HRESULT STDMETHODCALLTYPE GetImpLevel(
  1090. /* [out] */ DWORD *pdwImpLevel) = 0;
  1091. virtual HRESULT STDMETHODCALLTYPE SetCapabilities(
  1092. /* [in] */ DWORD dwCapabilities) = 0;
  1093. virtual HRESULT STDMETHODCALLTYPE GetCapabilities(
  1094. /* [out] */ DWORD *pdwCapabilities) = 0;
  1095. virtual HRESULT STDMETHODCALLTYPE SetAuthIdentity(
  1096. /* [unique][in] */ COAUTHIDENTITY *pAuthIdentityData) = 0;
  1097. virtual HRESULT STDMETHODCALLTYPE GetAuthIdentity(
  1098. /* [out] */ COAUTHIDENTITY **pAuthIdentityData) = 0;
  1099. virtual HRESULT STDMETHODCALLTYPE SetServerPrincipalName(
  1100. /* [unique][in] */ WCHAR *pwszServerPrincName) = 0;
  1101. virtual HRESULT STDMETHODCALLTYPE GetServerPrincipalName(
  1102. /* [out] */ WCHAR **pwszServerPrincName) = 0;
  1103. };
  1104. #else /* C style interface */
  1105. typedef struct IActivationSecurityInfoVtbl
  1106. {
  1107. BEGIN_INTERFACE
  1108. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1109. IActivationSecurityInfo * This,
  1110. /* [in] */ REFIID riid,
  1111. /* [iid_is][out] */ void **ppvObject);
  1112. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1113. IActivationSecurityInfo * This);
  1114. ULONG ( STDMETHODCALLTYPE *Release )(
  1115. IActivationSecurityInfo * This);
  1116. HRESULT ( STDMETHODCALLTYPE *SetAuthnFlags )(
  1117. IActivationSecurityInfo * This,
  1118. /* [in] */ DWORD dwAuthnFlags);
  1119. HRESULT ( STDMETHODCALLTYPE *GetAuthnFlags )(
  1120. IActivationSecurityInfo * This,
  1121. /* [out] */ DWORD *pdwAuthnFlags);
  1122. HRESULT ( STDMETHODCALLTYPE *SetAuthnSvc )(
  1123. IActivationSecurityInfo * This,
  1124. /* [in] */ DWORD dwAuthnSvc);
  1125. HRESULT ( STDMETHODCALLTYPE *GetAuthnSvc )(
  1126. IActivationSecurityInfo * This,
  1127. /* [out] */ DWORD *pdwAuthnSvc);
  1128. HRESULT ( STDMETHODCALLTYPE *SetAuthzSvc )(
  1129. IActivationSecurityInfo * This,
  1130. /* [in] */ DWORD dwAuthzSvc);
  1131. HRESULT ( STDMETHODCALLTYPE *GetAuthzSvc )(
  1132. IActivationSecurityInfo * This,
  1133. /* [out] */ DWORD *pdwAuthzSvc);
  1134. HRESULT ( STDMETHODCALLTYPE *SetAuthnLevel )(
  1135. IActivationSecurityInfo * This,
  1136. /* [in] */ DWORD dwAuthnLevel);
  1137. HRESULT ( STDMETHODCALLTYPE *GetAuthnLevel )(
  1138. IActivationSecurityInfo * This,
  1139. /* [out] */ DWORD *pdwAuthnLevel);
  1140. HRESULT ( STDMETHODCALLTYPE *SetImpLevel )(
  1141. IActivationSecurityInfo * This,
  1142. /* [in] */ DWORD dwImpLevel);
  1143. HRESULT ( STDMETHODCALLTYPE *GetImpLevel )(
  1144. IActivationSecurityInfo * This,
  1145. /* [out] */ DWORD *pdwImpLevel);
  1146. HRESULT ( STDMETHODCALLTYPE *SetCapabilities )(
  1147. IActivationSecurityInfo * This,
  1148. /* [in] */ DWORD dwCapabilities);
  1149. HRESULT ( STDMETHODCALLTYPE *GetCapabilities )(
  1150. IActivationSecurityInfo * This,
  1151. /* [out] */ DWORD *pdwCapabilities);
  1152. HRESULT ( STDMETHODCALLTYPE *SetAuthIdentity )(
  1153. IActivationSecurityInfo * This,
  1154. /* [unique][in] */ COAUTHIDENTITY *pAuthIdentityData);
  1155. HRESULT ( STDMETHODCALLTYPE *GetAuthIdentity )(
  1156. IActivationSecurityInfo * This,
  1157. /* [out] */ COAUTHIDENTITY **pAuthIdentityData);
  1158. HRESULT ( STDMETHODCALLTYPE *SetServerPrincipalName )(
  1159. IActivationSecurityInfo * This,
  1160. /* [unique][in] */ WCHAR *pwszServerPrincName);
  1161. HRESULT ( STDMETHODCALLTYPE *GetServerPrincipalName )(
  1162. IActivationSecurityInfo * This,
  1163. /* [out] */ WCHAR **pwszServerPrincName);
  1164. END_INTERFACE
  1165. } IActivationSecurityInfoVtbl;
  1166. interface IActivationSecurityInfo
  1167. {
  1168. CONST_VTBL struct IActivationSecurityInfoVtbl *lpVtbl;
  1169. };
  1170. #ifdef COBJMACROS
  1171. #define IActivationSecurityInfo_QueryInterface(This,riid,ppvObject) \
  1172. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1173. #define IActivationSecurityInfo_AddRef(This) \
  1174. (This)->lpVtbl -> AddRef(This)
  1175. #define IActivationSecurityInfo_Release(This) \
  1176. (This)->lpVtbl -> Release(This)
  1177. #define IActivationSecurityInfo_SetAuthnFlags(This,dwAuthnFlags) \
  1178. (This)->lpVtbl -> SetAuthnFlags(This,dwAuthnFlags)
  1179. #define IActivationSecurityInfo_GetAuthnFlags(This,pdwAuthnFlags) \
  1180. (This)->lpVtbl -> GetAuthnFlags(This,pdwAuthnFlags)
  1181. #define IActivationSecurityInfo_SetAuthnSvc(This,dwAuthnSvc) \
  1182. (This)->lpVtbl -> SetAuthnSvc(This,dwAuthnSvc)
  1183. #define IActivationSecurityInfo_GetAuthnSvc(This,pdwAuthnSvc) \
  1184. (This)->lpVtbl -> GetAuthnSvc(This,pdwAuthnSvc)
  1185. #define IActivationSecurityInfo_SetAuthzSvc(This,dwAuthzSvc) \
  1186. (This)->lpVtbl -> SetAuthzSvc(This,dwAuthzSvc)
  1187. #define IActivationSecurityInfo_GetAuthzSvc(This,pdwAuthzSvc) \
  1188. (This)->lpVtbl -> GetAuthzSvc(This,pdwAuthzSvc)
  1189. #define IActivationSecurityInfo_SetAuthnLevel(This,dwAuthnLevel) \
  1190. (This)->lpVtbl -> SetAuthnLevel(This,dwAuthnLevel)
  1191. #define IActivationSecurityInfo_GetAuthnLevel(This,pdwAuthnLevel) \
  1192. (This)->lpVtbl -> GetAuthnLevel(This,pdwAuthnLevel)
  1193. #define IActivationSecurityInfo_SetImpLevel(This,dwImpLevel) \
  1194. (This)->lpVtbl -> SetImpLevel(This,dwImpLevel)
  1195. #define IActivationSecurityInfo_GetImpLevel(This,pdwImpLevel) \
  1196. (This)->lpVtbl -> GetImpLevel(This,pdwImpLevel)
  1197. #define IActivationSecurityInfo_SetCapabilities(This,dwCapabilities) \
  1198. (This)->lpVtbl -> SetCapabilities(This,dwCapabilities)
  1199. #define IActivationSecurityInfo_GetCapabilities(This,pdwCapabilities) \
  1200. (This)->lpVtbl -> GetCapabilities(This,pdwCapabilities)
  1201. #define IActivationSecurityInfo_SetAuthIdentity(This,pAuthIdentityData) \
  1202. (This)->lpVtbl -> SetAuthIdentity(This,pAuthIdentityData)
  1203. #define IActivationSecurityInfo_GetAuthIdentity(This,pAuthIdentityData) \
  1204. (This)->lpVtbl -> GetAuthIdentity(This,pAuthIdentityData)
  1205. #define IActivationSecurityInfo_SetServerPrincipalName(This,pwszServerPrincName) \
  1206. (This)->lpVtbl -> SetServerPrincipalName(This,pwszServerPrincName)
  1207. #define IActivationSecurityInfo_GetServerPrincipalName(This,pwszServerPrincName) \
  1208. (This)->lpVtbl -> GetServerPrincipalName(This,pwszServerPrincName)
  1209. #endif /* COBJMACROS */
  1210. #endif /* C style interface */
  1211. HRESULT STDMETHODCALLTYPE IActivationSecurityInfo_SetAuthnFlags_Proxy(
  1212. IActivationSecurityInfo * This,
  1213. /* [in] */ DWORD dwAuthnFlags);
  1214. void __RPC_STUB IActivationSecurityInfo_SetAuthnFlags_Stub(
  1215. IRpcStubBuffer *This,
  1216. IRpcChannelBuffer *_pRpcChannelBuffer,
  1217. PRPC_MESSAGE _pRpcMessage,
  1218. DWORD *_pdwStubPhase);
  1219. HRESULT STDMETHODCALLTYPE IActivationSecurityInfo_GetAuthnFlags_Proxy(
  1220. IActivationSecurityInfo * This,
  1221. /* [out] */ DWORD *pdwAuthnFlags);
  1222. void __RPC_STUB IActivationSecurityInfo_GetAuthnFlags_Stub(
  1223. IRpcStubBuffer *This,
  1224. IRpcChannelBuffer *_pRpcChannelBuffer,
  1225. PRPC_MESSAGE _pRpcMessage,
  1226. DWORD *_pdwStubPhase);
  1227. HRESULT STDMETHODCALLTYPE IActivationSecurityInfo_SetAuthnSvc_Proxy(
  1228. IActivationSecurityInfo * This,
  1229. /* [in] */ DWORD dwAuthnSvc);
  1230. void __RPC_STUB IActivationSecurityInfo_SetAuthnSvc_Stub(
  1231. IRpcStubBuffer *This,
  1232. IRpcChannelBuffer *_pRpcChannelBuffer,
  1233. PRPC_MESSAGE _pRpcMessage,
  1234. DWORD *_pdwStubPhase);
  1235. HRESULT STDMETHODCALLTYPE IActivationSecurityInfo_GetAuthnSvc_Proxy(
  1236. IActivationSecurityInfo * This,
  1237. /* [out] */ DWORD *pdwAuthnSvc);
  1238. void __RPC_STUB IActivationSecurityInfo_GetAuthnSvc_Stub(
  1239. IRpcStubBuffer *This,
  1240. IRpcChannelBuffer *_pRpcChannelBuffer,
  1241. PRPC_MESSAGE _pRpcMessage,
  1242. DWORD *_pdwStubPhase);
  1243. HRESULT STDMETHODCALLTYPE IActivationSecurityInfo_SetAuthzSvc_Proxy(
  1244. IActivationSecurityInfo * This,
  1245. /* [in] */ DWORD dwAuthzSvc);
  1246. void __RPC_STUB IActivationSecurityInfo_SetAuthzSvc_Stub(
  1247. IRpcStubBuffer *This,
  1248. IRpcChannelBuffer *_pRpcChannelBuffer,
  1249. PRPC_MESSAGE _pRpcMessage,
  1250. DWORD *_pdwStubPhase);
  1251. HRESULT STDMETHODCALLTYPE IActivationSecurityInfo_GetAuthzSvc_Proxy(
  1252. IActivationSecurityInfo * This,
  1253. /* [out] */ DWORD *pdwAuthzSvc);
  1254. void __RPC_STUB IActivationSecurityInfo_GetAuthzSvc_Stub(
  1255. IRpcStubBuffer *This,
  1256. IRpcChannelBuffer *_pRpcChannelBuffer,
  1257. PRPC_MESSAGE _pRpcMessage,
  1258. DWORD *_pdwStubPhase);
  1259. HRESULT STDMETHODCALLTYPE IActivationSecurityInfo_SetAuthnLevel_Proxy(
  1260. IActivationSecurityInfo * This,
  1261. /* [in] */ DWORD dwAuthnLevel);
  1262. void __RPC_STUB IActivationSecurityInfo_SetAuthnLevel_Stub(
  1263. IRpcStubBuffer *This,
  1264. IRpcChannelBuffer *_pRpcChannelBuffer,
  1265. PRPC_MESSAGE _pRpcMessage,
  1266. DWORD *_pdwStubPhase);
  1267. HRESULT STDMETHODCALLTYPE IActivationSecurityInfo_GetAuthnLevel_Proxy(
  1268. IActivationSecurityInfo * This,
  1269. /* [out] */ DWORD *pdwAuthnLevel);
  1270. void __RPC_STUB IActivationSecurityInfo_GetAuthnLevel_Stub(
  1271. IRpcStubBuffer *This,
  1272. IRpcChannelBuffer *_pRpcChannelBuffer,
  1273. PRPC_MESSAGE _pRpcMessage,
  1274. DWORD *_pdwStubPhase);
  1275. HRESULT STDMETHODCALLTYPE IActivationSecurityInfo_SetImpLevel_Proxy(
  1276. IActivationSecurityInfo * This,
  1277. /* [in] */ DWORD dwImpLevel);
  1278. void __RPC_STUB IActivationSecurityInfo_SetImpLevel_Stub(
  1279. IRpcStubBuffer *This,
  1280. IRpcChannelBuffer *_pRpcChannelBuffer,
  1281. PRPC_MESSAGE _pRpcMessage,
  1282. DWORD *_pdwStubPhase);
  1283. HRESULT STDMETHODCALLTYPE IActivationSecurityInfo_GetImpLevel_Proxy(
  1284. IActivationSecurityInfo * This,
  1285. /* [out] */ DWORD *pdwImpLevel);
  1286. void __RPC_STUB IActivationSecurityInfo_GetImpLevel_Stub(
  1287. IRpcStubBuffer *This,
  1288. IRpcChannelBuffer *_pRpcChannelBuffer,
  1289. PRPC_MESSAGE _pRpcMessage,
  1290. DWORD *_pdwStubPhase);
  1291. HRESULT STDMETHODCALLTYPE IActivationSecurityInfo_SetCapabilities_Proxy(
  1292. IActivationSecurityInfo * This,
  1293. /* [in] */ DWORD dwCapabilities);
  1294. void __RPC_STUB IActivationSecurityInfo_SetCapabilities_Stub(
  1295. IRpcStubBuffer *This,
  1296. IRpcChannelBuffer *_pRpcChannelBuffer,
  1297. PRPC_MESSAGE _pRpcMessage,
  1298. DWORD *_pdwStubPhase);
  1299. HRESULT STDMETHODCALLTYPE IActivationSecurityInfo_GetCapabilities_Proxy(
  1300. IActivationSecurityInfo * This,
  1301. /* [out] */ DWORD *pdwCapabilities);
  1302. void __RPC_STUB IActivationSecurityInfo_GetCapabilities_Stub(
  1303. IRpcStubBuffer *This,
  1304. IRpcChannelBuffer *_pRpcChannelBuffer,
  1305. PRPC_MESSAGE _pRpcMessage,
  1306. DWORD *_pdwStubPhase);
  1307. HRESULT STDMETHODCALLTYPE IActivationSecurityInfo_SetAuthIdentity_Proxy(
  1308. IActivationSecurityInfo * This,
  1309. /* [unique][in] */ COAUTHIDENTITY *pAuthIdentityData);
  1310. void __RPC_STUB IActivationSecurityInfo_SetAuthIdentity_Stub(
  1311. IRpcStubBuffer *This,
  1312. IRpcChannelBuffer *_pRpcChannelBuffer,
  1313. PRPC_MESSAGE _pRpcMessage,
  1314. DWORD *_pdwStubPhase);
  1315. HRESULT STDMETHODCALLTYPE IActivationSecurityInfo_GetAuthIdentity_Proxy(
  1316. IActivationSecurityInfo * This,
  1317. /* [out] */ COAUTHIDENTITY **pAuthIdentityData);
  1318. void __RPC_STUB IActivationSecurityInfo_GetAuthIdentity_Stub(
  1319. IRpcStubBuffer *This,
  1320. IRpcChannelBuffer *_pRpcChannelBuffer,
  1321. PRPC_MESSAGE _pRpcMessage,
  1322. DWORD *_pdwStubPhase);
  1323. HRESULT STDMETHODCALLTYPE IActivationSecurityInfo_SetServerPrincipalName_Proxy(
  1324. IActivationSecurityInfo * This,
  1325. /* [unique][in] */ WCHAR *pwszServerPrincName);
  1326. void __RPC_STUB IActivationSecurityInfo_SetServerPrincipalName_Stub(
  1327. IRpcStubBuffer *This,
  1328. IRpcChannelBuffer *_pRpcChannelBuffer,
  1329. PRPC_MESSAGE _pRpcMessage,
  1330. DWORD *_pdwStubPhase);
  1331. HRESULT STDMETHODCALLTYPE IActivationSecurityInfo_GetServerPrincipalName_Proxy(
  1332. IActivationSecurityInfo * This,
  1333. /* [out] */ WCHAR **pwszServerPrincName);
  1334. void __RPC_STUB IActivationSecurityInfo_GetServerPrincipalName_Stub(
  1335. IRpcStubBuffer *This,
  1336. IRpcChannelBuffer *_pRpcChannelBuffer,
  1337. PRPC_MESSAGE _pRpcMessage,
  1338. DWORD *_pdwStubPhase);
  1339. #endif /* __IActivationSecurityInfo_INTERFACE_DEFINED__ */
  1340. /* interface __MIDL_itf_activate_0126 */
  1341. /* [local] */
  1342. typedef /* [public][public][public][public][public][public] */
  1343. enum __MIDL___MIDL_itf_activate_0126_0001
  1344. { ST_SERVER = 1,
  1345. ST_OLDSURROGATE = ST_SERVER + 1,
  1346. ST_COMPLUSAPP = ST_OLDSURROGATE + 1,
  1347. ST_SERVICE = ST_COMPLUSAPP + 1
  1348. } ServerType;
  1349. typedef /* [public][public][public][public][public][public] */
  1350. enum __MIDL___MIDL_itf_activate_0126_0002
  1351. { SIT_RUNAS_SPECIFIC_USER = 1,
  1352. SIT_RUNAS_INTERACTIVE = SIT_RUNAS_SPECIFIC_USER + 1
  1353. } ServerIDType;
  1354. typedef /* [public] */
  1355. enum __MIDL___MIDL_itf_activate_0126_0003
  1356. { SPIF_COMPLUS = 1,
  1357. SPIF_SUSPENDED = 2,
  1358. SPIF_RETIRED = 4,
  1359. SPIF_READY = 8,
  1360. SPIF_PAUSED = 16
  1361. } SCMProcessInfoFlags;
  1362. typedef /* [public][public][public][public] */ struct __MIDL___MIDL_itf_activate_0126_0004
  1363. {
  1364. ULONG ulNumClasses;
  1365. GUID *pCLSIDs;
  1366. DWORD pidProcess;
  1367. HANDLE hProcess;
  1368. HANDLE hImpersonationToken;
  1369. WCHAR *pwszWinstaDesktop;
  1370. DWORD dwState;
  1371. GUID AppId;
  1372. ServerType ServerType;
  1373. ServerIDType ServerID;
  1374. FILETIME ftCreated;
  1375. } SCMProcessInfo;
  1376. typedef struct __MIDL___MIDL_itf_activate_0126_0004 *PSCMProcessInfo;
  1377. extern RPC_IF_HANDLE __MIDL_itf_activate_0126_ClientIfHandle;
  1378. extern RPC_IF_HANDLE __MIDL_itf_activate_0126_ServerIfHandle;
  1379. #ifndef __IEnumSCMProcessInfo_INTERFACE_DEFINED__
  1380. #define __IEnumSCMProcessInfo_INTERFACE_DEFINED__
  1381. /* interface IEnumSCMProcessInfo */
  1382. /* [unique][uuid][object][local] */
  1383. EXTERN_C const IID IID_IEnumSCMProcessInfo;
  1384. #if defined(__cplusplus) && !defined(CINTERFACE)
  1385. MIDL_INTERFACE("8bbbd026-de4d-46b7-8a90-72c66eb64ad6")
  1386. IEnumSCMProcessInfo : public IUnknown
  1387. {
  1388. public:
  1389. virtual HRESULT STDMETHODCALLTYPE Next(
  1390. /* [in] */ ULONG cElems,
  1391. /* [length_is][size_is][out] */ SCMProcessInfo **ppSCMProcessInfo,
  1392. /* [out] */ ULONG *pcFetched) = 0;
  1393. virtual HRESULT STDMETHODCALLTYPE Skip(
  1394. /* [in] */ ULONG cElems) = 0;
  1395. virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
  1396. virtual HRESULT STDMETHODCALLTYPE Clone(
  1397. /* [out] */ IEnumSCMProcessInfo **ppESPI) = 0;
  1398. };
  1399. #else /* C style interface */
  1400. typedef struct IEnumSCMProcessInfoVtbl
  1401. {
  1402. BEGIN_INTERFACE
  1403. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1404. IEnumSCMProcessInfo * This,
  1405. /* [in] */ REFIID riid,
  1406. /* [iid_is][out] */ void **ppvObject);
  1407. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1408. IEnumSCMProcessInfo * This);
  1409. ULONG ( STDMETHODCALLTYPE *Release )(
  1410. IEnumSCMProcessInfo * This);
  1411. HRESULT ( STDMETHODCALLTYPE *Next )(
  1412. IEnumSCMProcessInfo * This,
  1413. /* [in] */ ULONG cElems,
  1414. /* [length_is][size_is][out] */ SCMProcessInfo **ppSCMProcessInfo,
  1415. /* [out] */ ULONG *pcFetched);
  1416. HRESULT ( STDMETHODCALLTYPE *Skip )(
  1417. IEnumSCMProcessInfo * This,
  1418. /* [in] */ ULONG cElems);
  1419. HRESULT ( STDMETHODCALLTYPE *Reset )(
  1420. IEnumSCMProcessInfo * This);
  1421. HRESULT ( STDMETHODCALLTYPE *Clone )(
  1422. IEnumSCMProcessInfo * This,
  1423. /* [out] */ IEnumSCMProcessInfo **ppESPI);
  1424. END_INTERFACE
  1425. } IEnumSCMProcessInfoVtbl;
  1426. interface IEnumSCMProcessInfo
  1427. {
  1428. CONST_VTBL struct IEnumSCMProcessInfoVtbl *lpVtbl;
  1429. };
  1430. #ifdef COBJMACROS
  1431. #define IEnumSCMProcessInfo_QueryInterface(This,riid,ppvObject) \
  1432. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1433. #define IEnumSCMProcessInfo_AddRef(This) \
  1434. (This)->lpVtbl -> AddRef(This)
  1435. #define IEnumSCMProcessInfo_Release(This) \
  1436. (This)->lpVtbl -> Release(This)
  1437. #define IEnumSCMProcessInfo_Next(This,cElems,ppSCMProcessInfo,pcFetched) \
  1438. (This)->lpVtbl -> Next(This,cElems,ppSCMProcessInfo,pcFetched)
  1439. #define IEnumSCMProcessInfo_Skip(This,cElems) \
  1440. (This)->lpVtbl -> Skip(This,cElems)
  1441. #define IEnumSCMProcessInfo_Reset(This) \
  1442. (This)->lpVtbl -> Reset(This)
  1443. #define IEnumSCMProcessInfo_Clone(This,ppESPI) \
  1444. (This)->lpVtbl -> Clone(This,ppESPI)
  1445. #endif /* COBJMACROS */
  1446. #endif /* C style interface */
  1447. HRESULT STDMETHODCALLTYPE IEnumSCMProcessInfo_Next_Proxy(
  1448. IEnumSCMProcessInfo * This,
  1449. /* [in] */ ULONG cElems,
  1450. /* [length_is][size_is][out] */ SCMProcessInfo **ppSCMProcessInfo,
  1451. /* [out] */ ULONG *pcFetched);
  1452. void __RPC_STUB IEnumSCMProcessInfo_Next_Stub(
  1453. IRpcStubBuffer *This,
  1454. IRpcChannelBuffer *_pRpcChannelBuffer,
  1455. PRPC_MESSAGE _pRpcMessage,
  1456. DWORD *_pdwStubPhase);
  1457. HRESULT STDMETHODCALLTYPE IEnumSCMProcessInfo_Skip_Proxy(
  1458. IEnumSCMProcessInfo * This,
  1459. /* [in] */ ULONG cElems);
  1460. void __RPC_STUB IEnumSCMProcessInfo_Skip_Stub(
  1461. IRpcStubBuffer *This,
  1462. IRpcChannelBuffer *_pRpcChannelBuffer,
  1463. PRPC_MESSAGE _pRpcMessage,
  1464. DWORD *_pdwStubPhase);
  1465. HRESULT STDMETHODCALLTYPE IEnumSCMProcessInfo_Reset_Proxy(
  1466. IEnumSCMProcessInfo * This);
  1467. void __RPC_STUB IEnumSCMProcessInfo_Reset_Stub(
  1468. IRpcStubBuffer *This,
  1469. IRpcChannelBuffer *_pRpcChannelBuffer,
  1470. PRPC_MESSAGE _pRpcMessage,
  1471. DWORD *_pdwStubPhase);
  1472. HRESULT STDMETHODCALLTYPE IEnumSCMProcessInfo_Clone_Proxy(
  1473. IEnumSCMProcessInfo * This,
  1474. /* [out] */ IEnumSCMProcessInfo **ppESPI);
  1475. void __RPC_STUB IEnumSCMProcessInfo_Clone_Stub(
  1476. IRpcStubBuffer *This,
  1477. IRpcChannelBuffer *_pRpcChannelBuffer,
  1478. PRPC_MESSAGE _pRpcMessage,
  1479. DWORD *_pdwStubPhase);
  1480. #endif /* __IEnumSCMProcessInfo_INTERFACE_DEFINED__ */
  1481. #ifndef __ISCMProcessControl_INTERFACE_DEFINED__
  1482. #define __ISCMProcessControl_INTERFACE_DEFINED__
  1483. /* interface ISCMProcessControl */
  1484. /* [unique][uuid][object][local] */
  1485. EXTERN_C const IID IID_ISCMProcessControl;
  1486. #if defined(__cplusplus) && !defined(CINTERFACE)
  1487. MIDL_INTERFACE("7629798c-f1e6-4ef0-b521-dc466fded209")
  1488. ISCMProcessControl : public IUnknown
  1489. {
  1490. public:
  1491. virtual HRESULT STDMETHODCALLTYPE FindApplication(
  1492. /* [in] */ REFGUID rappid,
  1493. /* [out] */ IEnumSCMProcessInfo **ppESPI) = 0;
  1494. virtual HRESULT STDMETHODCALLTYPE FindClass(
  1495. /* [in] */ REFCLSID rclsid,
  1496. /* [out] */ IEnumSCMProcessInfo **ppESPI) = 0;
  1497. virtual HRESULT STDMETHODCALLTYPE FindProcess(
  1498. /* [in] */ DWORD pid,
  1499. /* [out] */ SCMProcessInfo **pSCMProcessInfo) = 0;
  1500. virtual HRESULT STDMETHODCALLTYPE SuspendApplication(
  1501. /* [in] */ REFGUID rappid) = 0;
  1502. virtual HRESULT STDMETHODCALLTYPE SuspendClass(
  1503. /* [in] */ REFCLSID rclsid) = 0;
  1504. virtual HRESULT STDMETHODCALLTYPE SuspendProcess(
  1505. /* [in] */ DWORD ppid) = 0;
  1506. virtual HRESULT STDMETHODCALLTYPE ResumeApplication(
  1507. /* [in] */ REFGUID rappid) = 0;
  1508. virtual HRESULT STDMETHODCALLTYPE ResumeClass(
  1509. /* [in] */ REFCLSID rclsid) = 0;
  1510. virtual HRESULT STDMETHODCALLTYPE ResumeProcess(
  1511. /* [in] */ DWORD pid) = 0;
  1512. virtual HRESULT STDMETHODCALLTYPE RetireApplication(
  1513. /* [in] */ REFGUID rappid) = 0;
  1514. virtual HRESULT STDMETHODCALLTYPE RetireClass(
  1515. /* [in] */ REFCLSID rclsid) = 0;
  1516. virtual HRESULT STDMETHODCALLTYPE RetireProcess(
  1517. /* [in] */ DWORD pid) = 0;
  1518. virtual HRESULT STDMETHODCALLTYPE FreeSCMProcessInfo(
  1519. SCMProcessInfo **ppSCMProcessInfo) = 0;
  1520. };
  1521. #else /* C style interface */
  1522. typedef struct ISCMProcessControlVtbl
  1523. {
  1524. BEGIN_INTERFACE
  1525. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1526. ISCMProcessControl * This,
  1527. /* [in] */ REFIID riid,
  1528. /* [iid_is][out] */ void **ppvObject);
  1529. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1530. ISCMProcessControl * This);
  1531. ULONG ( STDMETHODCALLTYPE *Release )(
  1532. ISCMProcessControl * This);
  1533. HRESULT ( STDMETHODCALLTYPE *FindApplication )(
  1534. ISCMProcessControl * This,
  1535. /* [in] */ REFGUID rappid,
  1536. /* [out] */ IEnumSCMProcessInfo **ppESPI);
  1537. HRESULT ( STDMETHODCALLTYPE *FindClass )(
  1538. ISCMProcessControl * This,
  1539. /* [in] */ REFCLSID rclsid,
  1540. /* [out] */ IEnumSCMProcessInfo **ppESPI);
  1541. HRESULT ( STDMETHODCALLTYPE *FindProcess )(
  1542. ISCMProcessControl * This,
  1543. /* [in] */ DWORD pid,
  1544. /* [out] */ SCMProcessInfo **pSCMProcessInfo);
  1545. HRESULT ( STDMETHODCALLTYPE *SuspendApplication )(
  1546. ISCMProcessControl * This,
  1547. /* [in] */ REFGUID rappid);
  1548. HRESULT ( STDMETHODCALLTYPE *SuspendClass )(
  1549. ISCMProcessControl * This,
  1550. /* [in] */ REFCLSID rclsid);
  1551. HRESULT ( STDMETHODCALLTYPE *SuspendProcess )(
  1552. ISCMProcessControl * This,
  1553. /* [in] */ DWORD ppid);
  1554. HRESULT ( STDMETHODCALLTYPE *ResumeApplication )(
  1555. ISCMProcessControl * This,
  1556. /* [in] */ REFGUID rappid);
  1557. HRESULT ( STDMETHODCALLTYPE *ResumeClass )(
  1558. ISCMProcessControl * This,
  1559. /* [in] */ REFCLSID rclsid);
  1560. HRESULT ( STDMETHODCALLTYPE *ResumeProcess )(
  1561. ISCMProcessControl * This,
  1562. /* [in] */ DWORD pid);
  1563. HRESULT ( STDMETHODCALLTYPE *RetireApplication )(
  1564. ISCMProcessControl * This,
  1565. /* [in] */ REFGUID rappid);
  1566. HRESULT ( STDMETHODCALLTYPE *RetireClass )(
  1567. ISCMProcessControl * This,
  1568. /* [in] */ REFCLSID rclsid);
  1569. HRESULT ( STDMETHODCALLTYPE *RetireProcess )(
  1570. ISCMProcessControl * This,
  1571. /* [in] */ DWORD pid);
  1572. HRESULT ( STDMETHODCALLTYPE *FreeSCMProcessInfo )(
  1573. ISCMProcessControl * This,
  1574. SCMProcessInfo **ppSCMProcessInfo);
  1575. END_INTERFACE
  1576. } ISCMProcessControlVtbl;
  1577. interface ISCMProcessControl
  1578. {
  1579. CONST_VTBL struct ISCMProcessControlVtbl *lpVtbl;
  1580. };
  1581. #ifdef COBJMACROS
  1582. #define ISCMProcessControl_QueryInterface(This,riid,ppvObject) \
  1583. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1584. #define ISCMProcessControl_AddRef(This) \
  1585. (This)->lpVtbl -> AddRef(This)
  1586. #define ISCMProcessControl_Release(This) \
  1587. (This)->lpVtbl -> Release(This)
  1588. #define ISCMProcessControl_FindApplication(This,rappid,ppESPI) \
  1589. (This)->lpVtbl -> FindApplication(This,rappid,ppESPI)
  1590. #define ISCMProcessControl_FindClass(This,rclsid,ppESPI) \
  1591. (This)->lpVtbl -> FindClass(This,rclsid,ppESPI)
  1592. #define ISCMProcessControl_FindProcess(This,pid,pSCMProcessInfo) \
  1593. (This)->lpVtbl -> FindProcess(This,pid,pSCMProcessInfo)
  1594. #define ISCMProcessControl_SuspendApplication(This,rappid) \
  1595. (This)->lpVtbl -> SuspendApplication(This,rappid)
  1596. #define ISCMProcessControl_SuspendClass(This,rclsid) \
  1597. (This)->lpVtbl -> SuspendClass(This,rclsid)
  1598. #define ISCMProcessControl_SuspendProcess(This,ppid) \
  1599. (This)->lpVtbl -> SuspendProcess(This,ppid)
  1600. #define ISCMProcessControl_ResumeApplication(This,rappid) \
  1601. (This)->lpVtbl -> ResumeApplication(This,rappid)
  1602. #define ISCMProcessControl_ResumeClass(This,rclsid) \
  1603. (This)->lpVtbl -> ResumeClass(This,rclsid)
  1604. #define ISCMProcessControl_ResumeProcess(This,pid) \
  1605. (This)->lpVtbl -> ResumeProcess(This,pid)
  1606. #define ISCMProcessControl_RetireApplication(This,rappid) \
  1607. (This)->lpVtbl -> RetireApplication(This,rappid)
  1608. #define ISCMProcessControl_RetireClass(This,rclsid) \
  1609. (This)->lpVtbl -> RetireClass(This,rclsid)
  1610. #define ISCMProcessControl_RetireProcess(This,pid) \
  1611. (This)->lpVtbl -> RetireProcess(This,pid)
  1612. #define ISCMProcessControl_FreeSCMProcessInfo(This,ppSCMProcessInfo) \
  1613. (This)->lpVtbl -> FreeSCMProcessInfo(This,ppSCMProcessInfo)
  1614. #endif /* COBJMACROS */
  1615. #endif /* C style interface */
  1616. HRESULT STDMETHODCALLTYPE ISCMProcessControl_FindApplication_Proxy(
  1617. ISCMProcessControl * This,
  1618. /* [in] */ REFGUID rappid,
  1619. /* [out] */ IEnumSCMProcessInfo **ppESPI);
  1620. void __RPC_STUB ISCMProcessControl_FindApplication_Stub(
  1621. IRpcStubBuffer *This,
  1622. IRpcChannelBuffer *_pRpcChannelBuffer,
  1623. PRPC_MESSAGE _pRpcMessage,
  1624. DWORD *_pdwStubPhase);
  1625. HRESULT STDMETHODCALLTYPE ISCMProcessControl_FindClass_Proxy(
  1626. ISCMProcessControl * This,
  1627. /* [in] */ REFCLSID rclsid,
  1628. /* [out] */ IEnumSCMProcessInfo **ppESPI);
  1629. void __RPC_STUB ISCMProcessControl_FindClass_Stub(
  1630. IRpcStubBuffer *This,
  1631. IRpcChannelBuffer *_pRpcChannelBuffer,
  1632. PRPC_MESSAGE _pRpcMessage,
  1633. DWORD *_pdwStubPhase);
  1634. HRESULT STDMETHODCALLTYPE ISCMProcessControl_FindProcess_Proxy(
  1635. ISCMProcessControl * This,
  1636. /* [in] */ DWORD pid,
  1637. /* [out] */ SCMProcessInfo **pSCMProcessInfo);
  1638. void __RPC_STUB ISCMProcessControl_FindProcess_Stub(
  1639. IRpcStubBuffer *This,
  1640. IRpcChannelBuffer *_pRpcChannelBuffer,
  1641. PRPC_MESSAGE _pRpcMessage,
  1642. DWORD *_pdwStubPhase);
  1643. HRESULT STDMETHODCALLTYPE ISCMProcessControl_SuspendApplication_Proxy(
  1644. ISCMProcessControl * This,
  1645. /* [in] */ REFGUID rappid);
  1646. void __RPC_STUB ISCMProcessControl_SuspendApplication_Stub(
  1647. IRpcStubBuffer *This,
  1648. IRpcChannelBuffer *_pRpcChannelBuffer,
  1649. PRPC_MESSAGE _pRpcMessage,
  1650. DWORD *_pdwStubPhase);
  1651. HRESULT STDMETHODCALLTYPE ISCMProcessControl_SuspendClass_Proxy(
  1652. ISCMProcessControl * This,
  1653. /* [in] */ REFCLSID rclsid);
  1654. void __RPC_STUB ISCMProcessControl_SuspendClass_Stub(
  1655. IRpcStubBuffer *This,
  1656. IRpcChannelBuffer *_pRpcChannelBuffer,
  1657. PRPC_MESSAGE _pRpcMessage,
  1658. DWORD *_pdwStubPhase);
  1659. HRESULT STDMETHODCALLTYPE ISCMProcessControl_SuspendProcess_Proxy(
  1660. ISCMProcessControl * This,
  1661. /* [in] */ DWORD ppid);
  1662. void __RPC_STUB ISCMProcessControl_SuspendProcess_Stub(
  1663. IRpcStubBuffer *This,
  1664. IRpcChannelBuffer *_pRpcChannelBuffer,
  1665. PRPC_MESSAGE _pRpcMessage,
  1666. DWORD *_pdwStubPhase);
  1667. HRESULT STDMETHODCALLTYPE ISCMProcessControl_ResumeApplication_Proxy(
  1668. ISCMProcessControl * This,
  1669. /* [in] */ REFGUID rappid);
  1670. void __RPC_STUB ISCMProcessControl_ResumeApplication_Stub(
  1671. IRpcStubBuffer *This,
  1672. IRpcChannelBuffer *_pRpcChannelBuffer,
  1673. PRPC_MESSAGE _pRpcMessage,
  1674. DWORD *_pdwStubPhase);
  1675. HRESULT STDMETHODCALLTYPE ISCMProcessControl_ResumeClass_Proxy(
  1676. ISCMProcessControl * This,
  1677. /* [in] */ REFCLSID rclsid);
  1678. void __RPC_STUB ISCMProcessControl_ResumeClass_Stub(
  1679. IRpcStubBuffer *This,
  1680. IRpcChannelBuffer *_pRpcChannelBuffer,
  1681. PRPC_MESSAGE _pRpcMessage,
  1682. DWORD *_pdwStubPhase);
  1683. HRESULT STDMETHODCALLTYPE ISCMProcessControl_ResumeProcess_Proxy(
  1684. ISCMProcessControl * This,
  1685. /* [in] */ DWORD pid);
  1686. void __RPC_STUB ISCMProcessControl_ResumeProcess_Stub(
  1687. IRpcStubBuffer *This,
  1688. IRpcChannelBuffer *_pRpcChannelBuffer,
  1689. PRPC_MESSAGE _pRpcMessage,
  1690. DWORD *_pdwStubPhase);
  1691. HRESULT STDMETHODCALLTYPE ISCMProcessControl_RetireApplication_Proxy(
  1692. ISCMProcessControl * This,
  1693. /* [in] */ REFGUID rappid);
  1694. void __RPC_STUB ISCMProcessControl_RetireApplication_Stub(
  1695. IRpcStubBuffer *This,
  1696. IRpcChannelBuffer *_pRpcChannelBuffer,
  1697. PRPC_MESSAGE _pRpcMessage,
  1698. DWORD *_pdwStubPhase);
  1699. HRESULT STDMETHODCALLTYPE ISCMProcessControl_RetireClass_Proxy(
  1700. ISCMProcessControl * This,
  1701. /* [in] */ REFCLSID rclsid);
  1702. void __RPC_STUB ISCMProcessControl_RetireClass_Stub(
  1703. IRpcStubBuffer *This,
  1704. IRpcChannelBuffer *_pRpcChannelBuffer,
  1705. PRPC_MESSAGE _pRpcMessage,
  1706. DWORD *_pdwStubPhase);
  1707. HRESULT STDMETHODCALLTYPE ISCMProcessControl_RetireProcess_Proxy(
  1708. ISCMProcessControl * This,
  1709. /* [in] */ DWORD pid);
  1710. void __RPC_STUB ISCMProcessControl_RetireProcess_Stub(
  1711. IRpcStubBuffer *This,
  1712. IRpcChannelBuffer *_pRpcChannelBuffer,
  1713. PRPC_MESSAGE _pRpcMessage,
  1714. DWORD *_pdwStubPhase);
  1715. HRESULT STDMETHODCALLTYPE ISCMProcessControl_FreeSCMProcessInfo_Proxy(
  1716. ISCMProcessControl * This,
  1717. SCMProcessInfo **ppSCMProcessInfo);
  1718. void __RPC_STUB ISCMProcessControl_FreeSCMProcessInfo_Stub(
  1719. IRpcStubBuffer *This,
  1720. IRpcChannelBuffer *_pRpcChannelBuffer,
  1721. PRPC_MESSAGE _pRpcMessage,
  1722. DWORD *_pdwStubPhase);
  1723. #endif /* __ISCMProcessControl_INTERFACE_DEFINED__ */
  1724. /* interface __MIDL_itf_activate_0128 */
  1725. /* [local] */
  1726. EXTERN_C const CLSID CLSID_RPCSSInfo;
  1727. ////////////////////////////////////////////////////////////////////////
  1728. //
  1729. // API for accessing SCM's objects (exported from rpcss.dll)
  1730. //
  1731. typedef HRESULT (__stdcall *PFNGETRPCSSINFO)(REFCLSID, REFIID, void**);
  1732. //
  1733. ////////////////////////////////////////////////////////////////////////
  1734. extern RPC_IF_HANDLE __MIDL_itf_activate_0128_ClientIfHandle;
  1735. extern RPC_IF_HANDLE __MIDL_itf_activate_0128_ServerIfHandle;
  1736. /* Additional Prototypes for ALL interfaces */
  1737. /* end of Additional Prototypes */
  1738. #ifdef __cplusplus
  1739. }
  1740. #endif
  1741. #endif