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.

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