#ifndef _NTTMAPI_H
NTSYSCALLAPI
NTSTATUS
NTAPI
NtSetInformationTransactionManager(
_In_opt_ HANDLE TmHandle,
_In_ TRANSACTIONMANAGER_INFORMATION_CLASS TransactionManagerInformationClass,
_In_reads_bytes_(TransactionManagerInformationLength) PVOID TransactionManagerInformation,
_In_ ULONG TransactionManagerInformationLength
);
View code on GitHub#ifndef _NTZWAPI_H
NTSYSCALLAPI
NTSTATUS
NTAPI
ZwSetInformationTransactionManager(
_In_opt_ HANDLE TmHandle,
_In_ TRANSACTIONMANAGER_INFORMATION_CLASS TransactionManagerInformationClass,
_In_reads_bytes_(TransactionManagerInformationLength) PVOID TransactionManagerInformation,
_In_ ULONG TransactionManagerInformationLength
);
View code on GitHub// wdm.h
__kernel_entry NTSYSCALLAPI NTSTATUS NtSetInformationTransactionManager(
[in, optional] HANDLE TmHandle,
[in] TRANSACTIONMANAGER_INFORMATION_CLASS TransactionManagerInformationClass,
[in] PVOID TransactionManagerInformation,
[in] ULONG TransactionManagerInformationLength
);
View the official Windows Driver Kit DDI referenceThis function is documented in Windows Driver Kit.
Do not call this routine from kernel-mode code.
TmHandle [in, optional]TransactionManagerInformationClass [in]TransactionManagerInformation [in]TransactionManagerInformationLength [in]See the Zw*Xxx* equivalent.
Do not call this routine from kernel-mode code; instead, call the Zw*Xxx* equivalent. User-mode code can call this routine or the Zw*Xxx* equivalent. For further comments, if any, see the ZwXxx equivalent
The driver must check the return value of the function.
See the Zw*Xxx* equivalent.