TxCoord.h
上传用户:dzyhzl
上传日期:2019-04-29
资源大小:56270k
文件大小:51k
源码类别:

模拟服务器

开发平台:

C/C++

  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 txcoord.idl:
  5.     Os, W1, Zp8, env=Win32 (32b run)
  6.     protocol : dce , ms_ext, c_ext
  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__ 440
  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 __txcoord_h__
  27. #define __txcoord_h__
  28. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  29. #pragma once
  30. #endif
  31. /* Forward Declarations */ 
  32. #ifndef __ITransactionResourceAsync_FWD_DEFINED__
  33. #define __ITransactionResourceAsync_FWD_DEFINED__
  34. typedef interface ITransactionResourceAsync ITransactionResourceAsync;
  35. #endif  /* __ITransactionResourceAsync_FWD_DEFINED__ */
  36. #ifndef __ITransactionLastResourceAsync_FWD_DEFINED__
  37. #define __ITransactionLastResourceAsync_FWD_DEFINED__
  38. typedef interface ITransactionLastResourceAsync ITransactionLastResourceAsync;
  39. #endif  /* __ITransactionLastResourceAsync_FWD_DEFINED__ */
  40. #ifndef __ITransactionResource_FWD_DEFINED__
  41. #define __ITransactionResource_FWD_DEFINED__
  42. typedef interface ITransactionResource ITransactionResource;
  43. #endif  /* __ITransactionResource_FWD_DEFINED__ */
  44. #ifndef __ITransactionEnlistmentAsync_FWD_DEFINED__
  45. #define __ITransactionEnlistmentAsync_FWD_DEFINED__
  46. typedef interface ITransactionEnlistmentAsync ITransactionEnlistmentAsync;
  47. #endif  /* __ITransactionEnlistmentAsync_FWD_DEFINED__ */
  48. #ifndef __ITransactionLastEnlistmentAsync_FWD_DEFINED__
  49. #define __ITransactionLastEnlistmentAsync_FWD_DEFINED__
  50. typedef interface ITransactionLastEnlistmentAsync ITransactionLastEnlistmentAsync;
  51. #endif  /* __ITransactionLastEnlistmentAsync_FWD_DEFINED__ */
  52. #ifndef __ITransactionExportFactory_FWD_DEFINED__
  53. #define __ITransactionExportFactory_FWD_DEFINED__
  54. typedef interface ITransactionExportFactory ITransactionExportFactory;
  55. #endif  /* __ITransactionExportFactory_FWD_DEFINED__ */
  56. #ifndef __ITransactionImportWhereabouts_FWD_DEFINED__
  57. #define __ITransactionImportWhereabouts_FWD_DEFINED__
  58. typedef interface ITransactionImportWhereabouts ITransactionImportWhereabouts;
  59. #endif  /* __ITransactionImportWhereabouts_FWD_DEFINED__ */
  60. #ifndef __ITransactionExport_FWD_DEFINED__
  61. #define __ITransactionExport_FWD_DEFINED__
  62. typedef interface ITransactionExport ITransactionExport;
  63. #endif  /* __ITransactionExport_FWD_DEFINED__ */
  64. #ifndef __ITransactionImport_FWD_DEFINED__
  65. #define __ITransactionImport_FWD_DEFINED__
  66. typedef interface ITransactionImport ITransactionImport;
  67. #endif  /* __ITransactionImport_FWD_DEFINED__ */
  68. #ifndef __ITipTransaction_FWD_DEFINED__
  69. #define __ITipTransaction_FWD_DEFINED__
  70. typedef interface ITipTransaction ITipTransaction;
  71. #endif  /* __ITipTransaction_FWD_DEFINED__ */
  72. #ifndef __ITipHelper_FWD_DEFINED__
  73. #define __ITipHelper_FWD_DEFINED__
  74. typedef interface ITipHelper ITipHelper;
  75. #endif  /* __ITipHelper_FWD_DEFINED__ */
  76. #ifndef __ITipPullSink_FWD_DEFINED__
  77. #define __ITipPullSink_FWD_DEFINED__
  78. typedef interface ITipPullSink ITipPullSink;
  79. #endif  /* __ITipPullSink_FWD_DEFINED__ */
  80. /* header files for imported files */
  81. #include "transact.h"
  82. #include "objidl.h"
  83. #ifdef __cplusplus
  84. extern "C"{
  85. #endif 
  86. void * __RPC_USER MIDL_user_allocate(size_t);
  87. void __RPC_USER MIDL_user_free( void * ); 
  88. /* interface __MIDL_itf_txcoord_0000 */
  89. /* [local] */ 
  90. extern RPC_IF_HANDLE __MIDL_itf_txcoord_0000_v0_0_c_ifspec;
  91. extern RPC_IF_HANDLE __MIDL_itf_txcoord_0000_v0_0_s_ifspec;
  92. #ifndef __ITransactionResourceAsync_INTERFACE_DEFINED__
  93. #define __ITransactionResourceAsync_INTERFACE_DEFINED__
  94. /* interface ITransactionResourceAsync */
  95. /* [unique][uuid][object] */ 
  96. EXTERN_C const IID IID_ITransactionResourceAsync;
  97. #if defined(__cplusplus) && !defined(CINTERFACE)
  98.     
  99.     MIDL_INTERFACE("69E971F0-23CE-11cf-AD60-00AA00A74CCD")
  100.     ITransactionResourceAsync : public IUnknown
  101.     {
  102.     public:
  103.         virtual HRESULT STDMETHODCALLTYPE PrepareRequest( 
  104.             /* [in] */ BOOL fRetaining,
  105.             /* [in] */ DWORD grfRM,
  106.             /* [in] */ BOOL fWantMoniker,
  107.             /* [in] */ BOOL fSinglePhase) = 0;
  108.         
  109.         virtual HRESULT STDMETHODCALLTYPE CommitRequest( 
  110.             /* [in] */ DWORD grfRM,
  111.             /* [unique][in] */ XACTUOW *pNewUOW) = 0;
  112.         
  113.         virtual HRESULT STDMETHODCALLTYPE AbortRequest( 
  114.             /* [unique][in] */ BOID *pboidReason,
  115.             /* [in] */ BOOL fRetaining,
  116.             /* [unique][in] */ XACTUOW *pNewUOW) = 0;
  117.         
  118.         virtual HRESULT STDMETHODCALLTYPE TMDown( void) = 0;
  119.         
  120.     };
  121.     
  122. #else  /* C style interface */
  123.     typedef struct ITransactionResourceAsyncVtbl
  124.     {
  125.         BEGIN_INTERFACE
  126.         
  127.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  128.             ITransactionResourceAsync * This,
  129.             /* [in] */ REFIID riid,
  130.             /* [iid_is][out] */ void **ppvObject);
  131.         
  132.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  133.             ITransactionResourceAsync * This);
  134.         
  135.         ULONG ( STDMETHODCALLTYPE *Release )( 
  136.             ITransactionResourceAsync * This);
  137.         
  138.         HRESULT ( STDMETHODCALLTYPE *PrepareRequest )( 
  139.             ITransactionResourceAsync * This,
  140.             /* [in] */ BOOL fRetaining,
  141.             /* [in] */ DWORD grfRM,
  142.             /* [in] */ BOOL fWantMoniker,
  143.             /* [in] */ BOOL fSinglePhase);
  144.         
  145.         HRESULT ( STDMETHODCALLTYPE *CommitRequest )( 
  146.             ITransactionResourceAsync * This,
  147.             /* [in] */ DWORD grfRM,
  148.             /* [unique][in] */ XACTUOW *pNewUOW);
  149.         
  150.         HRESULT ( STDMETHODCALLTYPE *AbortRequest )( 
  151.             ITransactionResourceAsync * This,
  152.             /* [unique][in] */ BOID *pboidReason,
  153.             /* [in] */ BOOL fRetaining,
  154.             /* [unique][in] */ XACTUOW *pNewUOW);
  155.         
  156.         HRESULT ( STDMETHODCALLTYPE *TMDown )( 
  157.             ITransactionResourceAsync * This);
  158.         
  159.         END_INTERFACE
  160.     } ITransactionResourceAsyncVtbl;
  161.     interface ITransactionResourceAsync
  162.     {
  163.         CONST_VTBL struct ITransactionResourceAsyncVtbl *lpVtbl;
  164.     };
  165.     
  166. #ifdef COBJMACROS
  167. #define ITransactionResourceAsync_QueryInterface(This,riid,ppvObject)
  168.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  169. #define ITransactionResourceAsync_AddRef(This)
  170.     (This)->lpVtbl -> AddRef(This)
  171. #define ITransactionResourceAsync_Release(This)
  172.     (This)->lpVtbl -> Release(This)
  173. #define ITransactionResourceAsync_PrepareRequest(This,fRetaining,grfRM,fWantMoniker,fSinglePhase)
  174.     (This)->lpVtbl -> PrepareRequest(This,fRetaining,grfRM,fWantMoniker,fSinglePhase)
  175. #define ITransactionResourceAsync_CommitRequest(This,grfRM,pNewUOW)
  176.     (This)->lpVtbl -> CommitRequest(This,grfRM,pNewUOW)
  177. #define ITransactionResourceAsync_AbortRequest(This,pboidReason,fRetaining,pNewUOW)
  178.     (This)->lpVtbl -> AbortRequest(This,pboidReason,fRetaining,pNewUOW)
  179. #define ITransactionResourceAsync_TMDown(This)
  180.     (This)->lpVtbl -> TMDown(This)
  181. #endif /* COBJMACROS */
  182. #endif  /* C style interface */
  183. HRESULT STDMETHODCALLTYPE ITransactionResourceAsync_PrepareRequest_Proxy( 
  184.     ITransactionResourceAsync * This,
  185.     /* [in] */ BOOL fRetaining,
  186.     /* [in] */ DWORD grfRM,
  187.     /* [in] */ BOOL fWantMoniker,
  188.     /* [in] */ BOOL fSinglePhase);
  189. void __RPC_STUB ITransactionResourceAsync_PrepareRequest_Stub(
  190.     IRpcStubBuffer *This,
  191.     IRpcChannelBuffer *_pRpcChannelBuffer,
  192.     PRPC_MESSAGE _pRpcMessage,
  193.     DWORD *_pdwStubPhase);
  194. HRESULT STDMETHODCALLTYPE ITransactionResourceAsync_CommitRequest_Proxy( 
  195.     ITransactionResourceAsync * This,
  196.     /* [in] */ DWORD grfRM,
  197.     /* [unique][in] */ XACTUOW *pNewUOW);
  198. void __RPC_STUB ITransactionResourceAsync_CommitRequest_Stub(
  199.     IRpcStubBuffer *This,
  200.     IRpcChannelBuffer *_pRpcChannelBuffer,
  201.     PRPC_MESSAGE _pRpcMessage,
  202.     DWORD *_pdwStubPhase);
  203. HRESULT STDMETHODCALLTYPE ITransactionResourceAsync_AbortRequest_Proxy( 
  204.     ITransactionResourceAsync * This,
  205.     /* [unique][in] */ BOID *pboidReason,
  206.     /* [in] */ BOOL fRetaining,
  207.     /* [unique][in] */ XACTUOW *pNewUOW);
  208. void __RPC_STUB ITransactionResourceAsync_AbortRequest_Stub(
  209.     IRpcStubBuffer *This,
  210.     IRpcChannelBuffer *_pRpcChannelBuffer,
  211.     PRPC_MESSAGE _pRpcMessage,
  212.     DWORD *_pdwStubPhase);
  213. HRESULT STDMETHODCALLTYPE ITransactionResourceAsync_TMDown_Proxy( 
  214.     ITransactionResourceAsync * This);
  215. void __RPC_STUB ITransactionResourceAsync_TMDown_Stub(
  216.     IRpcStubBuffer *This,
  217.     IRpcChannelBuffer *_pRpcChannelBuffer,
  218.     PRPC_MESSAGE _pRpcMessage,
  219.     DWORD *_pdwStubPhase);
  220. #endif  /* __ITransactionResourceAsync_INTERFACE_DEFINED__ */
  221. #ifndef __ITransactionLastResourceAsync_INTERFACE_DEFINED__
  222. #define __ITransactionLastResourceAsync_INTERFACE_DEFINED__
  223. /* interface ITransactionLastResourceAsync */
  224. /* [unique][uuid][object] */ 
  225. EXTERN_C const IID IID_ITransactionLastResourceAsync;
  226. #if defined(__cplusplus) && !defined(CINTERFACE)
  227.     
  228.     MIDL_INTERFACE("C82BD532-5B30-11d3-8A91-00C04F79EB6D")
  229.     ITransactionLastResourceAsync : public IUnknown
  230.     {
  231.     public:
  232.         virtual HRESULT STDMETHODCALLTYPE DelegateCommit( 
  233.             /* [in] */ DWORD grfRM) = 0;
  234.         
  235.         virtual HRESULT STDMETHODCALLTYPE ForgetRequest( 
  236.             /* [in] */ XACTUOW *pNewUOW) = 0;
  237.         
  238.     };
  239.     
  240. #else  /* C style interface */
  241.     typedef struct ITransactionLastResourceAsyncVtbl
  242.     {
  243.         BEGIN_INTERFACE
  244.         
  245.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  246.             ITransactionLastResourceAsync * This,
  247.             /* [in] */ REFIID riid,
  248.             /* [iid_is][out] */ void **ppvObject);
  249.         
  250.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  251.             ITransactionLastResourceAsync * This);
  252.         
  253.         ULONG ( STDMETHODCALLTYPE *Release )( 
  254.             ITransactionLastResourceAsync * This);
  255.         
  256.         HRESULT ( STDMETHODCALLTYPE *DelegateCommit )( 
  257.             ITransactionLastResourceAsync * This,
  258.             /* [in] */ DWORD grfRM);
  259.         
  260.         HRESULT ( STDMETHODCALLTYPE *ForgetRequest )( 
  261.             ITransactionLastResourceAsync * This,
  262.             /* [in] */ XACTUOW *pNewUOW);
  263.         
  264.         END_INTERFACE
  265.     } ITransactionLastResourceAsyncVtbl;
  266.     interface ITransactionLastResourceAsync
  267.     {
  268.         CONST_VTBL struct ITransactionLastResourceAsyncVtbl *lpVtbl;
  269.     };
  270.     
  271. #ifdef COBJMACROS
  272. #define ITransactionLastResourceAsync_QueryInterface(This,riid,ppvObject)
  273.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  274. #define ITransactionLastResourceAsync_AddRef(This)
  275.     (This)->lpVtbl -> AddRef(This)
  276. #define ITransactionLastResourceAsync_Release(This)
  277.     (This)->lpVtbl -> Release(This)
  278. #define ITransactionLastResourceAsync_DelegateCommit(This,grfRM)
  279.     (This)->lpVtbl -> DelegateCommit(This,grfRM)
  280. #define ITransactionLastResourceAsync_ForgetRequest(This,pNewUOW)
  281.     (This)->lpVtbl -> ForgetRequest(This,pNewUOW)
  282. #endif /* COBJMACROS */
  283. #endif  /* C style interface */
  284. HRESULT STDMETHODCALLTYPE ITransactionLastResourceAsync_DelegateCommit_Proxy( 
  285.     ITransactionLastResourceAsync * This,
  286.     /* [in] */ DWORD grfRM);
  287. void __RPC_STUB ITransactionLastResourceAsync_DelegateCommit_Stub(
  288.     IRpcStubBuffer *This,
  289.     IRpcChannelBuffer *_pRpcChannelBuffer,
  290.     PRPC_MESSAGE _pRpcMessage,
  291.     DWORD *_pdwStubPhase);
  292. HRESULT STDMETHODCALLTYPE ITransactionLastResourceAsync_ForgetRequest_Proxy( 
  293.     ITransactionLastResourceAsync * This,
  294.     /* [in] */ XACTUOW *pNewUOW);
  295. void __RPC_STUB ITransactionLastResourceAsync_ForgetRequest_Stub(
  296.     IRpcStubBuffer *This,
  297.     IRpcChannelBuffer *_pRpcChannelBuffer,
  298.     PRPC_MESSAGE _pRpcMessage,
  299.     DWORD *_pdwStubPhase);
  300. #endif  /* __ITransactionLastResourceAsync_INTERFACE_DEFINED__ */
  301. #ifndef __ITransactionResource_INTERFACE_DEFINED__
  302. #define __ITransactionResource_INTERFACE_DEFINED__
  303. /* interface ITransactionResource */
  304. /* [unique][uuid][object] */ 
  305. EXTERN_C const IID IID_ITransactionResource;
  306. #if defined(__cplusplus) && !defined(CINTERFACE)
  307.     
  308.     MIDL_INTERFACE("EE5FF7B3-4572-11d0-9452-00A0C905416E")
  309.     ITransactionResource : public IUnknown
  310.     {
  311.     public:
  312.         virtual HRESULT STDMETHODCALLTYPE PrepareRequest( 
  313.             /* [in] */ BOOL fRetaining,
  314.             /* [in] */ DWORD grfRM,
  315.             /* [in] */ BOOL fWantMoniker,
  316.             /* [in] */ BOOL fSinglePhase) = 0;
  317.         
  318.         virtual HRESULT STDMETHODCALLTYPE CommitRequest( 
  319.             /* [in] */ DWORD grfRM,
  320.             /* [unique][in] */ XACTUOW *pNewUOW) = 0;
  321.         
  322.         virtual HRESULT STDMETHODCALLTYPE AbortRequest( 
  323.             /* [unique][in] */ BOID *pboidReason,
  324.             /* [in] */ BOOL fRetaining,
  325.             /* [unique][in] */ XACTUOW *pNewUOW) = 0;
  326.         
  327.         virtual HRESULT STDMETHODCALLTYPE TMDown( void) = 0;
  328.         
  329.     };
  330.     
  331. #else  /* C style interface */
  332.     typedef struct ITransactionResourceVtbl
  333.     {
  334.         BEGIN_INTERFACE
  335.         
  336.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  337.             ITransactionResource * This,
  338.             /* [in] */ REFIID riid,
  339.             /* [iid_is][out] */ void **ppvObject);
  340.         
  341.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  342.             ITransactionResource * This);
  343.         
  344.         ULONG ( STDMETHODCALLTYPE *Release )( 
  345.             ITransactionResource * This);
  346.         
  347.         HRESULT ( STDMETHODCALLTYPE *PrepareRequest )( 
  348.             ITransactionResource * This,
  349.             /* [in] */ BOOL fRetaining,
  350.             /* [in] */ DWORD grfRM,
  351.             /* [in] */ BOOL fWantMoniker,
  352.             /* [in] */ BOOL fSinglePhase);
  353.         
  354.         HRESULT ( STDMETHODCALLTYPE *CommitRequest )( 
  355.             ITransactionResource * This,
  356.             /* [in] */ DWORD grfRM,
  357.             /* [unique][in] */ XACTUOW *pNewUOW);
  358.         
  359.         HRESULT ( STDMETHODCALLTYPE *AbortRequest )( 
  360.             ITransactionResource * This,
  361.             /* [unique][in] */ BOID *pboidReason,
  362.             /* [in] */ BOOL fRetaining,
  363.             /* [unique][in] */ XACTUOW *pNewUOW);
  364.         
  365.         HRESULT ( STDMETHODCALLTYPE *TMDown )( 
  366.             ITransactionResource * This);
  367.         
  368.         END_INTERFACE
  369.     } ITransactionResourceVtbl;
  370.     interface ITransactionResource
  371.     {
  372.         CONST_VTBL struct ITransactionResourceVtbl *lpVtbl;
  373.     };
  374.     
  375. #ifdef COBJMACROS
  376. #define ITransactionResource_QueryInterface(This,riid,ppvObject)
  377.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  378. #define ITransactionResource_AddRef(This)
  379.     (This)->lpVtbl -> AddRef(This)
  380. #define ITransactionResource_Release(This)
  381.     (This)->lpVtbl -> Release(This)
  382. #define ITransactionResource_PrepareRequest(This,fRetaining,grfRM,fWantMoniker,fSinglePhase)
  383.     (This)->lpVtbl -> PrepareRequest(This,fRetaining,grfRM,fWantMoniker,fSinglePhase)
  384. #define ITransactionResource_CommitRequest(This,grfRM,pNewUOW)
  385.     (This)->lpVtbl -> CommitRequest(This,grfRM,pNewUOW)
  386. #define ITransactionResource_AbortRequest(This,pboidReason,fRetaining,pNewUOW)
  387.     (This)->lpVtbl -> AbortRequest(This,pboidReason,fRetaining,pNewUOW)
  388. #define ITransactionResource_TMDown(This)
  389.     (This)->lpVtbl -> TMDown(This)
  390. #endif /* COBJMACROS */
  391. #endif  /* C style interface */
  392. HRESULT STDMETHODCALLTYPE ITransactionResource_PrepareRequest_Proxy( 
  393.     ITransactionResource * This,
  394.     /* [in] */ BOOL fRetaining,
  395.     /* [in] */ DWORD grfRM,
  396.     /* [in] */ BOOL fWantMoniker,
  397.     /* [in] */ BOOL fSinglePhase);
  398. void __RPC_STUB ITransactionResource_PrepareRequest_Stub(
  399.     IRpcStubBuffer *This,
  400.     IRpcChannelBuffer *_pRpcChannelBuffer,
  401.     PRPC_MESSAGE _pRpcMessage,
  402.     DWORD *_pdwStubPhase);
  403. HRESULT STDMETHODCALLTYPE ITransactionResource_CommitRequest_Proxy( 
  404.     ITransactionResource * This,
  405.     /* [in] */ DWORD grfRM,
  406.     /* [unique][in] */ XACTUOW *pNewUOW);
  407. void __RPC_STUB ITransactionResource_CommitRequest_Stub(
  408.     IRpcStubBuffer *This,
  409.     IRpcChannelBuffer *_pRpcChannelBuffer,
  410.     PRPC_MESSAGE _pRpcMessage,
  411.     DWORD *_pdwStubPhase);
  412. HRESULT STDMETHODCALLTYPE ITransactionResource_AbortRequest_Proxy( 
  413.     ITransactionResource * This,
  414.     /* [unique][in] */ BOID *pboidReason,
  415.     /* [in] */ BOOL fRetaining,
  416.     /* [unique][in] */ XACTUOW *pNewUOW);
  417. void __RPC_STUB ITransactionResource_AbortRequest_Stub(
  418.     IRpcStubBuffer *This,
  419.     IRpcChannelBuffer *_pRpcChannelBuffer,
  420.     PRPC_MESSAGE _pRpcMessage,
  421.     DWORD *_pdwStubPhase);
  422. HRESULT STDMETHODCALLTYPE ITransactionResource_TMDown_Proxy( 
  423.     ITransactionResource * This);
  424. void __RPC_STUB ITransactionResource_TMDown_Stub(
  425.     IRpcStubBuffer *This,
  426.     IRpcChannelBuffer *_pRpcChannelBuffer,
  427.     PRPC_MESSAGE _pRpcMessage,
  428.     DWORD *_pdwStubPhase);
  429. #endif  /* __ITransactionResource_INTERFACE_DEFINED__ */
  430. #ifndef __ITransactionEnlistmentAsync_INTERFACE_DEFINED__
  431. #define __ITransactionEnlistmentAsync_INTERFACE_DEFINED__
  432. /* interface ITransactionEnlistmentAsync */
  433. /* [unique][uuid][object] */ 
  434. EXTERN_C const IID IID_ITransactionEnlistmentAsync;
  435. #if defined(__cplusplus) && !defined(CINTERFACE)
  436.     
  437.     MIDL_INTERFACE("0fb15081-af41-11ce-bd2b-204c4f4f5020")
  438.     ITransactionEnlistmentAsync : public IUnknown
  439.     {
  440.     public:
  441.         virtual HRESULT STDMETHODCALLTYPE PrepareRequestDone( 
  442.             /* [in] */ HRESULT hr,
  443.             /* [unique][in] */ IMoniker *pmk,
  444.             /* [unique][in] */ BOID *pboidReason) = 0;
  445.         
  446.         virtual HRESULT STDMETHODCALLTYPE CommitRequestDone( 
  447.             /* [in] */ HRESULT hr) = 0;
  448.         
  449.         virtual HRESULT STDMETHODCALLTYPE AbortRequestDone( 
  450.             /* [in] */ HRESULT hr) = 0;
  451.         
  452.     };
  453.     
  454. #else  /* C style interface */
  455.     typedef struct ITransactionEnlistmentAsyncVtbl
  456.     {
  457.         BEGIN_INTERFACE
  458.         
  459.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  460.             ITransactionEnlistmentAsync * This,
  461.             /* [in] */ REFIID riid,
  462.             /* [iid_is][out] */ void **ppvObject);
  463.         
  464.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  465.             ITransactionEnlistmentAsync * This);
  466.         
  467.         ULONG ( STDMETHODCALLTYPE *Release )( 
  468.             ITransactionEnlistmentAsync * This);
  469.         
  470.         HRESULT ( STDMETHODCALLTYPE *PrepareRequestDone )( 
  471.             ITransactionEnlistmentAsync * This,
  472.             /* [in] */ HRESULT hr,
  473.             /* [unique][in] */ IMoniker *pmk,
  474.             /* [unique][in] */ BOID *pboidReason);
  475.         
  476.         HRESULT ( STDMETHODCALLTYPE *CommitRequestDone )( 
  477.             ITransactionEnlistmentAsync * This,
  478.             /* [in] */ HRESULT hr);
  479.         
  480.         HRESULT ( STDMETHODCALLTYPE *AbortRequestDone )( 
  481.             ITransactionEnlistmentAsync * This,
  482.             /* [in] */ HRESULT hr);
  483.         
  484.         END_INTERFACE
  485.     } ITransactionEnlistmentAsyncVtbl;
  486.     interface ITransactionEnlistmentAsync
  487.     {
  488.         CONST_VTBL struct ITransactionEnlistmentAsyncVtbl *lpVtbl;
  489.     };
  490.     
  491. #ifdef COBJMACROS
  492. #define ITransactionEnlistmentAsync_QueryInterface(This,riid,ppvObject)
  493.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  494. #define ITransactionEnlistmentAsync_AddRef(This)
  495.     (This)->lpVtbl -> AddRef(This)
  496. #define ITransactionEnlistmentAsync_Release(This)
  497.     (This)->lpVtbl -> Release(This)
  498. #define ITransactionEnlistmentAsync_PrepareRequestDone(This,hr,pmk,pboidReason)
  499.     (This)->lpVtbl -> PrepareRequestDone(This,hr,pmk,pboidReason)
  500. #define ITransactionEnlistmentAsync_CommitRequestDone(This,hr)
  501.     (This)->lpVtbl -> CommitRequestDone(This,hr)
  502. #define ITransactionEnlistmentAsync_AbortRequestDone(This,hr)
  503.     (This)->lpVtbl -> AbortRequestDone(This,hr)
  504. #endif /* COBJMACROS */
  505. #endif  /* C style interface */
  506. HRESULT STDMETHODCALLTYPE ITransactionEnlistmentAsync_PrepareRequestDone_Proxy( 
  507.     ITransactionEnlistmentAsync * This,
  508.     /* [in] */ HRESULT hr,
  509.     /* [unique][in] */ IMoniker *pmk,
  510.     /* [unique][in] */ BOID *pboidReason);
  511. void __RPC_STUB ITransactionEnlistmentAsync_PrepareRequestDone_Stub(
  512.     IRpcStubBuffer *This,
  513.     IRpcChannelBuffer *_pRpcChannelBuffer,
  514.     PRPC_MESSAGE _pRpcMessage,
  515.     DWORD *_pdwStubPhase);
  516. HRESULT STDMETHODCALLTYPE ITransactionEnlistmentAsync_CommitRequestDone_Proxy( 
  517.     ITransactionEnlistmentAsync * This,
  518.     /* [in] */ HRESULT hr);
  519. void __RPC_STUB ITransactionEnlistmentAsync_CommitRequestDone_Stub(
  520.     IRpcStubBuffer *This,
  521.     IRpcChannelBuffer *_pRpcChannelBuffer,
  522.     PRPC_MESSAGE _pRpcMessage,
  523.     DWORD *_pdwStubPhase);
  524. HRESULT STDMETHODCALLTYPE ITransactionEnlistmentAsync_AbortRequestDone_Proxy( 
  525.     ITransactionEnlistmentAsync * This,
  526.     /* [in] */ HRESULT hr);
  527. void __RPC_STUB ITransactionEnlistmentAsync_AbortRequestDone_Stub(
  528.     IRpcStubBuffer *This,
  529.     IRpcChannelBuffer *_pRpcChannelBuffer,
  530.     PRPC_MESSAGE _pRpcMessage,
  531.     DWORD *_pdwStubPhase);
  532. #endif  /* __ITransactionEnlistmentAsync_INTERFACE_DEFINED__ */
  533. #ifndef __ITransactionLastEnlistmentAsync_INTERFACE_DEFINED__
  534. #define __ITransactionLastEnlistmentAsync_INTERFACE_DEFINED__
  535. /* interface ITransactionLastEnlistmentAsync */
  536. /* [unique][uuid][object] */ 
  537. EXTERN_C const IID IID_ITransactionLastEnlistmentAsync;
  538. #if defined(__cplusplus) && !defined(CINTERFACE)
  539.     
  540.     MIDL_INTERFACE("C82BD533-5B30-11d3-8A91-00C04F79EB6D")
  541.     ITransactionLastEnlistmentAsync : public IUnknown
  542.     {
  543.     public:
  544.         virtual HRESULT STDMETHODCALLTYPE TransactionOutcome( 
  545.             /* [in] */ XACTSTAT XactStat,
  546.             /* [unique][in] */ BOID *pboidReason) = 0;
  547.         
  548.     };
  549.     
  550. #else  /* C style interface */
  551.     typedef struct ITransactionLastEnlistmentAsyncVtbl
  552.     {
  553.         BEGIN_INTERFACE
  554.         
  555.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  556.             ITransactionLastEnlistmentAsync * This,
  557.             /* [in] */ REFIID riid,
  558.             /* [iid_is][out] */ void **ppvObject);
  559.         
  560.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  561.             ITransactionLastEnlistmentAsync * This);
  562.         
  563.         ULONG ( STDMETHODCALLTYPE *Release )( 
  564.             ITransactionLastEnlistmentAsync * This);
  565.         
  566.         HRESULT ( STDMETHODCALLTYPE *TransactionOutcome )( 
  567.             ITransactionLastEnlistmentAsync * This,
  568.             /* [in] */ XACTSTAT XactStat,
  569.             /* [unique][in] */ BOID *pboidReason);
  570.         
  571.         END_INTERFACE
  572.     } ITransactionLastEnlistmentAsyncVtbl;
  573.     interface ITransactionLastEnlistmentAsync
  574.     {
  575.         CONST_VTBL struct ITransactionLastEnlistmentAsyncVtbl *lpVtbl;
  576.     };
  577.     
  578. #ifdef COBJMACROS
  579. #define ITransactionLastEnlistmentAsync_QueryInterface(This,riid,ppvObject)
  580.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  581. #define ITransactionLastEnlistmentAsync_AddRef(This)
  582.     (This)->lpVtbl -> AddRef(This)
  583. #define ITransactionLastEnlistmentAsync_Release(This)
  584.     (This)->lpVtbl -> Release(This)
  585. #define ITransactionLastEnlistmentAsync_TransactionOutcome(This,XactStat,pboidReason)
  586.     (This)->lpVtbl -> TransactionOutcome(This,XactStat,pboidReason)
  587. #endif /* COBJMACROS */
  588. #endif  /* C style interface */
  589. HRESULT STDMETHODCALLTYPE ITransactionLastEnlistmentAsync_TransactionOutcome_Proxy( 
  590.     ITransactionLastEnlistmentAsync * This,
  591.     /* [in] */ XACTSTAT XactStat,
  592.     /* [unique][in] */ BOID *pboidReason);
  593. void __RPC_STUB ITransactionLastEnlistmentAsync_TransactionOutcome_Stub(
  594.     IRpcStubBuffer *This,
  595.     IRpcChannelBuffer *_pRpcChannelBuffer,
  596.     PRPC_MESSAGE _pRpcMessage,
  597.     DWORD *_pdwStubPhase);
  598. #endif  /* __ITransactionLastEnlistmentAsync_INTERFACE_DEFINED__ */
  599. #ifndef __ITransactionExportFactory_INTERFACE_DEFINED__
  600. #define __ITransactionExportFactory_INTERFACE_DEFINED__
  601. /* interface ITransactionExportFactory */
  602. /* [unique][uuid][object] */ 
  603. EXTERN_C const IID IID_ITransactionExportFactory;
  604. #if defined(__cplusplus) && !defined(CINTERFACE)
  605.     
  606.     MIDL_INTERFACE("E1CF9B53-8745-11ce-A9BA-00AA006C3706")
  607.     ITransactionExportFactory : public IUnknown
  608.     {
  609.     public:
  610.         virtual HRESULT STDMETHODCALLTYPE GetRemoteClassId( 
  611.             /* [out] */ CLSID *pclsid) = 0;
  612.         
  613.         virtual HRESULT STDMETHODCALLTYPE Create( 
  614.             /* [in] */ ULONG cbWhereabouts,
  615.             /* [size_is][in] */ byte *rgbWhereabouts,
  616.             /* [out] */ ITransactionExport **ppExport) = 0;
  617.         
  618.     };
  619.     
  620. #else  /* C style interface */
  621.     typedef struct ITransactionExportFactoryVtbl
  622.     {
  623.         BEGIN_INTERFACE
  624.         
  625.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  626.             ITransactionExportFactory * This,
  627.             /* [in] */ REFIID riid,
  628.             /* [iid_is][out] */ void **ppvObject);
  629.         
  630.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  631.             ITransactionExportFactory * This);
  632.         
  633.         ULONG ( STDMETHODCALLTYPE *Release )( 
  634.             ITransactionExportFactory * This);
  635.         
  636.         HRESULT ( STDMETHODCALLTYPE *GetRemoteClassId )( 
  637.             ITransactionExportFactory * This,
  638.             /* [out] */ CLSID *pclsid);
  639.         
  640.         HRESULT ( STDMETHODCALLTYPE *Create )( 
  641.             ITransactionExportFactory * This,
  642.             /* [in] */ ULONG cbWhereabouts,
  643.             /* [size_is][in] */ byte *rgbWhereabouts,
  644.             /* [out] */ ITransactionExport **ppExport);
  645.         
  646.         END_INTERFACE
  647.     } ITransactionExportFactoryVtbl;
  648.     interface ITransactionExportFactory
  649.     {
  650.         CONST_VTBL struct ITransactionExportFactoryVtbl *lpVtbl;
  651.     };
  652.     
  653. #ifdef COBJMACROS
  654. #define ITransactionExportFactory_QueryInterface(This,riid,ppvObject)
  655.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  656. #define ITransactionExportFactory_AddRef(This)
  657.     (This)->lpVtbl -> AddRef(This)
  658. #define ITransactionExportFactory_Release(This)
  659.     (This)->lpVtbl -> Release(This)
  660. #define ITransactionExportFactory_GetRemoteClassId(This,pclsid)
  661.     (This)->lpVtbl -> GetRemoteClassId(This,pclsid)
  662. #define ITransactionExportFactory_Create(This,cbWhereabouts,rgbWhereabouts,ppExport)
  663.     (This)->lpVtbl -> Create(This,cbWhereabouts,rgbWhereabouts,ppExport)
  664. #endif /* COBJMACROS */
  665. #endif  /* C style interface */
  666. HRESULT STDMETHODCALLTYPE ITransactionExportFactory_GetRemoteClassId_Proxy( 
  667.     ITransactionExportFactory * This,
  668.     /* [out] */ CLSID *pclsid);
  669. void __RPC_STUB ITransactionExportFactory_GetRemoteClassId_Stub(
  670.     IRpcStubBuffer *This,
  671.     IRpcChannelBuffer *_pRpcChannelBuffer,
  672.     PRPC_MESSAGE _pRpcMessage,
  673.     DWORD *_pdwStubPhase);
  674. HRESULT STDMETHODCALLTYPE ITransactionExportFactory_Create_Proxy( 
  675.     ITransactionExportFactory * This,
  676.     /* [in] */ ULONG cbWhereabouts,
  677.     /* [size_is][in] */ byte *rgbWhereabouts,
  678.     /* [out] */ ITransactionExport **ppExport);
  679. void __RPC_STUB ITransactionExportFactory_Create_Stub(
  680.     IRpcStubBuffer *This,
  681.     IRpcChannelBuffer *_pRpcChannelBuffer,
  682.     PRPC_MESSAGE _pRpcMessage,
  683.     DWORD *_pdwStubPhase);
  684. #endif  /* __ITransactionExportFactory_INTERFACE_DEFINED__ */
  685. #ifndef __ITransactionImportWhereabouts_INTERFACE_DEFINED__
  686. #define __ITransactionImportWhereabouts_INTERFACE_DEFINED__
  687. /* interface ITransactionImportWhereabouts */
  688. /* [unique][uuid][object] */ 
  689. EXTERN_C const IID IID_ITransactionImportWhereabouts;
  690. #if defined(__cplusplus) && !defined(CINTERFACE)
  691.     
  692.     MIDL_INTERFACE("0141fda4-8fc0-11ce-bd18-204c4f4f5020")
  693.     ITransactionImportWhereabouts : public IUnknown
  694.     {
  695.     public:
  696.         virtual HRESULT STDMETHODCALLTYPE GetWhereaboutsSize( 
  697.             /* [out] */ ULONG *pcbWhereabouts) = 0;
  698.         
  699.         virtual /* [local] */ HRESULT STDMETHODCALLTYPE GetWhereabouts( 
  700.             /* [in] */ ULONG cbWhereabouts,
  701.             /* [size_is][out] */ byte *rgbWhereabouts,
  702.             /* [out] */ ULONG *pcbUsed) = 0;
  703.         
  704.     };
  705.     
  706. #else  /* C style interface */
  707.     typedef struct ITransactionImportWhereaboutsVtbl
  708.     {
  709.         BEGIN_INTERFACE
  710.         
  711.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  712.             ITransactionImportWhereabouts * This,
  713.             /* [in] */ REFIID riid,
  714.             /* [iid_is][out] */ void **ppvObject);
  715.         
  716.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  717.             ITransactionImportWhereabouts * This);
  718.         
  719.         ULONG ( STDMETHODCALLTYPE *Release )( 
  720.             ITransactionImportWhereabouts * This);
  721.         
  722.         HRESULT ( STDMETHODCALLTYPE *GetWhereaboutsSize )( 
  723.             ITransactionImportWhereabouts * This,
  724.             /* [out] */ ULONG *pcbWhereabouts);
  725.         
  726.         /* [local] */ HRESULT ( STDMETHODCALLTYPE *GetWhereabouts )( 
  727.             ITransactionImportWhereabouts * This,
  728.             /* [in] */ ULONG cbWhereabouts,
  729.             /* [size_is][out] */ byte *rgbWhereabouts,
  730.             /* [out] */ ULONG *pcbUsed);
  731.         
  732.         END_INTERFACE
  733.     } ITransactionImportWhereaboutsVtbl;
  734.     interface ITransactionImportWhereabouts
  735.     {
  736.         CONST_VTBL struct ITransactionImportWhereaboutsVtbl *lpVtbl;
  737.     };
  738.     
  739. #ifdef COBJMACROS
  740. #define ITransactionImportWhereabouts_QueryInterface(This,riid,ppvObject)
  741.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  742. #define ITransactionImportWhereabouts_AddRef(This)
  743.     (This)->lpVtbl -> AddRef(This)
  744. #define ITransactionImportWhereabouts_Release(This)
  745.     (This)->lpVtbl -> Release(This)
  746. #define ITransactionImportWhereabouts_GetWhereaboutsSize(This,pcbWhereabouts)
  747.     (This)->lpVtbl -> GetWhereaboutsSize(This,pcbWhereabouts)
  748. #define ITransactionImportWhereabouts_GetWhereabouts(This,cbWhereabouts,rgbWhereabouts,pcbUsed)
  749.     (This)->lpVtbl -> GetWhereabouts(This,cbWhereabouts,rgbWhereabouts,pcbUsed)
  750. #endif /* COBJMACROS */
  751. #endif  /* C style interface */
  752. HRESULT STDMETHODCALLTYPE ITransactionImportWhereabouts_GetWhereaboutsSize_Proxy( 
  753.     ITransactionImportWhereabouts * This,
  754.     /* [out] */ ULONG *pcbWhereabouts);
  755. void __RPC_STUB ITransactionImportWhereabouts_GetWhereaboutsSize_Stub(
  756.     IRpcStubBuffer *This,
  757.     IRpcChannelBuffer *_pRpcChannelBuffer,
  758.     PRPC_MESSAGE _pRpcMessage,
  759.     DWORD *_pdwStubPhase);
  760. /* [call_as] */ HRESULT STDMETHODCALLTYPE ITransactionImportWhereabouts_RemoteGetWhereabouts_Proxy( 
  761.     ITransactionImportWhereabouts * This,
  762.     /* [out] */ ULONG *pcbUsed,
  763.     /* [in] */ ULONG cbWhereabouts,
  764.     /* [length_is][size_is][out] */ byte *rgbWhereabouts);
  765. void __RPC_STUB ITransactionImportWhereabouts_RemoteGetWhereabouts_Stub(
  766.     IRpcStubBuffer *This,
  767.     IRpcChannelBuffer *_pRpcChannelBuffer,
  768.     PRPC_MESSAGE _pRpcMessage,
  769.     DWORD *_pdwStubPhase);
  770. #endif  /* __ITransactionImportWhereabouts_INTERFACE_DEFINED__ */
  771. #ifndef __ITransactionExport_INTERFACE_DEFINED__
  772. #define __ITransactionExport_INTERFACE_DEFINED__
  773. /* interface ITransactionExport */
  774. /* [unique][uuid][object] */ 
  775. EXTERN_C const IID IID_ITransactionExport;
  776. #if defined(__cplusplus) && !defined(CINTERFACE)
  777.     
  778.     MIDL_INTERFACE("0141fda5-8fc0-11ce-bd18-204c4f4f5020")
  779.     ITransactionExport : public IUnknown
  780.     {
  781.     public:
  782.         virtual HRESULT STDMETHODCALLTYPE Export( 
  783.             /* [in] */ IUnknown *punkTransaction,
  784.             /* [out] */ ULONG *pcbTransactionCookie) = 0;
  785.         
  786.         virtual /* [local] */ HRESULT STDMETHODCALLTYPE GetTransactionCookie( 
  787.             /* [in] */ IUnknown *punkTransaction,
  788.             /* [in] */ ULONG cbTransactionCookie,
  789.             /* [size_is][out] */ byte *rgbTransactionCookie,
  790.             /* [out] */ ULONG *pcbUsed) = 0;
  791.         
  792.     };
  793.     
  794. #else  /* C style interface */
  795.     typedef struct ITransactionExportVtbl
  796.     {
  797.         BEGIN_INTERFACE
  798.         
  799.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  800.             ITransactionExport * This,
  801.             /* [in] */ REFIID riid,
  802.             /* [iid_is][out] */ void **ppvObject);
  803.         
  804.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  805.             ITransactionExport * This);
  806.         
  807.         ULONG ( STDMETHODCALLTYPE *Release )( 
  808.             ITransactionExport * This);
  809.         
  810.         HRESULT ( STDMETHODCALLTYPE *Export )( 
  811.             ITransactionExport * This,
  812.             /* [in] */ IUnknown *punkTransaction,
  813.             /* [out] */ ULONG *pcbTransactionCookie);
  814.         
  815.         /* [local] */ HRESULT ( STDMETHODCALLTYPE *GetTransactionCookie )( 
  816.             ITransactionExport * This,
  817.             /* [in] */ IUnknown *punkTransaction,
  818.             /* [in] */ ULONG cbTransactionCookie,
  819.             /* [size_is][out] */ byte *rgbTransactionCookie,
  820.             /* [out] */ ULONG *pcbUsed);
  821.         
  822.         END_INTERFACE
  823.     } ITransactionExportVtbl;
  824.     interface ITransactionExport
  825.     {
  826.         CONST_VTBL struct ITransactionExportVtbl *lpVtbl;
  827.     };
  828.     
  829. #ifdef COBJMACROS
  830. #define ITransactionExport_QueryInterface(This,riid,ppvObject)
  831.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  832. #define ITransactionExport_AddRef(This)
  833.     (This)->lpVtbl -> AddRef(This)
  834. #define ITransactionExport_Release(This)
  835.     (This)->lpVtbl -> Release(This)
  836. #define ITransactionExport_Export(This,punkTransaction,pcbTransactionCookie)
  837.     (This)->lpVtbl -> Export(This,punkTransaction,pcbTransactionCookie)
  838. #define ITransactionExport_GetTransactionCookie(This,punkTransaction,cbTransactionCookie,rgbTransactionCookie,pcbUsed)
  839.     (This)->lpVtbl -> GetTransactionCookie(This,punkTransaction,cbTransactionCookie,rgbTransactionCookie,pcbUsed)
  840. #endif /* COBJMACROS */
  841. #endif  /* C style interface */
  842. HRESULT STDMETHODCALLTYPE ITransactionExport_Export_Proxy( 
  843.     ITransactionExport * This,
  844.     /* [in] */ IUnknown *punkTransaction,
  845.     /* [out] */ ULONG *pcbTransactionCookie);
  846. void __RPC_STUB ITransactionExport_Export_Stub(
  847.     IRpcStubBuffer *This,
  848.     IRpcChannelBuffer *_pRpcChannelBuffer,
  849.     PRPC_MESSAGE _pRpcMessage,
  850.     DWORD *_pdwStubPhase);
  851. /* [call_as] */ HRESULT STDMETHODCALLTYPE ITransactionExport_RemoteGetTransactionCookie_Proxy( 
  852.     ITransactionExport * This,
  853.     /* [in] */ IUnknown *punkTransaction,
  854.     /* [out] */ ULONG *pcbUsed,
  855.     /* [in] */ ULONG cbTransactionCookie,
  856.     /* [length_is][size_is][out] */ byte *rgbTransactionCookie);
  857. void __RPC_STUB ITransactionExport_RemoteGetTransactionCookie_Stub(
  858.     IRpcStubBuffer *This,
  859.     IRpcChannelBuffer *_pRpcChannelBuffer,
  860.     PRPC_MESSAGE _pRpcMessage,
  861.     DWORD *_pdwStubPhase);
  862. #endif  /* __ITransactionExport_INTERFACE_DEFINED__ */
  863. #ifndef __ITransactionImport_INTERFACE_DEFINED__
  864. #define __ITransactionImport_INTERFACE_DEFINED__
  865. /* interface ITransactionImport */
  866. /* [unique][uuid][object] */ 
  867. EXTERN_C const IID IID_ITransactionImport;
  868. #if defined(__cplusplus) && !defined(CINTERFACE)
  869.     
  870.     MIDL_INTERFACE("E1CF9B5A-8745-11ce-A9BA-00AA006C3706")
  871.     ITransactionImport : public IUnknown
  872.     {
  873.     public:
  874.         virtual HRESULT STDMETHODCALLTYPE Import( 
  875.             /* [in] */ ULONG cbTransactionCookie,
  876.             /* [size_is][in] */ byte *rgbTransactionCookie,
  877.             /* [in] */ IID *piid,
  878.             /* [iid_is][out] */ void **ppvTransaction) = 0;
  879.         
  880.     };
  881.     
  882. #else  /* C style interface */
  883.     typedef struct ITransactionImportVtbl
  884.     {
  885.         BEGIN_INTERFACE
  886.         
  887.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  888.             ITransactionImport * This,
  889.             /* [in] */ REFIID riid,
  890.             /* [iid_is][out] */ void **ppvObject);
  891.         
  892.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  893.             ITransactionImport * This);
  894.         
  895.         ULONG ( STDMETHODCALLTYPE *Release )( 
  896.             ITransactionImport * This);
  897.         
  898.         HRESULT ( STDMETHODCALLTYPE *Import )( 
  899.             ITransactionImport * This,
  900.             /* [in] */ ULONG cbTransactionCookie,
  901.             /* [size_is][in] */ byte *rgbTransactionCookie,
  902.             /* [in] */ IID *piid,
  903.             /* [iid_is][out] */ void **ppvTransaction);
  904.         
  905.         END_INTERFACE
  906.     } ITransactionImportVtbl;
  907.     interface ITransactionImport
  908.     {
  909.         CONST_VTBL struct ITransactionImportVtbl *lpVtbl;
  910.     };
  911.     
  912. #ifdef COBJMACROS
  913. #define ITransactionImport_QueryInterface(This,riid,ppvObject)
  914.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  915. #define ITransactionImport_AddRef(This)
  916.     (This)->lpVtbl -> AddRef(This)
  917. #define ITransactionImport_Release(This)
  918.     (This)->lpVtbl -> Release(This)
  919. #define ITransactionImport_Import(This,cbTransactionCookie,rgbTransactionCookie,piid,ppvTransaction)
  920.     (This)->lpVtbl -> Import(This,cbTransactionCookie,rgbTransactionCookie,piid,ppvTransaction)
  921. #endif /* COBJMACROS */
  922. #endif  /* C style interface */
  923. HRESULT STDMETHODCALLTYPE ITransactionImport_Import_Proxy( 
  924.     ITransactionImport * This,
  925.     /* [in] */ ULONG cbTransactionCookie,
  926.     /* [size_is][in] */ byte *rgbTransactionCookie,
  927.     /* [in] */ IID *piid,
  928.     /* [iid_is][out] */ void **ppvTransaction);
  929. void __RPC_STUB ITransactionImport_Import_Stub(
  930.     IRpcStubBuffer *This,
  931.     IRpcChannelBuffer *_pRpcChannelBuffer,
  932.     PRPC_MESSAGE _pRpcMessage,
  933.     DWORD *_pdwStubPhase);
  934. #endif  /* __ITransactionImport_INTERFACE_DEFINED__ */
  935. #ifndef __ITipTransaction_INTERFACE_DEFINED__
  936. #define __ITipTransaction_INTERFACE_DEFINED__
  937. /* interface ITipTransaction */
  938. /* [unique][uuid][object] */ 
  939. EXTERN_C const IID IID_ITipTransaction;
  940. #if defined(__cplusplus) && !defined(CINTERFACE)
  941.     
  942.     MIDL_INTERFACE("17CF72D0-BAC5-11d1-B1BF-00C04FC2F3EF")
  943.     ITipTransaction : public IUnknown
  944.     {
  945.     public:
  946.         virtual HRESULT STDMETHODCALLTYPE Push( 
  947.             /* [in] */ char *i_pszRemoteTmUrl,
  948.             /* [out] */ char **o_ppszRemoteTxUrl) = 0;
  949.         
  950.         virtual HRESULT STDMETHODCALLTYPE GetTransactionUrl( 
  951.             /* [out] */ char **o_ppszLocalTxUrl) = 0;
  952.         
  953.     };
  954.     
  955. #else  /* C style interface */
  956.     typedef struct ITipTransactionVtbl
  957.     {
  958.         BEGIN_INTERFACE
  959.         
  960.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  961.             ITipTransaction * This,
  962.             /* [in] */ REFIID riid,
  963.             /* [iid_is][out] */ void **ppvObject);
  964.         
  965.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  966.             ITipTransaction * This);
  967.         
  968.         ULONG ( STDMETHODCALLTYPE *Release )( 
  969.             ITipTransaction * This);
  970.         
  971.         HRESULT ( STDMETHODCALLTYPE *Push )( 
  972.             ITipTransaction * This,
  973.             /* [in] */ char *i_pszRemoteTmUrl,
  974.             /* [out] */ char **o_ppszRemoteTxUrl);
  975.         
  976.         HRESULT ( STDMETHODCALLTYPE *GetTransactionUrl )( 
  977.             ITipTransaction * This,
  978.             /* [out] */ char **o_ppszLocalTxUrl);
  979.         
  980.         END_INTERFACE
  981.     } ITipTransactionVtbl;
  982.     interface ITipTransaction
  983.     {
  984.         CONST_VTBL struct ITipTransactionVtbl *lpVtbl;
  985.     };
  986.     
  987. #ifdef COBJMACROS
  988. #define ITipTransaction_QueryInterface(This,riid,ppvObject)
  989.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  990. #define ITipTransaction_AddRef(This)
  991.     (This)->lpVtbl -> AddRef(This)
  992. #define ITipTransaction_Release(This)
  993.     (This)->lpVtbl -> Release(This)
  994. #define ITipTransaction_Push(This,i_pszRemoteTmUrl,o_ppszRemoteTxUrl)
  995.     (This)->lpVtbl -> Push(This,i_pszRemoteTmUrl,o_ppszRemoteTxUrl)
  996. #define ITipTransaction_GetTransactionUrl(This,o_ppszLocalTxUrl)
  997.     (This)->lpVtbl -> GetTransactionUrl(This,o_ppszLocalTxUrl)
  998. #endif /* COBJMACROS */
  999. #endif  /* C style interface */
  1000. HRESULT STDMETHODCALLTYPE ITipTransaction_Push_Proxy( 
  1001.     ITipTransaction * This,
  1002.     /* [in] */ char *i_pszRemoteTmUrl,
  1003.     /* [out] */ char **o_ppszRemoteTxUrl);
  1004. void __RPC_STUB ITipTransaction_Push_Stub(
  1005.     IRpcStubBuffer *This,
  1006.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1007.     PRPC_MESSAGE _pRpcMessage,
  1008.     DWORD *_pdwStubPhase);
  1009. HRESULT STDMETHODCALLTYPE ITipTransaction_GetTransactionUrl_Proxy( 
  1010.     ITipTransaction * This,
  1011.     /* [out] */ char **o_ppszLocalTxUrl);
  1012. void __RPC_STUB ITipTransaction_GetTransactionUrl_Stub(
  1013.     IRpcStubBuffer *This,
  1014.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1015.     PRPC_MESSAGE _pRpcMessage,
  1016.     DWORD *_pdwStubPhase);
  1017. #endif  /* __ITipTransaction_INTERFACE_DEFINED__ */
  1018. #ifndef __ITipHelper_INTERFACE_DEFINED__
  1019. #define __ITipHelper_INTERFACE_DEFINED__
  1020. /* interface ITipHelper */
  1021. /* [unique][uuid][object] */ 
  1022. EXTERN_C const IID IID_ITipHelper;
  1023. #if defined(__cplusplus) && !defined(CINTERFACE)
  1024.     
  1025.     MIDL_INTERFACE("17CF72D1-BAC5-11d1-B1BF-00C04FC2F3EF")
  1026.     ITipHelper : public IUnknown
  1027.     {
  1028.     public:
  1029.         virtual HRESULT STDMETHODCALLTYPE Pull( 
  1030.             /* [in] */ char *i_pszTxUrl,
  1031.             /* [out] */ ITransaction **o_ppITransaction) = 0;
  1032.         
  1033.         virtual HRESULT STDMETHODCALLTYPE PullAsync( 
  1034.             /* [in] */ char *i_pszTxUrl,
  1035.             /* [in] */ ITipPullSink *i_pTipPullSink,
  1036.             /* [out] */ ITransaction **o_ppITransaction) = 0;
  1037.         
  1038.         virtual HRESULT STDMETHODCALLTYPE GetLocalTmUrl( 
  1039.             /* [out] */ char **o_ppszLocalTmUrl) = 0;
  1040.         
  1041.     };
  1042.     
  1043. #else  /* C style interface */
  1044.     typedef struct ITipHelperVtbl
  1045.     {
  1046.         BEGIN_INTERFACE
  1047.         
  1048.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  1049.             ITipHelper * This,
  1050.             /* [in] */ REFIID riid,
  1051.             /* [iid_is][out] */ void **ppvObject);
  1052.         
  1053.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  1054.             ITipHelper * This);
  1055.         
  1056.         ULONG ( STDMETHODCALLTYPE *Release )( 
  1057.             ITipHelper * This);
  1058.         
  1059.         HRESULT ( STDMETHODCALLTYPE *Pull )( 
  1060.             ITipHelper * This,
  1061.             /* [in] */ char *i_pszTxUrl,
  1062.             /* [out] */ ITransaction **o_ppITransaction);
  1063.         
  1064.         HRESULT ( STDMETHODCALLTYPE *PullAsync )( 
  1065.             ITipHelper * This,
  1066.             /* [in] */ char *i_pszTxUrl,
  1067.             /* [in] */ ITipPullSink *i_pTipPullSink,
  1068.             /* [out] */ ITransaction **o_ppITransaction);
  1069.         
  1070.         HRESULT ( STDMETHODCALLTYPE *GetLocalTmUrl )( 
  1071.             ITipHelper * This,
  1072.             /* [out] */ char **o_ppszLocalTmUrl);
  1073.         
  1074.         END_INTERFACE
  1075.     } ITipHelperVtbl;
  1076.     interface ITipHelper
  1077.     {
  1078.         CONST_VTBL struct ITipHelperVtbl *lpVtbl;
  1079.     };
  1080.     
  1081. #ifdef COBJMACROS
  1082. #define ITipHelper_QueryInterface(This,riid,ppvObject)
  1083.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1084. #define ITipHelper_AddRef(This)
  1085.     (This)->lpVtbl -> AddRef(This)
  1086. #define ITipHelper_Release(This)
  1087.     (This)->lpVtbl -> Release(This)
  1088. #define ITipHelper_Pull(This,i_pszTxUrl,o_ppITransaction)
  1089.     (This)->lpVtbl -> Pull(This,i_pszTxUrl,o_ppITransaction)
  1090. #define ITipHelper_PullAsync(This,i_pszTxUrl,i_pTipPullSink,o_ppITransaction)
  1091.     (This)->lpVtbl -> PullAsync(This,i_pszTxUrl,i_pTipPullSink,o_ppITransaction)
  1092. #define ITipHelper_GetLocalTmUrl(This,o_ppszLocalTmUrl)
  1093.     (This)->lpVtbl -> GetLocalTmUrl(This,o_ppszLocalTmUrl)
  1094. #endif /* COBJMACROS */
  1095. #endif  /* C style interface */
  1096. HRESULT STDMETHODCALLTYPE ITipHelper_Pull_Proxy( 
  1097.     ITipHelper * This,
  1098.     /* [in] */ char *i_pszTxUrl,
  1099.     /* [out] */ ITransaction **o_ppITransaction);
  1100. void __RPC_STUB ITipHelper_Pull_Stub(
  1101.     IRpcStubBuffer *This,
  1102.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1103.     PRPC_MESSAGE _pRpcMessage,
  1104.     DWORD *_pdwStubPhase);
  1105. HRESULT STDMETHODCALLTYPE ITipHelper_PullAsync_Proxy( 
  1106.     ITipHelper * This,
  1107.     /* [in] */ char *i_pszTxUrl,
  1108.     /* [in] */ ITipPullSink *i_pTipPullSink,
  1109.     /* [out] */ ITransaction **o_ppITransaction);
  1110. void __RPC_STUB ITipHelper_PullAsync_Stub(
  1111.     IRpcStubBuffer *This,
  1112.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1113.     PRPC_MESSAGE _pRpcMessage,
  1114.     DWORD *_pdwStubPhase);
  1115. HRESULT STDMETHODCALLTYPE ITipHelper_GetLocalTmUrl_Proxy( 
  1116.     ITipHelper * This,
  1117.     /* [out] */ char **o_ppszLocalTmUrl);
  1118. void __RPC_STUB ITipHelper_GetLocalTmUrl_Stub(
  1119.     IRpcStubBuffer *This,
  1120.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1121.     PRPC_MESSAGE _pRpcMessage,
  1122.     DWORD *_pdwStubPhase);
  1123. #endif  /* __ITipHelper_INTERFACE_DEFINED__ */
  1124. #ifndef __ITipPullSink_INTERFACE_DEFINED__
  1125. #define __ITipPullSink_INTERFACE_DEFINED__
  1126. /* interface ITipPullSink */
  1127. /* [unique][uuid][object] */ 
  1128. EXTERN_C const IID IID_ITipPullSink;
  1129. #if defined(__cplusplus) && !defined(CINTERFACE)
  1130.     
  1131.     MIDL_INTERFACE("17CF72D2-BAC5-11d1-B1BF-00C04FC2F3EF")
  1132.     ITipPullSink : public IUnknown
  1133.     {
  1134.     public:
  1135.         virtual HRESULT STDMETHODCALLTYPE PullComplete( 
  1136.             /* [in] */ HRESULT i_hrPull) = 0;
  1137.         
  1138.     };
  1139.     
  1140. #else  /* C style interface */
  1141.     typedef struct ITipPullSinkVtbl
  1142.     {
  1143.         BEGIN_INTERFACE
  1144.         
  1145.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  1146.             ITipPullSink * This,
  1147.             /* [in] */ REFIID riid,
  1148.             /* [iid_is][out] */ void **ppvObject);
  1149.         
  1150.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  1151.             ITipPullSink * This);
  1152.         
  1153.         ULONG ( STDMETHODCALLTYPE *Release )( 
  1154.             ITipPullSink * This);
  1155.         
  1156.         HRESULT ( STDMETHODCALLTYPE *PullComplete )( 
  1157.             ITipPullSink * This,
  1158.             /* [in] */ HRESULT i_hrPull);
  1159.         
  1160.         END_INTERFACE
  1161.     } ITipPullSinkVtbl;
  1162.     interface ITipPullSink
  1163.     {
  1164.         CONST_VTBL struct ITipPullSinkVtbl *lpVtbl;
  1165.     };
  1166.     
  1167. #ifdef COBJMACROS
  1168. #define ITipPullSink_QueryInterface(This,riid,ppvObject)
  1169.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1170. #define ITipPullSink_AddRef(This)
  1171.     (This)->lpVtbl -> AddRef(This)
  1172. #define ITipPullSink_Release(This)
  1173.     (This)->lpVtbl -> Release(This)
  1174. #define ITipPullSink_PullComplete(This,i_hrPull)
  1175.     (This)->lpVtbl -> PullComplete(This,i_hrPull)
  1176. #endif /* COBJMACROS */
  1177. #endif  /* C style interface */
  1178. HRESULT STDMETHODCALLTYPE ITipPullSink_PullComplete_Proxy( 
  1179.     ITipPullSink * This,
  1180.     /* [in] */ HRESULT i_hrPull);
  1181. void __RPC_STUB ITipPullSink_PullComplete_Stub(
  1182.     IRpcStubBuffer *This,
  1183.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1184.     PRPC_MESSAGE _pRpcMessage,
  1185.     DWORD *_pdwStubPhase);
  1186. #endif  /* __ITipPullSink_INTERFACE_DEFINED__ */
  1187. /* interface __MIDL_itf_txcoord_0108 */
  1188. /* [local] */ 
  1189. #if _MSC_VER < 1100 || !defined(__cplusplus)
  1190. DEFINE_GUID(IID_ITransactionResourceAsync, 0x69E971F0, 0x23CE, 0x11cf, 0xAD, 0x60, 0x00, 0xAA, 0x00, 0xA7, 0x4C, 0xCD);
  1191. DEFINE_GUID(IID_ITransactionLastResourceAsync, 0xC82BD532, 0x5B30, 0x11D3, 0x8A, 0x91, 0x00, 0xC0, 0x4F, 0x79, 0xEB, 0x6D);
  1192. DEFINE_GUID(IID_ITransactionResource, 0xEE5FF7B3, 0x4572, 0x11d0, 0x94, 0x52, 0x00, 0xA0, 0xC9, 0x05, 0x41, 0x6E);
  1193. DEFINE_GUID(IID_ITransactionEnlistmentAsync, 0x0fb15081, 0xaf41, 0x11ce, 0xbd, 0x2b, 0x20, 0x4c, 0x4f, 0x4f, 0x50, 0x20);
  1194. DEFINE_GUID(IID_ITransactionLastEnlistmentAsync, 0xC82BD533, 0x5B30, 0x11D3, 0x8A, 0x91, 0x00, 0xC0, 0x4F, 0x79, 0xEB, 0x6D);
  1195. DEFINE_GUID(IID_ITransactionExportFactory, 0xE1CF9B53, 0x8745, 0x11ce, 0xA9, 0xBA, 0x00, 0xAA, 0x00, 0x6C, 0x37, 0x06);
  1196. DEFINE_GUID(IID_ITransactionImportWhereabouts, 0x0141fda4, 0x8fc0, 0x11ce, 0xbd, 0x18, 0x20, 0x4c, 0x4f, 0x4f, 0x50, 0x20);
  1197. DEFINE_GUID(IID_ITransactionExport, 0x0141fda5, 0x8fc0, 0x11ce, 0xbd, 0x18, 0x20, 0x4c, 0x4f, 0x4f, 0x50, 0x20);
  1198. DEFINE_GUID(IID_ITransactionImport, 0xE1CF9B5A, 0x8745, 0x11ce, 0xA9, 0xBA, 0x00, 0xAA, 0x00, 0x6C, 0x37, 0x06);
  1199. DEFINE_GUID(IID_ITipTransaction, 0x17cf72d0, 0xbac5, 0x11d1, 0xb1, 0xbf, 0x0, 0xc0, 0x4f, 0xc2, 0xf3, 0xef);
  1200. DEFINE_GUID(IID_ITipHelper, 0x17cf72d1, 0xbac5, 0x11d1, 0xb1, 0xbf, 0x0, 0xc0, 0x4f, 0xc2, 0xf3, 0xef);
  1201. DEFINE_GUID(IID_ITipPullSink, 0x17cf72d2, 0xbac5, 0x11d1, 0xb1, 0xbf, 0x0, 0xc0, 0x4f, 0xc2, 0xf3, 0xef);
  1202. #else
  1203. #define  IID_ITransactionResourceAsync               __uuidof(ITransactionResourceAsync)
  1204. #define  IID_ITransactionLastResourceAsync           __uuidof(ITransactionLastResourceAsync)
  1205. #define  IID_ITransactionResource                    __uuidof(ITransactionResource)
  1206. #define  IID_ITransactionEnlistmentAsync             __uuidof(ITransactionEnlistmentAsync)
  1207. #define  IID_ITransactionLastEnlistmentAsync             __uuidof(ITransactionLastEnlistmentAsync)
  1208. #define  IID_ITransactionExportFactory               __uuidof(ITransactionExportFactory)
  1209. #define  IID_ITransactionImportWhereabouts           __uuidof(ITransactionImportWhereabouts)
  1210. #define  IID_ITransactionExport                      __uuidof(ITransactionExport)
  1211. #define  IID_ITransactionImport                      __uuidof(ITransactionImport)
  1212. #define  IID_ITipTransaction                         __uuidof(ITipTransaction)
  1213. #define  IID_ITipHelper                              __uuidof(ITipHelper)
  1214. #define  IID_ITipPullSink                            __uuidof(ITipPullSink)
  1215. #endif
  1216. extern RPC_IF_HANDLE __MIDL_itf_txcoord_0108_v0_0_c_ifspec;
  1217. extern RPC_IF_HANDLE __MIDL_itf_txcoord_0108_v0_0_s_ifspec;
  1218. /* Additional Prototypes for ALL interfaces */
  1219. /* [local] */ HRESULT STDMETHODCALLTYPE ITransactionImportWhereabouts_GetWhereabouts_Proxy( 
  1220.     ITransactionImportWhereabouts * This,
  1221.     /* [in] */ ULONG cbWhereabouts,
  1222.     /* [size_is][out] */ byte *rgbWhereabouts,
  1223.     /* [out] */ ULONG *pcbUsed);
  1224. /* [call_as] */ HRESULT STDMETHODCALLTYPE ITransactionImportWhereabouts_GetWhereabouts_Stub( 
  1225.     ITransactionImportWhereabouts * This,
  1226.     /* [out] */ ULONG *pcbUsed,
  1227.     /* [in] */ ULONG cbWhereabouts,
  1228.     /* [length_is][size_is][out] */ byte *rgbWhereabouts);
  1229. /* [local] */ HRESULT STDMETHODCALLTYPE ITransactionExport_GetTransactionCookie_Proxy( 
  1230.     ITransactionExport * This,
  1231.     /* [in] */ IUnknown *punkTransaction,
  1232.     /* [in] */ ULONG cbTransactionCookie,
  1233.     /* [size_is][out] */ byte *rgbTransactionCookie,
  1234.     /* [out] */ ULONG *pcbUsed);
  1235. /* [call_as] */ HRESULT STDMETHODCALLTYPE ITransactionExport_GetTransactionCookie_Stub( 
  1236.     ITransactionExport * This,
  1237.     /* [in] */ IUnknown *punkTransaction,
  1238.     /* [out] */ ULONG *pcbUsed,
  1239.     /* [in] */ ULONG cbTransactionCookie,
  1240.     /* [length_is][size_is][out] */ byte *rgbTransactionCookie);
  1241. /* end of Additional Prototypes */
  1242. #ifdef __cplusplus
  1243. }
  1244. #endif
  1245. #endif