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

746 lines
22 KiB

  1. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  2. /* File created by MIDL compiler version 6.00.0361 */
  3. /* Compiler settings for oletx2xa.idl:
  4. Oicf, W1, Zp8, env=Win32 (32b run)
  5. protocol : dce , ms_ext, c_ext, robust
  6. error checks: allocation ref bounds_check enum stub_data
  7. VC __declspec() decoration level:
  8. __declspec(uuid()), __declspec(selectany), __declspec(novtable)
  9. DECLSPEC_UUID(), MIDL_INTERFACE()
  10. */
  11. //@@MIDL_FILE_HEADING( )
  12. #pragma warning( disable: 4049 ) /* more than 64k source lines */
  13. /* verify that the <rpcndr.h> version is high enough to compile this file*/
  14. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  15. #define __REQUIRED_RPCNDR_H_VERSION__ 475
  16. #endif
  17. #include "rpc.h"
  18. #include "rpcndr.h"
  19. #ifndef __RPCNDR_H_VERSION__
  20. #error this stub requires an updated version of <rpcndr.h>
  21. #endif // __RPCNDR_H_VERSION__
  22. #ifndef COM_NO_WINDOWS_H
  23. #include "windows.h"
  24. #include "ole2.h"
  25. #endif /*COM_NO_WINDOWS_H*/
  26. #ifndef __oletx2xa_h__
  27. #define __oletx2xa_h__
  28. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  29. #pragma once
  30. #endif
  31. /* Forward Declarations */
  32. #ifndef __IDtcToXaMapper_FWD_DEFINED__
  33. #define __IDtcToXaMapper_FWD_DEFINED__
  34. typedef interface IDtcToXaMapper IDtcToXaMapper;
  35. #endif /* __IDtcToXaMapper_FWD_DEFINED__ */
  36. #ifndef __IDtcToXaHelperFactory_FWD_DEFINED__
  37. #define __IDtcToXaHelperFactory_FWD_DEFINED__
  38. typedef interface IDtcToXaHelperFactory IDtcToXaHelperFactory;
  39. #endif /* __IDtcToXaHelperFactory_FWD_DEFINED__ */
  40. #ifndef __IDtcToXaHelper_FWD_DEFINED__
  41. #define __IDtcToXaHelper_FWD_DEFINED__
  42. typedef interface IDtcToXaHelper IDtcToXaHelper;
  43. #endif /* __IDtcToXaHelper_FWD_DEFINED__ */
  44. #ifndef __IDtcToXaHelperSinglePipe_FWD_DEFINED__
  45. #define __IDtcToXaHelperSinglePipe_FWD_DEFINED__
  46. typedef interface IDtcToXaHelperSinglePipe IDtcToXaHelperSinglePipe;
  47. #endif /* __IDtcToXaHelperSinglePipe_FWD_DEFINED__ */
  48. /* header files for imported files */
  49. #include "unknwn.h"
  50. #include "transact.h"
  51. #include "txcoord.h"
  52. #include "xa.h"
  53. #ifdef __cplusplus
  54. extern "C"{
  55. #endif
  56. void * __RPC_USER MIDL_user_allocate(size_t);
  57. void __RPC_USER MIDL_user_free( void * );
  58. /* interface __MIDL_itf_oletx2xa_0000 */
  59. /* [local] */
  60. //-------------------------------------------------------------------------
  61. //
  62. // Microsoft Distributed Transaction Coordinator
  63. // Copyright (C) 1995-1999 Microsoft Corporation. All rights reserved.
  64. //
  65. // File: xamapper.h (generated from xamapper.idl)
  66. //
  67. // Contents: Interfaces and types to map OleTx transaction
  68. // to XA transaction
  69. //
  70. //--------------------------------------------------------------------------
  71. extern RPC_IF_HANDLE __MIDL_itf_oletx2xa_0000_v0_0_c_ifspec;
  72. extern RPC_IF_HANDLE __MIDL_itf_oletx2xa_0000_v0_0_s_ifspec;
  73. #ifndef __XaMapperTypes_INTERFACE_DEFINED__
  74. #define __XaMapperTypes_INTERFACE_DEFINED__
  75. /* interface XaMapperTypes */
  76. /* [unique][local] */
  77. // Typedefs
  78. typedef DWORD XA_SWITCH_FLAGS;
  79. // Defines
  80. #define XA_SWITCH_F_DTC 0x00000001
  81. #define XA_FMTID_DTC 0x00445443
  82. #define XA_FMTID_DTC_VER1 0x01445443
  83. // Constants
  84. const XID XID_NULL = {-1,0,0,'\0'};
  85. extern RPC_IF_HANDLE XaMapperTypes_v0_0_c_ifspec;
  86. extern RPC_IF_HANDLE XaMapperTypes_v0_0_s_ifspec;
  87. #endif /* __XaMapperTypes_INTERFACE_DEFINED__ */
  88. #ifndef __XaMapperAPIs_INTERFACE_DEFINED__
  89. #define __XaMapperAPIs_INTERFACE_DEFINED__
  90. /* interface XaMapperAPIs */
  91. /* [unique][local] */
  92. HRESULT __cdecl GetXaSwitch(
  93. /* [in] */ XA_SWITCH_FLAGS XaSwitchFlags,
  94. /* [out] */ xa_switch_t **ppXaSwitch);
  95. extern RPC_IF_HANDLE XaMapperAPIs_v0_0_c_ifspec;
  96. extern RPC_IF_HANDLE XaMapperAPIs_v0_0_s_ifspec;
  97. #endif /* __XaMapperAPIs_INTERFACE_DEFINED__ */
  98. #ifndef __IDtcToXaMapper_INTERFACE_DEFINED__
  99. #define __IDtcToXaMapper_INTERFACE_DEFINED__
  100. /* interface IDtcToXaMapper */
  101. /* [unique][uuid][object] */
  102. EXTERN_C const IID IID_IDtcToXaMapper;
  103. #if defined(__cplusplus) && !defined(CINTERFACE)
  104. MIDL_INTERFACE("64FFABE0-7CE9-11d0-8CE6-00C04FDC877E")
  105. IDtcToXaMapper : public IUnknown
  106. {
  107. public:
  108. virtual HRESULT STDMETHODCALLTYPE RequestNewResourceManager(
  109. /* [in] */ char *pszDSN,
  110. /* [in] */ char *pszClientDllName,
  111. /* [out][in] */ DWORD *pdwRMCookie) = 0;
  112. virtual HRESULT STDMETHODCALLTYPE TranslateTridToXid(
  113. /* [in] */ DWORD *pdwITransaction,
  114. /* [in] */ DWORD dwRMCookie,
  115. /* [out][in] */ XID *pXid) = 0;
  116. virtual HRESULT STDMETHODCALLTYPE EnlistResourceManager(
  117. /* [in] */ DWORD dwRMCookie,
  118. /* [in] */ DWORD *pdwITransaction) = 0;
  119. virtual HRESULT STDMETHODCALLTYPE ReleaseResourceManager(
  120. /* [in] */ DWORD dwRMCookie) = 0;
  121. };
  122. #else /* C style interface */
  123. typedef struct IDtcToXaMapperVtbl
  124. {
  125. BEGIN_INTERFACE
  126. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  127. IDtcToXaMapper * This,
  128. /* [in] */ REFIID riid,
  129. /* [iid_is][out] */ void **ppvObject);
  130. ULONG ( STDMETHODCALLTYPE *AddRef )(
  131. IDtcToXaMapper * This);
  132. ULONG ( STDMETHODCALLTYPE *Release )(
  133. IDtcToXaMapper * This);
  134. HRESULT ( STDMETHODCALLTYPE *RequestNewResourceManager )(
  135. IDtcToXaMapper * This,
  136. /* [in] */ char *pszDSN,
  137. /* [in] */ char *pszClientDllName,
  138. /* [out][in] */ DWORD *pdwRMCookie);
  139. HRESULT ( STDMETHODCALLTYPE *TranslateTridToXid )(
  140. IDtcToXaMapper * This,
  141. /* [in] */ DWORD *pdwITransaction,
  142. /* [in] */ DWORD dwRMCookie,
  143. /* [out][in] */ XID *pXid);
  144. HRESULT ( STDMETHODCALLTYPE *EnlistResourceManager )(
  145. IDtcToXaMapper * This,
  146. /* [in] */ DWORD dwRMCookie,
  147. /* [in] */ DWORD *pdwITransaction);
  148. HRESULT ( STDMETHODCALLTYPE *ReleaseResourceManager )(
  149. IDtcToXaMapper * This,
  150. /* [in] */ DWORD dwRMCookie);
  151. END_INTERFACE
  152. } IDtcToXaMapperVtbl;
  153. interface IDtcToXaMapper
  154. {
  155. CONST_VTBL struct IDtcToXaMapperVtbl *lpVtbl;
  156. };
  157. #ifdef COBJMACROS
  158. #define IDtcToXaMapper_QueryInterface(This,riid,ppvObject) \
  159. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  160. #define IDtcToXaMapper_AddRef(This) \
  161. (This)->lpVtbl -> AddRef(This)
  162. #define IDtcToXaMapper_Release(This) \
  163. (This)->lpVtbl -> Release(This)
  164. #define IDtcToXaMapper_RequestNewResourceManager(This,pszDSN,pszClientDllName,pdwRMCookie) \
  165. (This)->lpVtbl -> RequestNewResourceManager(This,pszDSN,pszClientDllName,pdwRMCookie)
  166. #define IDtcToXaMapper_TranslateTridToXid(This,pdwITransaction,dwRMCookie,pXid) \
  167. (This)->lpVtbl -> TranslateTridToXid(This,pdwITransaction,dwRMCookie,pXid)
  168. #define IDtcToXaMapper_EnlistResourceManager(This,dwRMCookie,pdwITransaction) \
  169. (This)->lpVtbl -> EnlistResourceManager(This,dwRMCookie,pdwITransaction)
  170. #define IDtcToXaMapper_ReleaseResourceManager(This,dwRMCookie) \
  171. (This)->lpVtbl -> ReleaseResourceManager(This,dwRMCookie)
  172. #endif /* COBJMACROS */
  173. #endif /* C style interface */
  174. HRESULT STDMETHODCALLTYPE IDtcToXaMapper_RequestNewResourceManager_Proxy(
  175. IDtcToXaMapper * This,
  176. /* [in] */ char *pszDSN,
  177. /* [in] */ char *pszClientDllName,
  178. /* [out][in] */ DWORD *pdwRMCookie);
  179. void __RPC_STUB IDtcToXaMapper_RequestNewResourceManager_Stub(
  180. IRpcStubBuffer *This,
  181. IRpcChannelBuffer *_pRpcChannelBuffer,
  182. PRPC_MESSAGE _pRpcMessage,
  183. DWORD *_pdwStubPhase);
  184. HRESULT STDMETHODCALLTYPE IDtcToXaMapper_TranslateTridToXid_Proxy(
  185. IDtcToXaMapper * This,
  186. /* [in] */ DWORD *pdwITransaction,
  187. /* [in] */ DWORD dwRMCookie,
  188. /* [out][in] */ XID *pXid);
  189. void __RPC_STUB IDtcToXaMapper_TranslateTridToXid_Stub(
  190. IRpcStubBuffer *This,
  191. IRpcChannelBuffer *_pRpcChannelBuffer,
  192. PRPC_MESSAGE _pRpcMessage,
  193. DWORD *_pdwStubPhase);
  194. HRESULT STDMETHODCALLTYPE IDtcToXaMapper_EnlistResourceManager_Proxy(
  195. IDtcToXaMapper * This,
  196. /* [in] */ DWORD dwRMCookie,
  197. /* [in] */ DWORD *pdwITransaction);
  198. void __RPC_STUB IDtcToXaMapper_EnlistResourceManager_Stub(
  199. IRpcStubBuffer *This,
  200. IRpcChannelBuffer *_pRpcChannelBuffer,
  201. PRPC_MESSAGE _pRpcMessage,
  202. DWORD *_pdwStubPhase);
  203. HRESULT STDMETHODCALLTYPE IDtcToXaMapper_ReleaseResourceManager_Proxy(
  204. IDtcToXaMapper * This,
  205. /* [in] */ DWORD dwRMCookie);
  206. void __RPC_STUB IDtcToXaMapper_ReleaseResourceManager_Stub(
  207. IRpcStubBuffer *This,
  208. IRpcChannelBuffer *_pRpcChannelBuffer,
  209. PRPC_MESSAGE _pRpcMessage,
  210. DWORD *_pdwStubPhase);
  211. #endif /* __IDtcToXaMapper_INTERFACE_DEFINED__ */
  212. #ifndef __IDtcToXaHelperFactory_INTERFACE_DEFINED__
  213. #define __IDtcToXaHelperFactory_INTERFACE_DEFINED__
  214. /* interface IDtcToXaHelperFactory */
  215. /* [unique][uuid][object] */
  216. EXTERN_C const IID IID_IDtcToXaHelperFactory;
  217. #if defined(__cplusplus) && !defined(CINTERFACE)
  218. MIDL_INTERFACE("A9861610-304A-11d1-9813-00A0C905416E")
  219. IDtcToXaHelperFactory : public IUnknown
  220. {
  221. public:
  222. virtual HRESULT STDMETHODCALLTYPE Create(
  223. /* [in] */ char *pszDSN,
  224. /* [in] */ char *pszClientDllName,
  225. /* [out] */ GUID *pguidRm,
  226. /* [out] */ IDtcToXaHelper **ppXaHelper) = 0;
  227. };
  228. #else /* C style interface */
  229. typedef struct IDtcToXaHelperFactoryVtbl
  230. {
  231. BEGIN_INTERFACE
  232. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  233. IDtcToXaHelperFactory * This,
  234. /* [in] */ REFIID riid,
  235. /* [iid_is][out] */ void **ppvObject);
  236. ULONG ( STDMETHODCALLTYPE *AddRef )(
  237. IDtcToXaHelperFactory * This);
  238. ULONG ( STDMETHODCALLTYPE *Release )(
  239. IDtcToXaHelperFactory * This);
  240. HRESULT ( STDMETHODCALLTYPE *Create )(
  241. IDtcToXaHelperFactory * This,
  242. /* [in] */ char *pszDSN,
  243. /* [in] */ char *pszClientDllName,
  244. /* [out] */ GUID *pguidRm,
  245. /* [out] */ IDtcToXaHelper **ppXaHelper);
  246. END_INTERFACE
  247. } IDtcToXaHelperFactoryVtbl;
  248. interface IDtcToXaHelperFactory
  249. {
  250. CONST_VTBL struct IDtcToXaHelperFactoryVtbl *lpVtbl;
  251. };
  252. #ifdef COBJMACROS
  253. #define IDtcToXaHelperFactory_QueryInterface(This,riid,ppvObject) \
  254. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  255. #define IDtcToXaHelperFactory_AddRef(This) \
  256. (This)->lpVtbl -> AddRef(This)
  257. #define IDtcToXaHelperFactory_Release(This) \
  258. (This)->lpVtbl -> Release(This)
  259. #define IDtcToXaHelperFactory_Create(This,pszDSN,pszClientDllName,pguidRm,ppXaHelper) \
  260. (This)->lpVtbl -> Create(This,pszDSN,pszClientDllName,pguidRm,ppXaHelper)
  261. #endif /* COBJMACROS */
  262. #endif /* C style interface */
  263. HRESULT STDMETHODCALLTYPE IDtcToXaHelperFactory_Create_Proxy(
  264. IDtcToXaHelperFactory * This,
  265. /* [in] */ char *pszDSN,
  266. /* [in] */ char *pszClientDllName,
  267. /* [out] */ GUID *pguidRm,
  268. /* [out] */ IDtcToXaHelper **ppXaHelper);
  269. void __RPC_STUB IDtcToXaHelperFactory_Create_Stub(
  270. IRpcStubBuffer *This,
  271. IRpcChannelBuffer *_pRpcChannelBuffer,
  272. PRPC_MESSAGE _pRpcMessage,
  273. DWORD *_pdwStubPhase);
  274. #endif /* __IDtcToXaHelperFactory_INTERFACE_DEFINED__ */
  275. #ifndef __IDtcToXaHelper_INTERFACE_DEFINED__
  276. #define __IDtcToXaHelper_INTERFACE_DEFINED__
  277. /* interface IDtcToXaHelper */
  278. /* [unique][uuid][object] */
  279. EXTERN_C const IID IID_IDtcToXaHelper;
  280. #if defined(__cplusplus) && !defined(CINTERFACE)
  281. MIDL_INTERFACE("A9861611-304A-11d1-9813-00A0C905416E")
  282. IDtcToXaHelper : public IUnknown
  283. {
  284. public:
  285. virtual HRESULT STDMETHODCALLTYPE Close(
  286. /* [in] */ BOOL i_fDoRecovery) = 0;
  287. virtual HRESULT STDMETHODCALLTYPE TranslateTridToXid(
  288. /* [in] */ ITransaction *pITransaction,
  289. /* [in] */ GUID *pguidBqual,
  290. /* [out] */ XID *pXid) = 0;
  291. };
  292. #else /* C style interface */
  293. typedef struct IDtcToXaHelperVtbl
  294. {
  295. BEGIN_INTERFACE
  296. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  297. IDtcToXaHelper * This,
  298. /* [in] */ REFIID riid,
  299. /* [iid_is][out] */ void **ppvObject);
  300. ULONG ( STDMETHODCALLTYPE *AddRef )(
  301. IDtcToXaHelper * This);
  302. ULONG ( STDMETHODCALLTYPE *Release )(
  303. IDtcToXaHelper * This);
  304. HRESULT ( STDMETHODCALLTYPE *Close )(
  305. IDtcToXaHelper * This,
  306. /* [in] */ BOOL i_fDoRecovery);
  307. HRESULT ( STDMETHODCALLTYPE *TranslateTridToXid )(
  308. IDtcToXaHelper * This,
  309. /* [in] */ ITransaction *pITransaction,
  310. /* [in] */ GUID *pguidBqual,
  311. /* [out] */ XID *pXid);
  312. END_INTERFACE
  313. } IDtcToXaHelperVtbl;
  314. interface IDtcToXaHelper
  315. {
  316. CONST_VTBL struct IDtcToXaHelperVtbl *lpVtbl;
  317. };
  318. #ifdef COBJMACROS
  319. #define IDtcToXaHelper_QueryInterface(This,riid,ppvObject) \
  320. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  321. #define IDtcToXaHelper_AddRef(This) \
  322. (This)->lpVtbl -> AddRef(This)
  323. #define IDtcToXaHelper_Release(This) \
  324. (This)->lpVtbl -> Release(This)
  325. #define IDtcToXaHelper_Close(This,i_fDoRecovery) \
  326. (This)->lpVtbl -> Close(This,i_fDoRecovery)
  327. #define IDtcToXaHelper_TranslateTridToXid(This,pITransaction,pguidBqual,pXid) \
  328. (This)->lpVtbl -> TranslateTridToXid(This,pITransaction,pguidBqual,pXid)
  329. #endif /* COBJMACROS */
  330. #endif /* C style interface */
  331. HRESULT STDMETHODCALLTYPE IDtcToXaHelper_Close_Proxy(
  332. IDtcToXaHelper * This,
  333. /* [in] */ BOOL i_fDoRecovery);
  334. void __RPC_STUB IDtcToXaHelper_Close_Stub(
  335. IRpcStubBuffer *This,
  336. IRpcChannelBuffer *_pRpcChannelBuffer,
  337. PRPC_MESSAGE _pRpcMessage,
  338. DWORD *_pdwStubPhase);
  339. HRESULT STDMETHODCALLTYPE IDtcToXaHelper_TranslateTridToXid_Proxy(
  340. IDtcToXaHelper * This,
  341. /* [in] */ ITransaction *pITransaction,
  342. /* [in] */ GUID *pguidBqual,
  343. /* [out] */ XID *pXid);
  344. void __RPC_STUB IDtcToXaHelper_TranslateTridToXid_Stub(
  345. IRpcStubBuffer *This,
  346. IRpcChannelBuffer *_pRpcChannelBuffer,
  347. PRPC_MESSAGE _pRpcMessage,
  348. DWORD *_pdwStubPhase);
  349. #endif /* __IDtcToXaHelper_INTERFACE_DEFINED__ */
  350. #ifndef __IDtcToXaHelperSinglePipe_INTERFACE_DEFINED__
  351. #define __IDtcToXaHelperSinglePipe_INTERFACE_DEFINED__
  352. /* interface IDtcToXaHelperSinglePipe */
  353. /* [local][unique][uuid][object] */
  354. EXTERN_C const IID IID_IDtcToXaHelperSinglePipe;
  355. #if defined(__cplusplus) && !defined(CINTERFACE)
  356. MIDL_INTERFACE("47ED4971-53B3-11d1-BBB9-00C04FD658F6")
  357. IDtcToXaHelperSinglePipe : public IUnknown
  358. {
  359. public:
  360. virtual HRESULT STDMETHODCALLTYPE XARMCreate(
  361. /* [string][in] */ char *pszDSN,
  362. /* [string][in] */ char *pszClientDll,
  363. /* [out][in] */ DWORD *pdwRMCookie) = 0;
  364. virtual HRESULT STDMETHODCALLTYPE ConvertTridToXID(
  365. /* [in] */ DWORD *pdwITrans,
  366. /* [in] */ DWORD dwRMCookie,
  367. /* [out][in] */ XID *pxid) = 0;
  368. virtual HRESULT STDMETHODCALLTYPE EnlistWithRM(
  369. /* [in] */ DWORD dwRMCookie,
  370. /* [in] */ ITransaction *i_pITransaction,
  371. /* [in] */ ITransactionResourceAsync *i_pITransRes,
  372. /* [out] */ ITransactionEnlistmentAsync **o_ppITransEnslitment) = 0;
  373. virtual void STDMETHODCALLTYPE ReleaseRMCookie(
  374. /* [in] */ DWORD i_dwRMCookie,
  375. /* [in] */ BOOL i_fNormal) = 0;
  376. };
  377. #else /* C style interface */
  378. typedef struct IDtcToXaHelperSinglePipeVtbl
  379. {
  380. BEGIN_INTERFACE
  381. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  382. IDtcToXaHelperSinglePipe * This,
  383. /* [in] */ REFIID riid,
  384. /* [iid_is][out] */ void **ppvObject);
  385. ULONG ( STDMETHODCALLTYPE *AddRef )(
  386. IDtcToXaHelperSinglePipe * This);
  387. ULONG ( STDMETHODCALLTYPE *Release )(
  388. IDtcToXaHelperSinglePipe * This);
  389. HRESULT ( STDMETHODCALLTYPE *XARMCreate )(
  390. IDtcToXaHelperSinglePipe * This,
  391. /* [string][in] */ char *pszDSN,
  392. /* [string][in] */ char *pszClientDll,
  393. /* [out][in] */ DWORD *pdwRMCookie);
  394. HRESULT ( STDMETHODCALLTYPE *ConvertTridToXID )(
  395. IDtcToXaHelperSinglePipe * This,
  396. /* [in] */ DWORD *pdwITrans,
  397. /* [in] */ DWORD dwRMCookie,
  398. /* [out][in] */ XID *pxid);
  399. HRESULT ( STDMETHODCALLTYPE *EnlistWithRM )(
  400. IDtcToXaHelperSinglePipe * This,
  401. /* [in] */ DWORD dwRMCookie,
  402. /* [in] */ ITransaction *i_pITransaction,
  403. /* [in] */ ITransactionResourceAsync *i_pITransRes,
  404. /* [out] */ ITransactionEnlistmentAsync **o_ppITransEnslitment);
  405. void ( STDMETHODCALLTYPE *ReleaseRMCookie )(
  406. IDtcToXaHelperSinglePipe * This,
  407. /* [in] */ DWORD i_dwRMCookie,
  408. /* [in] */ BOOL i_fNormal);
  409. END_INTERFACE
  410. } IDtcToXaHelperSinglePipeVtbl;
  411. interface IDtcToXaHelperSinglePipe
  412. {
  413. CONST_VTBL struct IDtcToXaHelperSinglePipeVtbl *lpVtbl;
  414. };
  415. #ifdef COBJMACROS
  416. #define IDtcToXaHelperSinglePipe_QueryInterface(This,riid,ppvObject) \
  417. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  418. #define IDtcToXaHelperSinglePipe_AddRef(This) \
  419. (This)->lpVtbl -> AddRef(This)
  420. #define IDtcToXaHelperSinglePipe_Release(This) \
  421. (This)->lpVtbl -> Release(This)
  422. #define IDtcToXaHelperSinglePipe_XARMCreate(This,pszDSN,pszClientDll,pdwRMCookie) \
  423. (This)->lpVtbl -> XARMCreate(This,pszDSN,pszClientDll,pdwRMCookie)
  424. #define IDtcToXaHelperSinglePipe_ConvertTridToXID(This,pdwITrans,dwRMCookie,pxid) \
  425. (This)->lpVtbl -> ConvertTridToXID(This,pdwITrans,dwRMCookie,pxid)
  426. #define IDtcToXaHelperSinglePipe_EnlistWithRM(This,dwRMCookie,i_pITransaction,i_pITransRes,o_ppITransEnslitment) \
  427. (This)->lpVtbl -> EnlistWithRM(This,dwRMCookie,i_pITransaction,i_pITransRes,o_ppITransEnslitment)
  428. #define IDtcToXaHelperSinglePipe_ReleaseRMCookie(This,i_dwRMCookie,i_fNormal) \
  429. (This)->lpVtbl -> ReleaseRMCookie(This,i_dwRMCookie,i_fNormal)
  430. #endif /* COBJMACROS */
  431. #endif /* C style interface */
  432. HRESULT STDMETHODCALLTYPE IDtcToXaHelperSinglePipe_XARMCreate_Proxy(
  433. IDtcToXaHelperSinglePipe * This,
  434. /* [string][in] */ char *pszDSN,
  435. /* [string][in] */ char *pszClientDll,
  436. /* [out][in] */ DWORD *pdwRMCookie);
  437. void __RPC_STUB IDtcToXaHelperSinglePipe_XARMCreate_Stub(
  438. IRpcStubBuffer *This,
  439. IRpcChannelBuffer *_pRpcChannelBuffer,
  440. PRPC_MESSAGE _pRpcMessage,
  441. DWORD *_pdwStubPhase);
  442. HRESULT STDMETHODCALLTYPE IDtcToXaHelperSinglePipe_ConvertTridToXID_Proxy(
  443. IDtcToXaHelperSinglePipe * This,
  444. /* [in] */ DWORD *pdwITrans,
  445. /* [in] */ DWORD dwRMCookie,
  446. /* [out][in] */ XID *pxid);
  447. void __RPC_STUB IDtcToXaHelperSinglePipe_ConvertTridToXID_Stub(
  448. IRpcStubBuffer *This,
  449. IRpcChannelBuffer *_pRpcChannelBuffer,
  450. PRPC_MESSAGE _pRpcMessage,
  451. DWORD *_pdwStubPhase);
  452. HRESULT STDMETHODCALLTYPE IDtcToXaHelperSinglePipe_EnlistWithRM_Proxy(
  453. IDtcToXaHelperSinglePipe * This,
  454. /* [in] */ DWORD dwRMCookie,
  455. /* [in] */ ITransaction *i_pITransaction,
  456. /* [in] */ ITransactionResourceAsync *i_pITransRes,
  457. /* [out] */ ITransactionEnlistmentAsync **o_ppITransEnslitment);
  458. void __RPC_STUB IDtcToXaHelperSinglePipe_EnlistWithRM_Stub(
  459. IRpcStubBuffer *This,
  460. IRpcChannelBuffer *_pRpcChannelBuffer,
  461. PRPC_MESSAGE _pRpcMessage,
  462. DWORD *_pdwStubPhase);
  463. void STDMETHODCALLTYPE IDtcToXaHelperSinglePipe_ReleaseRMCookie_Proxy(
  464. IDtcToXaHelperSinglePipe * This,
  465. /* [in] */ DWORD i_dwRMCookie,
  466. /* [in] */ BOOL i_fNormal);
  467. void __RPC_STUB IDtcToXaHelperSinglePipe_ReleaseRMCookie_Stub(
  468. IRpcStubBuffer *This,
  469. IRpcChannelBuffer *_pRpcChannelBuffer,
  470. PRPC_MESSAGE _pRpcMessage,
  471. DWORD *_pdwStubPhase);
  472. #endif /* __IDtcToXaHelperSinglePipe_INTERFACE_DEFINED__ */
  473. /* interface __MIDL_itf_oletx2xa_0124 */
  474. /* [local] */
  475. #if _MSC_VER < 1100 || !defined(__cplusplus)
  476. DEFINE_GUID(IID_IDtcToXaMapper, 0x64FFABE0, 0x7CE9, 0x11d0, 0x8C, 0xE6, 0x00, 0xC0, 0x4F, 0xDC, 0x87, 0x7E);
  477. DEFINE_GUID(IID_IDtcToXaHelperFactory, 0xadefc46a, 0xcb1d, 0x11d0, 0xb1, 0x35, 0x00, 0xc0, 0x4f, 0xc2, 0xf3, 0xef);
  478. DEFINE_GUID(IID_IDtcToXaHelper, 0xadefc46b, 0xcb1d, 0x11d0, 0xb1, 0x35, 0x00, 0xc0, 0x4f, 0xc2, 0xf3, 0xef);
  479. DEFINE_GUID(IID_IDtcToXaHelperSinglePipe, 0x47ED4971, 0x53B3, 0x11d1, 0xBB, 0xB9, 0x00, 0xC0, 0x4F, 0xD6, 0x58, 0xF6);
  480. #else
  481. #define IID_IDtcToXaMapper __uuidof(IDtcToXaMapper)
  482. #define IID_IDtcToXaHelperFactory __uuidof(IDtcToXaHelperFactory)
  483. #define IID_IDtcToXaHelper __uuidof(IDtcToXaHelper)
  484. #define IID_IDtcToXaHelperSinglePipe __uuidof(IDtcToXaHelperSinglePipe)
  485. #endif
  486. extern RPC_IF_HANDLE __MIDL_itf_oletx2xa_0124_v0_0_c_ifspec;
  487. extern RPC_IF_HANDLE __MIDL_itf_oletx2xa_0124_v0_0_s_ifspec;
  488. /* Additional Prototypes for ALL interfaces */
  489. /* end of Additional Prototypes */
  490. #ifdef __cplusplus
  491. }
  492. #endif
  493. #endif