24#define TRANSACTION_MANAGER_VOLATILE 0x00000001
25#define TRANSACTION_MANAGER_COMMIT_DEFAULT 0x00000000
26#define TRANSACTION_MANAGER_COMMIT_SYSTEM_VOLUME 0x00000002
27#define TRANSACTION_MANAGER_COMMIT_SYSTEM_HIVES 0x00000004
28#define TRANSACTION_MANAGER_COMMIT_LOWEST 0x00000008
29#define TRANSACTION_MANAGER_CORRUPT_FOR_RECOVERY 0x00000010
30#define TRANSACTION_MANAGER_CORRUPT_FOR_PROGRESS 0x00000020
31#define TRANSACTION_MANAGER_MAXIMUM_OPTION 0x0000003F
33#define TRANSACTION_DO_NOT_PROMOTE 0x00000001
34#define TRANSACTION_MAXIMUM_OPTION 0x00000001
36#define RESOURCE_MANAGER_VOLATILE 0x00000001
37#define RESOURCE_MANAGER_COMMUNICATION 0x00000002
38#define RESOURCE_MANAGER_MAXIMUM_OPTION 0x00000003
40#define CRM_PROTOCOL_EXPLICIT_MARSHAL_ONLY 0x00000001
41#define CRM_PROTOCOL_DYNAMIC_MARSHAL_INFO 0x00000002
42#define CRM_PROTOCOL_MAXIMUM_OPTION 0x00000003
44#define ENLISTMENT_SUPERIOR 0x00000001
45#define ENLISTMENT_MAXIMUM_OPTION 0x00000001
47#define TRANSACTION_NOTIFY_MASK 0x3FFFFFFF
48#define TRANSACTION_NOTIFY_PREPREPARE 0x00000001
49#define TRANSACTION_NOTIFY_PREPARE 0x00000002
50#define TRANSACTION_NOTIFY_COMMIT 0x00000004
51#define TRANSACTION_NOTIFY_ROLLBACK 0x00000008
52#define TRANSACTION_NOTIFY_PREPREPARE_COMPLETE 0x00000010
53#define TRANSACTION_NOTIFY_PREPARE_COMPLETE 0x00000020
54#define TRANSACTION_NOTIFY_COMMIT_COMPLETE 0x00000040
55#define TRANSACTION_NOTIFY_ROLLBACK_COMPLETE 0x00000080
56#define TRANSACTION_NOTIFY_RECOVER 0x00000100
57#define TRANSACTION_NOTIFY_SINGLE_PHASE_COMMIT 0x00000200
58#define TRANSACTION_NOTIFY_DELEGATE_COMMIT 0x00000400
59#define TRANSACTION_NOTIFY_RECOVER_QUERY 0x00000800
60#define TRANSACTION_NOTIFY_ENLIST_PREPREPARE 0x00001000
61#define TRANSACTION_NOTIFY_LAST_RECOVER 0x00002000
62#define TRANSACTION_NOTIFY_INDOUBT 0x00004000
63#define TRANSACTION_NOTIFY_PROPAGATE_PULL 0x00008000
64#define TRANSACTION_NOTIFY_PROPAGATE_PUSH 0x00010000
65#define TRANSACTION_NOTIFY_MARSHAL 0x00020000
66#define TRANSACTION_NOTIFY_ENLIST_MASK 0x00040000
67#define TRANSACTION_NOTIFY_RM_DISCONNECTED 0x01000000
68#define TRANSACTION_NOTIFY_TM_ONLINE 0x02000000
69#define TRANSACTION_NOTIFY_COMMIT_REQUEST 0x04000000
70#define TRANSACTION_NOTIFY_PROMOTE 0x08000000
71#define TRANSACTION_NOTIFY_PROMOTE_NEW 0x10000000
72#define TRANSACTION_NOTIFY_REQUEST_OUTCOME 0x20000000
74#define TRANSACTION_NOTIFY_COMMIT_FINALIZE 0x40000000
76#define TRANSACTIONMANAGER_OBJECT_PATH L"\\TransactionManager\\"
77#define TRANSACTION_OBJECT_PATH L"\\Transaction\\"
78#define ENLISTMENT_OBJECT_PATH L"\\Enlistment\\"
79#define RESOURCE_MANAGER_OBJECT_PATH L"\\ResourceManager\\"
81#define TRANSACTIONMANAGER_OBJECT_NAME_LENGTH_IN_BYTES (sizeof(TRANSACTIONMANAGER_OBJECT_PATH)+(38*sizeof(WCHAR)))
82#define TRANSACTION_OBJECT_NAME_LENGTH_IN_BYTES (sizeof(TRANSACTION_OBJECT_PATH)+(38*sizeof(WCHAR)))
83#define ENLISTMENT_OBJECT_NAME_LENGTH_IN_BYTES (sizeof(ENLISTMENT_OBJECT_PATH)+(38*sizeof(WCHAR)))
84#define RESOURCE_MANAGER_OBJECT_NAME_LENGTH_IN_BYTES (sizeof(RESOURCE_MANAGER_OBJECT_PATH)+(38*sizeof(WCHAR)))
86#define TRANSACTION_NOTIFICATION_TM_ONLINE_FLAG_IS_CLUSTERED 0x1
88#define KTM_MARSHAL_BLOB_VERSION_MAJOR 1
89#define KTM_MARSHAL_BLOB_VERSION_MINOR 1
91#define MAX_TRANSACTION_DESCRIPTION_LENGTH 64
92#define MAX_RESOURCEMANAGER_DESCRIPTION_LENGTH 64
111#if defined(__cplusplus)
148#if defined(__cplusplus)
struct _TRANSACTION_NOTIFICATION_RECOVERY_ARGUMENT * PTRANSACTION_NOTIFICATION_RECOVERY_ARGUMENT
struct _TRANSACTION_NOTIFICATION_PROPAGATE_ARGUMENT TRANSACTION_NOTIFICATION_PROPAGATE_ARGUMENT
struct _KCRM_TRANSACTION_BLOB KCRM_TRANSACTION_BLOB
struct _KCRM_MARSHAL_HEADER KCRM_MARSHAL_HEADER
struct _KCRM_TRANSACTION_BLOB PRKCRM_TRANSACTION_BLOB
struct _KCRM_MARSHAL_HEADER PRKCRM_MARSHAL_HEADER
struct _TRANSACTION_NOTIFICATION_MARSHAL_ARGUMENT TRANSACTION_NOTIFICATION_MARSHAL_ARGUMENT
struct _TRANSACTION_NOTIFICATION_PROPAGATE_ARGUMENT TRANSACTION_NOTIFICATION_PROMOTE_ARGUMENT
struct _TRANSACTION_NOTIFICATION TRANSACTION_NOTIFICATION
struct _TRANSACTION_NOTIFICATION_RECOVERY_ARGUMENT TRANSACTION_NOTIFICATION_RECOVERY_ARGUMENT
struct _TRANSACTION_NOTIFICATION * PTRANSACTION_NOTIFICATION
struct _TRANSACTION_NOTIFICATION_PROPAGATE_ARGUMENT * PTRANSACTION_NOTIFICATION_PROPAGATE_ARGUMENT
struct _KCRM_MARSHAL_HEADER * PKCRM_MARSHAL_HEADER
struct _TRANSACTION_NOTIFICATION_TM_ONLINE_ARGUMENT * PTRANSACTION_NOTIFICATION_TM_ONLINE_ARGUMENT
struct _KCRM_PROTOCOL_BLOB KCRM_PROTOCOL_BLOB
#define MAX_TRANSACTION_DESCRIPTION_LENGTH
struct _TRANSACTION_NOTIFICATION_TM_ONLINE_ARGUMENT TRANSACTION_NOTIFICATION_TM_ONLINE_ARGUMENT
struct _KCRM_PROTOCOL_BLOB PRKCRM_PROTOCOL_BLOB
struct _TRANSACTION_NOTIFICATION_PROPAGATE_ARGUMENT * PTRANSACTION_NOTIFICATION_PROMOTE_ARGUMENT
struct _KCRM_TRANSACTION_BLOB * PKCRM_TRANSACTION_BLOB
struct _TRANSACTION_NOTIFICATION_SAVEPOINT_ARGUMENT TRANSACTION_NOTIFICATION_SAVEPOINT_ARGUMENT
struct _TRANSACTION_NOTIFICATION_MARSHAL_ARGUMENT * PTRANSACTION_NOTIFICATION_MARSHAL_ARGUMENT
struct _KCRM_PROTOCOL_BLOB * PKCRM_PROTOCOL_BLOB
struct _TRANSACTION_NOTIFICATION_SAVEPOINT_ARGUMENT * PTRANSACTION_NOTIFICATION_SAVEPOINT_ARGUMENT
#define RESTRICTED_POINTER
ULONG TransactionIdInfoLength
CRM_PROTOCOL_ID ProtocolId
WCHAR Description[MAX_TRANSACTION_DESCRIPTION_LENGTH]
ULONG TransactionNotification
LARGE_INTEGER TmVirtualClock