diff options
author | Valentin Popov <valentin@popov.link> | 2024-01-08 00:21:28 +0300 |
---|---|---|
committer | Valentin Popov <valentin@popov.link> | 2024-01-08 00:21:28 +0300 |
commit | 1b6a04ca5504955c571d1c97504fb45ea0befee4 (patch) | |
tree | 7579f518b23313e8a9748a88ab6173d5e030b227 /vendor/windows-sys/src/Windows/Win32/System/DistributedTransactionCoordinator | |
parent | 5ecd8cf2cba827454317368b68571df0d13d7842 (diff) | |
download | fparkan-1b6a04ca5504955c571d1c97504fb45ea0befee4.tar.xz fparkan-1b6a04ca5504955c571d1c97504fb45ea0befee4.zip |
Initial vendor packages
Signed-off-by: Valentin Popov <valentin@popov.link>
Diffstat (limited to 'vendor/windows-sys/src/Windows/Win32/System/DistributedTransactionCoordinator')
-rw-r--r-- | vendor/windows-sys/src/Windows/Win32/System/DistributedTransactionCoordinator/mod.rs | 423 |
1 files changed, 423 insertions, 0 deletions
diff --git a/vendor/windows-sys/src/Windows/Win32/System/DistributedTransactionCoordinator/mod.rs b/vendor/windows-sys/src/Windows/Win32/System/DistributedTransactionCoordinator/mod.rs new file mode 100644 index 0000000..402f596 --- /dev/null +++ b/vendor/windows-sys/src/Windows/Win32/System/DistributedTransactionCoordinator/mod.rs @@ -0,0 +1,423 @@ +::windows_targets::link!("xolehlp.dll" "cdecl" fn DtcGetTransactionManager(i_pszhost : ::windows_sys::core::PCSTR, i_psztmname : ::windows_sys::core::PCSTR, i_riid : *const ::windows_sys::core::GUID, i_dwreserved1 : u32, i_wcbreserved2 : u16, i_pvreserved2 : *const ::core::ffi::c_void, o_ppvobject : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("xolehlp.dll" "cdecl" fn DtcGetTransactionManagerC(i_pszhost : ::windows_sys::core::PCSTR, i_psztmname : ::windows_sys::core::PCSTR, i_riid : *const ::windows_sys::core::GUID, i_dwreserved1 : u32, i_wcbreserved2 : u16, i_pvreserved2 : *const ::core::ffi::c_void, o_ppvobject : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("xolehlp.dll" "cdecl" fn DtcGetTransactionManagerExA(i_pszhost : ::windows_sys::core::PCSTR, i_psztmname : ::windows_sys::core::PCSTR, i_riid : *const ::windows_sys::core::GUID, i_grfoptions : u32, i_pvconfigparams : *mut ::core::ffi::c_void, o_ppvobject : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("xolehlp.dll" "cdecl" fn DtcGetTransactionManagerExW(i_pwszhost : ::windows_sys::core::PCWSTR, i_pwsztmname : ::windows_sys::core::PCWSTR, i_riid : *const ::windows_sys::core::GUID, i_grfoptions : u32, i_pvconfigparams : *mut ::core::ffi::c_void, o_ppvobject : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +pub type IDtcLuConfigure = *mut ::core::ffi::c_void; +pub type IDtcLuRecovery = *mut ::core::ffi::c_void; +pub type IDtcLuRecoveryFactory = *mut ::core::ffi::c_void; +pub type IDtcLuRecoveryInitiatedByDtc = *mut ::core::ffi::c_void; +pub type IDtcLuRecoveryInitiatedByDtcStatusWork = *mut ::core::ffi::c_void; +pub type IDtcLuRecoveryInitiatedByDtcTransWork = *mut ::core::ffi::c_void; +pub type IDtcLuRecoveryInitiatedByLu = *mut ::core::ffi::c_void; +pub type IDtcLuRecoveryInitiatedByLuWork = *mut ::core::ffi::c_void; +pub type IDtcLuRmEnlistment = *mut ::core::ffi::c_void; +pub type IDtcLuRmEnlistmentFactory = *mut ::core::ffi::c_void; +pub type IDtcLuRmEnlistmentSink = *mut ::core::ffi::c_void; +pub type IDtcLuSubordinateDtc = *mut ::core::ffi::c_void; +pub type IDtcLuSubordinateDtcFactory = *mut ::core::ffi::c_void; +pub type IDtcLuSubordinateDtcSink = *mut ::core::ffi::c_void; +pub type IDtcNetworkAccessConfig = *mut ::core::ffi::c_void; +pub type IDtcNetworkAccessConfig2 = *mut ::core::ffi::c_void; +pub type IDtcNetworkAccessConfig3 = *mut ::core::ffi::c_void; +pub type IDtcToXaHelper = *mut ::core::ffi::c_void; +pub type IDtcToXaHelperFactory = *mut ::core::ffi::c_void; +pub type IDtcToXaHelperSinglePipe = *mut ::core::ffi::c_void; +pub type IDtcToXaMapper = *mut ::core::ffi::c_void; +pub type IGetDispenser = *mut ::core::ffi::c_void; +pub type IKernelTransaction = *mut ::core::ffi::c_void; +pub type ILastResourceManager = *mut ::core::ffi::c_void; +pub type IPrepareInfo = *mut ::core::ffi::c_void; +pub type IPrepareInfo2 = *mut ::core::ffi::c_void; +pub type IRMHelper = *mut ::core::ffi::c_void; +pub type IResourceManager = *mut ::core::ffi::c_void; +pub type IResourceManager2 = *mut ::core::ffi::c_void; +pub type IResourceManagerFactory = *mut ::core::ffi::c_void; +pub type IResourceManagerFactory2 = *mut ::core::ffi::c_void; +pub type IResourceManagerRejoinable = *mut ::core::ffi::c_void; +pub type IResourceManagerSink = *mut ::core::ffi::c_void; +pub type ITipHelper = *mut ::core::ffi::c_void; +pub type ITipPullSink = *mut ::core::ffi::c_void; +pub type ITipTransaction = *mut ::core::ffi::c_void; +pub type ITmNodeName = *mut ::core::ffi::c_void; +pub type ITransaction = *mut ::core::ffi::c_void; +pub type ITransaction2 = *mut ::core::ffi::c_void; +pub type ITransactionCloner = *mut ::core::ffi::c_void; +pub type ITransactionDispenser = *mut ::core::ffi::c_void; +pub type ITransactionEnlistmentAsync = *mut ::core::ffi::c_void; +pub type ITransactionExport = *mut ::core::ffi::c_void; +pub type ITransactionExportFactory = *mut ::core::ffi::c_void; +pub type ITransactionImport = *mut ::core::ffi::c_void; +pub type ITransactionImportWhereabouts = *mut ::core::ffi::c_void; +pub type ITransactionLastEnlistmentAsync = *mut ::core::ffi::c_void; +pub type ITransactionLastResourceAsync = *mut ::core::ffi::c_void; +pub type ITransactionOptions = *mut ::core::ffi::c_void; +pub type ITransactionOutcomeEvents = *mut ::core::ffi::c_void; +pub type ITransactionPhase0EnlistmentAsync = *mut ::core::ffi::c_void; +pub type ITransactionPhase0Factory = *mut ::core::ffi::c_void; +pub type ITransactionPhase0NotifyAsync = *mut ::core::ffi::c_void; +pub type ITransactionReceiver = *mut ::core::ffi::c_void; +pub type ITransactionReceiverFactory = *mut ::core::ffi::c_void; +pub type ITransactionResource = *mut ::core::ffi::c_void; +pub type ITransactionResourceAsync = *mut ::core::ffi::c_void; +pub type ITransactionTransmitter = *mut ::core::ffi::c_void; +pub type ITransactionTransmitterFactory = *mut ::core::ffi::c_void; +pub type ITransactionVoterBallotAsync2 = *mut ::core::ffi::c_void; +pub type ITransactionVoterFactory2 = *mut ::core::ffi::c_void; +pub type ITransactionVoterNotifyAsync2 = *mut ::core::ffi::c_void; +pub type IXAConfig = *mut ::core::ffi::c_void; +pub type IXAObtainRMInfo = *mut ::core::ffi::c_void; +pub type IXATransLookup = *mut ::core::ffi::c_void; +pub type IXATransLookup2 = *mut ::core::ffi::c_void; +pub const CLSID_MSDtcTransaction: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x39f8d76b_0928_11d1_97df_00c04fb9618a); +pub const CLSID_MSDtcTransactionManager: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x5b18ab61_091d_11d1_97df_00c04fb9618a); +pub const CLUSTERRESOURCE_APPLICATIONTYPE: APPLICATIONTYPE = 1i32; +pub const DTCINITIATEDRECOVERYWORK_CHECKLUSTATUS: DTCINITIATEDRECOVERYWORK = 1i32; +pub const DTCINITIATEDRECOVERYWORK_TMDOWN: DTCINITIATEDRECOVERYWORK = 3i32; +pub const DTCINITIATEDRECOVERYWORK_TRANS: DTCINITIATEDRECOVERYWORK = 2i32; +pub const DTCINSTALL_E_CLIENT_ALREADY_INSTALLED: i32 = 384i32; +pub const DTCINSTALL_E_SERVER_ALREADY_INSTALLED: i32 = 385i32; +pub const DTCLUCOMPARESTATESCONFIRMATION_CONFIRM: DTCLUCOMPARESTATESCONFIRMATION = 1i32; +pub const DTCLUCOMPARESTATESCONFIRMATION_PROTOCOL: DTCLUCOMPARESTATESCONFIRMATION = 2i32; +pub const DTCLUCOMPARESTATESERROR_PROTOCOL: DTCLUCOMPARESTATESERROR = 1i32; +pub const DTCLUCOMPARESTATESRESPONSE_OK: DTCLUCOMPARESTATESRESPONSE = 1i32; +pub const DTCLUCOMPARESTATESRESPONSE_PROTOCOL: DTCLUCOMPARESTATESRESPONSE = 2i32; +pub const DTCLUCOMPARESTATE_COMMITTED: DTCLUCOMPARESTATE = 1i32; +pub const DTCLUCOMPARESTATE_HEURISTICCOMMITTED: DTCLUCOMPARESTATE = 2i32; +pub const DTCLUCOMPARESTATE_HEURISTICMIXED: DTCLUCOMPARESTATE = 3i32; +pub const DTCLUCOMPARESTATE_HEURISTICRESET: DTCLUCOMPARESTATE = 4i32; +pub const DTCLUCOMPARESTATE_INDOUBT: DTCLUCOMPARESTATE = 5i32; +pub const DTCLUCOMPARESTATE_RESET: DTCLUCOMPARESTATE = 6i32; +pub const DTCLUXLNCONFIRMATION_COLDWARMMISMATCH: DTCLUXLNCONFIRMATION = 3i32; +pub const DTCLUXLNCONFIRMATION_CONFIRM: DTCLUXLNCONFIRMATION = 1i32; +pub const DTCLUXLNCONFIRMATION_LOGNAMEMISMATCH: DTCLUXLNCONFIRMATION = 2i32; +pub const DTCLUXLNCONFIRMATION_OBSOLETE: DTCLUXLNCONFIRMATION = 4i32; +pub const DTCLUXLNERROR_COLDWARMMISMATCH: DTCLUXLNERROR = 3i32; +pub const DTCLUXLNERROR_LOGNAMEMISMATCH: DTCLUXLNERROR = 2i32; +pub const DTCLUXLNERROR_PROTOCOL: DTCLUXLNERROR = 1i32; +pub const DTCLUXLNRESPONSE_COLDWARMMISMATCH: DTCLUXLNRESPONSE = 4i32; +pub const DTCLUXLNRESPONSE_LOGNAMEMISMATCH: DTCLUXLNRESPONSE = 3i32; +pub const DTCLUXLNRESPONSE_OK_SENDCONFIRMATION: DTCLUXLNRESPONSE = 2i32; +pub const DTCLUXLNRESPONSE_OK_SENDOURXLNBACK: DTCLUXLNRESPONSE = 1i32; +pub const DTCLUXLN_COLD: DTCLUXLN = 1i32; +pub const DTCLUXLN_WARM: DTCLUXLN = 2i32; +pub const DTC_INSTALL_OVERWRITE_CLIENT: u32 = 1u32; +pub const DTC_INSTALL_OVERWRITE_SERVER: u32 = 2u32; +pub const DTC_STATUS_CONTINUING: DTC_STATUS_ = 5i32; +pub const DTC_STATUS_E_CANTCONTROL: DTC_STATUS_ = 8i32; +pub const DTC_STATUS_FAILED: DTC_STATUS_ = 9i32; +pub const DTC_STATUS_PAUSED: DTC_STATUS_ = 4i32; +pub const DTC_STATUS_PAUSING: DTC_STATUS_ = 3i32; +pub const DTC_STATUS_STARTED: DTC_STATUS_ = 2i32; +pub const DTC_STATUS_STARTING: DTC_STATUS_ = 1i32; +pub const DTC_STATUS_STOPPED: DTC_STATUS_ = 7i32; +pub const DTC_STATUS_STOPPING: DTC_STATUS_ = 6i32; +pub const DTC_STATUS_UNKNOWN: DTC_STATUS_ = 0i32; +pub const INCOMING_AUTHENTICATION_REQUIRED: AUTHENTICATION_LEVEL = 1i32; +pub const ISOFLAG_OPTIMISTIC: ISOFLAG = 16i32; +pub const ISOFLAG_READONLY: ISOFLAG = 32i32; +pub const ISOFLAG_RETAIN_ABORT: ISOFLAG = 8i32; +pub const ISOFLAG_RETAIN_ABORT_DC: ISOFLAG = 4i32; +pub const ISOFLAG_RETAIN_ABORT_NO: ISOFLAG = 12i32; +pub const ISOFLAG_RETAIN_BOTH: ISOFLAG = 10i32; +pub const ISOFLAG_RETAIN_COMMIT: ISOFLAG = 2i32; +pub const ISOFLAG_RETAIN_COMMIT_DC: ISOFLAG = 1i32; +pub const ISOFLAG_RETAIN_COMMIT_NO: ISOFLAG = 3i32; +pub const ISOFLAG_RETAIN_DONTCARE: ISOFLAG = 5i32; +pub const ISOFLAG_RETAIN_NONE: ISOFLAG = 15i32; +pub const ISOLATIONLEVEL_BROWSE: ISOLATIONLEVEL = 256i32; +pub const ISOLATIONLEVEL_CHAOS: ISOLATIONLEVEL = 16i32; +pub const ISOLATIONLEVEL_CURSORSTABILITY: ISOLATIONLEVEL = 4096i32; +pub const ISOLATIONLEVEL_ISOLATED: ISOLATIONLEVEL = 1048576i32; +pub const ISOLATIONLEVEL_READCOMMITTED: ISOLATIONLEVEL = 4096i32; +pub const ISOLATIONLEVEL_READUNCOMMITTED: ISOLATIONLEVEL = 256i32; +pub const ISOLATIONLEVEL_REPEATABLEREAD: ISOLATIONLEVEL = 65536i32; +pub const ISOLATIONLEVEL_SERIALIZABLE: ISOLATIONLEVEL = 1048576i32; +pub const ISOLATIONLEVEL_UNSPECIFIED: ISOLATIONLEVEL = -1i32; +pub const LOCAL_APPLICATIONTYPE: APPLICATIONTYPE = 0i32; +pub const MAXBQUALSIZE: u32 = 64u32; +pub const MAXGTRIDSIZE: u32 = 64u32; +pub const MAXINFOSIZE: u32 = 256u32; +pub const MAX_TRAN_DESC: TX_MISC_CONSTANTS = 40i32; +pub const MUTUAL_AUTHENTICATION_REQUIRED: AUTHENTICATION_LEVEL = 2i32; +pub const NO_AUTHENTICATION_REQUIRED: AUTHENTICATION_LEVEL = 0i32; +pub const OLE_TM_CONFIG_VERSION_1: u32 = 1u32; +pub const OLE_TM_CONFIG_VERSION_2: u32 = 2u32; +pub const OLE_TM_FLAG_INTERNAL_TO_TM: u32 = 1073741824u32; +pub const OLE_TM_FLAG_NOAGILERECOVERY: u32 = 2u32; +pub const OLE_TM_FLAG_NODEMANDSTART: u32 = 1u32; +pub const OLE_TM_FLAG_NONE: u32 = 0u32; +pub const OLE_TM_FLAG_QUERY_SERVICE_LOCKSTATUS: u32 = 2147483648u32; +pub const RMNAMESZ: u32 = 32u32; +pub const TMASYNC: i32 = -2147483648i32; +pub const TMENDRSCAN: i32 = 8388608i32; +pub const TMER_INVAL: i32 = -2i32; +pub const TMER_PROTO: i32 = -3i32; +pub const TMER_TMERR: i32 = -1i32; +pub const TMFAIL: i32 = 536870912i32; +pub const TMJOIN: i32 = 2097152i32; +pub const TMMIGRATE: i32 = 1048576i32; +pub const TMMULTIPLE: i32 = 4194304i32; +pub const TMNOFLAGS: i32 = 0i32; +pub const TMNOMIGRATE: i32 = 2i32; +pub const TMNOWAIT: i32 = 268435456i32; +pub const TMONEPHASE: i32 = 1073741824i32; +pub const TMREGISTER: i32 = 1i32; +pub const TMRESUME: i32 = 134217728i32; +pub const TMSTARTRSCAN: i32 = 16777216i32; +pub const TMSUCCESS: i32 = 67108864i32; +pub const TMSUSPEND: i32 = 33554432i32; +pub const TMUSEASYNC: i32 = 4i32; +pub const TM_JOIN: u32 = 2u32; +pub const TM_OK: u32 = 0u32; +pub const TM_RESUME: u32 = 1u32; +pub const XACTCONST_TIMEOUTINFINITE: XACTCONST = 0i32; +pub const XACTHEURISTIC_ABORT: XACTHEURISTIC = 1i32; +pub const XACTHEURISTIC_COMMIT: XACTHEURISTIC = 2i32; +pub const XACTHEURISTIC_DAMAGE: XACTHEURISTIC = 3i32; +pub const XACTHEURISTIC_DANGER: XACTHEURISTIC = 4i32; +pub const XACTRM_NOREADONLYPREPARES: XACTRM = 2i32; +pub const XACTRM_OPTIMISTICLASTWINS: XACTRM = 1i32; +pub const XACTSTAT_ABORTED: XACTSTAT = 512i32; +pub const XACTSTAT_ABORTING: XACTSTAT = 256i32; +pub const XACTSTAT_ALL: XACTSTAT = 524287i32; +pub const XACTSTAT_CLOSED: XACTSTAT = 262144i32; +pub const XACTSTAT_COMMITRETAINING: XACTSTAT = 128i32; +pub const XACTSTAT_COMMITTED: XACTSTAT = 1024i32; +pub const XACTSTAT_COMMITTING: XACTSTAT = 64i32; +pub const XACTSTAT_FORCED_ABORT: XACTSTAT = 32768i32; +pub const XACTSTAT_FORCED_COMMIT: XACTSTAT = 65536i32; +pub const XACTSTAT_HEURISTIC_ABORT: XACTSTAT = 2048i32; +pub const XACTSTAT_HEURISTIC_COMMIT: XACTSTAT = 4096i32; +pub const XACTSTAT_HEURISTIC_DAMAGE: XACTSTAT = 8192i32; +pub const XACTSTAT_HEURISTIC_DANGER: XACTSTAT = 16384i32; +pub const XACTSTAT_INDOUBT: XACTSTAT = 131072i32; +pub const XACTSTAT_NONE: XACTSTAT = 0i32; +pub const XACTSTAT_NOTPREPARED: XACTSTAT = 524227i32; +pub const XACTSTAT_OPEN: XACTSTAT = 3i32; +pub const XACTSTAT_OPENNORMAL: XACTSTAT = 1i32; +pub const XACTSTAT_OPENREFUSED: XACTSTAT = 2i32; +pub const XACTSTAT_PREPARED: XACTSTAT = 8i32; +pub const XACTSTAT_PREPARERETAINED: XACTSTAT = 32i32; +pub const XACTSTAT_PREPARERETAINING: XACTSTAT = 16i32; +pub const XACTSTAT_PREPARING: XACTSTAT = 4i32; +pub const XACTTC_ASYNC: XACTTC = 4i32; +pub const XACTTC_ASYNC_PHASEONE: XACTTC = 4i32; +pub const XACTTC_NONE: XACTTC = 0i32; +pub const XACTTC_SYNC: XACTTC = 2i32; +pub const XACTTC_SYNC_PHASEONE: XACTTC = 1i32; +pub const XACTTC_SYNC_PHASETWO: XACTTC = 2i32; +pub const XACT_E_CONNECTION_REQUEST_DENIED: XACT_DTC_CONSTANTS = -2147168000i32; +pub const XACT_E_DUPLICATE_GUID: XACT_DTC_CONSTANTS = -2147167998i32; +pub const XACT_E_DUPLICATE_LU: XACT_DTC_CONSTANTS = -2147167991i32; +pub const XACT_E_DUPLICATE_TRANSID: XACT_DTC_CONSTANTS = -2147167989i32; +pub const XACT_E_LRMRECOVERYALREADYDONE: XACT_DTC_CONSTANTS = -2147167982i32; +pub const XACT_E_LU_BUSY: XACT_DTC_CONSTANTS = -2147167988i32; +pub const XACT_E_LU_DOWN: XACT_DTC_CONSTANTS = -2147167986i32; +pub const XACT_E_LU_NOT_CONNECTED: XACT_DTC_CONSTANTS = -2147167990i32; +pub const XACT_E_LU_NOT_FOUND: XACT_DTC_CONSTANTS = -2147167992i32; +pub const XACT_E_LU_NO_RECOVERY_PROCESS: XACT_DTC_CONSTANTS = -2147167987i32; +pub const XACT_E_LU_RECOVERING: XACT_DTC_CONSTANTS = -2147167985i32; +pub const XACT_E_LU_RECOVERY_MISMATCH: XACT_DTC_CONSTANTS = -2147167984i32; +pub const XACT_E_NOLASTRESOURCEINTERFACE: XACT_DTC_CONSTANTS = -2147167981i32; +pub const XACT_E_NOTSINGLEPHASE: XACT_DTC_CONSTANTS = -2147167997i32; +pub const XACT_E_PROTOCOL: XACT_DTC_CONSTANTS = -2147167995i32; +pub const XACT_E_RECOVERYALREADYDONE: XACT_DTC_CONSTANTS = -2147167996i32; +pub const XACT_E_RECOVERY_FAILED: XACT_DTC_CONSTANTS = -2147167993i32; +pub const XACT_E_RM_FAILURE: XACT_DTC_CONSTANTS = -2147167994i32; +pub const XACT_E_RM_UNAVAILABLE: XACT_DTC_CONSTANTS = -2147167983i32; +pub const XACT_E_TOOMANY_ENLISTMENTS: XACT_DTC_CONSTANTS = -2147167999i32; +pub const XACT_OK_NONOTIFY: XACT_DTC_CONSTANTS = 315649i32; +pub const XACT_S_NONOTIFY: XACT_DTC_CONSTANTS = 315648i32; +pub const XAER_ASYNC: i32 = -2i32; +pub const XAER_DUPID: i32 = -8i32; +pub const XAER_INVAL: i32 = -5i32; +pub const XAER_NOTA: i32 = -4i32; +pub const XAER_OUTSIDE: i32 = -9i32; +pub const XAER_PROTO: i32 = -6i32; +pub const XAER_RMERR: i32 = -3i32; +pub const XAER_RMFAIL: i32 = -7i32; +pub const XA_FMTID_DTC: u32 = 4478019u32; +pub const XA_FMTID_DTC_VER1: u32 = 21255235u32; +pub const XA_HEURCOM: u32 = 7u32; +pub const XA_HEURHAZ: u32 = 8u32; +pub const XA_HEURMIX: u32 = 5u32; +pub const XA_HEURRB: u32 = 6u32; +pub const XA_NOMIGRATE: u32 = 9u32; +pub const XA_OK: u32 = 0u32; +pub const XA_RBBASE: u32 = 100u32; +pub const XA_RBCOMMFAIL: u32 = 101u32; +pub const XA_RBDEADLOCK: u32 = 102u32; +pub const XA_RBEND: u32 = 107u32; +pub const XA_RBINTEGRITY: u32 = 103u32; +pub const XA_RBOTHER: u32 = 104u32; +pub const XA_RBPROTO: u32 = 105u32; +pub const XA_RBROLLBACK: u32 = 100u32; +pub const XA_RBTIMEOUT: u32 = 106u32; +pub const XA_RBTRANSIENT: u32 = 107u32; +pub const XA_RDONLY: u32 = 3u32; +pub const XA_RETRY: u32 = 4u32; +pub const XA_SWITCH_F_DTC: u32 = 1u32; +pub const XIDDATASIZE: u32 = 128u32; +pub const dwUSER_MS_SQLSERVER: XACT_DTC_CONSTANTS = 65535i32; +pub type APPLICATIONTYPE = i32; +pub type AUTHENTICATION_LEVEL = i32; +pub type DTCINITIATEDRECOVERYWORK = i32; +pub type DTCLUCOMPARESTATE = i32; +pub type DTCLUCOMPARESTATESCONFIRMATION = i32; +pub type DTCLUCOMPARESTATESERROR = i32; +pub type DTCLUCOMPARESTATESRESPONSE = i32; +pub type DTCLUXLN = i32; +pub type DTCLUXLNCONFIRMATION = i32; +pub type DTCLUXLNERROR = i32; +pub type DTCLUXLNRESPONSE = i32; +pub type DTC_STATUS_ = i32; +pub type ISOFLAG = i32; +pub type ISOLATIONLEVEL = i32; +pub type TX_MISC_CONSTANTS = i32; +pub type XACTCONST = i32; +pub type XACTHEURISTIC = i32; +pub type XACTRM = i32; +pub type XACTSTAT = i32; +pub type XACTTC = i32; +pub type XACT_DTC_CONSTANTS = i32; +#[repr(C)] +pub struct BOID { + pub rgb: [u8; 16], +} +impl ::core::marker::Copy for BOID {} +impl ::core::clone::Clone for BOID { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct OLE_TM_CONFIG_PARAMS_V1 { + pub dwVersion: u32, + pub dwcConcurrencyHint: u32, +} +impl ::core::marker::Copy for OLE_TM_CONFIG_PARAMS_V1 {} +impl ::core::clone::Clone for OLE_TM_CONFIG_PARAMS_V1 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct OLE_TM_CONFIG_PARAMS_V2 { + pub dwVersion: u32, + pub dwcConcurrencyHint: u32, + pub applicationType: APPLICATIONTYPE, + pub clusterResourceId: ::windows_sys::core::GUID, +} +impl ::core::marker::Copy for OLE_TM_CONFIG_PARAMS_V2 {} +impl ::core::clone::Clone for OLE_TM_CONFIG_PARAMS_V2 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct PROXY_CONFIG_PARAMS { + pub wcThreadsMax: u16, +} +impl ::core::marker::Copy for PROXY_CONFIG_PARAMS {} +impl ::core::clone::Clone for PROXY_CONFIG_PARAMS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct XACTOPT { + pub ulTimeout: u32, + pub szDescription: [u8; 40], +} +impl ::core::marker::Copy for XACTOPT {} +impl ::core::clone::Clone for XACTOPT { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct XACTSTATS { + pub cOpen: u32, + pub cCommitting: u32, + pub cCommitted: u32, + pub cAborting: u32, + pub cAborted: u32, + pub cInDoubt: u32, + pub cHeuristicDecision: u32, + pub timeTransactionsUp: super::super::Foundation::FILETIME, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for XACTSTATS {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for XACTSTATS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct XACTTRANSINFO { + pub uow: BOID, + pub isoLevel: i32, + pub isoFlags: u32, + pub grfTCSupported: u32, + pub grfRMSupported: u32, + pub grfTCSupportedRetaining: u32, + pub grfRMSupportedRetaining: u32, +} +impl ::core::marker::Copy for XACTTRANSINFO {} +impl ::core::clone::Clone for XACTTRANSINFO { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct XID { + pub formatID: i32, + pub gtrid_length: i32, + pub bqual_length: i32, + pub data: [u8; 128], +} +impl ::core::marker::Copy for XID {} +impl ::core::clone::Clone for XID { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct xa_switch_t { + pub name: [u8; 32], + pub flags: i32, + pub version: i32, + pub xa_open_entry: isize, + pub xa_close_entry: isize, + pub xa_start_entry: isize, + pub xa_end_entry: isize, + pub xa_rollback_entry: isize, + pub xa_prepare_entry: isize, + pub xa_commit_entry: isize, + pub xa_recover_entry: isize, + pub xa_forget_entry: isize, + pub xa_complete_entry: isize, +} +impl ::core::marker::Copy for xa_switch_t {} +impl ::core::clone::Clone for xa_switch_t { + fn clone(&self) -> Self { + *self + } +} +pub type DTC_GET_TRANSACTION_MANAGER = ::core::option::Option<unsafe extern "system" fn(pszhost: ::windows_sys::core::PCSTR, psztmname: ::windows_sys::core::PCSTR, rid: *const ::windows_sys::core::GUID, dwreserved1: u32, wcbreserved2: u16, pvreserved2: *mut ::core::ffi::c_void, ppvobject: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT>; +pub type DTC_GET_TRANSACTION_MANAGER_EX_A = ::core::option::Option<unsafe extern "system" fn(i_pszhost: ::windows_sys::core::PCSTR, i_psztmname: ::windows_sys::core::PCSTR, i_riid: *const ::windows_sys::core::GUID, i_grfoptions: u32, i_pvconfigparams: *mut ::core::ffi::c_void, o_ppvobject: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT>; +pub type DTC_GET_TRANSACTION_MANAGER_EX_W = ::core::option::Option<unsafe extern "system" fn(i_pwszhost: ::windows_sys::core::PCWSTR, i_pwsztmname: ::windows_sys::core::PCWSTR, i_riid: *const ::windows_sys::core::GUID, i_grfoptions: u32, i_pvconfigparams: *mut ::core::ffi::c_void, o_ppvobject: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT>; +pub type DTC_INSTALL_CLIENT = ::core::option::Option<unsafe extern "system" fn(i_pszremotetmhostname: *mut i8, i_dwprotocol: u32, i_dwoverwrite: u32) -> ::windows_sys::core::HRESULT>; +pub type XA_CLOSE_EPT = ::core::option::Option<unsafe extern "system" fn(param0: ::windows_sys::core::PCSTR, param1: i32, param2: i32) -> i32>; +pub type XA_COMMIT_EPT = ::core::option::Option<unsafe extern "system" fn(param0: *mut XID, param1: i32, param2: i32) -> i32>; +pub type XA_COMPLETE_EPT = ::core::option::Option<unsafe extern "system" fn(param0: *mut i32, param1: *mut i32, param2: i32, param3: i32) -> i32>; +pub type XA_END_EPT = ::core::option::Option<unsafe extern "system" fn(param0: *mut XID, param1: i32, param2: i32) -> i32>; +pub type XA_FORGET_EPT = ::core::option::Option<unsafe extern "system" fn(param0: *mut XID, param1: i32, param2: i32) -> i32>; +pub type XA_OPEN_EPT = ::core::option::Option<unsafe extern "system" fn(param0: ::windows_sys::core::PCSTR, param1: i32, param2: i32) -> i32>; +pub type XA_PREPARE_EPT = ::core::option::Option<unsafe extern "system" fn(param0: *mut XID, param1: i32, param2: i32) -> i32>; +pub type XA_RECOVER_EPT = ::core::option::Option<unsafe extern "system" fn(param0: *mut XID, param1: i32, param2: i32, param3: i32) -> i32>; +pub type XA_ROLLBACK_EPT = ::core::option::Option<unsafe extern "system" fn(param0: *mut XID, param1: i32, param2: i32) -> i32>; +pub type XA_START_EPT = ::core::option::Option<unsafe extern "system" fn(param0: *mut XID, param1: i32, param2: i32) -> i32>; |