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.

3051 lines
82 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 contxt.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
  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 __contxt_h__
  27. #define __contxt_h__
  28. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  29. #pragma once
  30. #endif
  31. /* Forward Declarations */
  32. #ifndef __IContextMarshaler_FWD_DEFINED__
  33. #define __IContextMarshaler_FWD_DEFINED__
  34. typedef interface IContextMarshaler IContextMarshaler;
  35. #endif /* __IContextMarshaler_FWD_DEFINED__ */
  36. #ifndef __IObjContext_FWD_DEFINED__
  37. #define __IObjContext_FWD_DEFINED__
  38. typedef interface IObjContext IObjContext;
  39. #endif /* __IObjContext_FWD_DEFINED__ */
  40. #ifndef __IGetContextId_FWD_DEFINED__
  41. #define __IGetContextId_FWD_DEFINED__
  42. typedef interface IGetContextId IGetContextId;
  43. #endif /* __IGetContextId_FWD_DEFINED__ */
  44. #ifndef __IAggregator_FWD_DEFINED__
  45. #define __IAggregator_FWD_DEFINED__
  46. typedef interface IAggregator IAggregator;
  47. #endif /* __IAggregator_FWD_DEFINED__ */
  48. #ifndef __ICall_FWD_DEFINED__
  49. #define __ICall_FWD_DEFINED__
  50. typedef interface ICall ICall;
  51. #endif /* __ICall_FWD_DEFINED__ */
  52. #ifndef __IRpcCall_FWD_DEFINED__
  53. #define __IRpcCall_FWD_DEFINED__
  54. typedef interface IRpcCall IRpcCall;
  55. #endif /* __IRpcCall_FWD_DEFINED__ */
  56. #ifndef __ICallInfo_FWD_DEFINED__
  57. #define __ICallInfo_FWD_DEFINED__
  58. typedef interface ICallInfo ICallInfo;
  59. #endif /* __ICallInfo_FWD_DEFINED__ */
  60. #ifndef __IPolicy_FWD_DEFINED__
  61. #define __IPolicy_FWD_DEFINED__
  62. typedef interface IPolicy IPolicy;
  63. #endif /* __IPolicy_FWD_DEFINED__ */
  64. #ifndef __IPolicyAsync_FWD_DEFINED__
  65. #define __IPolicyAsync_FWD_DEFINED__
  66. typedef interface IPolicyAsync IPolicyAsync;
  67. #endif /* __IPolicyAsync_FWD_DEFINED__ */
  68. #ifndef __IPolicySet_FWD_DEFINED__
  69. #define __IPolicySet_FWD_DEFINED__
  70. typedef interface IPolicySet IPolicySet;
  71. #endif /* __IPolicySet_FWD_DEFINED__ */
  72. #ifndef __IComObjIdentity_FWD_DEFINED__
  73. #define __IComObjIdentity_FWD_DEFINED__
  74. typedef interface IComObjIdentity IComObjIdentity;
  75. #endif /* __IComObjIdentity_FWD_DEFINED__ */
  76. #ifndef __IPolicyMaker_FWD_DEFINED__
  77. #define __IPolicyMaker_FWD_DEFINED__
  78. typedef interface IPolicyMaker IPolicyMaker;
  79. #endif /* __IPolicyMaker_FWD_DEFINED__ */
  80. #ifndef __IExceptionNotification_FWD_DEFINED__
  81. #define __IExceptionNotification_FWD_DEFINED__
  82. typedef interface IExceptionNotification IExceptionNotification;
  83. #endif /* __IExceptionNotification_FWD_DEFINED__ */
  84. #ifndef __IAbandonmentNotification_FWD_DEFINED__
  85. #define __IAbandonmentNotification_FWD_DEFINED__
  86. typedef interface IAbandonmentNotification IAbandonmentNotification;
  87. #endif /* __IAbandonmentNotification_FWD_DEFINED__ */
  88. #ifndef __IMarshalEnvoy_FWD_DEFINED__
  89. #define __IMarshalEnvoy_FWD_DEFINED__
  90. typedef interface IMarshalEnvoy IMarshalEnvoy;
  91. #endif /* __IMarshalEnvoy_FWD_DEFINED__ */
  92. #ifndef __IWrapperInfo_FWD_DEFINED__
  93. #define __IWrapperInfo_FWD_DEFINED__
  94. typedef interface IWrapperInfo IWrapperInfo;
  95. #endif /* __IWrapperInfo_FWD_DEFINED__ */
  96. #ifndef __IComDispatchInfo_FWD_DEFINED__
  97. #define __IComDispatchInfo_FWD_DEFINED__
  98. typedef interface IComDispatchInfo IComDispatchInfo;
  99. #endif /* __IComDispatchInfo_FWD_DEFINED__ */
  100. /* header files for imported files */
  101. #include "wtypes.h"
  102. #include "objidl.h"
  103. #ifdef __cplusplus
  104. extern "C"{
  105. #endif
  106. void * __RPC_USER MIDL_user_allocate(size_t);
  107. void __RPC_USER MIDL_user_free( void * );
  108. /* interface __MIDL_itf_contxt_0000 */
  109. /* [local] */
  110. //+-----------------------------------------------------------------
  111. //
  112. // Microsoft Windows
  113. // Copyright (C) Microsoft Corporation, 1992 - 1997.
  114. //
  115. //------------------------------------------------------------------
  116. enum tagCONTEXTEVENT
  117. { CONTEXTEVENT_NONE = 0,
  118. CONTEXTEVENT_CALL = 0x1,
  119. CONTEXTEVENT_ENTER = 0x2,
  120. CONTEXTEVENT_LEAVE = 0x4,
  121. CONTEXTEVENT_RETURN = 0x8,
  122. CONTEXTEVENT_CALLFILLBUFFER = 0x10,
  123. CONTEXTEVENT_ENTERWITHBUFFER = 0x20,
  124. CONTEXTEVENT_LEAVEFILLBUFFER = 0x40,
  125. CONTEXTEVENT_RETURNWITHBUFFER = 0x80,
  126. CONTEXTEVENT_BEGINCALL = 0x100,
  127. CONTEXTEVENT_BEGINENTER = 0x200,
  128. CONTEXTEVENT_BEGINLEAVE = 0x400,
  129. CONTEXTEVENT_BEGINRETURN = 0x800,
  130. CONTEXTEVENT_FINISHCALL = 0x1000,
  131. CONTEXTEVENT_FINISHENTER = 0x2000,
  132. CONTEXTEVENT_FINISHLEAVE = 0x4000,
  133. CONTEXTEVENT_FINISHRETURN = 0x8000,
  134. CONTEXTEVENT_BEGINCALLFILLBUFFER = 0x10000,
  135. CONTEXTEVENT_BEGINENTERWITHBUFFER = 0x20000,
  136. CONTEXTEVENT_FINISHLEAVEFILLBUFFER = 0x40000,
  137. CONTEXTEVENT_FINISHRETURNWITHBUFFER = 0x80000,
  138. CONTEXTEVENT_LEAVEEXCEPTION = 0x100000,
  139. CONTEXTEVENT_LEAVEEXCEPTIONFILLBUFFER = 0x200000,
  140. CONTEXTEVENT_RETURNEXCEPTION = 0x400000,
  141. CONTEXTEVENT_RETURNEXCEPTIONWITHBUFFER = 0x800000,
  142. CONTEXTEVENT_ADDREFPOLICY = 0x10000000,
  143. CONTEXTEVENT_RELEASEPOLICY = 0x20000000
  144. } ;
  145. typedef DWORD ContextEvent;
  146. enum tagCPFLAGS
  147. { CPFLAG_NONE = 0,
  148. CPFLAG_PROPAGATE = 0x1,
  149. CPFLAG_EXPOSE = 0x2,
  150. CPFLAG_ENVOY = 0x4,
  151. CPFLAG_MONITORSTUB = 0x8,
  152. CPFLAG_MONITORPROXY = 0x10,
  153. CPFLAG_DONTCOMPARE = 0x20
  154. } ;
  155. extern RPC_IF_HANDLE __MIDL_itf_contxt_0000_ClientIfHandle;
  156. extern RPC_IF_HANDLE __MIDL_itf_contxt_0000_ServerIfHandle;
  157. #ifndef __IContextMarshaler_INTERFACE_DEFINED__
  158. #define __IContextMarshaler_INTERFACE_DEFINED__
  159. /* interface IContextMarshaler */
  160. /* [uuid][object][local] */
  161. typedef /* [unique] */ IContextMarshaler *LPCTXMARSHALER;
  162. EXTERN_C const IID IID_IContextMarshaler;
  163. #if defined(__cplusplus) && !defined(CINTERFACE)
  164. MIDL_INTERFACE("000001D8-0000-0000-C000-000000000046")
  165. IContextMarshaler : public IUnknown
  166. {
  167. public:
  168. virtual HRESULT STDMETHODCALLTYPE GetMarshalSizeMax(
  169. /* [in] */ REFIID riid,
  170. /* [unique][in] */ void *pv,
  171. /* [in] */ DWORD dwDestContext,
  172. /* [unique][in] */ void *pvDestContext,
  173. /* [in] */ DWORD mshlflags,
  174. /* [out] */ DWORD *pSize) = 0;
  175. virtual HRESULT STDMETHODCALLTYPE MarshalInterface(
  176. /* [unique][in] */ IStream *pStm,
  177. /* [in] */ REFIID riid,
  178. /* [unique][in] */ void *pv,
  179. /* [in] */ DWORD dwDestContext,
  180. /* [unique][in] */ void *pvDestContext,
  181. /* [in] */ DWORD mshlflags) = 0;
  182. };
  183. #else /* C style interface */
  184. typedef struct IContextMarshalerVtbl
  185. {
  186. BEGIN_INTERFACE
  187. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  188. IContextMarshaler * This,
  189. /* [in] */ REFIID riid,
  190. /* [iid_is][out] */ void **ppvObject);
  191. ULONG ( STDMETHODCALLTYPE *AddRef )(
  192. IContextMarshaler * This);
  193. ULONG ( STDMETHODCALLTYPE *Release )(
  194. IContextMarshaler * This);
  195. HRESULT ( STDMETHODCALLTYPE *GetMarshalSizeMax )(
  196. IContextMarshaler * This,
  197. /* [in] */ REFIID riid,
  198. /* [unique][in] */ void *pv,
  199. /* [in] */ DWORD dwDestContext,
  200. /* [unique][in] */ void *pvDestContext,
  201. /* [in] */ DWORD mshlflags,
  202. /* [out] */ DWORD *pSize);
  203. HRESULT ( STDMETHODCALLTYPE *MarshalInterface )(
  204. IContextMarshaler * This,
  205. /* [unique][in] */ IStream *pStm,
  206. /* [in] */ REFIID riid,
  207. /* [unique][in] */ void *pv,
  208. /* [in] */ DWORD dwDestContext,
  209. /* [unique][in] */ void *pvDestContext,
  210. /* [in] */ DWORD mshlflags);
  211. END_INTERFACE
  212. } IContextMarshalerVtbl;
  213. interface IContextMarshaler
  214. {
  215. CONST_VTBL struct IContextMarshalerVtbl *lpVtbl;
  216. };
  217. #ifdef COBJMACROS
  218. #define IContextMarshaler_QueryInterface(This,riid,ppvObject) \
  219. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  220. #define IContextMarshaler_AddRef(This) \
  221. (This)->lpVtbl -> AddRef(This)
  222. #define IContextMarshaler_Release(This) \
  223. (This)->lpVtbl -> Release(This)
  224. #define IContextMarshaler_GetMarshalSizeMax(This,riid,pv,dwDestContext,pvDestContext,mshlflags,pSize) \
  225. (This)->lpVtbl -> GetMarshalSizeMax(This,riid,pv,dwDestContext,pvDestContext,mshlflags,pSize)
  226. #define IContextMarshaler_MarshalInterface(This,pStm,riid,pv,dwDestContext,pvDestContext,mshlflags) \
  227. (This)->lpVtbl -> MarshalInterface(This,pStm,riid,pv,dwDestContext,pvDestContext,mshlflags)
  228. #endif /* COBJMACROS */
  229. #endif /* C style interface */
  230. HRESULT STDMETHODCALLTYPE IContextMarshaler_GetMarshalSizeMax_Proxy(
  231. IContextMarshaler * This,
  232. /* [in] */ REFIID riid,
  233. /* [unique][in] */ void *pv,
  234. /* [in] */ DWORD dwDestContext,
  235. /* [unique][in] */ void *pvDestContext,
  236. /* [in] */ DWORD mshlflags,
  237. /* [out] */ DWORD *pSize);
  238. void __RPC_STUB IContextMarshaler_GetMarshalSizeMax_Stub(
  239. IRpcStubBuffer *This,
  240. IRpcChannelBuffer *_pRpcChannelBuffer,
  241. PRPC_MESSAGE _pRpcMessage,
  242. DWORD *_pdwStubPhase);
  243. HRESULT STDMETHODCALLTYPE IContextMarshaler_MarshalInterface_Proxy(
  244. IContextMarshaler * This,
  245. /* [unique][in] */ IStream *pStm,
  246. /* [in] */ REFIID riid,
  247. /* [unique][in] */ void *pv,
  248. /* [in] */ DWORD dwDestContext,
  249. /* [unique][in] */ void *pvDestContext,
  250. /* [in] */ DWORD mshlflags);
  251. void __RPC_STUB IContextMarshaler_MarshalInterface_Stub(
  252. IRpcStubBuffer *This,
  253. IRpcChannelBuffer *_pRpcChannelBuffer,
  254. PRPC_MESSAGE _pRpcMessage,
  255. DWORD *_pdwStubPhase);
  256. #endif /* __IContextMarshaler_INTERFACE_DEFINED__ */
  257. #ifndef __IObjContext_INTERFACE_DEFINED__
  258. #define __IObjContext_INTERFACE_DEFINED__
  259. /* interface IObjContext */
  260. /* [unique][uuid][object][local] */
  261. typedef /* [ref] */ HRESULT ( __stdcall *PFNCTXCALLBACK )(
  262. void *pParam);
  263. EXTERN_C const IID IID_IObjContext;
  264. #if defined(__cplusplus) && !defined(CINTERFACE)
  265. MIDL_INTERFACE("000001c6-0000-0000-C000-000000000046")
  266. IObjContext : public IContext
  267. {
  268. public:
  269. virtual HRESULT STDMETHODCALLTYPE Freeze( void) = 0;
  270. virtual HRESULT STDMETHODCALLTYPE DoCallback(
  271. /* [in] */ PFNCTXCALLBACK pfnCallback,
  272. /* [in] */ void *pParam,
  273. /* [in] */ REFIID riid,
  274. /* [in] */ unsigned int iMethod) = 0;
  275. virtual HRESULT STDMETHODCALLTYPE SetContextMarshaler(
  276. /* [in] */ IContextMarshaler *pICM) = 0;
  277. virtual HRESULT STDMETHODCALLTYPE GetContextMarshaler(
  278. /* [out] */ IContextMarshaler **pICM) = 0;
  279. virtual HRESULT STDMETHODCALLTYPE SetContextFlags(
  280. /* [in] */ DWORD dwFlags) = 0;
  281. virtual HRESULT STDMETHODCALLTYPE ClearContextFlags(
  282. /* [in] */ DWORD dwFlags) = 0;
  283. virtual HRESULT STDMETHODCALLTYPE GetContextFlags(
  284. /* [out] */ DWORD *pdwFlags) = 0;
  285. };
  286. #else /* C style interface */
  287. typedef struct IObjContextVtbl
  288. {
  289. BEGIN_INTERFACE
  290. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  291. IObjContext * This,
  292. /* [in] */ REFIID riid,
  293. /* [iid_is][out] */ void **ppvObject);
  294. ULONG ( STDMETHODCALLTYPE *AddRef )(
  295. IObjContext * This);
  296. ULONG ( STDMETHODCALLTYPE *Release )(
  297. IObjContext * This);
  298. HRESULT ( STDMETHODCALLTYPE *SetProperty )(
  299. IObjContext * This,
  300. /* [in] */ REFGUID rpolicyId,
  301. /* [in] */ CPFLAGS flags,
  302. /* [in] */ IUnknown *pUnk);
  303. HRESULT ( STDMETHODCALLTYPE *RemoveProperty )(
  304. IObjContext * This,
  305. /* [in] */ REFGUID rPolicyId);
  306. HRESULT ( STDMETHODCALLTYPE *GetProperty )(
  307. IObjContext * This,
  308. /* [in] */ REFGUID rGuid,
  309. /* [out] */ CPFLAGS *pFlags,
  310. /* [out] */ IUnknown **ppUnk);
  311. HRESULT ( STDMETHODCALLTYPE *EnumContextProps )(
  312. IObjContext * This,
  313. /* [out] */ IEnumContextProps **ppEnumContextProps);
  314. HRESULT ( STDMETHODCALLTYPE *Freeze )(
  315. IObjContext * This);
  316. HRESULT ( STDMETHODCALLTYPE *DoCallback )(
  317. IObjContext * This,
  318. /* [in] */ PFNCTXCALLBACK pfnCallback,
  319. /* [in] */ void *pParam,
  320. /* [in] */ REFIID riid,
  321. /* [in] */ unsigned int iMethod);
  322. HRESULT ( STDMETHODCALLTYPE *SetContextMarshaler )(
  323. IObjContext * This,
  324. /* [in] */ IContextMarshaler *pICM);
  325. HRESULT ( STDMETHODCALLTYPE *GetContextMarshaler )(
  326. IObjContext * This,
  327. /* [out] */ IContextMarshaler **pICM);
  328. HRESULT ( STDMETHODCALLTYPE *SetContextFlags )(
  329. IObjContext * This,
  330. /* [in] */ DWORD dwFlags);
  331. HRESULT ( STDMETHODCALLTYPE *ClearContextFlags )(
  332. IObjContext * This,
  333. /* [in] */ DWORD dwFlags);
  334. HRESULT ( STDMETHODCALLTYPE *GetContextFlags )(
  335. IObjContext * This,
  336. /* [out] */ DWORD *pdwFlags);
  337. END_INTERFACE
  338. } IObjContextVtbl;
  339. interface IObjContext
  340. {
  341. CONST_VTBL struct IObjContextVtbl *lpVtbl;
  342. };
  343. #ifdef COBJMACROS
  344. #define IObjContext_QueryInterface(This,riid,ppvObject) \
  345. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  346. #define IObjContext_AddRef(This) \
  347. (This)->lpVtbl -> AddRef(This)
  348. #define IObjContext_Release(This) \
  349. (This)->lpVtbl -> Release(This)
  350. #define IObjContext_SetProperty(This,rpolicyId,flags,pUnk) \
  351. (This)->lpVtbl -> SetProperty(This,rpolicyId,flags,pUnk)
  352. #define IObjContext_RemoveProperty(This,rPolicyId) \
  353. (This)->lpVtbl -> RemoveProperty(This,rPolicyId)
  354. #define IObjContext_GetProperty(This,rGuid,pFlags,ppUnk) \
  355. (This)->lpVtbl -> GetProperty(This,rGuid,pFlags,ppUnk)
  356. #define IObjContext_EnumContextProps(This,ppEnumContextProps) \
  357. (This)->lpVtbl -> EnumContextProps(This,ppEnumContextProps)
  358. #define IObjContext_Freeze(This) \
  359. (This)->lpVtbl -> Freeze(This)
  360. #define IObjContext_DoCallback(This,pfnCallback,pParam,riid,iMethod) \
  361. (This)->lpVtbl -> DoCallback(This,pfnCallback,pParam,riid,iMethod)
  362. #define IObjContext_SetContextMarshaler(This,pICM) \
  363. (This)->lpVtbl -> SetContextMarshaler(This,pICM)
  364. #define IObjContext_GetContextMarshaler(This,pICM) \
  365. (This)->lpVtbl -> GetContextMarshaler(This,pICM)
  366. #define IObjContext_SetContextFlags(This,dwFlags) \
  367. (This)->lpVtbl -> SetContextFlags(This,dwFlags)
  368. #define IObjContext_ClearContextFlags(This,dwFlags) \
  369. (This)->lpVtbl -> ClearContextFlags(This,dwFlags)
  370. #define IObjContext_GetContextFlags(This,pdwFlags) \
  371. (This)->lpVtbl -> GetContextFlags(This,pdwFlags)
  372. #endif /* COBJMACROS */
  373. #endif /* C style interface */
  374. HRESULT STDMETHODCALLTYPE IObjContext_Freeze_Proxy(
  375. IObjContext * This);
  376. void __RPC_STUB IObjContext_Freeze_Stub(
  377. IRpcStubBuffer *This,
  378. IRpcChannelBuffer *_pRpcChannelBuffer,
  379. PRPC_MESSAGE _pRpcMessage,
  380. DWORD *_pdwStubPhase);
  381. HRESULT STDMETHODCALLTYPE IObjContext_DoCallback_Proxy(
  382. IObjContext * This,
  383. /* [in] */ PFNCTXCALLBACK pfnCallback,
  384. /* [in] */ void *pParam,
  385. /* [in] */ REFIID riid,
  386. /* [in] */ unsigned int iMethod);
  387. void __RPC_STUB IObjContext_DoCallback_Stub(
  388. IRpcStubBuffer *This,
  389. IRpcChannelBuffer *_pRpcChannelBuffer,
  390. PRPC_MESSAGE _pRpcMessage,
  391. DWORD *_pdwStubPhase);
  392. HRESULT STDMETHODCALLTYPE IObjContext_SetContextMarshaler_Proxy(
  393. IObjContext * This,
  394. /* [in] */ IContextMarshaler *pICM);
  395. void __RPC_STUB IObjContext_SetContextMarshaler_Stub(
  396. IRpcStubBuffer *This,
  397. IRpcChannelBuffer *_pRpcChannelBuffer,
  398. PRPC_MESSAGE _pRpcMessage,
  399. DWORD *_pdwStubPhase);
  400. HRESULT STDMETHODCALLTYPE IObjContext_GetContextMarshaler_Proxy(
  401. IObjContext * This,
  402. /* [out] */ IContextMarshaler **pICM);
  403. void __RPC_STUB IObjContext_GetContextMarshaler_Stub(
  404. IRpcStubBuffer *This,
  405. IRpcChannelBuffer *_pRpcChannelBuffer,
  406. PRPC_MESSAGE _pRpcMessage,
  407. DWORD *_pdwStubPhase);
  408. HRESULT STDMETHODCALLTYPE IObjContext_SetContextFlags_Proxy(
  409. IObjContext * This,
  410. /* [in] */ DWORD dwFlags);
  411. void __RPC_STUB IObjContext_SetContextFlags_Stub(
  412. IRpcStubBuffer *This,
  413. IRpcChannelBuffer *_pRpcChannelBuffer,
  414. PRPC_MESSAGE _pRpcMessage,
  415. DWORD *_pdwStubPhase);
  416. HRESULT STDMETHODCALLTYPE IObjContext_ClearContextFlags_Proxy(
  417. IObjContext * This,
  418. /* [in] */ DWORD dwFlags);
  419. void __RPC_STUB IObjContext_ClearContextFlags_Stub(
  420. IRpcStubBuffer *This,
  421. IRpcChannelBuffer *_pRpcChannelBuffer,
  422. PRPC_MESSAGE _pRpcMessage,
  423. DWORD *_pdwStubPhase);
  424. HRESULT STDMETHODCALLTYPE IObjContext_GetContextFlags_Proxy(
  425. IObjContext * This,
  426. /* [out] */ DWORD *pdwFlags);
  427. void __RPC_STUB IObjContext_GetContextFlags_Stub(
  428. IRpcStubBuffer *This,
  429. IRpcChannelBuffer *_pRpcChannelBuffer,
  430. PRPC_MESSAGE _pRpcMessage,
  431. DWORD *_pdwStubPhase);
  432. #endif /* __IObjContext_INTERFACE_DEFINED__ */
  433. #ifndef __IGetContextId_INTERFACE_DEFINED__
  434. #define __IGetContextId_INTERFACE_DEFINED__
  435. /* interface IGetContextId */
  436. /* [unique][uuid][object][local] */
  437. EXTERN_C const IID IID_IGetContextId;
  438. #if defined(__cplusplus) && !defined(CINTERFACE)
  439. MIDL_INTERFACE("000001dd-0000-0000-C000-000000000046")
  440. IGetContextId : public IUnknown
  441. {
  442. public:
  443. virtual HRESULT STDMETHODCALLTYPE GetContextId(
  444. /* [out] */ GUID *pguidCtxtId) = 0;
  445. };
  446. #else /* C style interface */
  447. typedef struct IGetContextIdVtbl
  448. {
  449. BEGIN_INTERFACE
  450. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  451. IGetContextId * This,
  452. /* [in] */ REFIID riid,
  453. /* [iid_is][out] */ void **ppvObject);
  454. ULONG ( STDMETHODCALLTYPE *AddRef )(
  455. IGetContextId * This);
  456. ULONG ( STDMETHODCALLTYPE *Release )(
  457. IGetContextId * This);
  458. HRESULT ( STDMETHODCALLTYPE *GetContextId )(
  459. IGetContextId * This,
  460. /* [out] */ GUID *pguidCtxtId);
  461. END_INTERFACE
  462. } IGetContextIdVtbl;
  463. interface IGetContextId
  464. {
  465. CONST_VTBL struct IGetContextIdVtbl *lpVtbl;
  466. };
  467. #ifdef COBJMACROS
  468. #define IGetContextId_QueryInterface(This,riid,ppvObject) \
  469. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  470. #define IGetContextId_AddRef(This) \
  471. (This)->lpVtbl -> AddRef(This)
  472. #define IGetContextId_Release(This) \
  473. (This)->lpVtbl -> Release(This)
  474. #define IGetContextId_GetContextId(This,pguidCtxtId) \
  475. (This)->lpVtbl -> GetContextId(This,pguidCtxtId)
  476. #endif /* COBJMACROS */
  477. #endif /* C style interface */
  478. HRESULT STDMETHODCALLTYPE IGetContextId_GetContextId_Proxy(
  479. IGetContextId * This,
  480. /* [out] */ GUID *pguidCtxtId);
  481. void __RPC_STUB IGetContextId_GetContextId_Stub(
  482. IRpcStubBuffer *This,
  483. IRpcChannelBuffer *_pRpcChannelBuffer,
  484. PRPC_MESSAGE _pRpcMessage,
  485. DWORD *_pdwStubPhase);
  486. #endif /* __IGetContextId_INTERFACE_DEFINED__ */
  487. #ifndef __IAggregator_INTERFACE_DEFINED__
  488. #define __IAggregator_INTERFACE_DEFINED__
  489. /* interface IAggregator */
  490. /* [unique][uuid][object][local] */
  491. typedef /* [unique] */ IAggregator *IAGGREGATOR;
  492. EXTERN_C const IID IID_IAggregator;
  493. #if defined(__cplusplus) && !defined(CINTERFACE)
  494. MIDL_INTERFACE("000001d8-0000-0000-C000-000000000046")
  495. IAggregator : public IUnknown
  496. {
  497. public:
  498. virtual HRESULT STDMETHODCALLTYPE Aggregate(
  499. /* [in] */ IUnknown *pInnerUnk) = 0;
  500. };
  501. #else /* C style interface */
  502. typedef struct IAggregatorVtbl
  503. {
  504. BEGIN_INTERFACE
  505. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  506. IAggregator * This,
  507. /* [in] */ REFIID riid,
  508. /* [iid_is][out] */ void **ppvObject);
  509. ULONG ( STDMETHODCALLTYPE *AddRef )(
  510. IAggregator * This);
  511. ULONG ( STDMETHODCALLTYPE *Release )(
  512. IAggregator * This);
  513. HRESULT ( STDMETHODCALLTYPE *Aggregate )(
  514. IAggregator * This,
  515. /* [in] */ IUnknown *pInnerUnk);
  516. END_INTERFACE
  517. } IAggregatorVtbl;
  518. interface IAggregator
  519. {
  520. CONST_VTBL struct IAggregatorVtbl *lpVtbl;
  521. };
  522. #ifdef COBJMACROS
  523. #define IAggregator_QueryInterface(This,riid,ppvObject) \
  524. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  525. #define IAggregator_AddRef(This) \
  526. (This)->lpVtbl -> AddRef(This)
  527. #define IAggregator_Release(This) \
  528. (This)->lpVtbl -> Release(This)
  529. #define IAggregator_Aggregate(This,pInnerUnk) \
  530. (This)->lpVtbl -> Aggregate(This,pInnerUnk)
  531. #endif /* COBJMACROS */
  532. #endif /* C style interface */
  533. HRESULT STDMETHODCALLTYPE IAggregator_Aggregate_Proxy(
  534. IAggregator * This,
  535. /* [in] */ IUnknown *pInnerUnk);
  536. void __RPC_STUB IAggregator_Aggregate_Stub(
  537. IRpcStubBuffer *This,
  538. IRpcChannelBuffer *_pRpcChannelBuffer,
  539. PRPC_MESSAGE _pRpcMessage,
  540. DWORD *_pdwStubPhase);
  541. #endif /* __IAggregator_INTERFACE_DEFINED__ */
  542. #ifndef __ICall_INTERFACE_DEFINED__
  543. #define __ICall_INTERFACE_DEFINED__
  544. /* interface ICall */
  545. /* [unique][uuid][object][local] */
  546. typedef /* [unique] */ ICall *LPCALL;
  547. EXTERN_C const IID IID_ICall;
  548. #if defined(__cplusplus) && !defined(CINTERFACE)
  549. MIDL_INTERFACE("000001d6-0000-0000-C000-000000000046")
  550. ICall : public IUnknown
  551. {
  552. public:
  553. virtual HRESULT STDMETHODCALLTYPE GetCallInfo(
  554. /* [out] */ const void **ppIdentity,
  555. /* [out] */ IID *piid,
  556. /* [out] */ DWORD *pdwMethod,
  557. /* [out] */ HRESULT *phr) = 0;
  558. virtual HRESULT STDMETHODCALLTYPE Nullify(
  559. /* [in] */ HRESULT hr) = 0;
  560. virtual HRESULT STDMETHODCALLTYPE GetServerHR(
  561. /* [out] */ HRESULT *phr) = 0;
  562. };
  563. #else /* C style interface */
  564. typedef struct ICallVtbl
  565. {
  566. BEGIN_INTERFACE
  567. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  568. ICall * This,
  569. /* [in] */ REFIID riid,
  570. /* [iid_is][out] */ void **ppvObject);
  571. ULONG ( STDMETHODCALLTYPE *AddRef )(
  572. ICall * This);
  573. ULONG ( STDMETHODCALLTYPE *Release )(
  574. ICall * This);
  575. HRESULT ( STDMETHODCALLTYPE *GetCallInfo )(
  576. ICall * This,
  577. /* [out] */ const void **ppIdentity,
  578. /* [out] */ IID *piid,
  579. /* [out] */ DWORD *pdwMethod,
  580. /* [out] */ HRESULT *phr);
  581. HRESULT ( STDMETHODCALLTYPE *Nullify )(
  582. ICall * This,
  583. /* [in] */ HRESULT hr);
  584. HRESULT ( STDMETHODCALLTYPE *GetServerHR )(
  585. ICall * This,
  586. /* [out] */ HRESULT *phr);
  587. END_INTERFACE
  588. } ICallVtbl;
  589. interface ICall
  590. {
  591. CONST_VTBL struct ICallVtbl *lpVtbl;
  592. };
  593. #ifdef COBJMACROS
  594. #define ICall_QueryInterface(This,riid,ppvObject) \
  595. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  596. #define ICall_AddRef(This) \
  597. (This)->lpVtbl -> AddRef(This)
  598. #define ICall_Release(This) \
  599. (This)->lpVtbl -> Release(This)
  600. #define ICall_GetCallInfo(This,ppIdentity,piid,pdwMethod,phr) \
  601. (This)->lpVtbl -> GetCallInfo(This,ppIdentity,piid,pdwMethod,phr)
  602. #define ICall_Nullify(This,hr) \
  603. (This)->lpVtbl -> Nullify(This,hr)
  604. #define ICall_GetServerHR(This,phr) \
  605. (This)->lpVtbl -> GetServerHR(This,phr)
  606. #endif /* COBJMACROS */
  607. #endif /* C style interface */
  608. HRESULT STDMETHODCALLTYPE ICall_GetCallInfo_Proxy(
  609. ICall * This,
  610. /* [out] */ const void **ppIdentity,
  611. /* [out] */ IID *piid,
  612. /* [out] */ DWORD *pdwMethod,
  613. /* [out] */ HRESULT *phr);
  614. void __RPC_STUB ICall_GetCallInfo_Stub(
  615. IRpcStubBuffer *This,
  616. IRpcChannelBuffer *_pRpcChannelBuffer,
  617. PRPC_MESSAGE _pRpcMessage,
  618. DWORD *_pdwStubPhase);
  619. HRESULT STDMETHODCALLTYPE ICall_Nullify_Proxy(
  620. ICall * This,
  621. /* [in] */ HRESULT hr);
  622. void __RPC_STUB ICall_Nullify_Stub(
  623. IRpcStubBuffer *This,
  624. IRpcChannelBuffer *_pRpcChannelBuffer,
  625. PRPC_MESSAGE _pRpcMessage,
  626. DWORD *_pdwStubPhase);
  627. HRESULT STDMETHODCALLTYPE ICall_GetServerHR_Proxy(
  628. ICall * This,
  629. /* [out] */ HRESULT *phr);
  630. void __RPC_STUB ICall_GetServerHR_Stub(
  631. IRpcStubBuffer *This,
  632. IRpcChannelBuffer *_pRpcChannelBuffer,
  633. PRPC_MESSAGE _pRpcMessage,
  634. DWORD *_pdwStubPhase);
  635. #endif /* __ICall_INTERFACE_DEFINED__ */
  636. #ifndef __IRpcCall_INTERFACE_DEFINED__
  637. #define __IRpcCall_INTERFACE_DEFINED__
  638. /* interface IRpcCall */
  639. /* [unique][uuid][object][local] */
  640. typedef /* [unique] */ IRpcCall *LPRPCCALL;
  641. EXTERN_C const IID IID_IRpcCall;
  642. #if defined(__cplusplus) && !defined(CINTERFACE)
  643. MIDL_INTERFACE("000001c5-0000-0000-C000-000000000046")
  644. IRpcCall : public IUnknown
  645. {
  646. public:
  647. virtual HRESULT STDMETHODCALLTYPE GetRpcOleMessage(
  648. /* [out] */ RPCOLEMESSAGE **ppMessage) = 0;
  649. };
  650. #else /* C style interface */
  651. typedef struct IRpcCallVtbl
  652. {
  653. BEGIN_INTERFACE
  654. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  655. IRpcCall * This,
  656. /* [in] */ REFIID riid,
  657. /* [iid_is][out] */ void **ppvObject);
  658. ULONG ( STDMETHODCALLTYPE *AddRef )(
  659. IRpcCall * This);
  660. ULONG ( STDMETHODCALLTYPE *Release )(
  661. IRpcCall * This);
  662. HRESULT ( STDMETHODCALLTYPE *GetRpcOleMessage )(
  663. IRpcCall * This,
  664. /* [out] */ RPCOLEMESSAGE **ppMessage);
  665. END_INTERFACE
  666. } IRpcCallVtbl;
  667. interface IRpcCall
  668. {
  669. CONST_VTBL struct IRpcCallVtbl *lpVtbl;
  670. };
  671. #ifdef COBJMACROS
  672. #define IRpcCall_QueryInterface(This,riid,ppvObject) \
  673. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  674. #define IRpcCall_AddRef(This) \
  675. (This)->lpVtbl -> AddRef(This)
  676. #define IRpcCall_Release(This) \
  677. (This)->lpVtbl -> Release(This)
  678. #define IRpcCall_GetRpcOleMessage(This,ppMessage) \
  679. (This)->lpVtbl -> GetRpcOleMessage(This,ppMessage)
  680. #endif /* COBJMACROS */
  681. #endif /* C style interface */
  682. HRESULT STDMETHODCALLTYPE IRpcCall_GetRpcOleMessage_Proxy(
  683. IRpcCall * This,
  684. /* [out] */ RPCOLEMESSAGE **ppMessage);
  685. void __RPC_STUB IRpcCall_GetRpcOleMessage_Stub(
  686. IRpcStubBuffer *This,
  687. IRpcChannelBuffer *_pRpcChannelBuffer,
  688. PRPC_MESSAGE _pRpcMessage,
  689. DWORD *_pdwStubPhase);
  690. #endif /* __IRpcCall_INTERFACE_DEFINED__ */
  691. /* interface __MIDL_itf_contxt_0100 */
  692. /* [local] */
  693. typedef
  694. enum _CALLSOURCE
  695. { CALLSOURCE_CROSSAPT = 0,
  696. CALLSOURCE_CROSSCTX = 1
  697. } CALLSOURCE;
  698. extern RPC_IF_HANDLE __MIDL_itf_contxt_0100_ClientIfHandle;
  699. extern RPC_IF_HANDLE __MIDL_itf_contxt_0100_ServerIfHandle;
  700. #ifndef __ICallInfo_INTERFACE_DEFINED__
  701. #define __ICallInfo_INTERFACE_DEFINED__
  702. /* interface ICallInfo */
  703. /* [unique][uuid][object][local] */
  704. EXTERN_C const IID IID_ICallInfo;
  705. #if defined(__cplusplus) && !defined(CINTERFACE)
  706. MIDL_INTERFACE("000001dc-0000-0000-C000-000000000046")
  707. ICallInfo : public IUnknown
  708. {
  709. public:
  710. virtual HRESULT STDMETHODCALLTYPE GetCallSource(
  711. /* [out] */ CALLSOURCE *pCallSource) = 0;
  712. };
  713. #else /* C style interface */
  714. typedef struct ICallInfoVtbl
  715. {
  716. BEGIN_INTERFACE
  717. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  718. ICallInfo * This,
  719. /* [in] */ REFIID riid,
  720. /* [iid_is][out] */ void **ppvObject);
  721. ULONG ( STDMETHODCALLTYPE *AddRef )(
  722. ICallInfo * This);
  723. ULONG ( STDMETHODCALLTYPE *Release )(
  724. ICallInfo * This);
  725. HRESULT ( STDMETHODCALLTYPE *GetCallSource )(
  726. ICallInfo * This,
  727. /* [out] */ CALLSOURCE *pCallSource);
  728. END_INTERFACE
  729. } ICallInfoVtbl;
  730. interface ICallInfo
  731. {
  732. CONST_VTBL struct ICallInfoVtbl *lpVtbl;
  733. };
  734. #ifdef COBJMACROS
  735. #define ICallInfo_QueryInterface(This,riid,ppvObject) \
  736. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  737. #define ICallInfo_AddRef(This) \
  738. (This)->lpVtbl -> AddRef(This)
  739. #define ICallInfo_Release(This) \
  740. (This)->lpVtbl -> Release(This)
  741. #define ICallInfo_GetCallSource(This,pCallSource) \
  742. (This)->lpVtbl -> GetCallSource(This,pCallSource)
  743. #endif /* COBJMACROS */
  744. #endif /* C style interface */
  745. HRESULT STDMETHODCALLTYPE ICallInfo_GetCallSource_Proxy(
  746. ICallInfo * This,
  747. /* [out] */ CALLSOURCE *pCallSource);
  748. void __RPC_STUB ICallInfo_GetCallSource_Stub(
  749. IRpcStubBuffer *This,
  750. IRpcChannelBuffer *_pRpcChannelBuffer,
  751. PRPC_MESSAGE _pRpcMessage,
  752. DWORD *_pdwStubPhase);
  753. #endif /* __ICallInfo_INTERFACE_DEFINED__ */
  754. #ifndef __IPolicy_INTERFACE_DEFINED__
  755. #define __IPolicy_INTERFACE_DEFINED__
  756. /* interface IPolicy */
  757. /* [unique][uuid][object][local] */
  758. EXTERN_C const IID IID_IPolicy;
  759. #if defined(__cplusplus) && !defined(CINTERFACE)
  760. MIDL_INTERFACE("000001c2-0000-0000-C000-000000000046")
  761. IPolicy : public IUnknown
  762. {
  763. public:
  764. virtual HRESULT STDMETHODCALLTYPE Call(
  765. /* [in] */ ICall *pCall) = 0;
  766. virtual HRESULT STDMETHODCALLTYPE Enter(
  767. /* [in] */ ICall *pCall) = 0;
  768. virtual HRESULT STDMETHODCALLTYPE Leave(
  769. /* [in] */ ICall *pCall) = 0;
  770. virtual HRESULT STDMETHODCALLTYPE Return(
  771. /* [in] */ ICall *pCall) = 0;
  772. virtual HRESULT STDMETHODCALLTYPE CallGetSize(
  773. /* [in] */ ICall *pCall,
  774. /* [out] */ ULONG *pcb) = 0;
  775. virtual HRESULT STDMETHODCALLTYPE CallFillBuffer(
  776. /* [in] */ ICall *pCall,
  777. /* [in] */ void *pvBuf,
  778. /* [out] */ ULONG *pcb) = 0;
  779. virtual HRESULT STDMETHODCALLTYPE EnterWithBuffer(
  780. /* [in] */ ICall *pCall,
  781. /* [in] */ void *pvBuf,
  782. /* [in] */ ULONG cb) = 0;
  783. virtual HRESULT STDMETHODCALLTYPE LeaveGetSize(
  784. /* [in] */ ICall *pCall,
  785. /* [out] */ ULONG *pcb) = 0;
  786. virtual HRESULT STDMETHODCALLTYPE LeaveFillBuffer(
  787. /* [in] */ ICall *pCall,
  788. /* [in] */ void *pvBuf,
  789. /* [out] */ ULONG *pcb) = 0;
  790. virtual HRESULT STDMETHODCALLTYPE ReturnWithBuffer(
  791. /* [in] */ ICall *pCall,
  792. /* [in] */ void *pvBuf,
  793. /* [in] */ ULONG cb) = 0;
  794. virtual ULONG STDMETHODCALLTYPE AddRefPolicy( void) = 0;
  795. virtual ULONG STDMETHODCALLTYPE ReleasePolicy( void) = 0;
  796. };
  797. #else /* C style interface */
  798. typedef struct IPolicyVtbl
  799. {
  800. BEGIN_INTERFACE
  801. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  802. IPolicy * This,
  803. /* [in] */ REFIID riid,
  804. /* [iid_is][out] */ void **ppvObject);
  805. ULONG ( STDMETHODCALLTYPE *AddRef )(
  806. IPolicy * This);
  807. ULONG ( STDMETHODCALLTYPE *Release )(
  808. IPolicy * This);
  809. HRESULT ( STDMETHODCALLTYPE *Call )(
  810. IPolicy * This,
  811. /* [in] */ ICall *pCall);
  812. HRESULT ( STDMETHODCALLTYPE *Enter )(
  813. IPolicy * This,
  814. /* [in] */ ICall *pCall);
  815. HRESULT ( STDMETHODCALLTYPE *Leave )(
  816. IPolicy * This,
  817. /* [in] */ ICall *pCall);
  818. HRESULT ( STDMETHODCALLTYPE *Return )(
  819. IPolicy * This,
  820. /* [in] */ ICall *pCall);
  821. HRESULT ( STDMETHODCALLTYPE *CallGetSize )(
  822. IPolicy * This,
  823. /* [in] */ ICall *pCall,
  824. /* [out] */ ULONG *pcb);
  825. HRESULT ( STDMETHODCALLTYPE *CallFillBuffer )(
  826. IPolicy * This,
  827. /* [in] */ ICall *pCall,
  828. /* [in] */ void *pvBuf,
  829. /* [out] */ ULONG *pcb);
  830. HRESULT ( STDMETHODCALLTYPE *EnterWithBuffer )(
  831. IPolicy * This,
  832. /* [in] */ ICall *pCall,
  833. /* [in] */ void *pvBuf,
  834. /* [in] */ ULONG cb);
  835. HRESULT ( STDMETHODCALLTYPE *LeaveGetSize )(
  836. IPolicy * This,
  837. /* [in] */ ICall *pCall,
  838. /* [out] */ ULONG *pcb);
  839. HRESULT ( STDMETHODCALLTYPE *LeaveFillBuffer )(
  840. IPolicy * This,
  841. /* [in] */ ICall *pCall,
  842. /* [in] */ void *pvBuf,
  843. /* [out] */ ULONG *pcb);
  844. HRESULT ( STDMETHODCALLTYPE *ReturnWithBuffer )(
  845. IPolicy * This,
  846. /* [in] */ ICall *pCall,
  847. /* [in] */ void *pvBuf,
  848. /* [in] */ ULONG cb);
  849. ULONG ( STDMETHODCALLTYPE *AddRefPolicy )(
  850. IPolicy * This);
  851. ULONG ( STDMETHODCALLTYPE *ReleasePolicy )(
  852. IPolicy * This);
  853. END_INTERFACE
  854. } IPolicyVtbl;
  855. interface IPolicy
  856. {
  857. CONST_VTBL struct IPolicyVtbl *lpVtbl;
  858. };
  859. #ifdef COBJMACROS
  860. #define IPolicy_QueryInterface(This,riid,ppvObject) \
  861. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  862. #define IPolicy_AddRef(This) \
  863. (This)->lpVtbl -> AddRef(This)
  864. #define IPolicy_Release(This) \
  865. (This)->lpVtbl -> Release(This)
  866. #define IPolicy_Call(This,pCall) \
  867. (This)->lpVtbl -> Call(This,pCall)
  868. #define IPolicy_Enter(This,pCall) \
  869. (This)->lpVtbl -> Enter(This,pCall)
  870. #define IPolicy_Leave(This,pCall) \
  871. (This)->lpVtbl -> Leave(This,pCall)
  872. #define IPolicy_Return(This,pCall) \
  873. (This)->lpVtbl -> Return(This,pCall)
  874. #define IPolicy_CallGetSize(This,pCall,pcb) \
  875. (This)->lpVtbl -> CallGetSize(This,pCall,pcb)
  876. #define IPolicy_CallFillBuffer(This,pCall,pvBuf,pcb) \
  877. (This)->lpVtbl -> CallFillBuffer(This,pCall,pvBuf,pcb)
  878. #define IPolicy_EnterWithBuffer(This,pCall,pvBuf,cb) \
  879. (This)->lpVtbl -> EnterWithBuffer(This,pCall,pvBuf,cb)
  880. #define IPolicy_LeaveGetSize(This,pCall,pcb) \
  881. (This)->lpVtbl -> LeaveGetSize(This,pCall,pcb)
  882. #define IPolicy_LeaveFillBuffer(This,pCall,pvBuf,pcb) \
  883. (This)->lpVtbl -> LeaveFillBuffer(This,pCall,pvBuf,pcb)
  884. #define IPolicy_ReturnWithBuffer(This,pCall,pvBuf,cb) \
  885. (This)->lpVtbl -> ReturnWithBuffer(This,pCall,pvBuf,cb)
  886. #define IPolicy_AddRefPolicy(This) \
  887. (This)->lpVtbl -> AddRefPolicy(This)
  888. #define IPolicy_ReleasePolicy(This) \
  889. (This)->lpVtbl -> ReleasePolicy(This)
  890. #endif /* COBJMACROS */
  891. #endif /* C style interface */
  892. HRESULT STDMETHODCALLTYPE IPolicy_Call_Proxy(
  893. IPolicy * This,
  894. /* [in] */ ICall *pCall);
  895. void __RPC_STUB IPolicy_Call_Stub(
  896. IRpcStubBuffer *This,
  897. IRpcChannelBuffer *_pRpcChannelBuffer,
  898. PRPC_MESSAGE _pRpcMessage,
  899. DWORD *_pdwStubPhase);
  900. HRESULT STDMETHODCALLTYPE IPolicy_Enter_Proxy(
  901. IPolicy * This,
  902. /* [in] */ ICall *pCall);
  903. void __RPC_STUB IPolicy_Enter_Stub(
  904. IRpcStubBuffer *This,
  905. IRpcChannelBuffer *_pRpcChannelBuffer,
  906. PRPC_MESSAGE _pRpcMessage,
  907. DWORD *_pdwStubPhase);
  908. HRESULT STDMETHODCALLTYPE IPolicy_Leave_Proxy(
  909. IPolicy * This,
  910. /* [in] */ ICall *pCall);
  911. void __RPC_STUB IPolicy_Leave_Stub(
  912. IRpcStubBuffer *This,
  913. IRpcChannelBuffer *_pRpcChannelBuffer,
  914. PRPC_MESSAGE _pRpcMessage,
  915. DWORD *_pdwStubPhase);
  916. HRESULT STDMETHODCALLTYPE IPolicy_Return_Proxy(
  917. IPolicy * This,
  918. /* [in] */ ICall *pCall);
  919. void __RPC_STUB IPolicy_Return_Stub(
  920. IRpcStubBuffer *This,
  921. IRpcChannelBuffer *_pRpcChannelBuffer,
  922. PRPC_MESSAGE _pRpcMessage,
  923. DWORD *_pdwStubPhase);
  924. HRESULT STDMETHODCALLTYPE IPolicy_CallGetSize_Proxy(
  925. IPolicy * This,
  926. /* [in] */ ICall *pCall,
  927. /* [out] */ ULONG *pcb);
  928. void __RPC_STUB IPolicy_CallGetSize_Stub(
  929. IRpcStubBuffer *This,
  930. IRpcChannelBuffer *_pRpcChannelBuffer,
  931. PRPC_MESSAGE _pRpcMessage,
  932. DWORD *_pdwStubPhase);
  933. HRESULT STDMETHODCALLTYPE IPolicy_CallFillBuffer_Proxy(
  934. IPolicy * This,
  935. /* [in] */ ICall *pCall,
  936. /* [in] */ void *pvBuf,
  937. /* [out] */ ULONG *pcb);
  938. void __RPC_STUB IPolicy_CallFillBuffer_Stub(
  939. IRpcStubBuffer *This,
  940. IRpcChannelBuffer *_pRpcChannelBuffer,
  941. PRPC_MESSAGE _pRpcMessage,
  942. DWORD *_pdwStubPhase);
  943. HRESULT STDMETHODCALLTYPE IPolicy_EnterWithBuffer_Proxy(
  944. IPolicy * This,
  945. /* [in] */ ICall *pCall,
  946. /* [in] */ void *pvBuf,
  947. /* [in] */ ULONG cb);
  948. void __RPC_STUB IPolicy_EnterWithBuffer_Stub(
  949. IRpcStubBuffer *This,
  950. IRpcChannelBuffer *_pRpcChannelBuffer,
  951. PRPC_MESSAGE _pRpcMessage,
  952. DWORD *_pdwStubPhase);
  953. HRESULT STDMETHODCALLTYPE IPolicy_LeaveGetSize_Proxy(
  954. IPolicy * This,
  955. /* [in] */ ICall *pCall,
  956. /* [out] */ ULONG *pcb);
  957. void __RPC_STUB IPolicy_LeaveGetSize_Stub(
  958. IRpcStubBuffer *This,
  959. IRpcChannelBuffer *_pRpcChannelBuffer,
  960. PRPC_MESSAGE _pRpcMessage,
  961. DWORD *_pdwStubPhase);
  962. HRESULT STDMETHODCALLTYPE IPolicy_LeaveFillBuffer_Proxy(
  963. IPolicy * This,
  964. /* [in] */ ICall *pCall,
  965. /* [in] */ void *pvBuf,
  966. /* [out] */ ULONG *pcb);
  967. void __RPC_STUB IPolicy_LeaveFillBuffer_Stub(
  968. IRpcStubBuffer *This,
  969. IRpcChannelBuffer *_pRpcChannelBuffer,
  970. PRPC_MESSAGE _pRpcMessage,
  971. DWORD *_pdwStubPhase);
  972. HRESULT STDMETHODCALLTYPE IPolicy_ReturnWithBuffer_Proxy(
  973. IPolicy * This,
  974. /* [in] */ ICall *pCall,
  975. /* [in] */ void *pvBuf,
  976. /* [in] */ ULONG cb);
  977. void __RPC_STUB IPolicy_ReturnWithBuffer_Stub(
  978. IRpcStubBuffer *This,
  979. IRpcChannelBuffer *_pRpcChannelBuffer,
  980. PRPC_MESSAGE _pRpcMessage,
  981. DWORD *_pdwStubPhase);
  982. ULONG STDMETHODCALLTYPE IPolicy_AddRefPolicy_Proxy(
  983. IPolicy * This);
  984. void __RPC_STUB IPolicy_AddRefPolicy_Stub(
  985. IRpcStubBuffer *This,
  986. IRpcChannelBuffer *_pRpcChannelBuffer,
  987. PRPC_MESSAGE _pRpcMessage,
  988. DWORD *_pdwStubPhase);
  989. ULONG STDMETHODCALLTYPE IPolicy_ReleasePolicy_Proxy(
  990. IPolicy * This);
  991. void __RPC_STUB IPolicy_ReleasePolicy_Stub(
  992. IRpcStubBuffer *This,
  993. IRpcChannelBuffer *_pRpcChannelBuffer,
  994. PRPC_MESSAGE _pRpcMessage,
  995. DWORD *_pdwStubPhase);
  996. #endif /* __IPolicy_INTERFACE_DEFINED__ */
  997. #ifndef __IPolicyAsync_INTERFACE_DEFINED__
  998. #define __IPolicyAsync_INTERFACE_DEFINED__
  999. /* interface IPolicyAsync */
  1000. /* [unique][uuid][object][local] */
  1001. EXTERN_C const IID IID_IPolicyAsync;
  1002. #if defined(__cplusplus) && !defined(CINTERFACE)
  1003. MIDL_INTERFACE("000001cd-0000-0000-C000-000000000046")
  1004. IPolicyAsync : public IUnknown
  1005. {
  1006. public:
  1007. virtual HRESULT STDMETHODCALLTYPE BeginCallGetSize(
  1008. /* [in] */ ICall *pCall,
  1009. /* [out] */ ULONG *pcb) = 0;
  1010. virtual HRESULT STDMETHODCALLTYPE BeginCall(
  1011. /* [in] */ ICall *pCall) = 0;
  1012. virtual HRESULT STDMETHODCALLTYPE BeginCallFillBuffer(
  1013. /* [in] */ ICall *pCall,
  1014. /* [in] */ void *pvBuf,
  1015. /* [out] */ ULONG *pcb) = 0;
  1016. virtual HRESULT STDMETHODCALLTYPE BeginEnter(
  1017. /* [in] */ ICall *pCall) = 0;
  1018. virtual HRESULT STDMETHODCALLTYPE BeginEnterWithBuffer(
  1019. /* [in] */ ICall *pCall,
  1020. /* [in] */ void *pvBuf,
  1021. /* [in] */ ULONG cb) = 0;
  1022. virtual HRESULT STDMETHODCALLTYPE BeginLeave(
  1023. /* [in] */ ICall *pCall) = 0;
  1024. virtual HRESULT STDMETHODCALLTYPE BeginReturn(
  1025. /* [in] */ ICall *pCall) = 0;
  1026. virtual HRESULT STDMETHODCALLTYPE FinishCall(
  1027. /* [in] */ ICall *pCall) = 0;
  1028. virtual HRESULT STDMETHODCALLTYPE FinishEnter(
  1029. /* [in] */ ICall *pCall) = 0;
  1030. virtual HRESULT STDMETHODCALLTYPE FinishLeaveGetSize(
  1031. /* [in] */ ICall *pCall,
  1032. /* [out] */ ULONG *pcb) = 0;
  1033. virtual HRESULT STDMETHODCALLTYPE FinishLeave(
  1034. /* [in] */ ICall *pCall) = 0;
  1035. virtual HRESULT STDMETHODCALLTYPE FinishLeaveFillBuffer(
  1036. /* [in] */ ICall *pCall,
  1037. /* [in] */ void *pvBuf,
  1038. /* [out] */ ULONG *pcb) = 0;
  1039. virtual HRESULT STDMETHODCALLTYPE FinishReturn(
  1040. /* [in] */ ICall *pCall) = 0;
  1041. virtual HRESULT STDMETHODCALLTYPE FinishReturnWithBuffer(
  1042. /* [in] */ ICall *pCall,
  1043. /* [in] */ void *pvBuf,
  1044. /* [in] */ ULONG cb) = 0;
  1045. };
  1046. #else /* C style interface */
  1047. typedef struct IPolicyAsyncVtbl
  1048. {
  1049. BEGIN_INTERFACE
  1050. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1051. IPolicyAsync * This,
  1052. /* [in] */ REFIID riid,
  1053. /* [iid_is][out] */ void **ppvObject);
  1054. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1055. IPolicyAsync * This);
  1056. ULONG ( STDMETHODCALLTYPE *Release )(
  1057. IPolicyAsync * This);
  1058. HRESULT ( STDMETHODCALLTYPE *BeginCallGetSize )(
  1059. IPolicyAsync * This,
  1060. /* [in] */ ICall *pCall,
  1061. /* [out] */ ULONG *pcb);
  1062. HRESULT ( STDMETHODCALLTYPE *BeginCall )(
  1063. IPolicyAsync * This,
  1064. /* [in] */ ICall *pCall);
  1065. HRESULT ( STDMETHODCALLTYPE *BeginCallFillBuffer )(
  1066. IPolicyAsync * This,
  1067. /* [in] */ ICall *pCall,
  1068. /* [in] */ void *pvBuf,
  1069. /* [out] */ ULONG *pcb);
  1070. HRESULT ( STDMETHODCALLTYPE *BeginEnter )(
  1071. IPolicyAsync * This,
  1072. /* [in] */ ICall *pCall);
  1073. HRESULT ( STDMETHODCALLTYPE *BeginEnterWithBuffer )(
  1074. IPolicyAsync * This,
  1075. /* [in] */ ICall *pCall,
  1076. /* [in] */ void *pvBuf,
  1077. /* [in] */ ULONG cb);
  1078. HRESULT ( STDMETHODCALLTYPE *BeginLeave )(
  1079. IPolicyAsync * This,
  1080. /* [in] */ ICall *pCall);
  1081. HRESULT ( STDMETHODCALLTYPE *BeginReturn )(
  1082. IPolicyAsync * This,
  1083. /* [in] */ ICall *pCall);
  1084. HRESULT ( STDMETHODCALLTYPE *FinishCall )(
  1085. IPolicyAsync * This,
  1086. /* [in] */ ICall *pCall);
  1087. HRESULT ( STDMETHODCALLTYPE *FinishEnter )(
  1088. IPolicyAsync * This,
  1089. /* [in] */ ICall *pCall);
  1090. HRESULT ( STDMETHODCALLTYPE *FinishLeaveGetSize )(
  1091. IPolicyAsync * This,
  1092. /* [in] */ ICall *pCall,
  1093. /* [out] */ ULONG *pcb);
  1094. HRESULT ( STDMETHODCALLTYPE *FinishLeave )(
  1095. IPolicyAsync * This,
  1096. /* [in] */ ICall *pCall);
  1097. HRESULT ( STDMETHODCALLTYPE *FinishLeaveFillBuffer )(
  1098. IPolicyAsync * This,
  1099. /* [in] */ ICall *pCall,
  1100. /* [in] */ void *pvBuf,
  1101. /* [out] */ ULONG *pcb);
  1102. HRESULT ( STDMETHODCALLTYPE *FinishReturn )(
  1103. IPolicyAsync * This,
  1104. /* [in] */ ICall *pCall);
  1105. HRESULT ( STDMETHODCALLTYPE *FinishReturnWithBuffer )(
  1106. IPolicyAsync * This,
  1107. /* [in] */ ICall *pCall,
  1108. /* [in] */ void *pvBuf,
  1109. /* [in] */ ULONG cb);
  1110. END_INTERFACE
  1111. } IPolicyAsyncVtbl;
  1112. interface IPolicyAsync
  1113. {
  1114. CONST_VTBL struct IPolicyAsyncVtbl *lpVtbl;
  1115. };
  1116. #ifdef COBJMACROS
  1117. #define IPolicyAsync_QueryInterface(This,riid,ppvObject) \
  1118. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1119. #define IPolicyAsync_AddRef(This) \
  1120. (This)->lpVtbl -> AddRef(This)
  1121. #define IPolicyAsync_Release(This) \
  1122. (This)->lpVtbl -> Release(This)
  1123. #define IPolicyAsync_BeginCallGetSize(This,pCall,pcb) \
  1124. (This)->lpVtbl -> BeginCallGetSize(This,pCall,pcb)
  1125. #define IPolicyAsync_BeginCall(This,pCall) \
  1126. (This)->lpVtbl -> BeginCall(This,pCall)
  1127. #define IPolicyAsync_BeginCallFillBuffer(This,pCall,pvBuf,pcb) \
  1128. (This)->lpVtbl -> BeginCallFillBuffer(This,pCall,pvBuf,pcb)
  1129. #define IPolicyAsync_BeginEnter(This,pCall) \
  1130. (This)->lpVtbl -> BeginEnter(This,pCall)
  1131. #define IPolicyAsync_BeginEnterWithBuffer(This,pCall,pvBuf,cb) \
  1132. (This)->lpVtbl -> BeginEnterWithBuffer(This,pCall,pvBuf,cb)
  1133. #define IPolicyAsync_BeginLeave(This,pCall) \
  1134. (This)->lpVtbl -> BeginLeave(This,pCall)
  1135. #define IPolicyAsync_BeginReturn(This,pCall) \
  1136. (This)->lpVtbl -> BeginReturn(This,pCall)
  1137. #define IPolicyAsync_FinishCall(This,pCall) \
  1138. (This)->lpVtbl -> FinishCall(This,pCall)
  1139. #define IPolicyAsync_FinishEnter(This,pCall) \
  1140. (This)->lpVtbl -> FinishEnter(This,pCall)
  1141. #define IPolicyAsync_FinishLeaveGetSize(This,pCall,pcb) \
  1142. (This)->lpVtbl -> FinishLeaveGetSize(This,pCall,pcb)
  1143. #define IPolicyAsync_FinishLeave(This,pCall) \
  1144. (This)->lpVtbl -> FinishLeave(This,pCall)
  1145. #define IPolicyAsync_FinishLeaveFillBuffer(This,pCall,pvBuf,pcb) \
  1146. (This)->lpVtbl -> FinishLeaveFillBuffer(This,pCall,pvBuf,pcb)
  1147. #define IPolicyAsync_FinishReturn(This,pCall) \
  1148. (This)->lpVtbl -> FinishReturn(This,pCall)
  1149. #define IPolicyAsync_FinishReturnWithBuffer(This,pCall,pvBuf,cb) \
  1150. (This)->lpVtbl -> FinishReturnWithBuffer(This,pCall,pvBuf,cb)
  1151. #endif /* COBJMACROS */
  1152. #endif /* C style interface */
  1153. HRESULT STDMETHODCALLTYPE IPolicyAsync_BeginCallGetSize_Proxy(
  1154. IPolicyAsync * This,
  1155. /* [in] */ ICall *pCall,
  1156. /* [out] */ ULONG *pcb);
  1157. void __RPC_STUB IPolicyAsync_BeginCallGetSize_Stub(
  1158. IRpcStubBuffer *This,
  1159. IRpcChannelBuffer *_pRpcChannelBuffer,
  1160. PRPC_MESSAGE _pRpcMessage,
  1161. DWORD *_pdwStubPhase);
  1162. HRESULT STDMETHODCALLTYPE IPolicyAsync_BeginCall_Proxy(
  1163. IPolicyAsync * This,
  1164. /* [in] */ ICall *pCall);
  1165. void __RPC_STUB IPolicyAsync_BeginCall_Stub(
  1166. IRpcStubBuffer *This,
  1167. IRpcChannelBuffer *_pRpcChannelBuffer,
  1168. PRPC_MESSAGE _pRpcMessage,
  1169. DWORD *_pdwStubPhase);
  1170. HRESULT STDMETHODCALLTYPE IPolicyAsync_BeginCallFillBuffer_Proxy(
  1171. IPolicyAsync * This,
  1172. /* [in] */ ICall *pCall,
  1173. /* [in] */ void *pvBuf,
  1174. /* [out] */ ULONG *pcb);
  1175. void __RPC_STUB IPolicyAsync_BeginCallFillBuffer_Stub(
  1176. IRpcStubBuffer *This,
  1177. IRpcChannelBuffer *_pRpcChannelBuffer,
  1178. PRPC_MESSAGE _pRpcMessage,
  1179. DWORD *_pdwStubPhase);
  1180. HRESULT STDMETHODCALLTYPE IPolicyAsync_BeginEnter_Proxy(
  1181. IPolicyAsync * This,
  1182. /* [in] */ ICall *pCall);
  1183. void __RPC_STUB IPolicyAsync_BeginEnter_Stub(
  1184. IRpcStubBuffer *This,
  1185. IRpcChannelBuffer *_pRpcChannelBuffer,
  1186. PRPC_MESSAGE _pRpcMessage,
  1187. DWORD *_pdwStubPhase);
  1188. HRESULT STDMETHODCALLTYPE IPolicyAsync_BeginEnterWithBuffer_Proxy(
  1189. IPolicyAsync * This,
  1190. /* [in] */ ICall *pCall,
  1191. /* [in] */ void *pvBuf,
  1192. /* [in] */ ULONG cb);
  1193. void __RPC_STUB IPolicyAsync_BeginEnterWithBuffer_Stub(
  1194. IRpcStubBuffer *This,
  1195. IRpcChannelBuffer *_pRpcChannelBuffer,
  1196. PRPC_MESSAGE _pRpcMessage,
  1197. DWORD *_pdwStubPhase);
  1198. HRESULT STDMETHODCALLTYPE IPolicyAsync_BeginLeave_Proxy(
  1199. IPolicyAsync * This,
  1200. /* [in] */ ICall *pCall);
  1201. void __RPC_STUB IPolicyAsync_BeginLeave_Stub(
  1202. IRpcStubBuffer *This,
  1203. IRpcChannelBuffer *_pRpcChannelBuffer,
  1204. PRPC_MESSAGE _pRpcMessage,
  1205. DWORD *_pdwStubPhase);
  1206. HRESULT STDMETHODCALLTYPE IPolicyAsync_BeginReturn_Proxy(
  1207. IPolicyAsync * This,
  1208. /* [in] */ ICall *pCall);
  1209. void __RPC_STUB IPolicyAsync_BeginReturn_Stub(
  1210. IRpcStubBuffer *This,
  1211. IRpcChannelBuffer *_pRpcChannelBuffer,
  1212. PRPC_MESSAGE _pRpcMessage,
  1213. DWORD *_pdwStubPhase);
  1214. HRESULT STDMETHODCALLTYPE IPolicyAsync_FinishCall_Proxy(
  1215. IPolicyAsync * This,
  1216. /* [in] */ ICall *pCall);
  1217. void __RPC_STUB IPolicyAsync_FinishCall_Stub(
  1218. IRpcStubBuffer *This,
  1219. IRpcChannelBuffer *_pRpcChannelBuffer,
  1220. PRPC_MESSAGE _pRpcMessage,
  1221. DWORD *_pdwStubPhase);
  1222. HRESULT STDMETHODCALLTYPE IPolicyAsync_FinishEnter_Proxy(
  1223. IPolicyAsync * This,
  1224. /* [in] */ ICall *pCall);
  1225. void __RPC_STUB IPolicyAsync_FinishEnter_Stub(
  1226. IRpcStubBuffer *This,
  1227. IRpcChannelBuffer *_pRpcChannelBuffer,
  1228. PRPC_MESSAGE _pRpcMessage,
  1229. DWORD *_pdwStubPhase);
  1230. HRESULT STDMETHODCALLTYPE IPolicyAsync_FinishLeaveGetSize_Proxy(
  1231. IPolicyAsync * This,
  1232. /* [in] */ ICall *pCall,
  1233. /* [out] */ ULONG *pcb);
  1234. void __RPC_STUB IPolicyAsync_FinishLeaveGetSize_Stub(
  1235. IRpcStubBuffer *This,
  1236. IRpcChannelBuffer *_pRpcChannelBuffer,
  1237. PRPC_MESSAGE _pRpcMessage,
  1238. DWORD *_pdwStubPhase);
  1239. HRESULT STDMETHODCALLTYPE IPolicyAsync_FinishLeave_Proxy(
  1240. IPolicyAsync * This,
  1241. /* [in] */ ICall *pCall);
  1242. void __RPC_STUB IPolicyAsync_FinishLeave_Stub(
  1243. IRpcStubBuffer *This,
  1244. IRpcChannelBuffer *_pRpcChannelBuffer,
  1245. PRPC_MESSAGE _pRpcMessage,
  1246. DWORD *_pdwStubPhase);
  1247. HRESULT STDMETHODCALLTYPE IPolicyAsync_FinishLeaveFillBuffer_Proxy(
  1248. IPolicyAsync * This,
  1249. /* [in] */ ICall *pCall,
  1250. /* [in] */ void *pvBuf,
  1251. /* [out] */ ULONG *pcb);
  1252. void __RPC_STUB IPolicyAsync_FinishLeaveFillBuffer_Stub(
  1253. IRpcStubBuffer *This,
  1254. IRpcChannelBuffer *_pRpcChannelBuffer,
  1255. PRPC_MESSAGE _pRpcMessage,
  1256. DWORD *_pdwStubPhase);
  1257. HRESULT STDMETHODCALLTYPE IPolicyAsync_FinishReturn_Proxy(
  1258. IPolicyAsync * This,
  1259. /* [in] */ ICall *pCall);
  1260. void __RPC_STUB IPolicyAsync_FinishReturn_Stub(
  1261. IRpcStubBuffer *This,
  1262. IRpcChannelBuffer *_pRpcChannelBuffer,
  1263. PRPC_MESSAGE _pRpcMessage,
  1264. DWORD *_pdwStubPhase);
  1265. HRESULT STDMETHODCALLTYPE IPolicyAsync_FinishReturnWithBuffer_Proxy(
  1266. IPolicyAsync * This,
  1267. /* [in] */ ICall *pCall,
  1268. /* [in] */ void *pvBuf,
  1269. /* [in] */ ULONG cb);
  1270. void __RPC_STUB IPolicyAsync_FinishReturnWithBuffer_Stub(
  1271. IRpcStubBuffer *This,
  1272. IRpcChannelBuffer *_pRpcChannelBuffer,
  1273. PRPC_MESSAGE _pRpcMessage,
  1274. DWORD *_pdwStubPhase);
  1275. #endif /* __IPolicyAsync_INTERFACE_DEFINED__ */
  1276. #ifndef __IPolicySet_INTERFACE_DEFINED__
  1277. #define __IPolicySet_INTERFACE_DEFINED__
  1278. /* interface IPolicySet */
  1279. /* [unique][uuid][object][local] */
  1280. EXTERN_C const IID IID_IPolicySet;
  1281. #if defined(__cplusplus) && !defined(CINTERFACE)
  1282. MIDL_INTERFACE("000001c3-0000-0000-C000-000000000046")
  1283. IPolicySet : public IUnknown
  1284. {
  1285. public:
  1286. virtual HRESULT STDMETHODCALLTYPE AddPolicy(
  1287. /* [in] */ ContextEvent ctxEvent,
  1288. /* [in] */ REFGUID rguid,
  1289. /* [in] */ IPolicy *pPolicy) = 0;
  1290. };
  1291. #else /* C style interface */
  1292. typedef struct IPolicySetVtbl
  1293. {
  1294. BEGIN_INTERFACE
  1295. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1296. IPolicySet * This,
  1297. /* [in] */ REFIID riid,
  1298. /* [iid_is][out] */ void **ppvObject);
  1299. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1300. IPolicySet * This);
  1301. ULONG ( STDMETHODCALLTYPE *Release )(
  1302. IPolicySet * This);
  1303. HRESULT ( STDMETHODCALLTYPE *AddPolicy )(
  1304. IPolicySet * This,
  1305. /* [in] */ ContextEvent ctxEvent,
  1306. /* [in] */ REFGUID rguid,
  1307. /* [in] */ IPolicy *pPolicy);
  1308. END_INTERFACE
  1309. } IPolicySetVtbl;
  1310. interface IPolicySet
  1311. {
  1312. CONST_VTBL struct IPolicySetVtbl *lpVtbl;
  1313. };
  1314. #ifdef COBJMACROS
  1315. #define IPolicySet_QueryInterface(This,riid,ppvObject) \
  1316. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1317. #define IPolicySet_AddRef(This) \
  1318. (This)->lpVtbl -> AddRef(This)
  1319. #define IPolicySet_Release(This) \
  1320. (This)->lpVtbl -> Release(This)
  1321. #define IPolicySet_AddPolicy(This,ctxEvent,rguid,pPolicy) \
  1322. (This)->lpVtbl -> AddPolicy(This,ctxEvent,rguid,pPolicy)
  1323. #endif /* COBJMACROS */
  1324. #endif /* C style interface */
  1325. HRESULT STDMETHODCALLTYPE IPolicySet_AddPolicy_Proxy(
  1326. IPolicySet * This,
  1327. /* [in] */ ContextEvent ctxEvent,
  1328. /* [in] */ REFGUID rguid,
  1329. /* [in] */ IPolicy *pPolicy);
  1330. void __RPC_STUB IPolicySet_AddPolicy_Stub(
  1331. IRpcStubBuffer *This,
  1332. IRpcChannelBuffer *_pRpcChannelBuffer,
  1333. PRPC_MESSAGE _pRpcMessage,
  1334. DWORD *_pdwStubPhase);
  1335. #endif /* __IPolicySet_INTERFACE_DEFINED__ */
  1336. #ifndef __IComObjIdentity_INTERFACE_DEFINED__
  1337. #define __IComObjIdentity_INTERFACE_DEFINED__
  1338. /* interface IComObjIdentity */
  1339. /* [unique][uuid][object][local] */
  1340. EXTERN_C const IID IID_IComObjIdentity;
  1341. #if defined(__cplusplus) && !defined(CINTERFACE)
  1342. MIDL_INTERFACE("000001d7-0000-0000-C000-000000000046")
  1343. IComObjIdentity : public IUnknown
  1344. {
  1345. public:
  1346. virtual BOOL STDMETHODCALLTYPE IsServer( void) = 0;
  1347. virtual BOOL STDMETHODCALLTYPE IsDeactivated( void) = 0;
  1348. virtual HRESULT STDMETHODCALLTYPE GetIdentity(
  1349. /* [out] */ IUnknown **ppUnk) = 0;
  1350. };
  1351. #else /* C style interface */
  1352. typedef struct IComObjIdentityVtbl
  1353. {
  1354. BEGIN_INTERFACE
  1355. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1356. IComObjIdentity * This,
  1357. /* [in] */ REFIID riid,
  1358. /* [iid_is][out] */ void **ppvObject);
  1359. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1360. IComObjIdentity * This);
  1361. ULONG ( STDMETHODCALLTYPE *Release )(
  1362. IComObjIdentity * This);
  1363. BOOL ( STDMETHODCALLTYPE *IsServer )(
  1364. IComObjIdentity * This);
  1365. BOOL ( STDMETHODCALLTYPE *IsDeactivated )(
  1366. IComObjIdentity * This);
  1367. HRESULT ( STDMETHODCALLTYPE *GetIdentity )(
  1368. IComObjIdentity * This,
  1369. /* [out] */ IUnknown **ppUnk);
  1370. END_INTERFACE
  1371. } IComObjIdentityVtbl;
  1372. interface IComObjIdentity
  1373. {
  1374. CONST_VTBL struct IComObjIdentityVtbl *lpVtbl;
  1375. };
  1376. #ifdef COBJMACROS
  1377. #define IComObjIdentity_QueryInterface(This,riid,ppvObject) \
  1378. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1379. #define IComObjIdentity_AddRef(This) \
  1380. (This)->lpVtbl -> AddRef(This)
  1381. #define IComObjIdentity_Release(This) \
  1382. (This)->lpVtbl -> Release(This)
  1383. #define IComObjIdentity_IsServer(This) \
  1384. (This)->lpVtbl -> IsServer(This)
  1385. #define IComObjIdentity_IsDeactivated(This) \
  1386. (This)->lpVtbl -> IsDeactivated(This)
  1387. #define IComObjIdentity_GetIdentity(This,ppUnk) \
  1388. (This)->lpVtbl -> GetIdentity(This,ppUnk)
  1389. #endif /* COBJMACROS */
  1390. #endif /* C style interface */
  1391. BOOL STDMETHODCALLTYPE IComObjIdentity_IsServer_Proxy(
  1392. IComObjIdentity * This);
  1393. void __RPC_STUB IComObjIdentity_IsServer_Stub(
  1394. IRpcStubBuffer *This,
  1395. IRpcChannelBuffer *_pRpcChannelBuffer,
  1396. PRPC_MESSAGE _pRpcMessage,
  1397. DWORD *_pdwStubPhase);
  1398. BOOL STDMETHODCALLTYPE IComObjIdentity_IsDeactivated_Proxy(
  1399. IComObjIdentity * This);
  1400. void __RPC_STUB IComObjIdentity_IsDeactivated_Stub(
  1401. IRpcStubBuffer *This,
  1402. IRpcChannelBuffer *_pRpcChannelBuffer,
  1403. PRPC_MESSAGE _pRpcMessage,
  1404. DWORD *_pdwStubPhase);
  1405. HRESULT STDMETHODCALLTYPE IComObjIdentity_GetIdentity_Proxy(
  1406. IComObjIdentity * This,
  1407. /* [out] */ IUnknown **ppUnk);
  1408. void __RPC_STUB IComObjIdentity_GetIdentity_Stub(
  1409. IRpcStubBuffer *This,
  1410. IRpcChannelBuffer *_pRpcChannelBuffer,
  1411. PRPC_MESSAGE _pRpcMessage,
  1412. DWORD *_pdwStubPhase);
  1413. #endif /* __IComObjIdentity_INTERFACE_DEFINED__ */
  1414. #ifndef __IPolicyMaker_INTERFACE_DEFINED__
  1415. #define __IPolicyMaker_INTERFACE_DEFINED__
  1416. /* interface IPolicyMaker */
  1417. /* [unique][uuid][object][local] */
  1418. EXTERN_C const IID IID_IPolicyMaker;
  1419. #if defined(__cplusplus) && !defined(CINTERFACE)
  1420. MIDL_INTERFACE("000001c4-0000-0000-C000-000000000046")
  1421. IPolicyMaker : public IUnknown
  1422. {
  1423. public:
  1424. virtual HRESULT STDMETHODCALLTYPE AddClientPoliciesToSet(
  1425. /* [in] */ IPolicySet *pPS,
  1426. /* [in] */ IContext *pClientContext,
  1427. /* [in] */ IContext *pServerContext) = 0;
  1428. virtual HRESULT STDMETHODCALLTYPE AddEnvoyPoliciesToSet(
  1429. /* [in] */ IPolicySet *pPS,
  1430. /* [in] */ IContext *pClientContext,
  1431. /* [in] */ IContext *pServerContext) = 0;
  1432. virtual HRESULT STDMETHODCALLTYPE AddServerPoliciesToSet(
  1433. /* [in] */ IPolicySet *pPS,
  1434. /* [in] */ IContext *pClientContext,
  1435. /* [in] */ IContext *pServerContext) = 0;
  1436. virtual HRESULT STDMETHODCALLTYPE Freeze(
  1437. /* [in] */ IObjContext *pObjContext) = 0;
  1438. virtual HRESULT STDMETHODCALLTYPE CreateStub(
  1439. /* [in] */ IComObjIdentity *pID) = 0;
  1440. virtual HRESULT STDMETHODCALLTYPE DestroyStub(
  1441. /* [in] */ IComObjIdentity *pID) = 0;
  1442. virtual HRESULT STDMETHODCALLTYPE CreateProxy(
  1443. /* [in] */ IComObjIdentity *pID) = 0;
  1444. virtual HRESULT STDMETHODCALLTYPE DestroyProxy(
  1445. /* [in] */ IComObjIdentity *pID) = 0;
  1446. };
  1447. #else /* C style interface */
  1448. typedef struct IPolicyMakerVtbl
  1449. {
  1450. BEGIN_INTERFACE
  1451. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1452. IPolicyMaker * This,
  1453. /* [in] */ REFIID riid,
  1454. /* [iid_is][out] */ void **ppvObject);
  1455. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1456. IPolicyMaker * This);
  1457. ULONG ( STDMETHODCALLTYPE *Release )(
  1458. IPolicyMaker * This);
  1459. HRESULT ( STDMETHODCALLTYPE *AddClientPoliciesToSet )(
  1460. IPolicyMaker * This,
  1461. /* [in] */ IPolicySet *pPS,
  1462. /* [in] */ IContext *pClientContext,
  1463. /* [in] */ IContext *pServerContext);
  1464. HRESULT ( STDMETHODCALLTYPE *AddEnvoyPoliciesToSet )(
  1465. IPolicyMaker * This,
  1466. /* [in] */ IPolicySet *pPS,
  1467. /* [in] */ IContext *pClientContext,
  1468. /* [in] */ IContext *pServerContext);
  1469. HRESULT ( STDMETHODCALLTYPE *AddServerPoliciesToSet )(
  1470. IPolicyMaker * This,
  1471. /* [in] */ IPolicySet *pPS,
  1472. /* [in] */ IContext *pClientContext,
  1473. /* [in] */ IContext *pServerContext);
  1474. HRESULT ( STDMETHODCALLTYPE *Freeze )(
  1475. IPolicyMaker * This,
  1476. /* [in] */ IObjContext *pObjContext);
  1477. HRESULT ( STDMETHODCALLTYPE *CreateStub )(
  1478. IPolicyMaker * This,
  1479. /* [in] */ IComObjIdentity *pID);
  1480. HRESULT ( STDMETHODCALLTYPE *DestroyStub )(
  1481. IPolicyMaker * This,
  1482. /* [in] */ IComObjIdentity *pID);
  1483. HRESULT ( STDMETHODCALLTYPE *CreateProxy )(
  1484. IPolicyMaker * This,
  1485. /* [in] */ IComObjIdentity *pID);
  1486. HRESULT ( STDMETHODCALLTYPE *DestroyProxy )(
  1487. IPolicyMaker * This,
  1488. /* [in] */ IComObjIdentity *pID);
  1489. END_INTERFACE
  1490. } IPolicyMakerVtbl;
  1491. interface IPolicyMaker
  1492. {
  1493. CONST_VTBL struct IPolicyMakerVtbl *lpVtbl;
  1494. };
  1495. #ifdef COBJMACROS
  1496. #define IPolicyMaker_QueryInterface(This,riid,ppvObject) \
  1497. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1498. #define IPolicyMaker_AddRef(This) \
  1499. (This)->lpVtbl -> AddRef(This)
  1500. #define IPolicyMaker_Release(This) \
  1501. (This)->lpVtbl -> Release(This)
  1502. #define IPolicyMaker_AddClientPoliciesToSet(This,pPS,pClientContext,pServerContext) \
  1503. (This)->lpVtbl -> AddClientPoliciesToSet(This,pPS,pClientContext,pServerContext)
  1504. #define IPolicyMaker_AddEnvoyPoliciesToSet(This,pPS,pClientContext,pServerContext) \
  1505. (This)->lpVtbl -> AddEnvoyPoliciesToSet(This,pPS,pClientContext,pServerContext)
  1506. #define IPolicyMaker_AddServerPoliciesToSet(This,pPS,pClientContext,pServerContext) \
  1507. (This)->lpVtbl -> AddServerPoliciesToSet(This,pPS,pClientContext,pServerContext)
  1508. #define IPolicyMaker_Freeze(This,pObjContext) \
  1509. (This)->lpVtbl -> Freeze(This,pObjContext)
  1510. #define IPolicyMaker_CreateStub(This,pID) \
  1511. (This)->lpVtbl -> CreateStub(This,pID)
  1512. #define IPolicyMaker_DestroyStub(This,pID) \
  1513. (This)->lpVtbl -> DestroyStub(This,pID)
  1514. #define IPolicyMaker_CreateProxy(This,pID) \
  1515. (This)->lpVtbl -> CreateProxy(This,pID)
  1516. #define IPolicyMaker_DestroyProxy(This,pID) \
  1517. (This)->lpVtbl -> DestroyProxy(This,pID)
  1518. #endif /* COBJMACROS */
  1519. #endif /* C style interface */
  1520. HRESULT STDMETHODCALLTYPE IPolicyMaker_AddClientPoliciesToSet_Proxy(
  1521. IPolicyMaker * This,
  1522. /* [in] */ IPolicySet *pPS,
  1523. /* [in] */ IContext *pClientContext,
  1524. /* [in] */ IContext *pServerContext);
  1525. void __RPC_STUB IPolicyMaker_AddClientPoliciesToSet_Stub(
  1526. IRpcStubBuffer *This,
  1527. IRpcChannelBuffer *_pRpcChannelBuffer,
  1528. PRPC_MESSAGE _pRpcMessage,
  1529. DWORD *_pdwStubPhase);
  1530. HRESULT STDMETHODCALLTYPE IPolicyMaker_AddEnvoyPoliciesToSet_Proxy(
  1531. IPolicyMaker * This,
  1532. /* [in] */ IPolicySet *pPS,
  1533. /* [in] */ IContext *pClientContext,
  1534. /* [in] */ IContext *pServerContext);
  1535. void __RPC_STUB IPolicyMaker_AddEnvoyPoliciesToSet_Stub(
  1536. IRpcStubBuffer *This,
  1537. IRpcChannelBuffer *_pRpcChannelBuffer,
  1538. PRPC_MESSAGE _pRpcMessage,
  1539. DWORD *_pdwStubPhase);
  1540. HRESULT STDMETHODCALLTYPE IPolicyMaker_AddServerPoliciesToSet_Proxy(
  1541. IPolicyMaker * This,
  1542. /* [in] */ IPolicySet *pPS,
  1543. /* [in] */ IContext *pClientContext,
  1544. /* [in] */ IContext *pServerContext);
  1545. void __RPC_STUB IPolicyMaker_AddServerPoliciesToSet_Stub(
  1546. IRpcStubBuffer *This,
  1547. IRpcChannelBuffer *_pRpcChannelBuffer,
  1548. PRPC_MESSAGE _pRpcMessage,
  1549. DWORD *_pdwStubPhase);
  1550. HRESULT STDMETHODCALLTYPE IPolicyMaker_Freeze_Proxy(
  1551. IPolicyMaker * This,
  1552. /* [in] */ IObjContext *pObjContext);
  1553. void __RPC_STUB IPolicyMaker_Freeze_Stub(
  1554. IRpcStubBuffer *This,
  1555. IRpcChannelBuffer *_pRpcChannelBuffer,
  1556. PRPC_MESSAGE _pRpcMessage,
  1557. DWORD *_pdwStubPhase);
  1558. HRESULT STDMETHODCALLTYPE IPolicyMaker_CreateStub_Proxy(
  1559. IPolicyMaker * This,
  1560. /* [in] */ IComObjIdentity *pID);
  1561. void __RPC_STUB IPolicyMaker_CreateStub_Stub(
  1562. IRpcStubBuffer *This,
  1563. IRpcChannelBuffer *_pRpcChannelBuffer,
  1564. PRPC_MESSAGE _pRpcMessage,
  1565. DWORD *_pdwStubPhase);
  1566. HRESULT STDMETHODCALLTYPE IPolicyMaker_DestroyStub_Proxy(
  1567. IPolicyMaker * This,
  1568. /* [in] */ IComObjIdentity *pID);
  1569. void __RPC_STUB IPolicyMaker_DestroyStub_Stub(
  1570. IRpcStubBuffer *This,
  1571. IRpcChannelBuffer *_pRpcChannelBuffer,
  1572. PRPC_MESSAGE _pRpcMessage,
  1573. DWORD *_pdwStubPhase);
  1574. HRESULT STDMETHODCALLTYPE IPolicyMaker_CreateProxy_Proxy(
  1575. IPolicyMaker * This,
  1576. /* [in] */ IComObjIdentity *pID);
  1577. void __RPC_STUB IPolicyMaker_CreateProxy_Stub(
  1578. IRpcStubBuffer *This,
  1579. IRpcChannelBuffer *_pRpcChannelBuffer,
  1580. PRPC_MESSAGE _pRpcMessage,
  1581. DWORD *_pdwStubPhase);
  1582. HRESULT STDMETHODCALLTYPE IPolicyMaker_DestroyProxy_Proxy(
  1583. IPolicyMaker * This,
  1584. /* [in] */ IComObjIdentity *pID);
  1585. void __RPC_STUB IPolicyMaker_DestroyProxy_Stub(
  1586. IRpcStubBuffer *This,
  1587. IRpcChannelBuffer *_pRpcChannelBuffer,
  1588. PRPC_MESSAGE _pRpcMessage,
  1589. DWORD *_pdwStubPhase);
  1590. #endif /* __IPolicyMaker_INTERFACE_DEFINED__ */
  1591. #ifndef __IExceptionNotification_INTERFACE_DEFINED__
  1592. #define __IExceptionNotification_INTERFACE_DEFINED__
  1593. /* interface IExceptionNotification */
  1594. /* [unique][uuid][object][local] */
  1595. EXTERN_C const IID IID_IExceptionNotification;
  1596. #if defined(__cplusplus) && !defined(CINTERFACE)
  1597. MIDL_INTERFACE("000001db-0000-0000-C000-000000000046")
  1598. IExceptionNotification : public IUnknown
  1599. {
  1600. public:
  1601. virtual void STDMETHODCALLTYPE ServerException(
  1602. /* [in] */ void *pExcepPtrs) = 0;
  1603. };
  1604. #else /* C style interface */
  1605. typedef struct IExceptionNotificationVtbl
  1606. {
  1607. BEGIN_INTERFACE
  1608. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1609. IExceptionNotification * This,
  1610. /* [in] */ REFIID riid,
  1611. /* [iid_is][out] */ void **ppvObject);
  1612. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1613. IExceptionNotification * This);
  1614. ULONG ( STDMETHODCALLTYPE *Release )(
  1615. IExceptionNotification * This);
  1616. void ( STDMETHODCALLTYPE *ServerException )(
  1617. IExceptionNotification * This,
  1618. /* [in] */ void *pExcepPtrs);
  1619. END_INTERFACE
  1620. } IExceptionNotificationVtbl;
  1621. interface IExceptionNotification
  1622. {
  1623. CONST_VTBL struct IExceptionNotificationVtbl *lpVtbl;
  1624. };
  1625. #ifdef COBJMACROS
  1626. #define IExceptionNotification_QueryInterface(This,riid,ppvObject) \
  1627. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1628. #define IExceptionNotification_AddRef(This) \
  1629. (This)->lpVtbl -> AddRef(This)
  1630. #define IExceptionNotification_Release(This) \
  1631. (This)->lpVtbl -> Release(This)
  1632. #define IExceptionNotification_ServerException(This,pExcepPtrs) \
  1633. (This)->lpVtbl -> ServerException(This,pExcepPtrs)
  1634. #endif /* COBJMACROS */
  1635. #endif /* C style interface */
  1636. void STDMETHODCALLTYPE IExceptionNotification_ServerException_Proxy(
  1637. IExceptionNotification * This,
  1638. /* [in] */ void *pExcepPtrs);
  1639. void __RPC_STUB IExceptionNotification_ServerException_Stub(
  1640. IRpcStubBuffer *This,
  1641. IRpcChannelBuffer *_pRpcChannelBuffer,
  1642. PRPC_MESSAGE _pRpcMessage,
  1643. DWORD *_pdwStubPhase);
  1644. #endif /* __IExceptionNotification_INTERFACE_DEFINED__ */
  1645. #ifndef __IAbandonmentNotification_INTERFACE_DEFINED__
  1646. #define __IAbandonmentNotification_INTERFACE_DEFINED__
  1647. /* interface IAbandonmentNotification */
  1648. /* [unique][uuid][object][local] */
  1649. EXTERN_C const IID IID_IAbandonmentNotification;
  1650. #if defined(__cplusplus) && !defined(CINTERFACE)
  1651. MIDL_INTERFACE("000001de-0000-0000-C000-000000000046")
  1652. IAbandonmentNotification : public IUnknown
  1653. {
  1654. public:
  1655. virtual void STDMETHODCALLTYPE Abandoned(
  1656. IObjContext *pObjContext) = 0;
  1657. };
  1658. #else /* C style interface */
  1659. typedef struct IAbandonmentNotificationVtbl
  1660. {
  1661. BEGIN_INTERFACE
  1662. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1663. IAbandonmentNotification * This,
  1664. /* [in] */ REFIID riid,
  1665. /* [iid_is][out] */ void **ppvObject);
  1666. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1667. IAbandonmentNotification * This);
  1668. ULONG ( STDMETHODCALLTYPE *Release )(
  1669. IAbandonmentNotification * This);
  1670. void ( STDMETHODCALLTYPE *Abandoned )(
  1671. IAbandonmentNotification * This,
  1672. IObjContext *pObjContext);
  1673. END_INTERFACE
  1674. } IAbandonmentNotificationVtbl;
  1675. interface IAbandonmentNotification
  1676. {
  1677. CONST_VTBL struct IAbandonmentNotificationVtbl *lpVtbl;
  1678. };
  1679. #ifdef COBJMACROS
  1680. #define IAbandonmentNotification_QueryInterface(This,riid,ppvObject) \
  1681. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1682. #define IAbandonmentNotification_AddRef(This) \
  1683. (This)->lpVtbl -> AddRef(This)
  1684. #define IAbandonmentNotification_Release(This) \
  1685. (This)->lpVtbl -> Release(This)
  1686. #define IAbandonmentNotification_Abandoned(This,pObjContext) \
  1687. (This)->lpVtbl -> Abandoned(This,pObjContext)
  1688. #endif /* COBJMACROS */
  1689. #endif /* C style interface */
  1690. void STDMETHODCALLTYPE IAbandonmentNotification_Abandoned_Proxy(
  1691. IAbandonmentNotification * This,
  1692. IObjContext *pObjContext);
  1693. void __RPC_STUB IAbandonmentNotification_Abandoned_Stub(
  1694. IRpcStubBuffer *This,
  1695. IRpcChannelBuffer *_pRpcChannelBuffer,
  1696. PRPC_MESSAGE _pRpcMessage,
  1697. DWORD *_pdwStubPhase);
  1698. #endif /* __IAbandonmentNotification_INTERFACE_DEFINED__ */
  1699. #ifndef __IMarshalEnvoy_INTERFACE_DEFINED__
  1700. #define __IMarshalEnvoy_INTERFACE_DEFINED__
  1701. /* interface IMarshalEnvoy */
  1702. /* [unique][uuid][object][local] */
  1703. EXTERN_C const IID IID_IMarshalEnvoy;
  1704. #if defined(__cplusplus) && !defined(CINTERFACE)
  1705. MIDL_INTERFACE("000001c8-0000-0000-C000-000000000046")
  1706. IMarshalEnvoy : public IUnknown
  1707. {
  1708. public:
  1709. virtual HRESULT STDMETHODCALLTYPE GetEnvoyUnmarshalClass(
  1710. /* [in] */ DWORD dwDestContext,
  1711. /* [out] */ CLSID *pClsid) = 0;
  1712. virtual HRESULT STDMETHODCALLTYPE GetEnvoySizeMax(
  1713. /* [in] */ DWORD dwDestContext,
  1714. /* [out] */ DWORD *pcb) = 0;
  1715. virtual HRESULT STDMETHODCALLTYPE MarshalEnvoy(
  1716. /* [in] */ IStream *pStream,
  1717. /* [in] */ DWORD dwDestContext) = 0;
  1718. virtual HRESULT STDMETHODCALLTYPE UnmarshalEnvoy(
  1719. /* [in] */ IStream *pStream,
  1720. /* [in] */ REFIID riid,
  1721. /* [iid_is][out] */ void **ppunk) = 0;
  1722. };
  1723. #else /* C style interface */
  1724. typedef struct IMarshalEnvoyVtbl
  1725. {
  1726. BEGIN_INTERFACE
  1727. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1728. IMarshalEnvoy * This,
  1729. /* [in] */ REFIID riid,
  1730. /* [iid_is][out] */ void **ppvObject);
  1731. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1732. IMarshalEnvoy * This);
  1733. ULONG ( STDMETHODCALLTYPE *Release )(
  1734. IMarshalEnvoy * This);
  1735. HRESULT ( STDMETHODCALLTYPE *GetEnvoyUnmarshalClass )(
  1736. IMarshalEnvoy * This,
  1737. /* [in] */ DWORD dwDestContext,
  1738. /* [out] */ CLSID *pClsid);
  1739. HRESULT ( STDMETHODCALLTYPE *GetEnvoySizeMax )(
  1740. IMarshalEnvoy * This,
  1741. /* [in] */ DWORD dwDestContext,
  1742. /* [out] */ DWORD *pcb);
  1743. HRESULT ( STDMETHODCALLTYPE *MarshalEnvoy )(
  1744. IMarshalEnvoy * This,
  1745. /* [in] */ IStream *pStream,
  1746. /* [in] */ DWORD dwDestContext);
  1747. HRESULT ( STDMETHODCALLTYPE *UnmarshalEnvoy )(
  1748. IMarshalEnvoy * This,
  1749. /* [in] */ IStream *pStream,
  1750. /* [in] */ REFIID riid,
  1751. /* [iid_is][out] */ void **ppunk);
  1752. END_INTERFACE
  1753. } IMarshalEnvoyVtbl;
  1754. interface IMarshalEnvoy
  1755. {
  1756. CONST_VTBL struct IMarshalEnvoyVtbl *lpVtbl;
  1757. };
  1758. #ifdef COBJMACROS
  1759. #define IMarshalEnvoy_QueryInterface(This,riid,ppvObject) \
  1760. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1761. #define IMarshalEnvoy_AddRef(This) \
  1762. (This)->lpVtbl -> AddRef(This)
  1763. #define IMarshalEnvoy_Release(This) \
  1764. (This)->lpVtbl -> Release(This)
  1765. #define IMarshalEnvoy_GetEnvoyUnmarshalClass(This,dwDestContext,pClsid) \
  1766. (This)->lpVtbl -> GetEnvoyUnmarshalClass(This,dwDestContext,pClsid)
  1767. #define IMarshalEnvoy_GetEnvoySizeMax(This,dwDestContext,pcb) \
  1768. (This)->lpVtbl -> GetEnvoySizeMax(This,dwDestContext,pcb)
  1769. #define IMarshalEnvoy_MarshalEnvoy(This,pStream,dwDestContext) \
  1770. (This)->lpVtbl -> MarshalEnvoy(This,pStream,dwDestContext)
  1771. #define IMarshalEnvoy_UnmarshalEnvoy(This,pStream,riid,ppunk) \
  1772. (This)->lpVtbl -> UnmarshalEnvoy(This,pStream,riid,ppunk)
  1773. #endif /* COBJMACROS */
  1774. #endif /* C style interface */
  1775. HRESULT STDMETHODCALLTYPE IMarshalEnvoy_GetEnvoyUnmarshalClass_Proxy(
  1776. IMarshalEnvoy * This,
  1777. /* [in] */ DWORD dwDestContext,
  1778. /* [out] */ CLSID *pClsid);
  1779. void __RPC_STUB IMarshalEnvoy_GetEnvoyUnmarshalClass_Stub(
  1780. IRpcStubBuffer *This,
  1781. IRpcChannelBuffer *_pRpcChannelBuffer,
  1782. PRPC_MESSAGE _pRpcMessage,
  1783. DWORD *_pdwStubPhase);
  1784. HRESULT STDMETHODCALLTYPE IMarshalEnvoy_GetEnvoySizeMax_Proxy(
  1785. IMarshalEnvoy * This,
  1786. /* [in] */ DWORD dwDestContext,
  1787. /* [out] */ DWORD *pcb);
  1788. void __RPC_STUB IMarshalEnvoy_GetEnvoySizeMax_Stub(
  1789. IRpcStubBuffer *This,
  1790. IRpcChannelBuffer *_pRpcChannelBuffer,
  1791. PRPC_MESSAGE _pRpcMessage,
  1792. DWORD *_pdwStubPhase);
  1793. HRESULT STDMETHODCALLTYPE IMarshalEnvoy_MarshalEnvoy_Proxy(
  1794. IMarshalEnvoy * This,
  1795. /* [in] */ IStream *pStream,
  1796. /* [in] */ DWORD dwDestContext);
  1797. void __RPC_STUB IMarshalEnvoy_MarshalEnvoy_Stub(
  1798. IRpcStubBuffer *This,
  1799. IRpcChannelBuffer *_pRpcChannelBuffer,
  1800. PRPC_MESSAGE _pRpcMessage,
  1801. DWORD *_pdwStubPhase);
  1802. HRESULT STDMETHODCALLTYPE IMarshalEnvoy_UnmarshalEnvoy_Proxy(
  1803. IMarshalEnvoy * This,
  1804. /* [in] */ IStream *pStream,
  1805. /* [in] */ REFIID riid,
  1806. /* [iid_is][out] */ void **ppunk);
  1807. void __RPC_STUB IMarshalEnvoy_UnmarshalEnvoy_Stub(
  1808. IRpcStubBuffer *This,
  1809. IRpcChannelBuffer *_pRpcChannelBuffer,
  1810. PRPC_MESSAGE _pRpcMessage,
  1811. DWORD *_pdwStubPhase);
  1812. #endif /* __IMarshalEnvoy_INTERFACE_DEFINED__ */
  1813. #ifndef __IWrapperInfo_INTERFACE_DEFINED__
  1814. #define __IWrapperInfo_INTERFACE_DEFINED__
  1815. /* interface IWrapperInfo */
  1816. /* [unique][uuid][object][local] */
  1817. EXTERN_C const IID IID_IWrapperInfo;
  1818. #if defined(__cplusplus) && !defined(CINTERFACE)
  1819. MIDL_INTERFACE("5052f924-7ab8-11d3-b93f-00c04f990176")
  1820. IWrapperInfo : public IUnknown
  1821. {
  1822. public:
  1823. virtual void STDMETHODCALLTYPE SetMapping(
  1824. void *pv) = 0;
  1825. virtual void *STDMETHODCALLTYPE GetMapping( void) = 0;
  1826. virtual IObjContext *STDMETHODCALLTYPE GetServerObjectContext( void) = 0;
  1827. virtual IUnknown *STDMETHODCALLTYPE GetServerObject( void) = 0;
  1828. };
  1829. #else /* C style interface */
  1830. typedef struct IWrapperInfoVtbl
  1831. {
  1832. BEGIN_INTERFACE
  1833. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1834. IWrapperInfo * This,
  1835. /* [in] */ REFIID riid,
  1836. /* [iid_is][out] */ void **ppvObject);
  1837. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1838. IWrapperInfo * This);
  1839. ULONG ( STDMETHODCALLTYPE *Release )(
  1840. IWrapperInfo * This);
  1841. void ( STDMETHODCALLTYPE *SetMapping )(
  1842. IWrapperInfo * This,
  1843. void *pv);
  1844. void *( STDMETHODCALLTYPE *GetMapping )(
  1845. IWrapperInfo * This);
  1846. IObjContext *( STDMETHODCALLTYPE *GetServerObjectContext )(
  1847. IWrapperInfo * This);
  1848. IUnknown *( STDMETHODCALLTYPE *GetServerObject )(
  1849. IWrapperInfo * This);
  1850. END_INTERFACE
  1851. } IWrapperInfoVtbl;
  1852. interface IWrapperInfo
  1853. {
  1854. CONST_VTBL struct IWrapperInfoVtbl *lpVtbl;
  1855. };
  1856. #ifdef COBJMACROS
  1857. #define IWrapperInfo_QueryInterface(This,riid,ppvObject) \
  1858. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1859. #define IWrapperInfo_AddRef(This) \
  1860. (This)->lpVtbl -> AddRef(This)
  1861. #define IWrapperInfo_Release(This) \
  1862. (This)->lpVtbl -> Release(This)
  1863. #define IWrapperInfo_SetMapping(This,pv) \
  1864. (This)->lpVtbl -> SetMapping(This,pv)
  1865. #define IWrapperInfo_GetMapping(This) \
  1866. (This)->lpVtbl -> GetMapping(This)
  1867. #define IWrapperInfo_GetServerObjectContext(This) \
  1868. (This)->lpVtbl -> GetServerObjectContext(This)
  1869. #define IWrapperInfo_GetServerObject(This) \
  1870. (This)->lpVtbl -> GetServerObject(This)
  1871. #endif /* COBJMACROS */
  1872. #endif /* C style interface */
  1873. void STDMETHODCALLTYPE IWrapperInfo_SetMapping_Proxy(
  1874. IWrapperInfo * This,
  1875. void *pv);
  1876. void __RPC_STUB IWrapperInfo_SetMapping_Stub(
  1877. IRpcStubBuffer *This,
  1878. IRpcChannelBuffer *_pRpcChannelBuffer,
  1879. PRPC_MESSAGE _pRpcMessage,
  1880. DWORD *_pdwStubPhase);
  1881. void *STDMETHODCALLTYPE IWrapperInfo_GetMapping_Proxy(
  1882. IWrapperInfo * This);
  1883. void __RPC_STUB IWrapperInfo_GetMapping_Stub(
  1884. IRpcStubBuffer *This,
  1885. IRpcChannelBuffer *_pRpcChannelBuffer,
  1886. PRPC_MESSAGE _pRpcMessage,
  1887. DWORD *_pdwStubPhase);
  1888. IObjContext *STDMETHODCALLTYPE IWrapperInfo_GetServerObjectContext_Proxy(
  1889. IWrapperInfo * This);
  1890. void __RPC_STUB IWrapperInfo_GetServerObjectContext_Stub(
  1891. IRpcStubBuffer *This,
  1892. IRpcChannelBuffer *_pRpcChannelBuffer,
  1893. PRPC_MESSAGE _pRpcMessage,
  1894. DWORD *_pdwStubPhase);
  1895. IUnknown *STDMETHODCALLTYPE IWrapperInfo_GetServerObject_Proxy(
  1896. IWrapperInfo * This);
  1897. void __RPC_STUB IWrapperInfo_GetServerObject_Stub(
  1898. IRpcStubBuffer *This,
  1899. IRpcChannelBuffer *_pRpcChannelBuffer,
  1900. PRPC_MESSAGE _pRpcMessage,
  1901. DWORD *_pdwStubPhase);
  1902. #endif /* __IWrapperInfo_INTERFACE_DEFINED__ */
  1903. #ifndef __IComDispatchInfo_INTERFACE_DEFINED__
  1904. #define __IComDispatchInfo_INTERFACE_DEFINED__
  1905. /* interface IComDispatchInfo */
  1906. /* [unique][uuid][object][local] */
  1907. EXTERN_C const IID IID_IComDispatchInfo;
  1908. #if defined(__cplusplus) && !defined(CINTERFACE)
  1909. MIDL_INTERFACE("000001d9-0000-0000-C000-000000000046")
  1910. IComDispatchInfo : public IUnknown
  1911. {
  1912. public:
  1913. virtual HRESULT STDMETHODCALLTYPE EnableComInits(
  1914. /* [out] */ void **ppvCookie) = 0;
  1915. virtual HRESULT STDMETHODCALLTYPE DisableComInits(
  1916. /* [in] */ void *pvCookie) = 0;
  1917. };
  1918. #else /* C style interface */
  1919. typedef struct IComDispatchInfoVtbl
  1920. {
  1921. BEGIN_INTERFACE
  1922. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1923. IComDispatchInfo * This,
  1924. /* [in] */ REFIID riid,
  1925. /* [iid_is][out] */ void **ppvObject);
  1926. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1927. IComDispatchInfo * This);
  1928. ULONG ( STDMETHODCALLTYPE *Release )(
  1929. IComDispatchInfo * This);
  1930. HRESULT ( STDMETHODCALLTYPE *EnableComInits )(
  1931. IComDispatchInfo * This,
  1932. /* [out] */ void **ppvCookie);
  1933. HRESULT ( STDMETHODCALLTYPE *DisableComInits )(
  1934. IComDispatchInfo * This,
  1935. /* [in] */ void *pvCookie);
  1936. END_INTERFACE
  1937. } IComDispatchInfoVtbl;
  1938. interface IComDispatchInfo
  1939. {
  1940. CONST_VTBL struct IComDispatchInfoVtbl *lpVtbl;
  1941. };
  1942. #ifdef COBJMACROS
  1943. #define IComDispatchInfo_QueryInterface(This,riid,ppvObject) \
  1944. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1945. #define IComDispatchInfo_AddRef(This) \
  1946. (This)->lpVtbl -> AddRef(This)
  1947. #define IComDispatchInfo_Release(This) \
  1948. (This)->lpVtbl -> Release(This)
  1949. #define IComDispatchInfo_EnableComInits(This,ppvCookie) \
  1950. (This)->lpVtbl -> EnableComInits(This,ppvCookie)
  1951. #define IComDispatchInfo_DisableComInits(This,pvCookie) \
  1952. (This)->lpVtbl -> DisableComInits(This,pvCookie)
  1953. #endif /* COBJMACROS */
  1954. #endif /* C style interface */
  1955. HRESULT STDMETHODCALLTYPE IComDispatchInfo_EnableComInits_Proxy(
  1956. IComDispatchInfo * This,
  1957. /* [out] */ void **ppvCookie);
  1958. void __RPC_STUB IComDispatchInfo_EnableComInits_Stub(
  1959. IRpcStubBuffer *This,
  1960. IRpcChannelBuffer *_pRpcChannelBuffer,
  1961. PRPC_MESSAGE _pRpcMessage,
  1962. DWORD *_pdwStubPhase);
  1963. HRESULT STDMETHODCALLTYPE IComDispatchInfo_DisableComInits_Proxy(
  1964. IComDispatchInfo * This,
  1965. /* [in] */ void *pvCookie);
  1966. void __RPC_STUB IComDispatchInfo_DisableComInits_Stub(
  1967. IRpcStubBuffer *This,
  1968. IRpcChannelBuffer *_pRpcChannelBuffer,
  1969. PRPC_MESSAGE _pRpcMessage,
  1970. DWORD *_pdwStubPhase);
  1971. #endif /* __IComDispatchInfo_INTERFACE_DEFINED__ */
  1972. /* interface __MIDL_itf_contxt_0111 */
  1973. /* [local] */
  1974. typedef DWORD HActivator;
  1975. STDAPI CoCreateObjectInContext(IUnknown *pUnk, IObjContext *pObjectCtx, REFIID riid, void **ppv);
  1976. STDAPI CoGetApartmentID(APTTYPE dAptType, HActivator* pAptID);
  1977. STDAPI CoGetProcessIdentifier(GUID* pguidProcessIdentifier);
  1978. STDAPI CoDeactivateObject(IUnknown *pUnk, IUnknown **ppCookie);
  1979. STDAPI CoReactivateObject(IUnknown *pUnk, IUnknown *pCookie);
  1980. #define MSHLFLAGS_NO_IEC 0x8 // don't use IExternalConnextion
  1981. #define MSHLFLAGS_NO_IMARSHAL 0x10 // don't use IMarshal
  1982. #define CONTEXTFLAGS_FROZEN 0x01 // Frozen context
  1983. #define CONTEXTFLAGS_ALLOWUNAUTH 0x02 // Allow unauthenticated calls
  1984. #define CONTEXTFLAGS_ENVOYCONTEXT 0x04 // Envoy context
  1985. #define CONTEXTFLAGS_DEFAULTCONTEXT 0x08 // Default context
  1986. #define CONTEXTFLAGS_STATICCONTEXT 0x10 // Static context
  1987. #define CONTEXTFLAGS_INPROPTABLE 0x20 // Is in property table
  1988. #define CONTEXTFLAGS_INDESTRUCTOR 0x40 // Is in destructor
  1989. #define CONTEXTFLAGS_URTPROPPRESENT 0x80 // URT property added
  1990. typedef
  1991. enum tagCoModuleType
  1992. { CO_MODULE_UNKNOWN = 0,
  1993. CO_MODULE_32BIT = 0x1,
  1994. CO_MODULE_64BIT = 0x2
  1995. } CoModuleType;
  1996. STDAPI CoGetModuleType (LPCWSTR pwszModule, CoModuleType* pModType);
  1997. STDAPI CoPushServiceDomain (IObjContext* pObjContext);
  1998. STDAPI CoPopServiceDomain (IObjContext** ppObjContext);
  1999. extern RPC_IF_HANDLE __MIDL_itf_contxt_0111_ClientIfHandle;
  2000. extern RPC_IF_HANDLE __MIDL_itf_contxt_0111_ServerIfHandle;
  2001. /* Additional Prototypes for ALL interfaces */
  2002. /* end of Additional Prototypes */
  2003. #ifdef __cplusplus
  2004. }
  2005. #endif
  2006. #endif