745 lines
22 KiB
C++
745 lines
22 KiB
C++
#pragma option push -b -a8 -pc -A- /*P_O_Push*/
|
|
|
|
#pragma warning( disable: 4049 ) /* more than 64k source lines */
|
|
|
|
/* this ALWAYS GENERATED file contains the definitions for the interfaces */
|
|
|
|
|
|
/* File created by MIDL compiler version 5.03.0268 */
|
|
/* at Wed Aug 04 16:38:59 1999
|
|
*/
|
|
/* Compiler settings for oletx2xa.idl:
|
|
Oicf (OptLev=i2), W1, Zp8, env=Win32 (32b run), ms_ext, c_ext
|
|
error checks: allocation ref bounds_check enum stub_data
|
|
VC __declspec() decoration level:
|
|
__declspec(uuid()), __declspec(selectany), __declspec(novtable)
|
|
DECLSPEC_UUID(), MIDL_INTERFACE()
|
|
*/
|
|
//@@MIDL_FILE_HEADING( )
|
|
|
|
|
|
/* verify that the <rpcndr.h> version is high enough to compile this file*/
|
|
#ifndef __REQUIRED_RPCNDR_H_VERSION__
|
|
#define __REQUIRED_RPCNDR_H_VERSION__ 440
|
|
#endif
|
|
|
|
#include "rpc.h"
|
|
#include "rpcndr.h"
|
|
|
|
#ifndef __RPCNDR_H_VERSION__
|
|
#error this stub requires an updated version of <rpcndr.h>
|
|
#endif // __RPCNDR_H_VERSION__
|
|
|
|
#ifndef COM_NO_WINDOWS_H
|
|
#include "windows.h"
|
|
#include "ole2.h"
|
|
#endif /*COM_NO_WINDOWS_H*/
|
|
|
|
#ifndef __oletx2xa_h__
|
|
#define __oletx2xa_h__
|
|
|
|
/* Forward Declarations */
|
|
|
|
#ifndef __IDtcToXaMapper_FWD_DEFINED__
|
|
#define __IDtcToXaMapper_FWD_DEFINED__
|
|
typedef interface IDtcToXaMapper IDtcToXaMapper;
|
|
#endif /* __IDtcToXaMapper_FWD_DEFINED__ */
|
|
|
|
|
|
#ifndef __IDtcToXaHelperFactory_FWD_DEFINED__
|
|
#define __IDtcToXaHelperFactory_FWD_DEFINED__
|
|
typedef interface IDtcToXaHelperFactory IDtcToXaHelperFactory;
|
|
#endif /* __IDtcToXaHelperFactory_FWD_DEFINED__ */
|
|
|
|
|
|
#ifndef __IDtcToXaHelper_FWD_DEFINED__
|
|
#define __IDtcToXaHelper_FWD_DEFINED__
|
|
typedef interface IDtcToXaHelper IDtcToXaHelper;
|
|
#endif /* __IDtcToXaHelper_FWD_DEFINED__ */
|
|
|
|
|
|
#ifndef __IDtcToXaHelperSinglePipe_FWD_DEFINED__
|
|
#define __IDtcToXaHelperSinglePipe_FWD_DEFINED__
|
|
typedef interface IDtcToXaHelperSinglePipe IDtcToXaHelperSinglePipe;
|
|
#endif /* __IDtcToXaHelperSinglePipe_FWD_DEFINED__ */
|
|
|
|
|
|
/* header files for imported files */
|
|
#include "unknwn.h"
|
|
#include "transact.h"
|
|
#include "txcoord.h"
|
|
#include "xa.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C"{
|
|
#endif
|
|
|
|
void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);
|
|
void __RPC_USER MIDL_user_free( void __RPC_FAR * );
|
|
|
|
/* interface __MIDL_itf_oletx2xa_0000 */
|
|
/* [local] */
|
|
|
|
//-------------------------------------------------------------------------
|
|
//
|
|
// Microsoft Distributed Transaction Coordinator
|
|
// Copyright (C) 1995-1999 Microsoft Corporation. All rights reserved.
|
|
//
|
|
// File: xamapper.h (generated from xamapper.idl)
|
|
//
|
|
// Contents: Interfaces and types to map OleTx transaction
|
|
// to XA transaction
|
|
//
|
|
//--------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
|
|
|
|
extern RPC_IF_HANDLE __MIDL_itf_oletx2xa_0000_v0_0_c_ifspec;
|
|
extern RPC_IF_HANDLE __MIDL_itf_oletx2xa_0000_v0_0_s_ifspec;
|
|
|
|
#ifndef __XaMapperTypes_INTERFACE_DEFINED__
|
|
#define __XaMapperTypes_INTERFACE_DEFINED__
|
|
|
|
/* interface XaMapperTypes */
|
|
/* [unique][local] */
|
|
|
|
// Typedefs
|
|
typedef DWORD XA_SWITCH_FLAGS;
|
|
|
|
// Defines
|
|
#define XA_SWITCH_F_DTC 0x00000001
|
|
#define XA_FMTID_DTC 0x00445443
|
|
#define XA_FMTID_DTC_VER1 0x01445443
|
|
// Constants
|
|
const XID XID_NULL = {-1,0,0,'\0'};
|
|
|
|
|
|
extern RPC_IF_HANDLE XaMapperTypes_v0_0_c_ifspec;
|
|
extern RPC_IF_HANDLE XaMapperTypes_v0_0_s_ifspec;
|
|
#endif /* __XaMapperTypes_INTERFACE_DEFINED__ */
|
|
|
|
#ifndef __XaMapperAPIs_INTERFACE_DEFINED__
|
|
#define __XaMapperAPIs_INTERFACE_DEFINED__
|
|
|
|
/* interface XaMapperAPIs */
|
|
/* [unique][local] */
|
|
|
|
HRESULT __cdecl GetXaSwitch(
|
|
/* [in] */ XA_SWITCH_FLAGS XaSwitchFlags,
|
|
/* [out] */ xa_switch_t __RPC_FAR *__RPC_FAR *ppXaSwitch);
|
|
|
|
|
|
|
|
extern RPC_IF_HANDLE XaMapperAPIs_v0_0_c_ifspec;
|
|
extern RPC_IF_HANDLE XaMapperAPIs_v0_0_s_ifspec;
|
|
#endif /* __XaMapperAPIs_INTERFACE_DEFINED__ */
|
|
|
|
#ifndef __IDtcToXaMapper_INTERFACE_DEFINED__
|
|
#define __IDtcToXaMapper_INTERFACE_DEFINED__
|
|
|
|
/* interface IDtcToXaMapper */
|
|
/* [unique][uuid][object] */
|
|
|
|
|
|
EXTERN_C const IID IID_IDtcToXaMapper;
|
|
|
|
#if defined(__cplusplus) && !defined(CINTERFACE)
|
|
|
|
MIDL_INTERFACE("64FFABE0-7CE9-11d0-8CE6-00C04FDC877E")
|
|
IDtcToXaMapper : public IUnknown
|
|
{
|
|
public:
|
|
virtual HRESULT STDMETHODCALLTYPE RequestNewResourceManager(
|
|
/* [in] */ char __RPC_FAR *pszDSN,
|
|
/* [in] */ char __RPC_FAR *pszClientDllName,
|
|
/* [out][in] */ DWORD __RPC_FAR *pdwRMCookie) = 0;
|
|
|
|
virtual HRESULT STDMETHODCALLTYPE TranslateTridToXid(
|
|
/* [in] */ DWORD __RPC_FAR *pdwITransaction,
|
|
/* [in] */ DWORD dwRMCookie,
|
|
/* [out][in] */ XID __RPC_FAR *pXid) = 0;
|
|
|
|
virtual HRESULT STDMETHODCALLTYPE EnlistResourceManager(
|
|
/* [in] */ DWORD dwRMCookie,
|
|
/* [in] */ DWORD __RPC_FAR *pdwITransaction) = 0;
|
|
|
|
virtual HRESULT STDMETHODCALLTYPE ReleaseResourceManager(
|
|
/* [in] */ DWORD dwRMCookie) = 0;
|
|
|
|
};
|
|
|
|
#else /* C style interface */
|
|
|
|
typedef struct IDtcToXaMapperVtbl
|
|
{
|
|
BEGIN_INTERFACE
|
|
|
|
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
|
|
IDtcToXaMapper __RPC_FAR * This,
|
|
/* [in] */ REFIID riid,
|
|
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
|
|
|
|
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
|
|
IDtcToXaMapper __RPC_FAR * This);
|
|
|
|
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
|
|
IDtcToXaMapper __RPC_FAR * This);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *RequestNewResourceManager )(
|
|
IDtcToXaMapper __RPC_FAR * This,
|
|
/* [in] */ char __RPC_FAR *pszDSN,
|
|
/* [in] */ char __RPC_FAR *pszClientDllName,
|
|
/* [out][in] */ DWORD __RPC_FAR *pdwRMCookie);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *TranslateTridToXid )(
|
|
IDtcToXaMapper __RPC_FAR * This,
|
|
/* [in] */ DWORD __RPC_FAR *pdwITransaction,
|
|
/* [in] */ DWORD dwRMCookie,
|
|
/* [out][in] */ XID __RPC_FAR *pXid);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *EnlistResourceManager )(
|
|
IDtcToXaMapper __RPC_FAR * This,
|
|
/* [in] */ DWORD dwRMCookie,
|
|
/* [in] */ DWORD __RPC_FAR *pdwITransaction);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ReleaseResourceManager )(
|
|
IDtcToXaMapper __RPC_FAR * This,
|
|
/* [in] */ DWORD dwRMCookie);
|
|
|
|
END_INTERFACE
|
|
} IDtcToXaMapperVtbl;
|
|
|
|
interface IDtcToXaMapper
|
|
{
|
|
CONST_VTBL struct IDtcToXaMapperVtbl __RPC_FAR *lpVtbl;
|
|
};
|
|
|
|
|
|
|
|
#ifdef COBJMACROS
|
|
|
|
|
|
#define IDtcToXaMapper_QueryInterface(This,riid,ppvObject) \
|
|
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
|
|
|
|
#define IDtcToXaMapper_AddRef(This) \
|
|
(This)->lpVtbl -> AddRef(This)
|
|
|
|
#define IDtcToXaMapper_Release(This) \
|
|
(This)->lpVtbl -> Release(This)
|
|
|
|
|
|
#define IDtcToXaMapper_RequestNewResourceManager(This,pszDSN,pszClientDllName,pdwRMCookie) \
|
|
(This)->lpVtbl -> RequestNewResourceManager(This,pszDSN,pszClientDllName,pdwRMCookie)
|
|
|
|
#define IDtcToXaMapper_TranslateTridToXid(This,pdwITransaction,dwRMCookie,pXid) \
|
|
(This)->lpVtbl -> TranslateTridToXid(This,pdwITransaction,dwRMCookie,pXid)
|
|
|
|
#define IDtcToXaMapper_EnlistResourceManager(This,dwRMCookie,pdwITransaction) \
|
|
(This)->lpVtbl -> EnlistResourceManager(This,dwRMCookie,pdwITransaction)
|
|
|
|
#define IDtcToXaMapper_ReleaseResourceManager(This,dwRMCookie) \
|
|
(This)->lpVtbl -> ReleaseResourceManager(This,dwRMCookie)
|
|
|
|
#endif /* COBJMACROS */
|
|
|
|
|
|
#endif /* C style interface */
|
|
|
|
|
|
|
|
HRESULT STDMETHODCALLTYPE IDtcToXaMapper_RequestNewResourceManager_Proxy(
|
|
IDtcToXaMapper __RPC_FAR * This,
|
|
/* [in] */ char __RPC_FAR *pszDSN,
|
|
/* [in] */ char __RPC_FAR *pszClientDllName,
|
|
/* [out][in] */ DWORD __RPC_FAR *pdwRMCookie);
|
|
|
|
|
|
void __RPC_STUB IDtcToXaMapper_RequestNewResourceManager_Stub(
|
|
IRpcStubBuffer *This,
|
|
IRpcChannelBuffer *_pRpcChannelBuffer,
|
|
PRPC_MESSAGE _pRpcMessage,
|
|
DWORD *_pdwStubPhase);
|
|
|
|
|
|
HRESULT STDMETHODCALLTYPE IDtcToXaMapper_TranslateTridToXid_Proxy(
|
|
IDtcToXaMapper __RPC_FAR * This,
|
|
/* [in] */ DWORD __RPC_FAR *pdwITransaction,
|
|
/* [in] */ DWORD dwRMCookie,
|
|
/* [out][in] */ XID __RPC_FAR *pXid);
|
|
|
|
|
|
void __RPC_STUB IDtcToXaMapper_TranslateTridToXid_Stub(
|
|
IRpcStubBuffer *This,
|
|
IRpcChannelBuffer *_pRpcChannelBuffer,
|
|
PRPC_MESSAGE _pRpcMessage,
|
|
DWORD *_pdwStubPhase);
|
|
|
|
|
|
HRESULT STDMETHODCALLTYPE IDtcToXaMapper_EnlistResourceManager_Proxy(
|
|
IDtcToXaMapper __RPC_FAR * This,
|
|
/* [in] */ DWORD dwRMCookie,
|
|
/* [in] */ DWORD __RPC_FAR *pdwITransaction);
|
|
|
|
|
|
void __RPC_STUB IDtcToXaMapper_EnlistResourceManager_Stub(
|
|
IRpcStubBuffer *This,
|
|
IRpcChannelBuffer *_pRpcChannelBuffer,
|
|
PRPC_MESSAGE _pRpcMessage,
|
|
DWORD *_pdwStubPhase);
|
|
|
|
|
|
HRESULT STDMETHODCALLTYPE IDtcToXaMapper_ReleaseResourceManager_Proxy(
|
|
IDtcToXaMapper __RPC_FAR * This,
|
|
/* [in] */ DWORD dwRMCookie);
|
|
|
|
|
|
void __RPC_STUB IDtcToXaMapper_ReleaseResourceManager_Stub(
|
|
IRpcStubBuffer *This,
|
|
IRpcChannelBuffer *_pRpcChannelBuffer,
|
|
PRPC_MESSAGE _pRpcMessage,
|
|
DWORD *_pdwStubPhase);
|
|
|
|
|
|
|
|
#endif /* __IDtcToXaMapper_INTERFACE_DEFINED__ */
|
|
|
|
|
|
#ifndef __IDtcToXaHelperFactory_INTERFACE_DEFINED__
|
|
#define __IDtcToXaHelperFactory_INTERFACE_DEFINED__
|
|
|
|
/* interface IDtcToXaHelperFactory */
|
|
/* [unique][uuid][object] */
|
|
|
|
|
|
EXTERN_C const IID IID_IDtcToXaHelperFactory;
|
|
|
|
#if defined(__cplusplus) && !defined(CINTERFACE)
|
|
|
|
MIDL_INTERFACE("A9861610-304A-11d1-9813-00A0C905416E")
|
|
IDtcToXaHelperFactory : public IUnknown
|
|
{
|
|
public:
|
|
virtual HRESULT STDMETHODCALLTYPE Create(
|
|
/* [in] */ char __RPC_FAR *pszDSN,
|
|
/* [in] */ char __RPC_FAR *pszClientDllName,
|
|
/* [out] */ GUID __RPC_FAR *pguidRm,
|
|
/* [out] */ IDtcToXaHelper __RPC_FAR *__RPC_FAR *ppXaHelper) = 0;
|
|
|
|
};
|
|
|
|
#else /* C style interface */
|
|
|
|
typedef struct IDtcToXaHelperFactoryVtbl
|
|
{
|
|
BEGIN_INTERFACE
|
|
|
|
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
|
|
IDtcToXaHelperFactory __RPC_FAR * This,
|
|
/* [in] */ REFIID riid,
|
|
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
|
|
|
|
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
|
|
IDtcToXaHelperFactory __RPC_FAR * This);
|
|
|
|
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
|
|
IDtcToXaHelperFactory __RPC_FAR * This);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Create )(
|
|
IDtcToXaHelperFactory __RPC_FAR * This,
|
|
/* [in] */ char __RPC_FAR *pszDSN,
|
|
/* [in] */ char __RPC_FAR *pszClientDllName,
|
|
/* [out] */ GUID __RPC_FAR *pguidRm,
|
|
/* [out] */ IDtcToXaHelper __RPC_FAR *__RPC_FAR *ppXaHelper);
|
|
|
|
END_INTERFACE
|
|
} IDtcToXaHelperFactoryVtbl;
|
|
|
|
interface IDtcToXaHelperFactory
|
|
{
|
|
CONST_VTBL struct IDtcToXaHelperFactoryVtbl __RPC_FAR *lpVtbl;
|
|
};
|
|
|
|
|
|
|
|
#ifdef COBJMACROS
|
|
|
|
|
|
#define IDtcToXaHelperFactory_QueryInterface(This,riid,ppvObject) \
|
|
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
|
|
|
|
#define IDtcToXaHelperFactory_AddRef(This) \
|
|
(This)->lpVtbl -> AddRef(This)
|
|
|
|
#define IDtcToXaHelperFactory_Release(This) \
|
|
(This)->lpVtbl -> Release(This)
|
|
|
|
|
|
#define IDtcToXaHelperFactory_Create(This,pszDSN,pszClientDllName,pguidRm,ppXaHelper) \
|
|
(This)->lpVtbl -> Create(This,pszDSN,pszClientDllName,pguidRm,ppXaHelper)
|
|
|
|
#endif /* COBJMACROS */
|
|
|
|
|
|
#endif /* C style interface */
|
|
|
|
|
|
|
|
HRESULT STDMETHODCALLTYPE IDtcToXaHelperFactory_Create_Proxy(
|
|
IDtcToXaHelperFactory __RPC_FAR * This,
|
|
/* [in] */ char __RPC_FAR *pszDSN,
|
|
/* [in] */ char __RPC_FAR *pszClientDllName,
|
|
/* [out] */ GUID __RPC_FAR *pguidRm,
|
|
/* [out] */ IDtcToXaHelper __RPC_FAR *__RPC_FAR *ppXaHelper);
|
|
|
|
|
|
void __RPC_STUB IDtcToXaHelperFactory_Create_Stub(
|
|
IRpcStubBuffer *This,
|
|
IRpcChannelBuffer *_pRpcChannelBuffer,
|
|
PRPC_MESSAGE _pRpcMessage,
|
|
DWORD *_pdwStubPhase);
|
|
|
|
|
|
|
|
#endif /* __IDtcToXaHelperFactory_INTERFACE_DEFINED__ */
|
|
|
|
|
|
#ifndef __IDtcToXaHelper_INTERFACE_DEFINED__
|
|
#define __IDtcToXaHelper_INTERFACE_DEFINED__
|
|
|
|
/* interface IDtcToXaHelper */
|
|
/* [unique][uuid][object] */
|
|
|
|
|
|
EXTERN_C const IID IID_IDtcToXaHelper;
|
|
|
|
#if defined(__cplusplus) && !defined(CINTERFACE)
|
|
|
|
MIDL_INTERFACE("A9861611-304A-11d1-9813-00A0C905416E")
|
|
IDtcToXaHelper : public IUnknown
|
|
{
|
|
public:
|
|
virtual HRESULT STDMETHODCALLTYPE Close(
|
|
/* [in] */ BOOL i_fDoRecovery) = 0;
|
|
|
|
virtual HRESULT STDMETHODCALLTYPE TranslateTridToXid(
|
|
/* [in] */ ITransaction __RPC_FAR *pITransaction,
|
|
/* [in] */ GUID __RPC_FAR *pguidBqual,
|
|
/* [out] */ XID __RPC_FAR *pXid) = 0;
|
|
|
|
};
|
|
|
|
#else /* C style interface */
|
|
|
|
typedef struct IDtcToXaHelperVtbl
|
|
{
|
|
BEGIN_INTERFACE
|
|
|
|
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
|
|
IDtcToXaHelper __RPC_FAR * This,
|
|
/* [in] */ REFIID riid,
|
|
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
|
|
|
|
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
|
|
IDtcToXaHelper __RPC_FAR * This);
|
|
|
|
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
|
|
IDtcToXaHelper __RPC_FAR * This);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Close )(
|
|
IDtcToXaHelper __RPC_FAR * This,
|
|
/* [in] */ BOOL i_fDoRecovery);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *TranslateTridToXid )(
|
|
IDtcToXaHelper __RPC_FAR * This,
|
|
/* [in] */ ITransaction __RPC_FAR *pITransaction,
|
|
/* [in] */ GUID __RPC_FAR *pguidBqual,
|
|
/* [out] */ XID __RPC_FAR *pXid);
|
|
|
|
END_INTERFACE
|
|
} IDtcToXaHelperVtbl;
|
|
|
|
interface IDtcToXaHelper
|
|
{
|
|
CONST_VTBL struct IDtcToXaHelperVtbl __RPC_FAR *lpVtbl;
|
|
};
|
|
|
|
|
|
|
|
#ifdef COBJMACROS
|
|
|
|
|
|
#define IDtcToXaHelper_QueryInterface(This,riid,ppvObject) \
|
|
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
|
|
|
|
#define IDtcToXaHelper_AddRef(This) \
|
|
(This)->lpVtbl -> AddRef(This)
|
|
|
|
#define IDtcToXaHelper_Release(This) \
|
|
(This)->lpVtbl -> Release(This)
|
|
|
|
|
|
#define IDtcToXaHelper_Close(This,i_fDoRecovery) \
|
|
(This)->lpVtbl -> Close(This,i_fDoRecovery)
|
|
|
|
#define IDtcToXaHelper_TranslateTridToXid(This,pITransaction,pguidBqual,pXid) \
|
|
(This)->lpVtbl -> TranslateTridToXid(This,pITransaction,pguidBqual,pXid)
|
|
|
|
#endif /* COBJMACROS */
|
|
|
|
|
|
#endif /* C style interface */
|
|
|
|
|
|
|
|
HRESULT STDMETHODCALLTYPE IDtcToXaHelper_Close_Proxy(
|
|
IDtcToXaHelper __RPC_FAR * This,
|
|
/* [in] */ BOOL i_fDoRecovery);
|
|
|
|
|
|
void __RPC_STUB IDtcToXaHelper_Close_Stub(
|
|
IRpcStubBuffer *This,
|
|
IRpcChannelBuffer *_pRpcChannelBuffer,
|
|
PRPC_MESSAGE _pRpcMessage,
|
|
DWORD *_pdwStubPhase);
|
|
|
|
|
|
HRESULT STDMETHODCALLTYPE IDtcToXaHelper_TranslateTridToXid_Proxy(
|
|
IDtcToXaHelper __RPC_FAR * This,
|
|
/* [in] */ ITransaction __RPC_FAR *pITransaction,
|
|
/* [in] */ GUID __RPC_FAR *pguidBqual,
|
|
/* [out] */ XID __RPC_FAR *pXid);
|
|
|
|
|
|
void __RPC_STUB IDtcToXaHelper_TranslateTridToXid_Stub(
|
|
IRpcStubBuffer *This,
|
|
IRpcChannelBuffer *_pRpcChannelBuffer,
|
|
PRPC_MESSAGE _pRpcMessage,
|
|
DWORD *_pdwStubPhase);
|
|
|
|
|
|
|
|
#endif /* __IDtcToXaHelper_INTERFACE_DEFINED__ */
|
|
|
|
|
|
#ifndef __IDtcToXaHelperSinglePipe_INTERFACE_DEFINED__
|
|
#define __IDtcToXaHelperSinglePipe_INTERFACE_DEFINED__
|
|
|
|
/* interface IDtcToXaHelperSinglePipe */
|
|
/* [local][unique][uuid][object] */
|
|
|
|
|
|
EXTERN_C const IID IID_IDtcToXaHelperSinglePipe;
|
|
|
|
#if defined(__cplusplus) && !defined(CINTERFACE)
|
|
|
|
MIDL_INTERFACE("47ED4971-53B3-11d1-BBB9-00C04FD658F6")
|
|
IDtcToXaHelperSinglePipe : public IUnknown
|
|
{
|
|
public:
|
|
virtual HRESULT STDMETHODCALLTYPE XARMCreate(
|
|
/* [string][in] */ char __RPC_FAR *pszDSN,
|
|
/* [string][in] */ char __RPC_FAR *pszClientDll,
|
|
/* [out][in] */ DWORD __RPC_FAR *pdwRMCookie) = 0;
|
|
|
|
virtual HRESULT STDMETHODCALLTYPE ConvertTridToXID(
|
|
/* [in] */ DWORD __RPC_FAR *pdwITrans,
|
|
/* [in] */ DWORD dwRMCookie,
|
|
/* [out][in] */ XID __RPC_FAR *pxid) = 0;
|
|
|
|
virtual HRESULT STDMETHODCALLTYPE EnlistWithRM(
|
|
/* [in] */ DWORD dwRMCookie,
|
|
/* [in] */ ITransaction __RPC_FAR *i_pITransaction,
|
|
/* [in] */ ITransactionResourceAsync __RPC_FAR *i_pITransRes,
|
|
/* [out] */ ITransactionEnlistmentAsync __RPC_FAR *__RPC_FAR *o_ppITransEnslitment) = 0;
|
|
|
|
virtual void STDMETHODCALLTYPE ReleaseRMCookie(
|
|
/* [in] */ DWORD i_dwRMCookie,
|
|
/* [in] */ BOOL i_fNormal) = 0;
|
|
|
|
};
|
|
|
|
#else /* C style interface */
|
|
|
|
typedef struct IDtcToXaHelperSinglePipeVtbl
|
|
{
|
|
BEGIN_INTERFACE
|
|
|
|
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
|
|
IDtcToXaHelperSinglePipe __RPC_FAR * This,
|
|
/* [in] */ REFIID riid,
|
|
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
|
|
|
|
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
|
|
IDtcToXaHelperSinglePipe __RPC_FAR * This);
|
|
|
|
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
|
|
IDtcToXaHelperSinglePipe __RPC_FAR * This);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *XARMCreate )(
|
|
IDtcToXaHelperSinglePipe __RPC_FAR * This,
|
|
/* [string][in] */ char __RPC_FAR *pszDSN,
|
|
/* [string][in] */ char __RPC_FAR *pszClientDll,
|
|
/* [out][in] */ DWORD __RPC_FAR *pdwRMCookie);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ConvertTridToXID )(
|
|
IDtcToXaHelperSinglePipe __RPC_FAR * This,
|
|
/* [in] */ DWORD __RPC_FAR *pdwITrans,
|
|
/* [in] */ DWORD dwRMCookie,
|
|
/* [out][in] */ XID __RPC_FAR *pxid);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *EnlistWithRM )(
|
|
IDtcToXaHelperSinglePipe __RPC_FAR * This,
|
|
/* [in] */ DWORD dwRMCookie,
|
|
/* [in] */ ITransaction __RPC_FAR *i_pITransaction,
|
|
/* [in] */ ITransactionResourceAsync __RPC_FAR *i_pITransRes,
|
|
/* [out] */ ITransactionEnlistmentAsync __RPC_FAR *__RPC_FAR *o_ppITransEnslitment);
|
|
|
|
void ( STDMETHODCALLTYPE __RPC_FAR *ReleaseRMCookie )(
|
|
IDtcToXaHelperSinglePipe __RPC_FAR * This,
|
|
/* [in] */ DWORD i_dwRMCookie,
|
|
/* [in] */ BOOL i_fNormal);
|
|
|
|
END_INTERFACE
|
|
} IDtcToXaHelperSinglePipeVtbl;
|
|
|
|
interface IDtcToXaHelperSinglePipe
|
|
{
|
|
CONST_VTBL struct IDtcToXaHelperSinglePipeVtbl __RPC_FAR *lpVtbl;
|
|
};
|
|
|
|
|
|
|
|
#ifdef COBJMACROS
|
|
|
|
|
|
#define IDtcToXaHelperSinglePipe_QueryInterface(This,riid,ppvObject) \
|
|
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
|
|
|
|
#define IDtcToXaHelperSinglePipe_AddRef(This) \
|
|
(This)->lpVtbl -> AddRef(This)
|
|
|
|
#define IDtcToXaHelperSinglePipe_Release(This) \
|
|
(This)->lpVtbl -> Release(This)
|
|
|
|
|
|
#define IDtcToXaHelperSinglePipe_XARMCreate(This,pszDSN,pszClientDll,pdwRMCookie) \
|
|
(This)->lpVtbl -> XARMCreate(This,pszDSN,pszClientDll,pdwRMCookie)
|
|
|
|
#define IDtcToXaHelperSinglePipe_ConvertTridToXID(This,pdwITrans,dwRMCookie,pxid) \
|
|
(This)->lpVtbl -> ConvertTridToXID(This,pdwITrans,dwRMCookie,pxid)
|
|
|
|
#define IDtcToXaHelperSinglePipe_EnlistWithRM(This,dwRMCookie,i_pITransaction,i_pITransRes,o_ppITransEnslitment) \
|
|
(This)->lpVtbl -> EnlistWithRM(This,dwRMCookie,i_pITransaction,i_pITransRes,o_ppITransEnslitment)
|
|
|
|
#define IDtcToXaHelperSinglePipe_ReleaseRMCookie(This,i_dwRMCookie,i_fNormal) \
|
|
(This)->lpVtbl -> ReleaseRMCookie(This,i_dwRMCookie,i_fNormal)
|
|
|
|
#endif /* COBJMACROS */
|
|
|
|
|
|
#endif /* C style interface */
|
|
|
|
|
|
|
|
HRESULT STDMETHODCALLTYPE IDtcToXaHelperSinglePipe_XARMCreate_Proxy(
|
|
IDtcToXaHelperSinglePipe __RPC_FAR * This,
|
|
/* [string][in] */ char __RPC_FAR *pszDSN,
|
|
/* [string][in] */ char __RPC_FAR *pszClientDll,
|
|
/* [out][in] */ DWORD __RPC_FAR *pdwRMCookie);
|
|
|
|
|
|
void __RPC_STUB IDtcToXaHelperSinglePipe_XARMCreate_Stub(
|
|
IRpcStubBuffer *This,
|
|
IRpcChannelBuffer *_pRpcChannelBuffer,
|
|
PRPC_MESSAGE _pRpcMessage,
|
|
DWORD *_pdwStubPhase);
|
|
|
|
|
|
HRESULT STDMETHODCALLTYPE IDtcToXaHelperSinglePipe_ConvertTridToXID_Proxy(
|
|
IDtcToXaHelperSinglePipe __RPC_FAR * This,
|
|
/* [in] */ DWORD __RPC_FAR *pdwITrans,
|
|
/* [in] */ DWORD dwRMCookie,
|
|
/* [out][in] */ XID __RPC_FAR *pxid);
|
|
|
|
|
|
void __RPC_STUB IDtcToXaHelperSinglePipe_ConvertTridToXID_Stub(
|
|
IRpcStubBuffer *This,
|
|
IRpcChannelBuffer *_pRpcChannelBuffer,
|
|
PRPC_MESSAGE _pRpcMessage,
|
|
DWORD *_pdwStubPhase);
|
|
|
|
|
|
HRESULT STDMETHODCALLTYPE IDtcToXaHelperSinglePipe_EnlistWithRM_Proxy(
|
|
IDtcToXaHelperSinglePipe __RPC_FAR * This,
|
|
/* [in] */ DWORD dwRMCookie,
|
|
/* [in] */ ITransaction __RPC_FAR *i_pITransaction,
|
|
/* [in] */ ITransactionResourceAsync __RPC_FAR *i_pITransRes,
|
|
/* [out] */ ITransactionEnlistmentAsync __RPC_FAR *__RPC_FAR *o_ppITransEnslitment);
|
|
|
|
|
|
void __RPC_STUB IDtcToXaHelperSinglePipe_EnlistWithRM_Stub(
|
|
IRpcStubBuffer *This,
|
|
IRpcChannelBuffer *_pRpcChannelBuffer,
|
|
PRPC_MESSAGE _pRpcMessage,
|
|
DWORD *_pdwStubPhase);
|
|
|
|
|
|
void STDMETHODCALLTYPE IDtcToXaHelperSinglePipe_ReleaseRMCookie_Proxy(
|
|
IDtcToXaHelperSinglePipe __RPC_FAR * This,
|
|
/* [in] */ DWORD i_dwRMCookie,
|
|
/* [in] */ BOOL i_fNormal);
|
|
|
|
|
|
void __RPC_STUB IDtcToXaHelperSinglePipe_ReleaseRMCookie_Stub(
|
|
IRpcStubBuffer *This,
|
|
IRpcChannelBuffer *_pRpcChannelBuffer,
|
|
PRPC_MESSAGE _pRpcMessage,
|
|
DWORD *_pdwStubPhase);
|
|
|
|
|
|
|
|
#endif /* __IDtcToXaHelperSinglePipe_INTERFACE_DEFINED__ */
|
|
|
|
|
|
/* interface __MIDL_itf_oletx2xa_0112 */
|
|
/* [local] */
|
|
|
|
|
|
|
|
#if _MSC_VER < 1100 || !defined(__cplusplus)
|
|
|
|
DEFINE_GUID(IID_IDtcToXaMapper, 0x64FFABE0, 0x7CE9, 0x11d0, 0x8C, 0xE6, 0x00, 0xC0, 0x4F, 0xDC, 0x87, 0x7E);
|
|
DEFINE_GUID(IID_IDtcToXaHelperFactory, 0xadefc46a, 0xcb1d, 0x11d0, 0xb1, 0x35, 0x00, 0xc0, 0x4f, 0xc2, 0xf3, 0xef);
|
|
DEFINE_GUID(IID_IDtcToXaHelper, 0xadefc46b, 0xcb1d, 0x11d0, 0xb1, 0x35, 0x00, 0xc0, 0x4f, 0xc2, 0xf3, 0xef);
|
|
DEFINE_GUID(IID_IDtcToXaHelperSinglePipe, 0x47ED4971, 0x53B3, 0x11d1, 0xBB, 0xB9, 0x00, 0xC0, 0x4F, 0xD6, 0x58, 0xF6);
|
|
|
|
#else
|
|
|
|
#define IID_IDtcToXaMapper __uuidof(IDtcToXaMapper)
|
|
#define IID_IDtcToXaHelperFactory __uuidof(IDtcToXaHelperFactory)
|
|
#define IID_IDtcToXaHelper __uuidof(IDtcToXaHelper)
|
|
#define IID_IDtcToXaHelperSinglePipe __uuidof(IDtcToXaHelperSinglePipe)
|
|
|
|
#endif
|
|
|
|
|
|
extern RPC_IF_HANDLE __MIDL_itf_oletx2xa_0112_v0_0_c_ifspec;
|
|
extern RPC_IF_HANDLE __MIDL_itf_oletx2xa_0112_v0_0_s_ifspec;
|
|
|
|
/* Additional Prototypes for ALL interfaces */
|
|
|
|
/* end of Additional Prototypes */
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
#pragma option pop /*P_O_Pop*/
|