Transaction Access Masks

KTM defines the following transaction access masks to be used when opening a transaction.

TRANSACTION_QUERY_INFORMATION

0x000001

The caller can query transaction information.

TRANSACTION_SET_INFORMATION

0x000002

The caller can set transaction information.

TRANSACTION_ENLIST

0x000004

The caller can enlist in this transaction.

TRANSACTION_COMMIT

0x000008

The caller can commit this transaction.

TRANSACTION_ROLLBACK

0x000010

The caller can roll back this transaction.

TRANSACTION_PROPAGATE

0x000020

The caller can propagate this transaction to a superior resource manager, such as the Distributed Transaction Coordinator (DTC).

TRANSACTION_GENERIC_READ

0x120001

The caller has the following privileges: STANDARD_RIGHTS_READ, TRANSACTION_QUERY_INFORMATION, and SYNCHRONIZE.

TRANSACTION_GENERIC_WRITE

0x12003E

The caller has the following privileges: STANDARD_RIGHTS_WRITE, TRANSACTION_SET_INFORMATION, TRANSACTION_COMMIT, TRANSACTION_ENLIST, TRANSACTION_ROLLBACK, TRANSACTION_PROPAGATE, and SYNCHRONIZE.

TRANSACTION_GENERIC_EXECUTE

0x120018

The caller has the following privileges: STANDARD_RIGHTS_EXECUTE, TRANSACTION_COMMIT, TRANSACTION_ROLLBACK, and SYNCHRONIZE.

TRANSACTION_ALL_ACCESS

0x12003F

The caller has the following privilege: STANDARD_RIGHTS_REQUIRED, TRANSACTION_GENERIC_READ, TRANSACTION_GENERIC_WRITE, and TRANSACTION_GENERIC_EXECUTE.

TRANSACTION_RESOURCE_MANAGER_RIGHTS

0x120037

The caller has the following privileges: TRANSACTION_GENERIC_READ, STANDARD_RIGHTS_WRITE, TRANSACTION_SET_INFORMATION, TRANSACTION_ROLLBACK, TRANSACTION_ENLIST, TRANSACTION_PROPAGATE, and SYNCHRONIZE.

Remarks

It is recommended that resource managers, when enlisting in a transaction, specify TRANSACTION_RESOURCE_MANAGER_RIGHTS when opening a transaction.

Requirements

Requirement Value
Minimum supported client
Windows Vista
Minimum supported server
Windows Server 2008
Header
WinNT.h