home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / vc98 / include / txcoord.h < prev    next >
C/C++ Source or Header  |  1998-04-25  |  37KB  |  1,148 lines

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