NtSetInformationTransactionManager - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
#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
    );

#endif

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
    );

#endif

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 reference

NtDoc

This function is documented in Windows Driver Kit.

Windows Driver Kit DDI reference (nf-wdm-ntsetinformationtransactionmanager)

NtSetInformationTransactionManager function

Description

Do not call this routine from kernel-mode code.

Parameters

TmHandle [in, optional]

TransactionManagerInformationClass [in]

TransactionManagerInformation [in]

TransactionManagerInformationLength [in]

Return value

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 also

See the Zw*Xxx* equivalent.