ReactOS  0.4.14-dev-604-gcfdd483
nttmapi.h File Reference
#include <ktmtypes.h>
Include dependency graph for nttmapi.h:

Go to the source code of this file.

Classes

struct  _TRANSACTION_BASIC_INFORMATION
 
struct  _TRANSACTIONMANAGER_BASIC_INFORMATION
 
struct  _TRANSACTIONMANAGER_LOG_INFORMATION
 
struct  _TRANSACTIONMANAGER_LOGPATH_INFORMATION
 
struct  _TRANSACTIONMANAGER_RECOVERY_INFORMATION
 
struct  _TRANSACTION_PROPERTIES_INFORMATION
 
struct  _TRANSACTION_BIND_INFORMATION
 
struct  _TRANSACTION_ENLISTMENT_PAIR
 
struct  _TRANSACTION_ENLISTMENTS_INFORMATION
 
struct  _TRANSACTION_SUPERIOR_ENLISTMENT_INFORMATION
 
struct  _RESOURCEMANAGER_BASIC_INFORMATION
 
struct  _RESOURCEMANAGER_COMPLETION_INFORMATION
 
struct  _KTMOBJECT_CURSOR
 
struct  _ENLISTMENT_BASIC_INFORMATION
 
struct  _ENLISTMENT_CRM_INFORMATION
 
struct  _TRANSACTION_LIST_ENTRY
 
struct  _TRANSACTION_LIST_INFORMATION
 

Macros

#define TRANSACTIONMANAGER_QUERY_INFORMATION   (0x0001)
 
#define TRANSACTIONMANAGER_SET_INFORMATION   (0x0002)
 
#define TRANSACTIONMANAGER_RECOVER   (0x0004)
 
#define TRANSACTIONMANAGER_RENAME   (0x0008)
 
#define TRANSACTIONMANAGER_CREATE_RM   (0x0010)
 
#define TRANSACTIONMANAGER_BIND_TRANSACTION   (0x0020)
 
#define TRANSACTIONMANAGER_GENERIC_READ
 
#define TRANSACTIONMANAGER_GENERIC_WRITE
 
#define TRANSACTIONMANAGER_GENERIC_EXECUTE   (STANDARD_RIGHTS_EXECUTE)
 
#define TRANSACTIONMANAGER_ALL_ACCESS
 
#define TRANSACTION_QUERY_INFORMATION   (0x0001)
 
#define TRANSACTION_SET_INFORMATION   (0x0002)
 
#define TRANSACTION_ENLIST   (0x0004)
 
#define TRANSACTION_COMMIT   (0x0008)
 
#define TRANSACTION_ROLLBACK   (0x0010)
 
#define TRANSACTION_PROPAGATE   (0x0020)
 
#define TRANSACTION_RIGHT_RESERVED1   (0x0040)
 
#define TRANSACTION_GENERIC_READ
 
#define TRANSACTION_GENERIC_WRITE
 
#define TRANSACTION_GENERIC_EXECUTE
 
#define TRANSACTION_ALL_ACCESS
 
#define TRANSACTION_RESOURCE_MANAGER_RIGHTS
 
#define RESOURCEMANAGER_QUERY_INFORMATION   (0x0001)
 
#define RESOURCEMANAGER_SET_INFORMATION   (0x0002)
 
#define RESOURCEMANAGER_RECOVER   (0x0004)
 
#define RESOURCEMANAGER_ENLIST   (0x0008)
 
#define RESOURCEMANAGER_GET_NOTIFICATION   (0x0010)
 
#define RESOURCEMANAGER_REGISTER_PROTOCOL   (0x0020)
 
#define RESOURCEMANAGER_COMPLETE_PROPAGATION   (0x0040)
 
#define RESOURCEMANAGER_GENERIC_READ
 
#define RESOURCEMANAGER_GENERIC_WRITE
 
#define RESOURCEMANAGER_GENERIC_EXECUTE
 
#define RESOURCEMANAGER_ALL_ACCESS
 
#define ENLISTMENT_QUERY_INFORMATION   (0x0001)
 
#define ENLISTMENT_SET_INFORMATION   (0x0002)
 
#define ENLISTMENT_RECOVER   (0x0004)
 
#define ENLISTMENT_SUBORDINATE_RIGHTS   (0x0008)
 
#define ENLISTMENT_SUPERIOR_RIGHTS   (0x0010)
 
#define ENLISTMENT_GENERIC_READ
 
#define ENLISTMENT_GENERIC_WRITE
 
#define ENLISTMENT_GENERIC_EXECUTE
 
#define ENLISTMENT_ALL_ACCESS
 

Typedefs

typedef enum _TRANSACTION_OUTCOME TRANSACTION_OUTCOME
 
typedef enum _TRANSACTION_STATE TRANSACTION_STATE
 
typedef struct _TRANSACTION_BASIC_INFORMATION TRANSACTION_BASIC_INFORMATION
 
typedef struct _TRANSACTION_BASIC_INFORMATIONPTRANSACTION_BASIC_INFORMATION
 
typedef struct _TRANSACTIONMANAGER_BASIC_INFORMATION TRANSACTIONMANAGER_BASIC_INFORMATION
 
typedef struct _TRANSACTIONMANAGER_BASIC_INFORMATIONPTRANSACTIONMANAGER_BASIC_INFORMATION
 
typedef struct _TRANSACTIONMANAGER_LOG_INFORMATION TRANSACTIONMANAGER_LOG_INFORMATION
 
typedef struct _TRANSACTIONMANAGER_LOG_INFORMATIONPTRANSACTIONMANAGER_LOG_INFORMATION
 
typedef struct _TRANSACTIONMANAGER_LOGPATH_INFORMATION TRANSACTIONMANAGER_LOGPATH_INFORMATION
 
typedef struct _TRANSACTIONMANAGER_LOGPATH_INFORMATIONPTRANSACTIONMANAGER_LOGPATH_INFORMATION
 
typedef struct _TRANSACTIONMANAGER_RECOVERY_INFORMATION TRANSACTIONMANAGER_RECOVERY_INFORMATION
 
typedef struct _TRANSACTIONMANAGER_RECOVERY_INFORMATIONPTRANSACTIONMANAGER_RECOVERY_INFORMATION
 
typedef struct _TRANSACTION_PROPERTIES_INFORMATION TRANSACTION_PROPERTIES_INFORMATION
 
typedef struct _TRANSACTION_PROPERTIES_INFORMATIONPTRANSACTION_PROPERTIES_INFORMATION
 
typedef struct _TRANSACTION_BIND_INFORMATION TRANSACTION_BIND_INFORMATION
 
typedef struct _TRANSACTION_BIND_INFORMATIONPTRANSACTION_BIND_INFORMATION
 
typedef struct _TRANSACTION_ENLISTMENT_PAIR TRANSACTION_ENLISTMENT_PAIR
 
typedef struct _TRANSACTION_ENLISTMENT_PAIRPTRANSACTION_ENLISTMENT_PAIR
 
typedef struct _TRANSACTION_ENLISTMENTS_INFORMATION TRANSACTION_ENLISTMENTS_INFORMATION
 
typedef struct _TRANSACTION_ENLISTMENTS_INFORMATIONPTRANSACTION_ENLISTMENTS_INFORMATION
 
typedef struct _TRANSACTION_SUPERIOR_ENLISTMENT_INFORMATION TRANSACTION_SUPERIOR_ENLISTMENT_INFORMATION
 
typedef struct _TRANSACTION_SUPERIOR_ENLISTMENT_INFORMATIONPTRANSACTION_SUPERIOR_ENLISTMENT_INFORMATION
 
typedef struct _RESOURCEMANAGER_BASIC_INFORMATION RESOURCEMANAGER_BASIC_INFORMATION
 
typedef struct _RESOURCEMANAGER_BASIC_INFORMATIONPRESOURCEMANAGER_BASIC_INFORMATION
 
typedef struct _RESOURCEMANAGER_COMPLETION_INFORMATION RESOURCEMANAGER_COMPLETION_INFORMATION
 
typedef struct _RESOURCEMANAGER_COMPLETION_INFORMATIONPRESOURCEMANAGER_COMPLETION_INFORMATION
 
typedef enum _KTMOBJECT_TYPE KTMOBJECT_TYPE
 
typedef enum _KTMOBJECT_TYPEPKTMOBJECT_TYPE
 
typedef struct _KTMOBJECT_CURSOR KTMOBJECT_CURSOR
 
typedef struct _KTMOBJECT_CURSORPKTMOBJECT_CURSOR
 
typedef enum _TRANSACTION_INFORMATION_CLASS TRANSACTION_INFORMATION_CLASS
 
typedef enum _TRANSACTIONMANAGER_INFORMATION_CLASS TRANSACTIONMANAGER_INFORMATION_CLASS
 
typedef enum _RESOURCEMANAGER_INFORMATION_CLASS RESOURCEMANAGER_INFORMATION_CLASS
 
typedef struct _ENLISTMENT_BASIC_INFORMATION ENLISTMENT_BASIC_INFORMATION
 
typedef struct _ENLISTMENT_BASIC_INFORMATIONPENLISTMENT_BASIC_INFORMATION
 
typedef struct _ENLISTMENT_CRM_INFORMATION ENLISTMENT_CRM_INFORMATION
 
typedef struct _ENLISTMENT_CRM_INFORMATIONPENLISTMENT_CRM_INFORMATION
 
typedef enum _ENLISTMENT_INFORMATION_CLASS ENLISTMENT_INFORMATION_CLASS
 
typedef struct _TRANSACTION_LIST_ENTRY TRANSACTION_LIST_ENTRY
 
typedef struct _TRANSACTION_LIST_ENTRYPTRANSACTION_LIST_ENTRY
 
typedef struct _TRANSACTION_LIST_INFORMATION TRANSACTION_LIST_INFORMATION
 
typedef struct _TRANSACTION_LIST_INFORMATIONPTRANSACTION_LIST_INFORMATION
 
typedef NTSTATUS(NTAPIPFN_NT_CREATE_TRANSACTION) (_Out_ PHANDLE TransactionHandle, _In_ ACCESS_MASK DesiredAccess, _In_opt_ POBJECT_ATTRIBUTES ObjectAttributes, _In_opt_ LPGUID Uow, _In_opt_ HANDLE TmHandle, _In_opt_ ULONG CreateOptions, _In_opt_ ULONG IsolationLevel, _In_opt_ ULONG IsolationFlags, _In_opt_ PLARGE_INTEGER Timeout, _In_opt_ PUNICODE_STRING Description)
 
typedef NTSTATUS(NTAPIPFN_NT_OPEN_TRANSACTION) (_Out_ PHANDLE TransactionHandle, _In_ ACCESS_MASK DesiredAccess, _In_ POBJECT_ATTRIBUTES ObjectAttributes, _In_opt_ LPGUID Uow, _In_opt_ HANDLE TmHandle)
 
typedef NTSTATUS(NTAPIPFN_NT_QUERY_INFORMATION_TRANSACTION) (_In_ HANDLE TransactionHandle, _In_ TRANSACTION_INFORMATION_CLASS TransactionInformationClass, _Out_writes_bytes_(TransactionInformationLength) PVOID TransactionInformation, _In_ ULONG TransactionInformationLength, _Out_opt_ PULONG ReturnLength)
 
typedef NTSTATUS(NTAPIPFN_NT_SET_INFORMATION_TRANSACTION) (_In_ HANDLE TransactionHandle, _In_ TRANSACTION_INFORMATION_CLASS TransactionInformationClass, _In_ PVOID TransactionInformation, _In_ ULONG TransactionInformationLength)
 
typedef NTSTATUS(NTAPIPFN_NT_COMMIT_TRANSACTION) (_In_ HANDLE TransactionHandle, _In_ BOOLEAN Wait)
 
typedef NTSTATUS(NTAPIPFN_NT_ROLLBACK_TRANSACTION) (_In_ HANDLE TransactionHandle, _In_ BOOLEAN Wait)
 

Enumerations

enum  _TRANSACTION_OUTCOME { TransactionOutcomeUndetermined = 1, TransactionOutcomeCommitted, TransactionOutcomeAborted }
 
enum  _TRANSACTION_STATE { TransactionStateNormal = 1, TransactionStateIndoubt, TransactionStateCommittedNotify }
 
enum  _KTMOBJECT_TYPE {
  KTMOBJECT_TRANSACTION, KTMOBJECT_TRANSACTION_MANAGER, KTMOBJECT_RESOURCE_MANAGER, KTMOBJECT_ENLISTMENT,
  KTMOBJECT_INVALID
}
 
enum  _TRANSACTION_INFORMATION_CLASS { TransactionBasicInformation, TransactionPropertiesInformation, TransactionEnlistmentInformation, TransactionSuperiorEnlistmentInformation }
 
enum  _TRANSACTIONMANAGER_INFORMATION_CLASS { TransactionManagerBasicInformation, TransactionManagerLogInformation, TransactionManagerLogPathInformation, TransactionManagerRecoveryInformation = 4 }
 
enum  _RESOURCEMANAGER_INFORMATION_CLASS { ResourceManagerBasicInformation, ResourceManagerCompletionInformation }
 
enum  _ENLISTMENT_INFORMATION_CLASS { EnlistmentBasicInformation, EnlistmentRecoveryInformation, EnlistmentCrmInformation }
 

Functions

_Must_inspect_result_ _IRQL_requires_max_ (APC_LEVEL) __kernel_entry NTSYSCALLAPI NTSTATUS NTAPI NtCreateTransactionManager(_Out_ PHANDLE TmHandle
 
_Must_inspect_result_ _In_ TRANSACTIONMANAGER_INFORMATION_CLASS _Out_writes_bytes_ (TransactionManagerInformationLength) PVOID TransactionManagerInformation
 
_Must_inspect_result_ _In_ TRANSACTIONMANAGER_INFORMATION_CLASS _In_reads_bytes_ (TransactionManagerInformationLength) PVOID TransactionManagerInformation
 
_Must_inspect_result_ _In_ KTMOBJECT_TYPE _Inout_updates_bytes_ (ObjectCursorLength) PKTMOBJECT_CURSOR ObjectCursor
 
_Must_inspect_result_ _In_ TRANSACTION_INFORMATION_CLASS _Out_writes_bytes_ (TransactionInformationLength) PVOID TransactionInformation
 
_Must_inspect_result_ _In_ TRANSACTION_INFORMATION_CLASS _In_reads_bytes_ (TransactionInformationLength) PVOID TransactionInformation
 
_Must_inspect_result_ _In_ ENLISTMENT_INFORMATION_CLASS _Out_writes_bytes_ (EnlistmentInformationLength) PVOID EnlistmentInformation
 
_Must_inspect_result_ _In_ ENLISTMENT_INFORMATION_CLASS _In_reads_bytes_ (EnlistmentInformationLength) PVOID EnlistmentInformation
 
_Must_inspect_result_ _In_ RESOURCEMANAGER_INFORMATION_CLASS _Out_writes_bytes_ (ResourceManagerInformationLength) PVOID ResourceManagerInformation
 
_Must_inspect_result_ _In_ RESOURCEMANAGER_INFORMATION_CLASS _In_reads_bytes_ (ResourceManagerInformationLength) PVOID ResourceManagerInformation
 

Variables

_Must_inspect_result_ _In_ ACCESS_MASK DesiredAccess
 
_Must_inspect_result_ _In_ ACCESS_MASK _In_opt_ POBJECT_ATTRIBUTES ObjectAttributes
 
_Must_inspect_result_ _In_ ACCESS_MASK _In_opt_ POBJECT_ATTRIBUTES _In_opt_ PUNICODE_STRING LogFileName
 
_Must_inspect_result_ _In_ ACCESS_MASK _In_opt_ POBJECT_ATTRIBUTES _In_opt_ PUNICODE_STRING _In_opt_ ULONG CreateOptions
 
_Must_inspect_result_ _In_ ACCESS_MASK _In_opt_ POBJECT_ATTRIBUTES _In_opt_ PUNICODE_STRING _In_opt_ ULONG _In_opt_ ULONG CommitStrength
 
_Must_inspect_result_ _In_ ACCESS_MASK _In_opt_ POBJECT_ATTRIBUTES _In_opt_ PUNICODE_STRING _In_opt_ LPGUID TmIdentity
 
_Must_inspect_result_ _In_ ACCESS_MASK _In_opt_ POBJECT_ATTRIBUTES _In_opt_ PUNICODE_STRING _In_opt_ LPGUID _In_opt_ ULONG OpenOptions
 
_Must_inspect_result_ _In_ LPGUID ExistingTransactionManagerGuid
 
_Must_inspect_result_ _In_opt_ PLARGE_INTEGER TmVirtualClock
 
_Must_inspect_result_ _In_ TRANSACTIONMANAGER_INFORMATION_CLASS TransactionManagerInformationClass
 
_Must_inspect_result_ _In_ TRANSACTIONMANAGER_INFORMATION_CLASS _In_ ULONG TransactionManagerInformationLength
 
_Must_inspect_result_ _In_ TRANSACTIONMANAGER_INFORMATION_CLASS _In_ ULONG _Out_ PULONG ReturnLength
 
_Must_inspect_result_ _In_ KTMOBJECT_TYPE QueryType
 
_Must_inspect_result_ _In_ KTMOBJECT_TYPE _In_ ULONG ObjectCursorLength
 
_Must_inspect_result_ _In_ ACCESS_MASK _In_opt_ POBJECT_ATTRIBUTES _In_opt_ LPGUID Uow
 
_Must_inspect_result_ _In_ ACCESS_MASK _In_opt_ POBJECT_ATTRIBUTES _In_opt_ LPGUID _In_opt_ HANDLE TmHandle
 
_Must_inspect_result_ _In_ ACCESS_MASK _In_opt_ POBJECT_ATTRIBUTES _In_opt_ LPGUID _In_opt_ HANDLE _In_opt_ ULONG _In_opt_ ULONG IsolationLevel
 
_Must_inspect_result_ _In_ ACCESS_MASK _In_opt_ POBJECT_ATTRIBUTES _In_opt_ LPGUID _In_opt_ HANDLE _In_opt_ ULONG _In_opt_ ULONG _In_opt_ ULONG IsolationFlags
 
_Must_inspect_result_ _In_ ACCESS_MASK _In_opt_ POBJECT_ATTRIBUTES _In_opt_ LPGUID _In_opt_ HANDLE _In_opt_ ULONG _In_opt_ ULONG _In_opt_ ULONG _In_opt_ PLARGE_INTEGER Timeout
 
_Must_inspect_result_ _In_ ACCESS_MASK _In_opt_ POBJECT_ATTRIBUTES _In_opt_ LPGUID _In_opt_ HANDLE _In_opt_ ULONG _In_opt_ ULONG _In_opt_ ULONG _In_opt_ PLARGE_INTEGER _In_opt_ PUNICODE_STRING Description
 
_Must_inspect_result_ _In_ TRANSACTION_INFORMATION_CLASS TransactionInformationClass
 
_Must_inspect_result_ _In_ TRANSACTION_INFORMATION_CLASS _In_ ULONG TransactionInformationLength
 
_In_ BOOLEAN Wait
 
_Must_inspect_result_ _In_ ACCESS_MASK _In_ HANDLE ResourceManagerHandle
 
_Must_inspect_result_ _In_ ACCESS_MASK _In_ HANDLE _In_ HANDLE TransactionHandle
 
_Must_inspect_result_ _In_ ACCESS_MASK _In_ HANDLE _In_ HANDLE _In_opt_ POBJECT_ATTRIBUTES _In_opt_ ULONG _In_ NOTIFICATION_MASK NotificationMask
 
_Must_inspect_result_ _In_ ACCESS_MASK _In_ HANDLE _In_ HANDLE _In_opt_ POBJECT_ATTRIBUTES _In_opt_ ULONG _In_ NOTIFICATION_MASK _In_opt_ PVOID EnlistmentKey
 
_Must_inspect_result_ _In_ ACCESS_MASK _In_ HANDLE _In_ LPGUID EnlistmentGuid
 
_Must_inspect_result_ _In_ ENLISTMENT_INFORMATION_CLASS EnlistmentInformationClass
 
_Must_inspect_result_ _In_ ENLISTMENT_INFORMATION_CLASS _In_ ULONG EnlistmentInformationLength
 
_Must_inspect_result_ _In_ ACCESS_MASK _In_ HANDLE _In_ LPGUID RmGuid
 
_Must_inspect_result_ _In_ ACCESS_MASK _In_ HANDLE _In_opt_ LPGUID ResourceManagerGuid
 
_Must_inspect_result_ _Out_ PTRANSACTION_NOTIFICATION TransactionNotification
 
_Must_inspect_result_ _Out_ PTRANSACTION_NOTIFICATION _In_ ULONG NotificationLength
 
_Must_inspect_result_ _Out_ PTRANSACTION_NOTIFICATION _In_ ULONG _In_opt_ PLARGE_INTEGER _Out_opt_ PULONG _In_ ULONG Asynchronous
 
_Must_inspect_result_ _Out_ PTRANSACTION_NOTIFICATION _In_ ULONG _In_opt_ PLARGE_INTEGER _Out_opt_ PULONG _In_ ULONG _In_opt_ ULONG_PTR AsynchronousContext
 
_Must_inspect_result_ _In_ RESOURCEMANAGER_INFORMATION_CLASS ResourceManagerInformationClass
 
_Must_inspect_result_ _In_ RESOURCEMANAGER_INFORMATION_CLASS _In_ ULONG ResourceManagerInformationLength
 
_Must_inspect_result_ _In_ PCRM_PROTOCOL_ID ProtocolId
 
_Must_inspect_result_ _In_ PCRM_PROTOCOL_ID _In_ ULONG ProtocolInformationSize
 
_Must_inspect_result_ _In_ PCRM_PROTOCOL_ID _In_ ULONG _In_ PVOID ProtocolInformation
 
_In_ ULONG RequestCookie
 
_In_ ULONG _In_ ULONG BufferLength
 
_In_ ULONG _In_ ULONG _In_ PVOID Buffer
 
_In_ ULONG _In_ NTSTATUS PropStatus
 

Macro Definition Documentation

◆ ENLISTMENT_ALL_ACCESS

#define ENLISTMENT_ALL_ACCESS
Value:
ENLISTMENT_GENERIC_READ |\
ENLISTMENT_GENERIC_WRITE |\
ENLISTMENT_GENERIC_EXECUTE)
#define STANDARD_RIGHTS_REQUIRED
Definition: nt_native.h:63

Definition at line 121 of file nttmapi.h.

◆ ENLISTMENT_GENERIC_EXECUTE

#define ENLISTMENT_GENERIC_EXECUTE
Value:
ENLISTMENT_RECOVER |\
ENLISTMENT_SUBORDINATE_RIGHTS |\
ENLISTMENT_SUPERIOR_RIGHTS)
#define STANDARD_RIGHTS_EXECUTE
Definition: nt_native.h:67

Definition at line 116 of file nttmapi.h.

◆ ENLISTMENT_GENERIC_READ

#define ENLISTMENT_GENERIC_READ
Value:
ENLISTMENT_QUERY_INFORMATION)
#define STANDARD_RIGHTS_READ
Definition: nt_native.h:65

Definition at line 107 of file nttmapi.h.

◆ ENLISTMENT_GENERIC_WRITE

#define ENLISTMENT_GENERIC_WRITE
Value:
ENLISTMENT_SET_INFORMATION |\
ENLISTMENT_RECOVER |\
ENLISTMENT_SUBORDINATE_RIGHTS |\
ENLISTMENT_SUPERIOR_RIGHTS)
#define STANDARD_RIGHTS_WRITE
Definition: nt_native.h:66

Definition at line 110 of file nttmapi.h.

◆ ENLISTMENT_QUERY_INFORMATION

#define ENLISTMENT_QUERY_INFORMATION   (0x0001)

Definition at line 101 of file nttmapi.h.

◆ ENLISTMENT_RECOVER

#define ENLISTMENT_RECOVER   (0x0004)

Definition at line 103 of file nttmapi.h.

◆ ENLISTMENT_SET_INFORMATION

#define ENLISTMENT_SET_INFORMATION   (0x0002)

Definition at line 102 of file nttmapi.h.

◆ ENLISTMENT_SUBORDINATE_RIGHTS

#define ENLISTMENT_SUBORDINATE_RIGHTS   (0x0008)

Definition at line 104 of file nttmapi.h.

◆ ENLISTMENT_SUPERIOR_RIGHTS

#define ENLISTMENT_SUPERIOR_RIGHTS   (0x0010)

Definition at line 105 of file nttmapi.h.

◆ RESOURCEMANAGER_ALL_ACCESS

#define RESOURCEMANAGER_ALL_ACCESS
Value:
RESOURCEMANAGER_GENERIC_READ |\
RESOURCEMANAGER_GENERIC_WRITE |\
RESOURCEMANAGER_GENERIC_EXECUTE)
#define STANDARD_RIGHTS_REQUIRED
Definition: nt_native.h:63

Definition at line 96 of file nttmapi.h.

◆ RESOURCEMANAGER_COMPLETE_PROPAGATION

#define RESOURCEMANAGER_COMPLETE_PROPAGATION   (0x0040)

Definition at line 74 of file nttmapi.h.

◆ RESOURCEMANAGER_ENLIST

#define RESOURCEMANAGER_ENLIST   (0x0008)

Definition at line 71 of file nttmapi.h.

◆ RESOURCEMANAGER_GENERIC_EXECUTE

#define RESOURCEMANAGER_GENERIC_EXECUTE
Value:
RESOURCEMANAGER_RECOVER |\
RESOURCEMANAGER_ENLIST |\
RESOURCEMANAGER_GET_NOTIFICATION |\
RESOURCEMANAGER_COMPLETE_PROPAGATION |\
SYNCHRONIZE)
#define STANDARD_RIGHTS_EXECUTE
Definition: nt_native.h:67

Definition at line 89 of file nttmapi.h.

◆ RESOURCEMANAGER_GENERIC_READ

#define RESOURCEMANAGER_GENERIC_READ
Value:
RESOURCEMANAGER_QUERY_INFORMATION |\
SYNCHRONIZE)
#define STANDARD_RIGHTS_READ
Definition: nt_native.h:65

Definition at line 76 of file nttmapi.h.

◆ RESOURCEMANAGER_GENERIC_WRITE

#define RESOURCEMANAGER_GENERIC_WRITE
Value:
RESOURCEMANAGER_SET_INFORMATION |\
RESOURCEMANAGER_RECOVER |\
RESOURCEMANAGER_ENLIST |\
RESOURCEMANAGER_GET_NOTIFICATION |\
RESOURCEMANAGER_REGISTER_PROTOCOL |\
RESOURCEMANAGER_COMPLETE_PROPAGATION |\
SYNCHRONIZE)
#define STANDARD_RIGHTS_WRITE
Definition: nt_native.h:66

Definition at line 80 of file nttmapi.h.

◆ RESOURCEMANAGER_GET_NOTIFICATION

#define RESOURCEMANAGER_GET_NOTIFICATION   (0x0010)

Definition at line 72 of file nttmapi.h.

◆ RESOURCEMANAGER_QUERY_INFORMATION

#define RESOURCEMANAGER_QUERY_INFORMATION   (0x0001)

Definition at line 68 of file nttmapi.h.

◆ RESOURCEMANAGER_RECOVER

#define RESOURCEMANAGER_RECOVER   (0x0004)

Definition at line 70 of file nttmapi.h.

◆ RESOURCEMANAGER_REGISTER_PROTOCOL

#define RESOURCEMANAGER_REGISTER_PROTOCOL   (0x0020)

Definition at line 73 of file nttmapi.h.

◆ RESOURCEMANAGER_SET_INFORMATION

#define RESOURCEMANAGER_SET_INFORMATION   (0x0002)

Definition at line 69 of file nttmapi.h.

◆ TRANSACTION_ALL_ACCESS

#define TRANSACTION_ALL_ACCESS
Value:
TRANSACTION_GENERIC_READ |\
TRANSACTION_GENERIC_WRITE |\
TRANSACTION_GENERIC_EXECUTE)
#define STANDARD_RIGHTS_REQUIRED
Definition: nt_native.h:63

Definition at line 55 of file nttmapi.h.

◆ TRANSACTION_COMMIT

#define TRANSACTION_COMMIT   (0x0008)

Definition at line 33 of file nttmapi.h.

◆ TRANSACTION_ENLIST

#define TRANSACTION_ENLIST   (0x0004)

Definition at line 32 of file nttmapi.h.

◆ TRANSACTION_GENERIC_EXECUTE

#define TRANSACTION_GENERIC_EXECUTE
Value:
TRANSACTION_COMMIT |\
TRANSACTION_ROLLBACK |\
SYNCHRONIZE)
#define STANDARD_RIGHTS_EXECUTE
Definition: nt_native.h:67

Definition at line 50 of file nttmapi.h.

◆ TRANSACTION_GENERIC_READ

#define TRANSACTION_GENERIC_READ
Value:
TRANSACTION_QUERY_INFORMATION |\
SYNCHRONIZE)
#define STANDARD_RIGHTS_READ
Definition: nt_native.h:65

Definition at line 38 of file nttmapi.h.

◆ TRANSACTION_GENERIC_WRITE

#define TRANSACTION_GENERIC_WRITE
Value:
TRANSACTION_SET_INFORMATION |\
TRANSACTION_COMMIT |\
TRANSACTION_ENLIST |\
TRANSACTION_ROLLBACK |\
TRANSACTION_PROPAGATE |\
SYNCHRONIZE)
#define STANDARD_RIGHTS_WRITE
Definition: nt_native.h:66

Definition at line 42 of file nttmapi.h.

◆ TRANSACTION_PROPAGATE

#define TRANSACTION_PROPAGATE   (0x0020)

Definition at line 35 of file nttmapi.h.

◆ TRANSACTION_QUERY_INFORMATION

#define TRANSACTION_QUERY_INFORMATION   (0x0001)

Definition at line 30 of file nttmapi.h.

◆ TRANSACTION_RESOURCE_MANAGER_RIGHTS

#define TRANSACTION_RESOURCE_MANAGER_RIGHTS
Value:
STANDARD_RIGHTS_WRITE |\
TRANSACTION_SET_INFORMATION |\
TRANSACTION_ENLIST |\
TRANSACTION_ROLLBACK |\
TRANSACTION_PROPAGATE |\
SYNCHRONIZE)
#define TRANSACTION_GENERIC_READ
Definition: nttmapi.h:38

Definition at line 60 of file nttmapi.h.

◆ TRANSACTION_RIGHT_RESERVED1

#define TRANSACTION_RIGHT_RESERVED1   (0x0040)

Definition at line 36 of file nttmapi.h.

◆ TRANSACTION_ROLLBACK

#define TRANSACTION_ROLLBACK   (0x0010)

Definition at line 34 of file nttmapi.h.

◆ TRANSACTION_SET_INFORMATION

#define TRANSACTION_SET_INFORMATION   (0x0002)

Definition at line 31 of file nttmapi.h.

◆ TRANSACTIONMANAGER_ALL_ACCESS

#define TRANSACTIONMANAGER_ALL_ACCESS
Value:
TRANSACTIONMANAGER_GENERIC_READ |\
TRANSACTIONMANAGER_GENERIC_WRITE |\
TRANSACTIONMANAGER_GENERIC_EXECUTE |\
TRANSACTIONMANAGER_BIND_TRANSACTION)
#define STANDARD_RIGHTS_REQUIRED
Definition: nt_native.h:63

Definition at line 24 of file nttmapi.h.

◆ TRANSACTIONMANAGER_BIND_TRANSACTION

#define TRANSACTIONMANAGER_BIND_TRANSACTION   (0x0020)

Definition at line 11 of file nttmapi.h.

◆ TRANSACTIONMANAGER_CREATE_RM

#define TRANSACTIONMANAGER_CREATE_RM   (0x0010)

Definition at line 10 of file nttmapi.h.

◆ TRANSACTIONMANAGER_GENERIC_EXECUTE

#define TRANSACTIONMANAGER_GENERIC_EXECUTE   (STANDARD_RIGHTS_EXECUTE)

Definition at line 22 of file nttmapi.h.

◆ TRANSACTIONMANAGER_GENERIC_READ

#define TRANSACTIONMANAGER_GENERIC_READ
Value:
TRANSACTIONMANAGER_QUERY_INFORMATION)
#define STANDARD_RIGHTS_READ
Definition: nt_native.h:65

Definition at line 13 of file nttmapi.h.

◆ TRANSACTIONMANAGER_GENERIC_WRITE

#define TRANSACTIONMANAGER_GENERIC_WRITE
Value:
TRANSACTIONMANAGER_SET_INFORMATION |\
TRANSACTIONMANAGER_RECOVER |\
TRANSACTIONMANAGER_RENAME |\
TRANSACTIONMANAGER_CREATE_RM)
#define STANDARD_RIGHTS_WRITE
Definition: nt_native.h:66

Definition at line 16 of file nttmapi.h.

◆ TRANSACTIONMANAGER_QUERY_INFORMATION

#define TRANSACTIONMANAGER_QUERY_INFORMATION   (0x0001)

Definition at line 6 of file nttmapi.h.

◆ TRANSACTIONMANAGER_RECOVER

#define TRANSACTIONMANAGER_RECOVER   (0x0004)

Definition at line 8 of file nttmapi.h.

◆ TRANSACTIONMANAGER_RENAME

#define TRANSACTIONMANAGER_RENAME   (0x0008)

Definition at line 9 of file nttmapi.h.

◆ TRANSACTIONMANAGER_SET_INFORMATION

#define TRANSACTIONMANAGER_SET_INFORMATION   (0x0002)

Definition at line 7 of file nttmapi.h.

Typedef Documentation

◆ ENLISTMENT_BASIC_INFORMATION

◆ ENLISTMENT_CRM_INFORMATION

◆ ENLISTMENT_INFORMATION_CLASS

◆ KTMOBJECT_CURSOR

◆ KTMOBJECT_TYPE

◆ PENLISTMENT_BASIC_INFORMATION

◆ PENLISTMENT_CRM_INFORMATION

◆ PFN_NT_COMMIT_TRANSACTION

typedef NTSTATUS(NTAPI * PFN_NT_COMMIT_TRANSACTION) (_In_ HANDLE TransactionHandle, _In_ BOOLEAN Wait)

Definition at line 303 of file nttmapi.h.

◆ PFN_NT_CREATE_TRANSACTION

◆ PFN_NT_OPEN_TRANSACTION

◆ PFN_NT_QUERY_INFORMATION_TRANSACTION

◆ PFN_NT_ROLLBACK_TRANSACTION

typedef NTSTATUS(NTAPI * PFN_NT_ROLLBACK_TRANSACTION) (_In_ HANDLE TransactionHandle, _In_ BOOLEAN Wait)

Definition at line 308 of file nttmapi.h.

◆ PFN_NT_SET_INFORMATION_TRANSACTION

◆ PKTMOBJECT_CURSOR

◆ PKTMOBJECT_TYPE

◆ PRESOURCEMANAGER_BASIC_INFORMATION

◆ PRESOURCEMANAGER_COMPLETION_INFORMATION

◆ PTRANSACTION_BASIC_INFORMATION

◆ PTRANSACTION_BIND_INFORMATION

◆ PTRANSACTION_ENLISTMENT_PAIR

◆ PTRANSACTION_ENLISTMENTS_INFORMATION

◆ PTRANSACTION_LIST_ENTRY

◆ PTRANSACTION_LIST_INFORMATION

◆ PTRANSACTION_PROPERTIES_INFORMATION

◆ PTRANSACTION_SUPERIOR_ENLISTMENT_INFORMATION

◆ PTRANSACTIONMANAGER_BASIC_INFORMATION

◆ PTRANSACTIONMANAGER_LOG_INFORMATION

◆ PTRANSACTIONMANAGER_LOGPATH_INFORMATION

◆ PTRANSACTIONMANAGER_RECOVERY_INFORMATION

◆ RESOURCEMANAGER_BASIC_INFORMATION

◆ RESOURCEMANAGER_COMPLETION_INFORMATION

◆ RESOURCEMANAGER_INFORMATION_CLASS

◆ TRANSACTION_BASIC_INFORMATION

◆ TRANSACTION_BIND_INFORMATION

◆ TRANSACTION_ENLISTMENT_PAIR

◆ TRANSACTION_ENLISTMENTS_INFORMATION

◆ TRANSACTION_INFORMATION_CLASS

◆ TRANSACTION_LIST_ENTRY

◆ TRANSACTION_LIST_INFORMATION

◆ TRANSACTION_OUTCOME

◆ TRANSACTION_PROPERTIES_INFORMATION

◆ TRANSACTION_STATE

◆ TRANSACTION_SUPERIOR_ENLISTMENT_INFORMATION

◆ TRANSACTIONMANAGER_BASIC_INFORMATION

◆ TRANSACTIONMANAGER_INFORMATION_CLASS

◆ TRANSACTIONMANAGER_LOG_INFORMATION

◆ TRANSACTIONMANAGER_LOGPATH_INFORMATION

◆ TRANSACTIONMANAGER_RECOVERY_INFORMATION

Enumeration Type Documentation

◆ _ENLISTMENT_INFORMATION_CLASS

Enumerator
EnlistmentBasicInformation 
EnlistmentRecoveryInformation 
EnlistmentCrmInformation 

Definition at line 247 of file nttmapi.h.

◆ _KTMOBJECT_TYPE

Enumerator
KTMOBJECT_TRANSACTION 
KTMOBJECT_TRANSACTION_MANAGER 
KTMOBJECT_RESOURCE_MANAGER 
KTMOBJECT_ENLISTMENT 
KTMOBJECT_INVALID 

Definition at line 202 of file nttmapi.h.

◆ _RESOURCEMANAGER_INFORMATION_CLASS

Enumerator
ResourceManagerBasicInformation 
ResourceManagerCompletionInformation 

Definition at line 230 of file nttmapi.h.

◆ _TRANSACTION_INFORMATION_CLASS

Enumerator
TransactionBasicInformation 
TransactionPropertiesInformation 
TransactionEnlistmentInformation 
TransactionSuperiorEnlistmentInformation 

Definition at line 216 of file nttmapi.h.

◆ _TRANSACTION_OUTCOME

Enumerator
TransactionOutcomeUndetermined 
TransactionOutcomeCommitted 
TransactionOutcomeAborted 

Definition at line 126 of file nttmapi.h.

◆ _TRANSACTION_STATE

Enumerator
TransactionStateNormal 
TransactionStateIndoubt 
TransactionStateCommittedNotify 

Definition at line 133 of file nttmapi.h.

◆ _TRANSACTIONMANAGER_INFORMATION_CLASS

Enumerator
TransactionManagerBasicInformation 
TransactionManagerLogInformation 
TransactionManagerLogPathInformation 
TransactionManagerRecoveryInformation 

Definition at line 223 of file nttmapi.h.

Function Documentation

◆ _In_reads_bytes_() [1/4]

◆ _In_reads_bytes_() [2/4]

◆ _In_reads_bytes_() [3/4]

◆ _In_reads_bytes_() [4/4]

◆ _Inout_updates_bytes_()

◆ _IRQL_requires_max_()

_Must_inspect_result_ _IRQL_requires_max_ ( APC_LEVEL  )

◆ _Out_writes_bytes_() [1/4]

◆ _Out_writes_bytes_() [2/4]

◆ _Out_writes_bytes_() [3/4]

◆ _Out_writes_bytes_() [4/4]

Variable Documentation

◆ Asynchronous

◆ AsynchronousContext

◆ Buffer

Definition at line 737 of file nttmapi.h.

◆ BufferLength

_In_ ULONG _In_ ULONG BufferLength

Definition at line 737 of file nttmapi.h.

◆ CommitStrength

◆ CreateOptions

◆ Description

◆ DesiredAccess

Definition at line 322 of file nttmapi.h.

◆ EnlistmentGuid

Definition at line 507 of file nttmapi.h.

◆ EnlistmentInformationClass

_In_ ENLISTMENT_INFORMATION_CLASS EnlistmentInformationClass

Definition at line 520 of file nttmapi.h.

◆ EnlistmentInformationLength

_In_ ENLISTMENT_INFORMATION_CLASS _In_ ULONG EnlistmentInformationLength

Definition at line 522 of file nttmapi.h.

◆ EnlistmentKey

_In_opt_ PVOID EnlistmentKey

Definition at line 491 of file nttmapi.h.

◆ ExistingTransactionManagerGuid

_Must_inspect_result_ _In_ LPGUID ExistingTransactionManagerGuid

Definition at line 350 of file nttmapi.h.

◆ IsolationFlags

◆ IsolationLevel

◆ LogFileName

◆ NotificationLength

Definition at line 685 of file nttmapi.h.

◆ NotificationMask

◆ ObjectAttributes

◆ ObjectCursorLength

Definition at line 406 of file nttmapi.h.

◆ OpenOptions

◆ PropStatus

_In_ ULONG _In_ NTSTATUS PropStatus

Definition at line 748 of file nttmapi.h.

◆ ProtocolId

Definition at line 725 of file nttmapi.h.

◆ ProtocolInformation

Definition at line 725 of file nttmapi.h.

◆ ProtocolInformationSize

Definition at line 725 of file nttmapi.h.

◆ QueryType

◆ RequestCookie

_In_ ULONG RequestCookie

Definition at line 737 of file nttmapi.h.

◆ ResourceManagerGuid

_In_ ACCESS_MASK _In_ HANDLE _In_ LPGUID ResourceManagerGuid

Definition at line 663 of file nttmapi.h.

◆ ResourceManagerHandle

Definition at line 491 of file nttmapi.h.

◆ ResourceManagerInformationClass

_In_ RESOURCEMANAGER_INFORMATION_CLASS ResourceManagerInformationClass

Definition at line 700 of file nttmapi.h.

◆ ResourceManagerInformationLength

_In_ RESOURCEMANAGER_INFORMATION_CLASS _In_ ULONG ResourceManagerInformationLength

Definition at line 702 of file nttmapi.h.

◆ ReturnLength

◆ RmGuid

◆ Timeout

◆ TmHandle

Definition at line 417 of file nttmapi.h.

◆ TmIdentity

◆ TmVirtualClock

_In_opt_ PLARGE_INTEGER TmVirtualClock

Definition at line 360 of file nttmapi.h.

◆ TransactionHandle

Definition at line 491 of file nttmapi.h.

◆ TransactionInformationClass

_In_ TRANSACTION_INFORMATION_CLASS TransactionInformationClass

Definition at line 448 of file nttmapi.h.

◆ TransactionInformationLength

_In_ TRANSACTION_INFORMATION_CLASS _In_ PVOID _In_ ULONG TransactionInformationLength

Definition at line 450 of file nttmapi.h.

◆ TransactionManagerInformationClass

_In_ TRANSACTIONMANAGER_INFORMATION_CLASS TransactionManagerInformationClass

Definition at line 379 of file nttmapi.h.

◆ TransactionManagerInformationLength

_In_ TRANSACTIONMANAGER_INFORMATION_CLASS _In_ PVOID _In_ ULONG TransactionManagerInformationLength

Definition at line 381 of file nttmapi.h.

◆ TransactionNotification

Definition at line 685 of file nttmapi.h.

◆ Uow

◆ Wait

_In_ BOOLEAN Wait

Definition at line 472 of file nttmapi.h.