📄 txdtc.h
字号:
#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:37:51 1999
*/
/* Compiler settings for txdtc.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 __txdtc_h__
#define __txdtc_h__
/* Forward Declarations */
#ifndef __IXATransLookup_FWD_DEFINED__
#define __IXATransLookup_FWD_DEFINED__
typedef interface IXATransLookup IXATransLookup;
#endif /* __IXATransLookup_FWD_DEFINED__ */
#ifndef __IResourceManagerSink_FWD_DEFINED__
#define __IResourceManagerSink_FWD_DEFINED__
typedef interface IResourceManagerSink IResourceManagerSink;
#endif /* __IResourceManagerSink_FWD_DEFINED__ */
#ifndef __IResourceManager_FWD_DEFINED__
#define __IResourceManager_FWD_DEFINED__
typedef interface IResourceManager IResourceManager;
#endif /* __IResourceManager_FWD_DEFINED__ */
#ifndef __IResourceManager2_FWD_DEFINED__
#define __IResourceManager2_FWD_DEFINED__
typedef interface IResourceManager2 IResourceManager2;
#endif /* __IResourceManager2_FWD_DEFINED__ */
#ifndef __IXAConfig_FWD_DEFINED__
#define __IXAConfig_FWD_DEFINED__
typedef interface IXAConfig IXAConfig;
#endif /* __IXAConfig_FWD_DEFINED__ */
#ifndef __IRMHelper_FWD_DEFINED__
#define __IRMHelper_FWD_DEFINED__
typedef interface IRMHelper IRMHelper;
#endif /* __IRMHelper_FWD_DEFINED__ */
#ifndef __IXAObtainRMInfo_FWD_DEFINED__
#define __IXAObtainRMInfo_FWD_DEFINED__
typedef interface IXAObtainRMInfo IXAObtainRMInfo;
#endif /* __IXAObtainRMInfo_FWD_DEFINED__ */
#ifndef __IResourceManagerFactory_FWD_DEFINED__
#define __IResourceManagerFactory_FWD_DEFINED__
typedef interface IResourceManagerFactory IResourceManagerFactory;
#endif /* __IResourceManagerFactory_FWD_DEFINED__ */
#ifndef __IResourceManagerFactory2_FWD_DEFINED__
#define __IResourceManagerFactory2_FWD_DEFINED__
typedef interface IResourceManagerFactory2 IResourceManagerFactory2;
#endif /* __IResourceManagerFactory2_FWD_DEFINED__ */
#ifndef __IPrepareInfo_FWD_DEFINED__
#define __IPrepareInfo_FWD_DEFINED__
typedef interface IPrepareInfo IPrepareInfo;
#endif /* __IPrepareInfo_FWD_DEFINED__ */
#ifndef __IPrepareInfo2_FWD_DEFINED__
#define __IPrepareInfo2_FWD_DEFINED__
typedef interface IPrepareInfo2 IPrepareInfo2;
#endif /* __IPrepareInfo2_FWD_DEFINED__ */
#ifndef __IGetDispenser_FWD_DEFINED__
#define __IGetDispenser_FWD_DEFINED__
typedef interface IGetDispenser IGetDispenser;
#endif /* __IGetDispenser_FWD_DEFINED__ */
#ifndef __ITransactionVoterBallotAsync2_FWD_DEFINED__
#define __ITransactionVoterBallotAsync2_FWD_DEFINED__
typedef interface ITransactionVoterBallotAsync2 ITransactionVoterBallotAsync2;
#endif /* __ITransactionVoterBallotAsync2_FWD_DEFINED__ */
#ifndef __ITransactionVoterNotifyAsync2_FWD_DEFINED__
#define __ITransactionVoterNotifyAsync2_FWD_DEFINED__
typedef interface ITransactionVoterNotifyAsync2 ITransactionVoterNotifyAsync2;
#endif /* __ITransactionVoterNotifyAsync2_FWD_DEFINED__ */
#ifndef __ITransactionVoterFactory2_FWD_DEFINED__
#define __ITransactionVoterFactory2_FWD_DEFINED__
typedef interface ITransactionVoterFactory2 ITransactionVoterFactory2;
#endif /* __ITransactionVoterFactory2_FWD_DEFINED__ */
#ifndef __ITransactionPhase0EnlistmentAsync_FWD_DEFINED__
#define __ITransactionPhase0EnlistmentAsync_FWD_DEFINED__
typedef interface ITransactionPhase0EnlistmentAsync ITransactionPhase0EnlistmentAsync;
#endif /* __ITransactionPhase0EnlistmentAsync_FWD_DEFINED__ */
#ifndef __ITransactionPhase0NotifyAsync_FWD_DEFINED__
#define __ITransactionPhase0NotifyAsync_FWD_DEFINED__
typedef interface ITransactionPhase0NotifyAsync ITransactionPhase0NotifyAsync;
#endif /* __ITransactionPhase0NotifyAsync_FWD_DEFINED__ */
#ifndef __ITransactionPhase0Factory_FWD_DEFINED__
#define __ITransactionPhase0Factory_FWD_DEFINED__
typedef interface ITransactionPhase0Factory ITransactionPhase0Factory;
#endif /* __ITransactionPhase0Factory_FWD_DEFINED__ */
#ifndef __ITransactionTransmitter_FWD_DEFINED__
#define __ITransactionTransmitter_FWD_DEFINED__
typedef interface ITransactionTransmitter ITransactionTransmitter;
#endif /* __ITransactionTransmitter_FWD_DEFINED__ */
#ifndef __ITransactionTransmitterFactory_FWD_DEFINED__
#define __ITransactionTransmitterFactory_FWD_DEFINED__
typedef interface ITransactionTransmitterFactory ITransactionTransmitterFactory;
#endif /* __ITransactionTransmitterFactory_FWD_DEFINED__ */
#ifndef __ITransactionReceiver_FWD_DEFINED__
#define __ITransactionReceiver_FWD_DEFINED__
typedef interface ITransactionReceiver ITransactionReceiver;
#endif /* __ITransactionReceiver_FWD_DEFINED__ */
#ifndef __ITransactionReceiverFactory_FWD_DEFINED__
#define __ITransactionReceiverFactory_FWD_DEFINED__
typedef interface ITransactionReceiverFactory ITransactionReceiverFactory;
#endif /* __ITransactionReceiverFactory_FWD_DEFINED__ */
#ifndef __IDtcLuConfigure_FWD_DEFINED__
#define __IDtcLuConfigure_FWD_DEFINED__
typedef interface IDtcLuConfigure IDtcLuConfigure;
#endif /* __IDtcLuConfigure_FWD_DEFINED__ */
#ifndef __IDtcLuRecovery_FWD_DEFINED__
#define __IDtcLuRecovery_FWD_DEFINED__
typedef interface IDtcLuRecovery IDtcLuRecovery;
#endif /* __IDtcLuRecovery_FWD_DEFINED__ */
#ifndef __IDtcLuRecoveryFactory_FWD_DEFINED__
#define __IDtcLuRecoveryFactory_FWD_DEFINED__
typedef interface IDtcLuRecoveryFactory IDtcLuRecoveryFactory;
#endif /* __IDtcLuRecoveryFactory_FWD_DEFINED__ */
#ifndef __IDtcLuRecoveryInitiatedByDtcTransWork_FWD_DEFINED__
#define __IDtcLuRecoveryInitiatedByDtcTransWork_FWD_DEFINED__
typedef interface IDtcLuRecoveryInitiatedByDtcTransWork IDtcLuRecoveryInitiatedByDtcTransWork;
#endif /* __IDtcLuRecoveryInitiatedByDtcTransWork_FWD_DEFINED__ */
#ifndef __IDtcLuRecoveryInitiatedByDtcStatusWork_FWD_DEFINED__
#define __IDtcLuRecoveryInitiatedByDtcStatusWork_FWD_DEFINED__
typedef interface IDtcLuRecoveryInitiatedByDtcStatusWork IDtcLuRecoveryInitiatedByDtcStatusWork;
#endif /* __IDtcLuRecoveryInitiatedByDtcStatusWork_FWD_DEFINED__ */
#ifndef __IDtcLuRecoveryInitiatedByDtc_FWD_DEFINED__
#define __IDtcLuRecoveryInitiatedByDtc_FWD_DEFINED__
typedef interface IDtcLuRecoveryInitiatedByDtc IDtcLuRecoveryInitiatedByDtc;
#endif /* __IDtcLuRecoveryInitiatedByDtc_FWD_DEFINED__ */
#ifndef __IDtcLuRecoveryInitiatedByLuWork_FWD_DEFINED__
#define __IDtcLuRecoveryInitiatedByLuWork_FWD_DEFINED__
typedef interface IDtcLuRecoveryInitiatedByLuWork IDtcLuRecoveryInitiatedByLuWork;
#endif /* __IDtcLuRecoveryInitiatedByLuWork_FWD_DEFINED__ */
#ifndef __IDtcLuRecoveryInitiatedByLu_FWD_DEFINED__
#define __IDtcLuRecoveryInitiatedByLu_FWD_DEFINED__
typedef interface IDtcLuRecoveryInitiatedByLu IDtcLuRecoveryInitiatedByLu;
#endif /* __IDtcLuRecoveryInitiatedByLu_FWD_DEFINED__ */
#ifndef __IDtcLuRmEnlistment_FWD_DEFINED__
#define __IDtcLuRmEnlistment_FWD_DEFINED__
typedef interface IDtcLuRmEnlistment IDtcLuRmEnlistment;
#endif /* __IDtcLuRmEnlistment_FWD_DEFINED__ */
#ifndef __IDtcLuRmEnlistmentSink_FWD_DEFINED__
#define __IDtcLuRmEnlistmentSink_FWD_DEFINED__
typedef interface IDtcLuRmEnlistmentSink IDtcLuRmEnlistmentSink;
#endif /* __IDtcLuRmEnlistmentSink_FWD_DEFINED__ */
#ifndef __IDtcLuRmEnlistmentFactory_FWD_DEFINED__
#define __IDtcLuRmEnlistmentFactory_FWD_DEFINED__
typedef interface IDtcLuRmEnlistmentFactory IDtcLuRmEnlistmentFactory;
#endif /* __IDtcLuRmEnlistmentFactory_FWD_DEFINED__ */
#ifndef __IDtcLuSubordinateDtc_FWD_DEFINED__
#define __IDtcLuSubordinateDtc_FWD_DEFINED__
typedef interface IDtcLuSubordinateDtc IDtcLuSubordinateDtc;
#endif /* __IDtcLuSubordinateDtc_FWD_DEFINED__ */
#ifndef __IDtcLuSubordinateDtcSink_FWD_DEFINED__
#define __IDtcLuSubordinateDtcSink_FWD_DEFINED__
typedef interface IDtcLuSubordinateDtcSink IDtcLuSubordinateDtcSink;
#endif /* __IDtcLuSubordinateDtcSink_FWD_DEFINED__ */
#ifndef __IDtcLuSubordinateDtcFactory_FWD_DEFINED__
#define __IDtcLuSubordinateDtcFactory_FWD_DEFINED__
typedef interface IDtcLuSubordinateDtcFactory IDtcLuSubordinateDtcFactory;
#endif /* __IDtcLuSubordinateDtcFactory_FWD_DEFINED__ */
/* header files for imported files */
#include "txcoord.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_txdtc_0000 */
/* [local] */
#define XACTTOMSG(dwXact) (dwXact-0x00040000+0x40000000)
typedef
enum XACT_DTC_CONSTANTS
{ XACT_E_CONNECTION_REQUEST_DENIED = 0x8004d100L,
XACT_E_TOOMANY_ENLISTMENTS = 0x8004d101L,
XACT_E_DUPLICATE_GUID = 0x8004d102L,
XACT_E_NOTSINGLEPHASE = 0x8004d103L,
XACT_E_RECOVERYALREADYDONE = 0x8004d104L,
XACT_E_PROTOCOL = 0x8004d105L,
XACT_E_RM_FAILURE = 0x8004d106L,
XACT_E_RECOVERY_FAILED = 0x8004d107L,
XACT_E_LU_NOT_FOUND = 0x8004d108L,
XACT_E_DUPLICATE_LU = 0x8004d109L,
XACT_E_LU_NOT_CONNECTED = 0x8004d10aL,
XACT_E_DUPLICATE_TRANSID = 0x8004d10bL,
XACT_E_LU_BUSY = 0x8004d10cL,
XACT_E_LU_NO_RECOVERY_PROCESS = 0x8004d10dL,
XACT_E_LU_DOWN = 0x8004d10eL,
XACT_E_LU_RECOVERING = 0x8004d10fL,
XACT_E_LU_RECOVERY_MISMATCH = 0x8004d110L,
XACT_E_RM_UNAVAILABLE = 0x8004d111L,
XACT_S_NONOTIFY = 0x4d100L,
XACT_OK_NONOTIFY = 0x4d101L,
dwUSER_MS_SQLSERVER = 0xffff
} XACT_DTC_CONSTANTS;
#ifndef _XID_T_DEFINED
#define _XID_T_DEFINED
typedef struct xid_t
{
long formatID;
long gtrid_length;
long bqual_length;
char data[ 128 ];
} XID;
#endif
#ifndef _XA_SWITCH_T_DEFINED
#define _XA_SWITCH_T_DEFINED
typedef struct xa_switch_t
{
char name[ 32 ];
long flags;
long version;
int ( __cdecl __RPC_FAR *xa_open_entry )(
char __RPC_FAR *__MIDL_0004,
int __MIDL_0005,
long __MIDL_0006);
int ( __cdecl __RPC_FAR *xa_close_entry )(
char __RPC_FAR *__MIDL_0008,
int __MIDL_0009,
long __MIDL_0010);
int ( __cdecl __RPC_FAR *xa_start_entry )(
XID __RPC_FAR *__MIDL_0012,
int __MIDL_0013,
long __MIDL_0014);
int ( __cdecl __RPC_FAR *xa_end_entry )(
XID __RPC_FAR *__MIDL_0016,
int __MIDL_0017,
long __MIDL_0018);
int ( __cdecl __RPC_FAR *xa_rollback_entry )(
XID __RPC_FAR *__MIDL_0020,
int __MIDL_0021,
long __MIDL_0022);
int ( __cdecl __RPC_FAR *xa_prepare_entry )(
XID __RPC_FAR *__MIDL_0024,
int __MIDL_0025,
long __MIDL_0026);
int ( __cdecl __RPC_FAR *xa_commit_entry )(
XID __RPC_FAR *__MIDL_0028,
int __MIDL_0029,
long __MIDL_0030);
int ( __cdecl __RPC_FAR *xa_recover_entry )(
XID __RPC_FAR *__MIDL_0032,
long __MIDL_0033,
int __MIDL_0034,
long __MIDL_0035);
int ( __cdecl __RPC_FAR *xa_forget_entry )(
XID __RPC_FAR *__MIDL_0037,
int __MIDL_0038,
long __MIDL_0039);
int ( __cdecl __RPC_FAR *xa_complete_entry )(
int __RPC_FAR *__MIDL_0041,
int __RPC_FAR *__MIDL_0042,
int __MIDL_0043,
long __MIDL_0044);
} xa_switch_t;
#endif
extern RPC_IF_HANDLE __MIDL_itf_txdtc_0000_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_txdtc_0000_v0_0_s_ifspec;
#ifndef __IXATransLookup_INTERFACE_DEFINED__
#define __IXATransLookup_INTERFACE_DEFINED__
/* interface IXATransLookup */
/* [unique][object][uuid] */
EXTERN_C const IID IID_IXATransLookup;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("F3B1F131-EEDA-11ce-AED4-00AA0051E2C4")
IXATransLookup : public IUnknown
{
public:
virtual HRESULT STDMETHODCALLTYPE Lookup(
/* [out] */ ITransaction __RPC_FAR *__RPC_FAR *ppTransaction) = 0;
};
#else /* C style interface */
typedef struct IXATransLookupVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
IXATransLookup __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
IXATransLookup __RPC_FAR * This);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
IXATransLookup __RPC_FAR * This);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Lookup )(
IXATransLookup __RPC_FAR * This,
/* [out] */ ITransaction __RPC_FAR *__RPC_FAR *ppTransaction);
END_INTERFACE
} IXATransLookupVtbl;
interface IXATransLookup
{
CONST_VTBL struct IXATransLookupVtbl __RPC_FAR *lpVtbl;
};
#ifdef COBJMACROS
#define IXATransLookup_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -