1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
// WARNING: this file is auto-generated by xtask gen and may be overwritten
use *;
/// Another single phase resource manager has already been enlisted in this transaction.
pub const E_ALREADYOTHERSINGLEPHASE : HResultError = from_constant; // XACT_E_ALREADYOTHERSINGLEPHASE
/// A retaining commit or abort is not supported
pub const E_CANTRETAIN : HResultError = from_constant; // XACT_E_CANTRETAIN
/// The transaction failed to commit for an unknown reason. The transaction was aborted.
pub const E_COMMITFAILED : HResultError = from_constant; // XACT_E_COMMITFAILED
/// Cannot call commit on this transaction object because the calling application did not initiate the transaction.
pub const E_COMMITPREVENTED : HResultError = from_constant; // XACT_E_COMMITPREVENTED
/// Instead of committing, the resource heuristically aborted.
pub const E_HEURISTICABORT : HResultError = from_constant; // XACT_E_HEURISTICABORT
/// Instead of aborting, the resource heuristically committed.
pub const E_HEURISTICCOMMIT : HResultError = from_constant; // XACT_E_HEURISTICCOMMIT
/// Some of the states of the resource were committed while others were aborted, likely because of heuristic decisions.
pub const E_HEURISTICDAMAGE : HResultError = from_constant; // XACT_E_HEURISTICDAMAGE
/// Some of the states of the resource may have been committed while others may have been aborted, likely because of heuristic decisions.
pub const E_HEURISTICDANGER : HResultError = from_constant; // XACT_E_HEURISTICDANGER
/// The requested isolation level is not valid or supported.
pub const E_ISOLATIONLEVEL : HResultError = from_constant; // XACT_E_ISOLATIONLEVEL
/// The transaction manager doesn't support an asynchronous operation for this method.
pub const E_NOASYNC : HResultError = from_constant; // XACT_E_NOASYNC
/// Unable to enlist in the transaction.
pub const E_NOENLIST : HResultError = from_constant; // XACT_E_NOENLIST
/// The requested semantics of retention of isolation across retaining commit and abort boundaries cannot be supported by this transaction implementation, or isoFlags was not equal to zero.
pub const E_NOISORETAIN : HResultError = from_constant; // XACT_E_NOISORETAIN
/// There is no resource presently associated with this enlistment
pub const E_NORESOURCE : HResultError = from_constant; // XACT_E_NORESOURCE
/// The transaction failed to commit due to the failure of optimistic concurrency control in at least one of the resource managers.
pub const E_NOTCURRENT : HResultError = from_constant; // XACT_E_NOTCURRENT
/// The transaction has already been implicitly or explicitly committed or aborted
pub const E_NOTRANSACTION : HResultError = from_constant; // XACT_E_NOTRANSACTION
/// An invalid combination of flags was specified
pub const E_NOTSUPPORTED : HResultError = from_constant; // XACT_E_NOTSUPPORTED
/// The resource manager id is not associated with this transaction or the transaction manager.
pub const E_UNKNOWNRMGRID : HResultError = from_constant; // XACT_E_UNKNOWNRMGRID
/// This method was called in the wrong state
pub const E_WRONGSTATE : HResultError = from_constant; // XACT_E_WRONGSTATE
/// The indicated unit of work does not match the unit of work expected by the resource manager.
pub const E_WRONGUOW : HResultError = from_constant; // XACT_E_WRONGUOW
/// An enlistment in a transaction already exists.
pub const E_XTIONEXISTS : HResultError = from_constant; // XACT_E_XTIONEXISTS
/// An import object for the transaction could not be found.
pub const E_NOIMPORTOBJECT : HResultError = from_constant; // XACT_E_NOIMPORTOBJECT
/// The transaction cookie is invalid.
pub const E_INVALIDCOOKIE : HResultError = from_constant; // XACT_E_INVALIDCOOKIE
/// The transaction status is in doubt. A communication failure occurred, or a transaction manager or resource manager has failed
pub const E_INDOUBT : HResultError = from_constant; // XACT_E_INDOUBT
/// A time-out was specified, but time-outs are not supported.
pub const E_NOTIMEOUT : HResultError = from_constant; // XACT_E_NOTIMEOUT
/// The requested operation is already in progress for the transaction.
pub const E_ALREADYINPROGRESS : HResultError = from_constant; // XACT_E_ALREADYINPROGRESS
/// The transaction has already been aborted.
pub const E_ABORTED : HResultError = from_constant; // XACT_E_ABORTED
/// The Transaction Manager returned a log full error.
pub const E_LOGFULL : HResultError = from_constant; // XACT_E_LOGFULL
/// The Transaction Manager is not available.
pub const E_TMNOTAVAILABLE : HResultError = from_constant; // XACT_E_TMNOTAVAILABLE
/// A connection with the transaction manager was lost.
pub const E_CONNECTION_DOWN : HResultError = from_constant; // XACT_E_CONNECTION_DOWN
/// A request to establish a connection with the transaction manager was denied.
pub const E_CONNECTION_DENIED : HResultError = from_constant; // XACT_E_CONNECTION_DENIED
/// Resource manager reenlistment to determine transaction status timed out.
pub const E_REENLISTTIMEOUT : HResultError = from_constant; // XACT_E_REENLISTTIMEOUT
/// This transaction manager failed to establish a connection with another TIP transaction manager.
pub const E_TIP_CONNECT_FAILED : HResultError = from_constant; // XACT_E_TIP_CONNECT_FAILED
/// This transaction manager encountered a protocol error with another TIP transaction manager.
pub const E_TIP_PROTOCOL_ERROR : HResultError = from_constant; // XACT_E_TIP_PROTOCOL_ERROR
/// This transaction manager could not propagate a transaction from another TIP transaction manager.
pub const E_TIP_PULL_FAILED : HResultError = from_constant; // XACT_E_TIP_PULL_FAILED
/// The Transaction Manager on the destination machine is not available.
pub const E_DEST_TMNOTAVAILABLE : HResultError = from_constant; // XACT_E_DEST_TMNOTAVAILABLE
/// The Transaction Manager has disabled its support for TIP.
pub const E_TIP_DISABLED : HResultError = from_constant; // XACT_E_TIP_DISABLED
/// The transaction manager has disabled its support for remote/network transactions.
pub const E_NETWORK_TX_DISABLED : HResultError = from_constant; // XACT_E_NETWORK_TX_DISABLED
/// The partner transaction manager has disabled its support for remote/network transactions.
pub const E_PARTNER_NETWORK_TX_DISABLED : HResultError = from_constant; // XACT_E_PARTNER_NETWORK_TX_DISABLED
/// The transaction manager has disabled its support for XA transactions.
pub const E_XA_TX_DISABLED : HResultError = from_constant; // XACT_E_XA_TX_DISABLED
/// MSDTC was unable to read its configuration information.
pub const E_UNABLE_TO_READ_DTC_CONFIG : HResultError = from_constant; // XACT_E_UNABLE_TO_READ_DTC_CONFIG
/// MSDTC was unable to load the dtc proxy dll.
pub const E_UNABLE_TO_LOAD_DTC_PROXY : HResultError = from_constant; // XACT_E_UNABLE_TO_LOAD_DTC_PROXY
/// The local transaction has aborted.
pub const E_ABORTING : HResultError = from_constant; // XACT_E_ABORTING
/// The MSDTC transaction manager was unable to push the transaction to the destination transaction manager due to communication problems. Possible causes are: a firewall is present and it doesn't have an exception for the MSDTC process, the two machines cannot find each other by their NetBIOS names, or the support for network transactions is not enabled for one of the two transaction managers.
pub const E_PUSH_COMM_FAILURE : HResultError = from_constant; // XACT_E_PUSH_COMM_FAILURE
/// The MSDTC transaction manager was unable to pull the transaction from the source transaction manager due to communication problems. Possible causes are: a firewall is present and it doesn't have an exception for the MSDTC process, the two machines cannot find each other by their NetBIOS names, or the support for network transactions is not enabled for one of the two transaction managers.
pub const E_PULL_COMM_FAILURE : HResultError = from_constant; // XACT_E_PULL_COMM_FAILURE
/// The MSDTC transaction manager has disabled its support for SNA LU 6.2 transactions.
pub const E_LU_TX_DISABLED : HResultError = from_constant; // XACT_E_LU_TX_DISABLED
/// XACT_E_CLERKNOTFOUND
pub const E_CLERKNOTFOUND : HResultError = from_constant; // XACT_E_CLERKNOTFOUND
/// XACT_E_CLERKEXISTS
pub const E_CLERKEXISTS : HResultError = from_constant; // XACT_E_CLERKEXISTS
/// XACT_E_RECOVERYINPROGRESS
pub const E_RECOVERYINPROGRESS : HResultError = from_constant; // XACT_E_RECOVERYINPROGRESS
/// XACT_E_TRANSACTIONCLOSED
pub const E_TRANSACTIONCLOSED : HResultError = from_constant; // XACT_E_TRANSACTIONCLOSED
/// XACT_E_INVALIDLSN
pub const E_INVALIDLSN : HResultError = from_constant; // XACT_E_INVALIDLSN
/// XACT_E_REPLAYREQUEST
pub const E_REPLAYREQUEST : HResultError = from_constant; // XACT_E_REPLAYREQUEST
/// An asynchronous operation was specified. The operation has begun, but its outcome is not known yet.
pub const S_ASYNC : HResultSuccess = from_constant; // XACT_S_ASYNC
/// XACT_S_DEFECT
pub const S_DEFECT : HResultSuccess = from_constant; // XACT_S_DEFECT
/// The method call succeeded because the transaction was read-only.
pub const S_READONLY : HResultSuccess = from_constant; // XACT_S_READONLY
/// The transaction was successfully aborted. However, this is a coordinated transaction, and some number of enlisted resources were aborted outright because they could not support abort-retaining semantics
pub const S_SOMENORETAIN : HResultSuccess = from_constant; // XACT_S_SOMENORETAIN
/// No changes were made during this call, but the sink wants another chance to look if any other sinks make further changes.
pub const S_OKINFORM : HResultSuccess = from_constant; // XACT_S_OKINFORM
/// The sink is content and wishes the transaction to proceed. Changes were made to one or more resources during this call.
pub const S_MADECHANGESCONTENT : HResultSuccess = from_constant; // XACT_S_MADECHANGESCONTENT
/// The sink is for the moment and wishes the transaction to proceed, but if other changes are made following this return by other event sinks then this sink wants another chance to look
pub const S_MADECHANGESINFORM : HResultSuccess = from_constant; // XACT_S_MADECHANGESINFORM
/// The transaction was successfully aborted. However, the abort was non-retaining.
pub const S_ALLNORETAIN : HResultSuccess = from_constant; // XACT_S_ALLNORETAIN
/// An abort operation was already in progress.
pub const S_ABORTING : HResultSuccess = from_constant; // XACT_S_ABORTING
/// The resource manager has performed a single-phase commit of the transaction.
pub const S_SINGLEPHASE : HResultSuccess = from_constant; // XACT_S_SINGLEPHASE
/// The local transaction has not aborted.
pub const S_LOCALLY_OK : HResultSuccess = from_constant; // XACT_S_LOCALLY_OK
/// The resource manager has requested to be the coordinator (last resource manager) for the transaction.
pub const S_LASTRESOURCEMANAGER : HResultSuccess = from_constant; // XACT_S_LASTRESOURCEMANAGER