// wdm.h
typedef enum _TRANSACTION_STATE {
TransactionStateNormal,
TransactionStateIndoubt,
TransactionStateCommittedNotify
} TRANSACTION_STATE;
View the official Windows Driver Kit DDI referenceNo description available.
The TRANSACTION_STATE enumeration defines the states that KTM can assign to a transaction.
TransactionStateNormalThe transaction's state is neither in doubt nor committed.
TransactionStateIndoubtThe transaction's state is in doubt (that is, KTM cannot determine whether the transaction should be committed or rolled back). A transaction that has been prepared enters the "in doubt" state if its superior transaction manager becomes unavailable.
TransactionStateCommittedNotifyThe transaction has been committed. Commit notifications might (or might not) have been delivered to all enlistments.
The TRANSACTION_STATE enumeration is used in the TRANSACTION_BASIC_INFORMATION structure.