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.

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