TRANSACTION_STATE enumeration (wdm.h)

The TRANSACTION_STATE enumeration defines the states that KTM can assign to a transaction.

Syntax

typedef enum _TRANSACTION_STATE {
  TransactionStateNormal,
  TransactionStateIndoubt,
  TransactionStateCommittedNotify
} TRANSACTION_STATE;

Constants

 
TransactionStateNormal
The transaction's state is neither in doubt nor committed.
TransactionStateIndoubt
The 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.
TransactionStateCommittedNotify
The transaction has been committed. Commit notifications might (or might not) have been delivered to all enlistments.

Remarks

The TRANSACTION_STATE enumeration is used in the TRANSACTION_BASIC_INFORMATION structure.

Requirements

Requirement Value
Minimum supported client Available in Windows Vista and later operating system versions.
Header wdm.h (include Wdm.h, Ntddk.h, Ntifs.h)

See also

TRANSACTION_BASIC_INFORMATION