Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1580 lines
45 KiB

  1. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  2. /* File created by MIDL compiler version 6.00.0361 */
  3. /* Compiler settings for callobj.idl:
  4. Oicf, W1, Zp8, env=Win32 (32b run)
  5. protocol : dce , ms_ext, c_ext, robust
  6. error checks: allocation ref bounds_check enum stub_data
  7. VC __declspec() decoration level:
  8. __declspec(uuid()), __declspec(selectany), __declspec(novtable)
  9. DECLSPEC_UUID(), MIDL_INTERFACE()
  10. */
  11. //@@MIDL_FILE_HEADING( )
  12. #pragma warning( disable: 4049 ) /* more than 64k source lines */
  13. /* verify that the <rpcndr.h> version is high enough to compile this file*/
  14. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  15. #define __REQUIRED_RPCNDR_H_VERSION__ 475
  16. #endif
  17. #include "rpc.h"
  18. #include "rpcndr.h"
  19. #ifndef __RPCNDR_H_VERSION__
  20. #error this stub requires an updated version of <rpcndr.h>
  21. #endif // __RPCNDR_H_VERSION__
  22. #ifndef COM_NO_WINDOWS_H
  23. #include "windows.h"
  24. #include "ole2.h"
  25. #endif /*COM_NO_WINDOWS_H*/
  26. #ifndef __callobj_h__
  27. #define __callobj_h__
  28. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  29. #pragma once
  30. #endif
  31. /* Forward Declarations */
  32. #ifndef __ICallFrame_FWD_DEFINED__
  33. #define __ICallFrame_FWD_DEFINED__
  34. typedef interface ICallFrame ICallFrame;
  35. #endif /* __ICallFrame_FWD_DEFINED__ */
  36. #ifndef __ICallIndirect_FWD_DEFINED__
  37. #define __ICallIndirect_FWD_DEFINED__
  38. typedef interface ICallIndirect ICallIndirect;
  39. #endif /* __ICallIndirect_FWD_DEFINED__ */
  40. #ifndef __ICallInterceptor_FWD_DEFINED__
  41. #define __ICallInterceptor_FWD_DEFINED__
  42. typedef interface ICallInterceptor ICallInterceptor;
  43. #endif /* __ICallInterceptor_FWD_DEFINED__ */
  44. #ifndef __ICallFrameEvents_FWD_DEFINED__
  45. #define __ICallFrameEvents_FWD_DEFINED__
  46. typedef interface ICallFrameEvents ICallFrameEvents;
  47. #endif /* __ICallFrameEvents_FWD_DEFINED__ */
  48. #ifndef __ICallUnmarshal_FWD_DEFINED__
  49. #define __ICallUnmarshal_FWD_DEFINED__
  50. typedef interface ICallUnmarshal ICallUnmarshal;
  51. #endif /* __ICallUnmarshal_FWD_DEFINED__ */
  52. #ifndef __ICallFrameWalker_FWD_DEFINED__
  53. #define __ICallFrameWalker_FWD_DEFINED__
  54. typedef interface ICallFrameWalker ICallFrameWalker;
  55. #endif /* __ICallFrameWalker_FWD_DEFINED__ */
  56. #ifndef __IInterfaceRelated_FWD_DEFINED__
  57. #define __IInterfaceRelated_FWD_DEFINED__
  58. typedef interface IInterfaceRelated IInterfaceRelated;
  59. #endif /* __IInterfaceRelated_FWD_DEFINED__ */
  60. /* header files for imported files */
  61. #include "oaidl.h"
  62. #ifdef __cplusplus
  63. extern "C"{
  64. #endif
  65. void * __RPC_USER MIDL_user_allocate(size_t);
  66. void __RPC_USER MIDL_user_free( void * );
  67. /* interface __MIDL_itf_callobj_0000 */
  68. /* [local] */
  69. extern RPC_IF_HANDLE __MIDL_itf_callobj_0000_v0_0_c_ifspec;
  70. extern RPC_IF_HANDLE __MIDL_itf_callobj_0000_v0_0_s_ifspec;
  71. #ifndef __ICallFrame_INTERFACE_DEFINED__
  72. #define __ICallFrame_INTERFACE_DEFINED__
  73. /* interface ICallFrame */
  74. /* [local][unique][object][uuid] */
  75. typedef /* [public][public][public] */ struct __MIDL_ICallFrame_0001
  76. {
  77. ULONG iMethod;
  78. BOOL fHasInValues;
  79. BOOL fHasInOutValues;
  80. BOOL fHasOutValues;
  81. BOOL fDerivesFromIDispatch;
  82. LONG cInInterfacesMax;
  83. LONG cInOutInterfacesMax;
  84. LONG cOutInterfacesMax;
  85. LONG cTopLevelInInterfaces;
  86. IID iid;
  87. ULONG cMethod;
  88. ULONG cParams;
  89. } CALLFRAMEINFO;
  90. typedef /* [public][public] */ struct __MIDL_ICallFrame_0002
  91. {
  92. BOOLEAN fIn;
  93. BOOLEAN fOut;
  94. ULONG stackOffset;
  95. ULONG cbParam;
  96. } CALLFRAMEPARAMINFO;
  97. typedef /* [public][public] */
  98. enum __MIDL_ICallFrame_0003
  99. { CALLFRAME_COPY_NESTED = 1,
  100. CALLFRAME_COPY_INDEPENDENT = 2
  101. } CALLFRAME_COPY;
  102. enum CALLFRAME_FREE
  103. { CALLFRAME_FREE_NONE = 0,
  104. CALLFRAME_FREE_IN = 1,
  105. CALLFRAME_FREE_INOUT = 2,
  106. CALLFRAME_FREE_OUT = 4,
  107. CALLFRAME_FREE_TOP_INOUT = 8,
  108. CALLFRAME_FREE_TOP_OUT = 16,
  109. CALLFRAME_FREE_ALL = 31
  110. } ;
  111. enum CALLFRAME_NULL
  112. { CALLFRAME_NULL_NONE = 0,
  113. CALLFRAME_NULL_INOUT = 2,
  114. CALLFRAME_NULL_OUT = 4,
  115. CALLFRAME_NULL_ALL = 6
  116. } ;
  117. enum CALLFRAME_WALK
  118. { CALLFRAME_WALK_IN = 1,
  119. CALLFRAME_WALK_INOUT = 2,
  120. CALLFRAME_WALK_OUT = 4
  121. } ;
  122. typedef /* [public][public][public][public][public][public][public] */ struct __MIDL_ICallFrame_0004
  123. {
  124. BOOLEAN fIn;
  125. DWORD dwDestContext;
  126. LPVOID pvDestContext;
  127. IUnknown *punkReserved;
  128. GUID guidTransferSyntax;
  129. } CALLFRAME_MARSHALCONTEXT;
  130. EXTERN_C const IID IID_ICallFrame;
  131. #if defined(__cplusplus) && !defined(CINTERFACE)
  132. MIDL_INTERFACE("D573B4B0-894E-11d2-B8B6-00C04FB9618A")
  133. ICallFrame : public IUnknown
  134. {
  135. public:
  136. virtual HRESULT STDMETHODCALLTYPE GetInfo(
  137. /* [out] */ CALLFRAMEINFO *pInfo) = 0;
  138. virtual HRESULT STDMETHODCALLTYPE GetIIDAndMethod(
  139. /* [out] */ IID *pIID,
  140. /* [out] */ ULONG *piMethod) = 0;
  141. virtual HRESULT STDMETHODCALLTYPE GetNames(
  142. /* [out] */ LPWSTR *pwszInterface,
  143. /* [out] */ LPWSTR *pwszMethod) = 0;
  144. virtual PVOID STDMETHODCALLTYPE GetStackLocation( void) = 0;
  145. virtual void STDMETHODCALLTYPE SetStackLocation(
  146. /* [in] */ PVOID pvStack) = 0;
  147. virtual void STDMETHODCALLTYPE SetReturnValue(
  148. /* [in] */ HRESULT hr) = 0;
  149. virtual HRESULT STDMETHODCALLTYPE GetReturnValue( void) = 0;
  150. virtual HRESULT STDMETHODCALLTYPE GetParamInfo(
  151. /* [in] */ ULONG iparam,
  152. /* [out] */ CALLFRAMEPARAMINFO *pInfo) = 0;
  153. virtual HRESULT STDMETHODCALLTYPE SetParam(
  154. /* [in] */ ULONG iparam,
  155. /* [in] */ VARIANT *pvar) = 0;
  156. virtual HRESULT STDMETHODCALLTYPE GetParam(
  157. /* [in] */ ULONG iparam,
  158. /* [out] */ VARIANT *pvar) = 0;
  159. virtual HRESULT STDMETHODCALLTYPE Copy(
  160. /* [in] */ CALLFRAME_COPY copyControl,
  161. /* [in] */ ICallFrameWalker *pWalker,
  162. /* [out] */ ICallFrame **ppFrame) = 0;
  163. virtual HRESULT STDMETHODCALLTYPE Free(
  164. /* [in] */ ICallFrame *pframeArgsDest,
  165. /* [in] */ ICallFrameWalker *pWalkerDestFree,
  166. /* [in] */ ICallFrameWalker *pWalkerCopy,
  167. /* [in] */ DWORD freeFlags,
  168. /* [in] */ ICallFrameWalker *pWalkerFree,
  169. /* [in] */ DWORD nullFlags) = 0;
  170. virtual HRESULT STDMETHODCALLTYPE FreeParam(
  171. /* [in] */ ULONG iparam,
  172. /* [in] */ DWORD freeFlags,
  173. /* [in] */ ICallFrameWalker *pWalkerFree,
  174. /* [in] */ DWORD nullFlags) = 0;
  175. virtual HRESULT STDMETHODCALLTYPE WalkFrame(
  176. /* [in] */ DWORD walkWhat,
  177. /* [in] */ ICallFrameWalker *pWalker) = 0;
  178. virtual HRESULT STDMETHODCALLTYPE GetMarshalSizeMax(
  179. /* [in] */ CALLFRAME_MARSHALCONTEXT *pmshlContext,
  180. /* [in] */ MSHLFLAGS mshlflags,
  181. /* [out] */ ULONG *pcbBufferNeeded) = 0;
  182. virtual HRESULT STDMETHODCALLTYPE Marshal(
  183. /* [in] */ CALLFRAME_MARSHALCONTEXT *pmshlContext,
  184. /* [in] */ MSHLFLAGS mshlflags,
  185. /* [size_is][in] */ PVOID pBuffer,
  186. /* [in] */ ULONG cbBuffer,
  187. /* [out] */ ULONG *pcbBufferUsed,
  188. /* [out] */ RPCOLEDATAREP *pdataRep,
  189. /* [out] */ ULONG *prpcFlags) = 0;
  190. virtual HRESULT STDMETHODCALLTYPE Unmarshal(
  191. /* [size_is][in] */ PVOID pBuffer,
  192. /* [in] */ ULONG cbBuffer,
  193. /* [in] */ RPCOLEDATAREP dataRep,
  194. /* [in] */ CALLFRAME_MARSHALCONTEXT *pcontext,
  195. /* [out] */ ULONG *pcbUnmarshalled) = 0;
  196. virtual HRESULT STDMETHODCALLTYPE ReleaseMarshalData(
  197. /* [size_is][in] */ PVOID pBuffer,
  198. /* [in] */ ULONG cbBuffer,
  199. /* [in] */ ULONG ibFirstRelease,
  200. /* [in] */ RPCOLEDATAREP dataRep,
  201. /* [in] */ CALLFRAME_MARSHALCONTEXT *pcontext) = 0;
  202. virtual HRESULT STDMETHODCALLTYPE Invoke(
  203. /* [in] */ void *pvReceiver,
  204. ...) = 0;
  205. };
  206. #else /* C style interface */
  207. typedef struct ICallFrameVtbl
  208. {
  209. BEGIN_INTERFACE
  210. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  211. ICallFrame * This,
  212. /* [in] */ REFIID riid,
  213. /* [iid_is][out] */ void **ppvObject);
  214. ULONG ( STDMETHODCALLTYPE *AddRef )(
  215. ICallFrame * This);
  216. ULONG ( STDMETHODCALLTYPE *Release )(
  217. ICallFrame * This);
  218. HRESULT ( STDMETHODCALLTYPE *GetInfo )(
  219. ICallFrame * This,
  220. /* [out] */ CALLFRAMEINFO *pInfo);
  221. HRESULT ( STDMETHODCALLTYPE *GetIIDAndMethod )(
  222. ICallFrame * This,
  223. /* [out] */ IID *pIID,
  224. /* [out] */ ULONG *piMethod);
  225. HRESULT ( STDMETHODCALLTYPE *GetNames )(
  226. ICallFrame * This,
  227. /* [out] */ LPWSTR *pwszInterface,
  228. /* [out] */ LPWSTR *pwszMethod);
  229. PVOID ( STDMETHODCALLTYPE *GetStackLocation )(
  230. ICallFrame * This);
  231. void ( STDMETHODCALLTYPE *SetStackLocation )(
  232. ICallFrame * This,
  233. /* [in] */ PVOID pvStack);
  234. void ( STDMETHODCALLTYPE *SetReturnValue )(
  235. ICallFrame * This,
  236. /* [in] */ HRESULT hr);
  237. HRESULT ( STDMETHODCALLTYPE *GetReturnValue )(
  238. ICallFrame * This);
  239. HRESULT ( STDMETHODCALLTYPE *GetParamInfo )(
  240. ICallFrame * This,
  241. /* [in] */ ULONG iparam,
  242. /* [out] */ CALLFRAMEPARAMINFO *pInfo);
  243. HRESULT ( STDMETHODCALLTYPE *SetParam )(
  244. ICallFrame * This,
  245. /* [in] */ ULONG iparam,
  246. /* [in] */ VARIANT *pvar);
  247. HRESULT ( STDMETHODCALLTYPE *GetParam )(
  248. ICallFrame * This,
  249. /* [in] */ ULONG iparam,
  250. /* [out] */ VARIANT *pvar);
  251. HRESULT ( STDMETHODCALLTYPE *Copy )(
  252. ICallFrame * This,
  253. /* [in] */ CALLFRAME_COPY copyControl,
  254. /* [in] */ ICallFrameWalker *pWalker,
  255. /* [out] */ ICallFrame **ppFrame);
  256. HRESULT ( STDMETHODCALLTYPE *Free )(
  257. ICallFrame * This,
  258. /* [in] */ ICallFrame *pframeArgsDest,
  259. /* [in] */ ICallFrameWalker *pWalkerDestFree,
  260. /* [in] */ ICallFrameWalker *pWalkerCopy,
  261. /* [in] */ DWORD freeFlags,
  262. /* [in] */ ICallFrameWalker *pWalkerFree,
  263. /* [in] */ DWORD nullFlags);
  264. HRESULT ( STDMETHODCALLTYPE *FreeParam )(
  265. ICallFrame * This,
  266. /* [in] */ ULONG iparam,
  267. /* [in] */ DWORD freeFlags,
  268. /* [in] */ ICallFrameWalker *pWalkerFree,
  269. /* [in] */ DWORD nullFlags);
  270. HRESULT ( STDMETHODCALLTYPE *WalkFrame )(
  271. ICallFrame * This,
  272. /* [in] */ DWORD walkWhat,
  273. /* [in] */ ICallFrameWalker *pWalker);
  274. HRESULT ( STDMETHODCALLTYPE *GetMarshalSizeMax )(
  275. ICallFrame * This,
  276. /* [in] */ CALLFRAME_MARSHALCONTEXT *pmshlContext,
  277. /* [in] */ MSHLFLAGS mshlflags,
  278. /* [out] */ ULONG *pcbBufferNeeded);
  279. HRESULT ( STDMETHODCALLTYPE *Marshal )(
  280. ICallFrame * This,
  281. /* [in] */ CALLFRAME_MARSHALCONTEXT *pmshlContext,
  282. /* [in] */ MSHLFLAGS mshlflags,
  283. /* [size_is][in] */ PVOID pBuffer,
  284. /* [in] */ ULONG cbBuffer,
  285. /* [out] */ ULONG *pcbBufferUsed,
  286. /* [out] */ RPCOLEDATAREP *pdataRep,
  287. /* [out] */ ULONG *prpcFlags);
  288. HRESULT ( STDMETHODCALLTYPE *Unmarshal )(
  289. ICallFrame * This,
  290. /* [size_is][in] */ PVOID pBuffer,
  291. /* [in] */ ULONG cbBuffer,
  292. /* [in] */ RPCOLEDATAREP dataRep,
  293. /* [in] */ CALLFRAME_MARSHALCONTEXT *pcontext,
  294. /* [out] */ ULONG *pcbUnmarshalled);
  295. HRESULT ( STDMETHODCALLTYPE *ReleaseMarshalData )(
  296. ICallFrame * This,
  297. /* [size_is][in] */ PVOID pBuffer,
  298. /* [in] */ ULONG cbBuffer,
  299. /* [in] */ ULONG ibFirstRelease,
  300. /* [in] */ RPCOLEDATAREP dataRep,
  301. /* [in] */ CALLFRAME_MARSHALCONTEXT *pcontext);
  302. HRESULT ( STDMETHODCALLTYPE *Invoke )(
  303. ICallFrame * This,
  304. /* [in] */ void *pvReceiver,
  305. ...);
  306. END_INTERFACE
  307. } ICallFrameVtbl;
  308. interface ICallFrame
  309. {
  310. CONST_VTBL struct ICallFrameVtbl *lpVtbl;
  311. };
  312. #ifdef COBJMACROS
  313. #define ICallFrame_QueryInterface(This,riid,ppvObject) \
  314. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  315. #define ICallFrame_AddRef(This) \
  316. (This)->lpVtbl -> AddRef(This)
  317. #define ICallFrame_Release(This) \
  318. (This)->lpVtbl -> Release(This)
  319. #define ICallFrame_GetInfo(This,pInfo) \
  320. (This)->lpVtbl -> GetInfo(This,pInfo)
  321. #define ICallFrame_GetIIDAndMethod(This,pIID,piMethod) \
  322. (This)->lpVtbl -> GetIIDAndMethod(This,pIID,piMethod)
  323. #define ICallFrame_GetNames(This,pwszInterface,pwszMethod) \
  324. (This)->lpVtbl -> GetNames(This,pwszInterface,pwszMethod)
  325. #define ICallFrame_GetStackLocation(This) \
  326. (This)->lpVtbl -> GetStackLocation(This)
  327. #define ICallFrame_SetStackLocation(This,pvStack) \
  328. (This)->lpVtbl -> SetStackLocation(This,pvStack)
  329. #define ICallFrame_SetReturnValue(This,hr) \
  330. (This)->lpVtbl -> SetReturnValue(This,hr)
  331. #define ICallFrame_GetReturnValue(This) \
  332. (This)->lpVtbl -> GetReturnValue(This)
  333. #define ICallFrame_GetParamInfo(This,iparam,pInfo) \
  334. (This)->lpVtbl -> GetParamInfo(This,iparam,pInfo)
  335. #define ICallFrame_SetParam(This,iparam,pvar) \
  336. (This)->lpVtbl -> SetParam(This,iparam,pvar)
  337. #define ICallFrame_GetParam(This,iparam,pvar) \
  338. (This)->lpVtbl -> GetParam(This,iparam,pvar)
  339. #define ICallFrame_Copy(This,copyControl,pWalker,ppFrame) \
  340. (This)->lpVtbl -> Copy(This,copyControl,pWalker,ppFrame)
  341. #define ICallFrame_Free(This,pframeArgsDest,pWalkerDestFree,pWalkerCopy,freeFlags,pWalkerFree,nullFlags) \
  342. (This)->lpVtbl -> Free(This,pframeArgsDest,pWalkerDestFree,pWalkerCopy,freeFlags,pWalkerFree,nullFlags)
  343. #define ICallFrame_FreeParam(This,iparam,freeFlags,pWalkerFree,nullFlags) \
  344. (This)->lpVtbl -> FreeParam(This,iparam,freeFlags,pWalkerFree,nullFlags)
  345. #define ICallFrame_WalkFrame(This,walkWhat,pWalker) \
  346. (This)->lpVtbl -> WalkFrame(This,walkWhat,pWalker)
  347. #define ICallFrame_GetMarshalSizeMax(This,pmshlContext,mshlflags,pcbBufferNeeded) \
  348. (This)->lpVtbl -> GetMarshalSizeMax(This,pmshlContext,mshlflags,pcbBufferNeeded)
  349. #define ICallFrame_Marshal(This,pmshlContext,mshlflags,pBuffer,cbBuffer,pcbBufferUsed,pdataRep,prpcFlags) \
  350. (This)->lpVtbl -> Marshal(This,pmshlContext,mshlflags,pBuffer,cbBuffer,pcbBufferUsed,pdataRep,prpcFlags)
  351. #define ICallFrame_Unmarshal(This,pBuffer,cbBuffer,dataRep,pcontext,pcbUnmarshalled) \
  352. (This)->lpVtbl -> Unmarshal(This,pBuffer,cbBuffer,dataRep,pcontext,pcbUnmarshalled)
  353. #define ICallFrame_ReleaseMarshalData(This,pBuffer,cbBuffer,ibFirstRelease,dataRep,pcontext) \
  354. (This)->lpVtbl -> ReleaseMarshalData(This,pBuffer,cbBuffer,ibFirstRelease,dataRep,pcontext)
  355. #define ICallFrame_Invoke(This,pvReceiver,...) \
  356. (This)->lpVtbl -> Invoke(This,pvReceiver,...)
  357. #endif /* COBJMACROS */
  358. #endif /* C style interface */
  359. HRESULT STDMETHODCALLTYPE ICallFrame_GetInfo_Proxy(
  360. ICallFrame * This,
  361. /* [out] */ CALLFRAMEINFO *pInfo);
  362. void __RPC_STUB ICallFrame_GetInfo_Stub(
  363. IRpcStubBuffer *This,
  364. IRpcChannelBuffer *_pRpcChannelBuffer,
  365. PRPC_MESSAGE _pRpcMessage,
  366. DWORD *_pdwStubPhase);
  367. HRESULT STDMETHODCALLTYPE ICallFrame_GetIIDAndMethod_Proxy(
  368. ICallFrame * This,
  369. /* [out] */ IID *pIID,
  370. /* [out] */ ULONG *piMethod);
  371. void __RPC_STUB ICallFrame_GetIIDAndMethod_Stub(
  372. IRpcStubBuffer *This,
  373. IRpcChannelBuffer *_pRpcChannelBuffer,
  374. PRPC_MESSAGE _pRpcMessage,
  375. DWORD *_pdwStubPhase);
  376. HRESULT STDMETHODCALLTYPE ICallFrame_GetNames_Proxy(
  377. ICallFrame * This,
  378. /* [out] */ LPWSTR *pwszInterface,
  379. /* [out] */ LPWSTR *pwszMethod);
  380. void __RPC_STUB ICallFrame_GetNames_Stub(
  381. IRpcStubBuffer *This,
  382. IRpcChannelBuffer *_pRpcChannelBuffer,
  383. PRPC_MESSAGE _pRpcMessage,
  384. DWORD *_pdwStubPhase);
  385. PVOID STDMETHODCALLTYPE ICallFrame_GetStackLocation_Proxy(
  386. ICallFrame * This);
  387. void __RPC_STUB ICallFrame_GetStackLocation_Stub(
  388. IRpcStubBuffer *This,
  389. IRpcChannelBuffer *_pRpcChannelBuffer,
  390. PRPC_MESSAGE _pRpcMessage,
  391. DWORD *_pdwStubPhase);
  392. void STDMETHODCALLTYPE ICallFrame_SetStackLocation_Proxy(
  393. ICallFrame * This,
  394. /* [in] */ PVOID pvStack);
  395. void __RPC_STUB ICallFrame_SetStackLocation_Stub(
  396. IRpcStubBuffer *This,
  397. IRpcChannelBuffer *_pRpcChannelBuffer,
  398. PRPC_MESSAGE _pRpcMessage,
  399. DWORD *_pdwStubPhase);
  400. void STDMETHODCALLTYPE ICallFrame_SetReturnValue_Proxy(
  401. ICallFrame * This,
  402. /* [in] */ HRESULT hr);
  403. void __RPC_STUB ICallFrame_SetReturnValue_Stub(
  404. IRpcStubBuffer *This,
  405. IRpcChannelBuffer *_pRpcChannelBuffer,
  406. PRPC_MESSAGE _pRpcMessage,
  407. DWORD *_pdwStubPhase);
  408. HRESULT STDMETHODCALLTYPE ICallFrame_GetReturnValue_Proxy(
  409. ICallFrame * This);
  410. void __RPC_STUB ICallFrame_GetReturnValue_Stub(
  411. IRpcStubBuffer *This,
  412. IRpcChannelBuffer *_pRpcChannelBuffer,
  413. PRPC_MESSAGE _pRpcMessage,
  414. DWORD *_pdwStubPhase);
  415. HRESULT STDMETHODCALLTYPE ICallFrame_GetParamInfo_Proxy(
  416. ICallFrame * This,
  417. /* [in] */ ULONG iparam,
  418. /* [out] */ CALLFRAMEPARAMINFO *pInfo);
  419. void __RPC_STUB ICallFrame_GetParamInfo_Stub(
  420. IRpcStubBuffer *This,
  421. IRpcChannelBuffer *_pRpcChannelBuffer,
  422. PRPC_MESSAGE _pRpcMessage,
  423. DWORD *_pdwStubPhase);
  424. HRESULT STDMETHODCALLTYPE ICallFrame_SetParam_Proxy(
  425. ICallFrame * This,
  426. /* [in] */ ULONG iparam,
  427. /* [in] */ VARIANT *pvar);
  428. void __RPC_STUB ICallFrame_SetParam_Stub(
  429. IRpcStubBuffer *This,
  430. IRpcChannelBuffer *_pRpcChannelBuffer,
  431. PRPC_MESSAGE _pRpcMessage,
  432. DWORD *_pdwStubPhase);
  433. HRESULT STDMETHODCALLTYPE ICallFrame_GetParam_Proxy(
  434. ICallFrame * This,
  435. /* [in] */ ULONG iparam,
  436. /* [out] */ VARIANT *pvar);
  437. void __RPC_STUB ICallFrame_GetParam_Stub(
  438. IRpcStubBuffer *This,
  439. IRpcChannelBuffer *_pRpcChannelBuffer,
  440. PRPC_MESSAGE _pRpcMessage,
  441. DWORD *_pdwStubPhase);
  442. HRESULT STDMETHODCALLTYPE ICallFrame_Copy_Proxy(
  443. ICallFrame * This,
  444. /* [in] */ CALLFRAME_COPY copyControl,
  445. /* [in] */ ICallFrameWalker *pWalker,
  446. /* [out] */ ICallFrame **ppFrame);
  447. void __RPC_STUB ICallFrame_Copy_Stub(
  448. IRpcStubBuffer *This,
  449. IRpcChannelBuffer *_pRpcChannelBuffer,
  450. PRPC_MESSAGE _pRpcMessage,
  451. DWORD *_pdwStubPhase);
  452. HRESULT STDMETHODCALLTYPE ICallFrame_Free_Proxy(
  453. ICallFrame * This,
  454. /* [in] */ ICallFrame *pframeArgsDest,
  455. /* [in] */ ICallFrameWalker *pWalkerDestFree,
  456. /* [in] */ ICallFrameWalker *pWalkerCopy,
  457. /* [in] */ DWORD freeFlags,
  458. /* [in] */ ICallFrameWalker *pWalkerFree,
  459. /* [in] */ DWORD nullFlags);
  460. void __RPC_STUB ICallFrame_Free_Stub(
  461. IRpcStubBuffer *This,
  462. IRpcChannelBuffer *_pRpcChannelBuffer,
  463. PRPC_MESSAGE _pRpcMessage,
  464. DWORD *_pdwStubPhase);
  465. HRESULT STDMETHODCALLTYPE ICallFrame_FreeParam_Proxy(
  466. ICallFrame * This,
  467. /* [in] */ ULONG iparam,
  468. /* [in] */ DWORD freeFlags,
  469. /* [in] */ ICallFrameWalker *pWalkerFree,
  470. /* [in] */ DWORD nullFlags);
  471. void __RPC_STUB ICallFrame_FreeParam_Stub(
  472. IRpcStubBuffer *This,
  473. IRpcChannelBuffer *_pRpcChannelBuffer,
  474. PRPC_MESSAGE _pRpcMessage,
  475. DWORD *_pdwStubPhase);
  476. HRESULT STDMETHODCALLTYPE ICallFrame_WalkFrame_Proxy(
  477. ICallFrame * This,
  478. /* [in] */ DWORD walkWhat,
  479. /* [in] */ ICallFrameWalker *pWalker);
  480. void __RPC_STUB ICallFrame_WalkFrame_Stub(
  481. IRpcStubBuffer *This,
  482. IRpcChannelBuffer *_pRpcChannelBuffer,
  483. PRPC_MESSAGE _pRpcMessage,
  484. DWORD *_pdwStubPhase);
  485. HRESULT STDMETHODCALLTYPE ICallFrame_GetMarshalSizeMax_Proxy(
  486. ICallFrame * This,
  487. /* [in] */ CALLFRAME_MARSHALCONTEXT *pmshlContext,
  488. /* [in] */ MSHLFLAGS mshlflags,
  489. /* [out] */ ULONG *pcbBufferNeeded);
  490. void __RPC_STUB ICallFrame_GetMarshalSizeMax_Stub(
  491. IRpcStubBuffer *This,
  492. IRpcChannelBuffer *_pRpcChannelBuffer,
  493. PRPC_MESSAGE _pRpcMessage,
  494. DWORD *_pdwStubPhase);
  495. HRESULT STDMETHODCALLTYPE ICallFrame_Marshal_Proxy(
  496. ICallFrame * This,
  497. /* [in] */ CALLFRAME_MARSHALCONTEXT *pmshlContext,
  498. /* [in] */ MSHLFLAGS mshlflags,
  499. /* [size_is][in] */ PVOID pBuffer,
  500. /* [in] */ ULONG cbBuffer,
  501. /* [out] */ ULONG *pcbBufferUsed,
  502. /* [out] */ RPCOLEDATAREP *pdataRep,
  503. /* [out] */ ULONG *prpcFlags);
  504. void __RPC_STUB ICallFrame_Marshal_Stub(
  505. IRpcStubBuffer *This,
  506. IRpcChannelBuffer *_pRpcChannelBuffer,
  507. PRPC_MESSAGE _pRpcMessage,
  508. DWORD *_pdwStubPhase);
  509. HRESULT STDMETHODCALLTYPE ICallFrame_Unmarshal_Proxy(
  510. ICallFrame * This,
  511. /* [size_is][in] */ PVOID pBuffer,
  512. /* [in] */ ULONG cbBuffer,
  513. /* [in] */ RPCOLEDATAREP dataRep,
  514. /* [in] */ CALLFRAME_MARSHALCONTEXT *pcontext,
  515. /* [out] */ ULONG *pcbUnmarshalled);
  516. void __RPC_STUB ICallFrame_Unmarshal_Stub(
  517. IRpcStubBuffer *This,
  518. IRpcChannelBuffer *_pRpcChannelBuffer,
  519. PRPC_MESSAGE _pRpcMessage,
  520. DWORD *_pdwStubPhase);
  521. HRESULT STDMETHODCALLTYPE ICallFrame_ReleaseMarshalData_Proxy(
  522. ICallFrame * This,
  523. /* [size_is][in] */ PVOID pBuffer,
  524. /* [in] */ ULONG cbBuffer,
  525. /* [in] */ ULONG ibFirstRelease,
  526. /* [in] */ RPCOLEDATAREP dataRep,
  527. /* [in] */ CALLFRAME_MARSHALCONTEXT *pcontext);
  528. void __RPC_STUB ICallFrame_ReleaseMarshalData_Stub(
  529. IRpcStubBuffer *This,
  530. IRpcChannelBuffer *_pRpcChannelBuffer,
  531. PRPC_MESSAGE _pRpcMessage,
  532. DWORD *_pdwStubPhase);
  533. HRESULT STDMETHODCALLTYPE ICallFrame_Invoke_Proxy(
  534. ICallFrame * This,
  535. /* [in] */ void *pvReceiver,
  536. ...);
  537. void __RPC_STUB ICallFrame_Invoke_Stub(
  538. IRpcStubBuffer *This,
  539. IRpcChannelBuffer *_pRpcChannelBuffer,
  540. PRPC_MESSAGE _pRpcMessage,
  541. DWORD *_pdwStubPhase);
  542. #endif /* __ICallFrame_INTERFACE_DEFINED__ */
  543. #ifndef __ICallIndirect_INTERFACE_DEFINED__
  544. #define __ICallIndirect_INTERFACE_DEFINED__
  545. /* interface ICallIndirect */
  546. /* [local][unique][object][uuid] */
  547. EXTERN_C const IID IID_ICallIndirect;
  548. #if defined(__cplusplus) && !defined(CINTERFACE)
  549. MIDL_INTERFACE("D573B4B1-894E-11d2-B8B6-00C04FB9618A")
  550. ICallIndirect : public IUnknown
  551. {
  552. public:
  553. virtual HRESULT STDMETHODCALLTYPE CallIndirect(
  554. /* [out] */ HRESULT *phrReturn,
  555. /* [in] */ ULONG iMethod,
  556. /* [in] */ void *pvArgs,
  557. /* [out] */ ULONG *cbArgs) = 0;
  558. virtual HRESULT STDMETHODCALLTYPE GetMethodInfo(
  559. /* [in] */ ULONG iMethod,
  560. /* [out] */ CALLFRAMEINFO *pInfo,
  561. /* [out] */ LPWSTR *pwszMethod) = 0;
  562. virtual HRESULT STDMETHODCALLTYPE GetStackSize(
  563. /* [in] */ ULONG iMethod,
  564. /* [out] */ ULONG *cbArgs) = 0;
  565. virtual HRESULT STDMETHODCALLTYPE GetIID(
  566. /* [out] */ IID *piid,
  567. /* [out] */ BOOL *pfDerivesFromIDispatch,
  568. /* [out] */ ULONG *pcMethod,
  569. /* [out] */ LPWSTR *pwszInterface) = 0;
  570. };
  571. #else /* C style interface */
  572. typedef struct ICallIndirectVtbl
  573. {
  574. BEGIN_INTERFACE
  575. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  576. ICallIndirect * This,
  577. /* [in] */ REFIID riid,
  578. /* [iid_is][out] */ void **ppvObject);
  579. ULONG ( STDMETHODCALLTYPE *AddRef )(
  580. ICallIndirect * This);
  581. ULONG ( STDMETHODCALLTYPE *Release )(
  582. ICallIndirect * This);
  583. HRESULT ( STDMETHODCALLTYPE *CallIndirect )(
  584. ICallIndirect * This,
  585. /* [out] */ HRESULT *phrReturn,
  586. /* [in] */ ULONG iMethod,
  587. /* [in] */ void *pvArgs,
  588. /* [out] */ ULONG *cbArgs);
  589. HRESULT ( STDMETHODCALLTYPE *GetMethodInfo )(
  590. ICallIndirect * This,
  591. /* [in] */ ULONG iMethod,
  592. /* [out] */ CALLFRAMEINFO *pInfo,
  593. /* [out] */ LPWSTR *pwszMethod);
  594. HRESULT ( STDMETHODCALLTYPE *GetStackSize )(
  595. ICallIndirect * This,
  596. /* [in] */ ULONG iMethod,
  597. /* [out] */ ULONG *cbArgs);
  598. HRESULT ( STDMETHODCALLTYPE *GetIID )(
  599. ICallIndirect * This,
  600. /* [out] */ IID *piid,
  601. /* [out] */ BOOL *pfDerivesFromIDispatch,
  602. /* [out] */ ULONG *pcMethod,
  603. /* [out] */ LPWSTR *pwszInterface);
  604. END_INTERFACE
  605. } ICallIndirectVtbl;
  606. interface ICallIndirect
  607. {
  608. CONST_VTBL struct ICallIndirectVtbl *lpVtbl;
  609. };
  610. #ifdef COBJMACROS
  611. #define ICallIndirect_QueryInterface(This,riid,ppvObject) \
  612. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  613. #define ICallIndirect_AddRef(This) \
  614. (This)->lpVtbl -> AddRef(This)
  615. #define ICallIndirect_Release(This) \
  616. (This)->lpVtbl -> Release(This)
  617. #define ICallIndirect_CallIndirect(This,phrReturn,iMethod,pvArgs,cbArgs) \
  618. (This)->lpVtbl -> CallIndirect(This,phrReturn,iMethod,pvArgs,cbArgs)
  619. #define ICallIndirect_GetMethodInfo(This,iMethod,pInfo,pwszMethod) \
  620. (This)->lpVtbl -> GetMethodInfo(This,iMethod,pInfo,pwszMethod)
  621. #define ICallIndirect_GetStackSize(This,iMethod,cbArgs) \
  622. (This)->lpVtbl -> GetStackSize(This,iMethod,cbArgs)
  623. #define ICallIndirect_GetIID(This,piid,pfDerivesFromIDispatch,pcMethod,pwszInterface) \
  624. (This)->lpVtbl -> GetIID(This,piid,pfDerivesFromIDispatch,pcMethod,pwszInterface)
  625. #endif /* COBJMACROS */
  626. #endif /* C style interface */
  627. HRESULT STDMETHODCALLTYPE ICallIndirect_CallIndirect_Proxy(
  628. ICallIndirect * This,
  629. /* [out] */ HRESULT *phrReturn,
  630. /* [in] */ ULONG iMethod,
  631. /* [in] */ void *pvArgs,
  632. /* [out] */ ULONG *cbArgs);
  633. void __RPC_STUB ICallIndirect_CallIndirect_Stub(
  634. IRpcStubBuffer *This,
  635. IRpcChannelBuffer *_pRpcChannelBuffer,
  636. PRPC_MESSAGE _pRpcMessage,
  637. DWORD *_pdwStubPhase);
  638. HRESULT STDMETHODCALLTYPE ICallIndirect_GetMethodInfo_Proxy(
  639. ICallIndirect * This,
  640. /* [in] */ ULONG iMethod,
  641. /* [out] */ CALLFRAMEINFO *pInfo,
  642. /* [out] */ LPWSTR *pwszMethod);
  643. void __RPC_STUB ICallIndirect_GetMethodInfo_Stub(
  644. IRpcStubBuffer *This,
  645. IRpcChannelBuffer *_pRpcChannelBuffer,
  646. PRPC_MESSAGE _pRpcMessage,
  647. DWORD *_pdwStubPhase);
  648. HRESULT STDMETHODCALLTYPE ICallIndirect_GetStackSize_Proxy(
  649. ICallIndirect * This,
  650. /* [in] */ ULONG iMethod,
  651. /* [out] */ ULONG *cbArgs);
  652. void __RPC_STUB ICallIndirect_GetStackSize_Stub(
  653. IRpcStubBuffer *This,
  654. IRpcChannelBuffer *_pRpcChannelBuffer,
  655. PRPC_MESSAGE _pRpcMessage,
  656. DWORD *_pdwStubPhase);
  657. HRESULT STDMETHODCALLTYPE ICallIndirect_GetIID_Proxy(
  658. ICallIndirect * This,
  659. /* [out] */ IID *piid,
  660. /* [out] */ BOOL *pfDerivesFromIDispatch,
  661. /* [out] */ ULONG *pcMethod,
  662. /* [out] */ LPWSTR *pwszInterface);
  663. void __RPC_STUB ICallIndirect_GetIID_Stub(
  664. IRpcStubBuffer *This,
  665. IRpcChannelBuffer *_pRpcChannelBuffer,
  666. PRPC_MESSAGE _pRpcMessage,
  667. DWORD *_pdwStubPhase);
  668. #endif /* __ICallIndirect_INTERFACE_DEFINED__ */
  669. #ifndef __ICallInterceptor_INTERFACE_DEFINED__
  670. #define __ICallInterceptor_INTERFACE_DEFINED__
  671. /* interface ICallInterceptor */
  672. /* [local][unique][object][uuid] */
  673. EXTERN_C const IID IID_ICallInterceptor;
  674. #if defined(__cplusplus) && !defined(CINTERFACE)
  675. MIDL_INTERFACE("60C7CA75-896D-11d2-B8B6-00C04FB9618A")
  676. ICallInterceptor : public ICallIndirect
  677. {
  678. public:
  679. virtual HRESULT STDMETHODCALLTYPE RegisterSink(
  680. /* [in] */ ICallFrameEvents *psink) = 0;
  681. virtual HRESULT STDMETHODCALLTYPE GetRegisteredSink(
  682. /* [out] */ ICallFrameEvents **ppsink) = 0;
  683. };
  684. #else /* C style interface */
  685. typedef struct ICallInterceptorVtbl
  686. {
  687. BEGIN_INTERFACE
  688. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  689. ICallInterceptor * This,
  690. /* [in] */ REFIID riid,
  691. /* [iid_is][out] */ void **ppvObject);
  692. ULONG ( STDMETHODCALLTYPE *AddRef )(
  693. ICallInterceptor * This);
  694. ULONG ( STDMETHODCALLTYPE *Release )(
  695. ICallInterceptor * This);
  696. HRESULT ( STDMETHODCALLTYPE *CallIndirect )(
  697. ICallInterceptor * This,
  698. /* [out] */ HRESULT *phrReturn,
  699. /* [in] */ ULONG iMethod,
  700. /* [in] */ void *pvArgs,
  701. /* [out] */ ULONG *cbArgs);
  702. HRESULT ( STDMETHODCALLTYPE *GetMethodInfo )(
  703. ICallInterceptor * This,
  704. /* [in] */ ULONG iMethod,
  705. /* [out] */ CALLFRAMEINFO *pInfo,
  706. /* [out] */ LPWSTR *pwszMethod);
  707. HRESULT ( STDMETHODCALLTYPE *GetStackSize )(
  708. ICallInterceptor * This,
  709. /* [in] */ ULONG iMethod,
  710. /* [out] */ ULONG *cbArgs);
  711. HRESULT ( STDMETHODCALLTYPE *GetIID )(
  712. ICallInterceptor * This,
  713. /* [out] */ IID *piid,
  714. /* [out] */ BOOL *pfDerivesFromIDispatch,
  715. /* [out] */ ULONG *pcMethod,
  716. /* [out] */ LPWSTR *pwszInterface);
  717. HRESULT ( STDMETHODCALLTYPE *RegisterSink )(
  718. ICallInterceptor * This,
  719. /* [in] */ ICallFrameEvents *psink);
  720. HRESULT ( STDMETHODCALLTYPE *GetRegisteredSink )(
  721. ICallInterceptor * This,
  722. /* [out] */ ICallFrameEvents **ppsink);
  723. END_INTERFACE
  724. } ICallInterceptorVtbl;
  725. interface ICallInterceptor
  726. {
  727. CONST_VTBL struct ICallInterceptorVtbl *lpVtbl;
  728. };
  729. #ifdef COBJMACROS
  730. #define ICallInterceptor_QueryInterface(This,riid,ppvObject) \
  731. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  732. #define ICallInterceptor_AddRef(This) \
  733. (This)->lpVtbl -> AddRef(This)
  734. #define ICallInterceptor_Release(This) \
  735. (This)->lpVtbl -> Release(This)
  736. #define ICallInterceptor_CallIndirect(This,phrReturn,iMethod,pvArgs,cbArgs) \
  737. (This)->lpVtbl -> CallIndirect(This,phrReturn,iMethod,pvArgs,cbArgs)
  738. #define ICallInterceptor_GetMethodInfo(This,iMethod,pInfo,pwszMethod) \
  739. (This)->lpVtbl -> GetMethodInfo(This,iMethod,pInfo,pwszMethod)
  740. #define ICallInterceptor_GetStackSize(This,iMethod,cbArgs) \
  741. (This)->lpVtbl -> GetStackSize(This,iMethod,cbArgs)
  742. #define ICallInterceptor_GetIID(This,piid,pfDerivesFromIDispatch,pcMethod,pwszInterface) \
  743. (This)->lpVtbl -> GetIID(This,piid,pfDerivesFromIDispatch,pcMethod,pwszInterface)
  744. #define ICallInterceptor_RegisterSink(This,psink) \
  745. (This)->lpVtbl -> RegisterSink(This,psink)
  746. #define ICallInterceptor_GetRegisteredSink(This,ppsink) \
  747. (This)->lpVtbl -> GetRegisteredSink(This,ppsink)
  748. #endif /* COBJMACROS */
  749. #endif /* C style interface */
  750. HRESULT STDMETHODCALLTYPE ICallInterceptor_RegisterSink_Proxy(
  751. ICallInterceptor * This,
  752. /* [in] */ ICallFrameEvents *psink);
  753. void __RPC_STUB ICallInterceptor_RegisterSink_Stub(
  754. IRpcStubBuffer *This,
  755. IRpcChannelBuffer *_pRpcChannelBuffer,
  756. PRPC_MESSAGE _pRpcMessage,
  757. DWORD *_pdwStubPhase);
  758. HRESULT STDMETHODCALLTYPE ICallInterceptor_GetRegisteredSink_Proxy(
  759. ICallInterceptor * This,
  760. /* [out] */ ICallFrameEvents **ppsink);
  761. void __RPC_STUB ICallInterceptor_GetRegisteredSink_Stub(
  762. IRpcStubBuffer *This,
  763. IRpcChannelBuffer *_pRpcChannelBuffer,
  764. PRPC_MESSAGE _pRpcMessage,
  765. DWORD *_pdwStubPhase);
  766. #endif /* __ICallInterceptor_INTERFACE_DEFINED__ */
  767. #ifndef __ICallFrameEvents_INTERFACE_DEFINED__
  768. #define __ICallFrameEvents_INTERFACE_DEFINED__
  769. /* interface ICallFrameEvents */
  770. /* [local][unique][object][uuid] */
  771. EXTERN_C const IID IID_ICallFrameEvents;
  772. #if defined(__cplusplus) && !defined(CINTERFACE)
  773. MIDL_INTERFACE("FD5E0843-FC91-11d0-97D7-00C04FB9618A")
  774. ICallFrameEvents : public IUnknown
  775. {
  776. public:
  777. virtual HRESULT STDMETHODCALLTYPE OnCall(
  778. /* [in] */ ICallFrame *pFrame) = 0;
  779. };
  780. #else /* C style interface */
  781. typedef struct ICallFrameEventsVtbl
  782. {
  783. BEGIN_INTERFACE
  784. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  785. ICallFrameEvents * This,
  786. /* [in] */ REFIID riid,
  787. /* [iid_is][out] */ void **ppvObject);
  788. ULONG ( STDMETHODCALLTYPE *AddRef )(
  789. ICallFrameEvents * This);
  790. ULONG ( STDMETHODCALLTYPE *Release )(
  791. ICallFrameEvents * This);
  792. HRESULT ( STDMETHODCALLTYPE *OnCall )(
  793. ICallFrameEvents * This,
  794. /* [in] */ ICallFrame *pFrame);
  795. END_INTERFACE
  796. } ICallFrameEventsVtbl;
  797. interface ICallFrameEvents
  798. {
  799. CONST_VTBL struct ICallFrameEventsVtbl *lpVtbl;
  800. };
  801. #ifdef COBJMACROS
  802. #define ICallFrameEvents_QueryInterface(This,riid,ppvObject) \
  803. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  804. #define ICallFrameEvents_AddRef(This) \
  805. (This)->lpVtbl -> AddRef(This)
  806. #define ICallFrameEvents_Release(This) \
  807. (This)->lpVtbl -> Release(This)
  808. #define ICallFrameEvents_OnCall(This,pFrame) \
  809. (This)->lpVtbl -> OnCall(This,pFrame)
  810. #endif /* COBJMACROS */
  811. #endif /* C style interface */
  812. HRESULT STDMETHODCALLTYPE ICallFrameEvents_OnCall_Proxy(
  813. ICallFrameEvents * This,
  814. /* [in] */ ICallFrame *pFrame);
  815. void __RPC_STUB ICallFrameEvents_OnCall_Stub(
  816. IRpcStubBuffer *This,
  817. IRpcChannelBuffer *_pRpcChannelBuffer,
  818. PRPC_MESSAGE _pRpcMessage,
  819. DWORD *_pdwStubPhase);
  820. #endif /* __ICallFrameEvents_INTERFACE_DEFINED__ */
  821. #ifndef __ICallUnmarshal_INTERFACE_DEFINED__
  822. #define __ICallUnmarshal_INTERFACE_DEFINED__
  823. /* interface ICallUnmarshal */
  824. /* [local][unique][object][uuid] */
  825. EXTERN_C const IID IID_ICallUnmarshal;
  826. #if defined(__cplusplus) && !defined(CINTERFACE)
  827. MIDL_INTERFACE("5333B003-2E42-11d2-B89D-00C04FB9618A")
  828. ICallUnmarshal : public IUnknown
  829. {
  830. public:
  831. virtual HRESULT STDMETHODCALLTYPE Unmarshal(
  832. /* [in] */ ULONG iMethod,
  833. /* [size_is][in] */ PVOID pBuffer,
  834. /* [in] */ ULONG cbBuffer,
  835. /* [in] */ BOOL fForceBufferCopy,
  836. /* [in] */ RPCOLEDATAREP dataRep,
  837. /* [in] */ CALLFRAME_MARSHALCONTEXT *pcontext,
  838. /* [out] */ ULONG *pcbUnmarshalled,
  839. /* [out] */ ICallFrame **ppFrame) = 0;
  840. virtual HRESULT STDMETHODCALLTYPE ReleaseMarshalData(
  841. /* [in] */ ULONG iMethod,
  842. /* [size_is][in] */ PVOID pBuffer,
  843. /* [in] */ ULONG cbBuffer,
  844. /* [in] */ ULONG ibFirstRelease,
  845. /* [in] */ RPCOLEDATAREP dataRep,
  846. /* [in] */ CALLFRAME_MARSHALCONTEXT *pcontext) = 0;
  847. };
  848. #else /* C style interface */
  849. typedef struct ICallUnmarshalVtbl
  850. {
  851. BEGIN_INTERFACE
  852. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  853. ICallUnmarshal * This,
  854. /* [in] */ REFIID riid,
  855. /* [iid_is][out] */ void **ppvObject);
  856. ULONG ( STDMETHODCALLTYPE *AddRef )(
  857. ICallUnmarshal * This);
  858. ULONG ( STDMETHODCALLTYPE *Release )(
  859. ICallUnmarshal * This);
  860. HRESULT ( STDMETHODCALLTYPE *Unmarshal )(
  861. ICallUnmarshal * This,
  862. /* [in] */ ULONG iMethod,
  863. /* [size_is][in] */ PVOID pBuffer,
  864. /* [in] */ ULONG cbBuffer,
  865. /* [in] */ BOOL fForceBufferCopy,
  866. /* [in] */ RPCOLEDATAREP dataRep,
  867. /* [in] */ CALLFRAME_MARSHALCONTEXT *pcontext,
  868. /* [out] */ ULONG *pcbUnmarshalled,
  869. /* [out] */ ICallFrame **ppFrame);
  870. HRESULT ( STDMETHODCALLTYPE *ReleaseMarshalData )(
  871. ICallUnmarshal * This,
  872. /* [in] */ ULONG iMethod,
  873. /* [size_is][in] */ PVOID pBuffer,
  874. /* [in] */ ULONG cbBuffer,
  875. /* [in] */ ULONG ibFirstRelease,
  876. /* [in] */ RPCOLEDATAREP dataRep,
  877. /* [in] */ CALLFRAME_MARSHALCONTEXT *pcontext);
  878. END_INTERFACE
  879. } ICallUnmarshalVtbl;
  880. interface ICallUnmarshal
  881. {
  882. CONST_VTBL struct ICallUnmarshalVtbl *lpVtbl;
  883. };
  884. #ifdef COBJMACROS
  885. #define ICallUnmarshal_QueryInterface(This,riid,ppvObject) \
  886. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  887. #define ICallUnmarshal_AddRef(This) \
  888. (This)->lpVtbl -> AddRef(This)
  889. #define ICallUnmarshal_Release(This) \
  890. (This)->lpVtbl -> Release(This)
  891. #define ICallUnmarshal_Unmarshal(This,iMethod,pBuffer,cbBuffer,fForceBufferCopy,dataRep,pcontext,pcbUnmarshalled,ppFrame) \
  892. (This)->lpVtbl -> Unmarshal(This,iMethod,pBuffer,cbBuffer,fForceBufferCopy,dataRep,pcontext,pcbUnmarshalled,ppFrame)
  893. #define ICallUnmarshal_ReleaseMarshalData(This,iMethod,pBuffer,cbBuffer,ibFirstRelease,dataRep,pcontext) \
  894. (This)->lpVtbl -> ReleaseMarshalData(This,iMethod,pBuffer,cbBuffer,ibFirstRelease,dataRep,pcontext)
  895. #endif /* COBJMACROS */
  896. #endif /* C style interface */
  897. HRESULT STDMETHODCALLTYPE ICallUnmarshal_Unmarshal_Proxy(
  898. ICallUnmarshal * This,
  899. /* [in] */ ULONG iMethod,
  900. /* [size_is][in] */ PVOID pBuffer,
  901. /* [in] */ ULONG cbBuffer,
  902. /* [in] */ BOOL fForceBufferCopy,
  903. /* [in] */ RPCOLEDATAREP dataRep,
  904. /* [in] */ CALLFRAME_MARSHALCONTEXT *pcontext,
  905. /* [out] */ ULONG *pcbUnmarshalled,
  906. /* [out] */ ICallFrame **ppFrame);
  907. void __RPC_STUB ICallUnmarshal_Unmarshal_Stub(
  908. IRpcStubBuffer *This,
  909. IRpcChannelBuffer *_pRpcChannelBuffer,
  910. PRPC_MESSAGE _pRpcMessage,
  911. DWORD *_pdwStubPhase);
  912. HRESULT STDMETHODCALLTYPE ICallUnmarshal_ReleaseMarshalData_Proxy(
  913. ICallUnmarshal * This,
  914. /* [in] */ ULONG iMethod,
  915. /* [size_is][in] */ PVOID pBuffer,
  916. /* [in] */ ULONG cbBuffer,
  917. /* [in] */ ULONG ibFirstRelease,
  918. /* [in] */ RPCOLEDATAREP dataRep,
  919. /* [in] */ CALLFRAME_MARSHALCONTEXT *pcontext);
  920. void __RPC_STUB ICallUnmarshal_ReleaseMarshalData_Stub(
  921. IRpcStubBuffer *This,
  922. IRpcChannelBuffer *_pRpcChannelBuffer,
  923. PRPC_MESSAGE _pRpcMessage,
  924. DWORD *_pdwStubPhase);
  925. #endif /* __ICallUnmarshal_INTERFACE_DEFINED__ */
  926. #ifndef __ICallFrameWalker_INTERFACE_DEFINED__
  927. #define __ICallFrameWalker_INTERFACE_DEFINED__
  928. /* interface ICallFrameWalker */
  929. /* [local][unique][object][uuid] */
  930. EXTERN_C const IID IID_ICallFrameWalker;
  931. #if defined(__cplusplus) && !defined(CINTERFACE)
  932. MIDL_INTERFACE("08B23919-392D-11d2-B8A4-00C04FB9618A")
  933. ICallFrameWalker : public IUnknown
  934. {
  935. public:
  936. virtual HRESULT STDMETHODCALLTYPE OnWalkInterface(
  937. /* [in] */ REFIID iid,
  938. /* [in] */ PVOID *ppvInterface,
  939. /* [in] */ BOOL fIn,
  940. /* [in] */ BOOL fOut) = 0;
  941. };
  942. #else /* C style interface */
  943. typedef struct ICallFrameWalkerVtbl
  944. {
  945. BEGIN_INTERFACE
  946. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  947. ICallFrameWalker * This,
  948. /* [in] */ REFIID riid,
  949. /* [iid_is][out] */ void **ppvObject);
  950. ULONG ( STDMETHODCALLTYPE *AddRef )(
  951. ICallFrameWalker * This);
  952. ULONG ( STDMETHODCALLTYPE *Release )(
  953. ICallFrameWalker * This);
  954. HRESULT ( STDMETHODCALLTYPE *OnWalkInterface )(
  955. ICallFrameWalker * This,
  956. /* [in] */ REFIID iid,
  957. /* [in] */ PVOID *ppvInterface,
  958. /* [in] */ BOOL fIn,
  959. /* [in] */ BOOL fOut);
  960. END_INTERFACE
  961. } ICallFrameWalkerVtbl;
  962. interface ICallFrameWalker
  963. {
  964. CONST_VTBL struct ICallFrameWalkerVtbl *lpVtbl;
  965. };
  966. #ifdef COBJMACROS
  967. #define ICallFrameWalker_QueryInterface(This,riid,ppvObject) \
  968. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  969. #define ICallFrameWalker_AddRef(This) \
  970. (This)->lpVtbl -> AddRef(This)
  971. #define ICallFrameWalker_Release(This) \
  972. (This)->lpVtbl -> Release(This)
  973. #define ICallFrameWalker_OnWalkInterface(This,iid,ppvInterface,fIn,fOut) \
  974. (This)->lpVtbl -> OnWalkInterface(This,iid,ppvInterface,fIn,fOut)
  975. #endif /* COBJMACROS */
  976. #endif /* C style interface */
  977. HRESULT STDMETHODCALLTYPE ICallFrameWalker_OnWalkInterface_Proxy(
  978. ICallFrameWalker * This,
  979. /* [in] */ REFIID iid,
  980. /* [in] */ PVOID *ppvInterface,
  981. /* [in] */ BOOL fIn,
  982. /* [in] */ BOOL fOut);
  983. void __RPC_STUB ICallFrameWalker_OnWalkInterface_Stub(
  984. IRpcStubBuffer *This,
  985. IRpcChannelBuffer *_pRpcChannelBuffer,
  986. PRPC_MESSAGE _pRpcMessage,
  987. DWORD *_pdwStubPhase);
  988. #endif /* __ICallFrameWalker_INTERFACE_DEFINED__ */
  989. #ifndef __IInterfaceRelated_INTERFACE_DEFINED__
  990. #define __IInterfaceRelated_INTERFACE_DEFINED__
  991. /* interface IInterfaceRelated */
  992. /* [local][unique][object][uuid] */
  993. EXTERN_C const IID IID_IInterfaceRelated;
  994. #if defined(__cplusplus) && !defined(CINTERFACE)
  995. MIDL_INTERFACE("D1FB5A79-7706-11d1-ADBA-00C04FC2ADC0")
  996. IInterfaceRelated : public IUnknown
  997. {
  998. public:
  999. virtual HRESULT STDMETHODCALLTYPE SetIID(
  1000. /* [in] */ REFIID iid) = 0;
  1001. virtual HRESULT STDMETHODCALLTYPE GetIID(
  1002. /* [out] */ IID *piid) = 0;
  1003. };
  1004. #else /* C style interface */
  1005. typedef struct IInterfaceRelatedVtbl
  1006. {
  1007. BEGIN_INTERFACE
  1008. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1009. IInterfaceRelated * This,
  1010. /* [in] */ REFIID riid,
  1011. /* [iid_is][out] */ void **ppvObject);
  1012. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1013. IInterfaceRelated * This);
  1014. ULONG ( STDMETHODCALLTYPE *Release )(
  1015. IInterfaceRelated * This);
  1016. HRESULT ( STDMETHODCALLTYPE *SetIID )(
  1017. IInterfaceRelated * This,
  1018. /* [in] */ REFIID iid);
  1019. HRESULT ( STDMETHODCALLTYPE *GetIID )(
  1020. IInterfaceRelated * This,
  1021. /* [out] */ IID *piid);
  1022. END_INTERFACE
  1023. } IInterfaceRelatedVtbl;
  1024. interface IInterfaceRelated
  1025. {
  1026. CONST_VTBL struct IInterfaceRelatedVtbl *lpVtbl;
  1027. };
  1028. #ifdef COBJMACROS
  1029. #define IInterfaceRelated_QueryInterface(This,riid,ppvObject) \
  1030. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1031. #define IInterfaceRelated_AddRef(This) \
  1032. (This)->lpVtbl -> AddRef(This)
  1033. #define IInterfaceRelated_Release(This) \
  1034. (This)->lpVtbl -> Release(This)
  1035. #define IInterfaceRelated_SetIID(This,iid) \
  1036. (This)->lpVtbl -> SetIID(This,iid)
  1037. #define IInterfaceRelated_GetIID(This,piid) \
  1038. (This)->lpVtbl -> GetIID(This,piid)
  1039. #endif /* COBJMACROS */
  1040. #endif /* C style interface */
  1041. HRESULT STDMETHODCALLTYPE IInterfaceRelated_SetIID_Proxy(
  1042. IInterfaceRelated * This,
  1043. /* [in] */ REFIID iid);
  1044. void __RPC_STUB IInterfaceRelated_SetIID_Stub(
  1045. IRpcStubBuffer *This,
  1046. IRpcChannelBuffer *_pRpcChannelBuffer,
  1047. PRPC_MESSAGE _pRpcMessage,
  1048. DWORD *_pdwStubPhase);
  1049. HRESULT STDMETHODCALLTYPE IInterfaceRelated_GetIID_Proxy(
  1050. IInterfaceRelated * This,
  1051. /* [out] */ IID *piid);
  1052. void __RPC_STUB IInterfaceRelated_GetIID_Stub(
  1053. IRpcStubBuffer *This,
  1054. IRpcChannelBuffer *_pRpcChannelBuffer,
  1055. PRPC_MESSAGE _pRpcMessage,
  1056. DWORD *_pdwStubPhase);
  1057. #endif /* __IInterfaceRelated_INTERFACE_DEFINED__ */
  1058. /* interface __MIDL_itf_callobj_0122 */
  1059. /* [local] */
  1060. #define CALLFRAME_E_ALREADYINVOKED _HRESULT_TYPEDEF_( 0x8004d090 )
  1061. #define CALLFRAME_E_COULDNTMAKECALL _HRESULT_TYPEDEF_( 0x8004d091 )
  1062. extern RPC_IF_HANDLE __MIDL_itf_callobj_0122_v0_0_c_ifspec;
  1063. extern RPC_IF_HANDLE __MIDL_itf_callobj_0122_v0_0_s_ifspec;
  1064. #ifndef __ICallFrameAPIs_INTERFACE_DEFINED__
  1065. #define __ICallFrameAPIs_INTERFACE_DEFINED__
  1066. /* interface ICallFrameAPIs */
  1067. /* [local][uuid] */
  1068. HRESULT __stdcall CoGetInterceptor(
  1069. /* [in] */ REFIID iidIntercepted,
  1070. /* [in] */ IUnknown *punkOuter,
  1071. /* [in] */ REFIID iid,
  1072. /* [out] */ void **ppv);
  1073. HRESULT __stdcall CoGetInterceptorFromTypeInfo(
  1074. /* [in] */ REFIID iidIntercepted,
  1075. /* [in] */ IUnknown *punkOuter,
  1076. /* [in] */ ITypeInfo *typeInfo,
  1077. /* [in] */ REFIID iid,
  1078. /* [out] */ void **ppv);
  1079. extern RPC_IF_HANDLE ICallFrameAPIs_v0_0_c_ifspec;
  1080. extern RPC_IF_HANDLE ICallFrameAPIs_v0_0_s_ifspec;
  1081. #endif /* __ICallFrameAPIs_INTERFACE_DEFINED__ */
  1082. /* Additional Prototypes for ALL interfaces */
  1083. /* end of Additional Prototypes */
  1084. #ifdef __cplusplus
  1085. }
  1086. #endif
  1087. #endif