ReactOS 0.4.16-dev-338-g34e76ad
|
#include <ktmtypes.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 |
#define ENLISTMENT_ALL_ACCESS |
#define ENLISTMENT_GENERIC_EXECUTE |
#define ENLISTMENT_GENERIC_READ |
#define ENLISTMENT_GENERIC_WRITE |
#define RESOURCEMANAGER_ALL_ACCESS |
#define RESOURCEMANAGER_GENERIC_EXECUTE |
#define RESOURCEMANAGER_GENERIC_READ |
#define RESOURCEMANAGER_GENERIC_WRITE |
#define TRANSACTION_ALL_ACCESS |
#define TRANSACTION_GENERIC_EXECUTE |
#define TRANSACTION_GENERIC_READ |
#define TRANSACTION_GENERIC_WRITE |
#define TRANSACTION_RESOURCE_MANAGER_RIGHTS |
#define TRANSACTIONMANAGER_ALL_ACCESS |
#define TRANSACTIONMANAGER_GENERIC_EXECUTE (STANDARD_RIGHTS_EXECUTE) |
#define TRANSACTIONMANAGER_GENERIC_READ |
#define TRANSACTIONMANAGER_GENERIC_WRITE |
typedef struct _KTMOBJECT_CURSOR KTMOBJECT_CURSOR |
typedef enum _KTMOBJECT_TYPE KTMOBJECT_TYPE |
typedef NTSTATUS(NTAPI * PFN_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(NTAPI * PFN_NT_OPEN_TRANSACTION) (_Out_ PHANDLE TransactionHandle, _In_ ACCESS_MASK DesiredAccess, _In_ POBJECT_ATTRIBUTES ObjectAttributes, _In_opt_ LPGUID Uow, _In_opt_ HANDLE TmHandle) |
typedef NTSTATUS(NTAPI * PFN_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(NTAPI * PFN_NT_SET_INFORMATION_TRANSACTION) (_In_ HANDLE TransactionHandle, _In_ TRANSACTION_INFORMATION_CLASS TransactionInformationClass, _In_ PVOID TransactionInformation, _In_ ULONG TransactionInformationLength) |
typedef struct _KTMOBJECT_CURSOR * PKTMOBJECT_CURSOR |
typedef enum _KTMOBJECT_TYPE * PKTMOBJECT_TYPE |
typedef struct _TRANSACTION_SUPERIOR_ENLISTMENT_INFORMATION * PTRANSACTION_SUPERIOR_ENLISTMENT_INFORMATION |
typedef enum _TRANSACTION_STATE TRANSACTION_STATE |
typedef struct _TRANSACTION_SUPERIOR_ENLISTMENT_INFORMATION TRANSACTION_SUPERIOR_ENLISTMENT_INFORMATION |
Enumerator | |
---|---|
KTMOBJECT_TRANSACTION | |
KTMOBJECT_TRANSACTION_MANAGER | |
KTMOBJECT_RESOURCE_MANAGER | |
KTMOBJECT_ENLISTMENT | |
KTMOBJECT_INVALID |
Definition at line 202 of file nttmapi.h.
Enumerator | |
---|---|
TransactionBasicInformation | |
TransactionPropertiesInformation | |
TransactionEnlistmentInformation | |
TransactionSuperiorEnlistmentInformation |
Definition at line 216 of file nttmapi.h.
Enumerator | |
---|---|
TransactionOutcomeUndetermined | |
TransactionOutcomeCommitted | |
TransactionOutcomeAborted |
Definition at line 126 of file nttmapi.h.
Enumerator | |
---|---|
TransactionStateNormal | |
TransactionStateIndoubt | |
TransactionStateCommittedNotify |
Definition at line 133 of file nttmapi.h.
Enumerator | |
---|---|
TransactionManagerBasicInformation | |
TransactionManagerLogInformation | |
TransactionManagerLogPathInformation | |
TransactionManagerRecoveryInformation |
Definition at line 223 of file nttmapi.h.
_Must_inspect_result_ _In_ ENLISTMENT_INFORMATION_CLASS _In_reads_bytes_ | ( | EnlistmentInformationLength | ) |
_Must_inspect_result_ _In_ RESOURCEMANAGER_INFORMATION_CLASS _In_reads_bytes_ | ( | ResourceManagerInformationLength | ) |
_Must_inspect_result_ _In_ TRANSACTION_INFORMATION_CLASS _In_reads_bytes_ | ( | TransactionInformationLength | ) |
_Must_inspect_result_ _In_ TRANSACTIONMANAGER_INFORMATION_CLASS _In_reads_bytes_ | ( | TransactionManagerInformationLength | ) |
_Must_inspect_result_ _In_ KTMOBJECT_TYPE _Inout_updates_bytes_ | ( | ObjectCursorLength | ) |
_Must_inspect_result_ _IRQL_requires_max_ | ( | APC_LEVEL | ) |
Probes and locks virtual pages in memory for the specified process.
[in,out] | MemoryDescriptorList | Memory Descriptor List (MDL) containing the buffer to be probed and locked. |
[in] | Process | The process for which the buffer should be probed and locked. |
[in] | AccessMode | Access mode for probing the pages. Can be KernelMode or UserMode. |
[in] | LockOperation | The type of the probing and locking operation. Can be IoReadAccess, IoWriteAccess or IoModifyAccess. |
Probes and locks virtual pages in memory for the specified process.
Frees previously reserved amount of memory in system virtual address space.
[in] | NumberOfBytes | Size, in bytes, of memory to reserve. |
[in] | PoolTag | Pool Tag identifying the buffer. Usually consists from 4 characters in reversed order. |
[in] | BaseAddress | A pointer to the 1st memory block of the reserved buffer. |
[in] | PoolTag | Pool Tag identifying the buffer. Usually consists from 4 characters in reversed order. |
Definition at line 37 of file cddata.c.
_Must_inspect_result_ _In_ ENLISTMENT_INFORMATION_CLASS _Out_writes_bytes_ | ( | EnlistmentInformationLength | ) |
_Must_inspect_result_ _In_ RESOURCEMANAGER_INFORMATION_CLASS _Out_writes_bytes_ | ( | ResourceManagerInformationLength | ) |
_Must_inspect_result_ _In_ TRANSACTION_INFORMATION_CLASS _Out_writes_bytes_ | ( | TransactionInformationLength | ) |
_Must_inspect_result_ _In_ TRANSACTIONMANAGER_INFORMATION_CLASS _Out_writes_bytes_ | ( | TransactionManagerInformationLength | ) |
_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_ ACCESS_MASK _In_ HANDLE _In_ LPGUID EnlistmentGuid |
_In_ ENLISTMENT_INFORMATION_CLASS EnlistmentInformationClass |
_In_ ENLISTMENT_INFORMATION_CLASS _In_ ULONG EnlistmentInformationLength |
_Must_inspect_result_ _In_ LPGUID ExistingTransactionManagerGuid |
_In_ ACCESS_MASK _In_opt_ POBJECT_ATTRIBUTES _In_opt_ PUNICODE_STRING LogFileName |
Definition at line 324 of file nttmapi.h.
Referenced by InitLog(), SetupInitializeFileLogA(), SetupInitializeFileLogW(), and WinMain().
_Must_inspect_result_ _Out_ PTRANSACTION_NOTIFICATION _In_ ULONG NotificationLength |
_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_opt_ LPGUID _In_opt_ POBJECT_ATTRIBUTES ObjectAttributes |
_Must_inspect_result_ _In_ KTMOBJECT_TYPE _In_ ULONG ObjectCursorLength |
_Must_inspect_result_ _In_ PCRM_PROTOCOL_ID ProtocolId |
_Must_inspect_result_ _In_ PCRM_PROTOCOL_ID _In_ ULONG _In_ PVOID ProtocolInformation |
_Must_inspect_result_ _In_ PCRM_PROTOCOL_ID _In_ ULONG ProtocolInformationSize |
_Must_inspect_result_ _In_ KTMOBJECT_TYPE QueryType |
Definition at line 404 of file nttmapi.h.
Referenced by IopValidateID(), NdrFullPointerQueryPointer(), NdrFullPointerQueryRefId(), PciQueryDeviceText(), PciQueryId(), and TdiQueryInformation().
_Must_inspect_result_ _In_ ACCESS_MASK _In_ HANDLE ResourceManagerHandle |
_In_ RESOURCEMANAGER_INFORMATION_CLASS ResourceManagerInformationClass |
_In_ RESOURCEMANAGER_INFORMATION_CLASS _In_ ULONG ResourceManagerInformationLength |
_In_opt_ PLARGE_INTEGER TmVirtualClock |
_In_ ACCESS_MASK _In_ POBJECT_ATTRIBUTES _In_ ULONG _In_ HANDLE TransactionHandle |
_In_ TRANSACTION_INFORMATION_CLASS TransactionInformationClass |
_In_ TRANSACTIONMANAGER_INFORMATION_CLASS TransactionManagerInformationClass |
_Must_inspect_result_ _Out_ PTRANSACTION_NOTIFICATION TransactionNotification |