TmInitializeTransactionManager - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// wdm.h

NTSTATUS TmInitializeTransactionManager(
  [in]           PRKTM            TransactionManager,
  [in, optional] PCUNICODE_STRING LogFileName,
  [in]           PGUID            TmId,
  [in, optional] ULONG            CreateOptions
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

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

TmInitializeTransactionManager function

Description

The TmInitializeTransactionManager routine initializes a transaction manager object.

Parameters

TransactionManager [in]

A pointer to the transaction manager object to initialize.

LogFileName [in, optional]

A pointer to a UNICODE_STRING structure that contains the path and file name of a CLFS log file stream associated with the transaction manager object.

TmId [in]

Specifies a pointer to a GUID that identifies the name of the transaction manager object to initialize.

CreateOptions [in, optional]

Optional object creation flags. The following table contains the available flags.

Option flag Meaning
TRANSACTION_MANAGER_VOLATILE The transaction manager object will be volatile. Therefore, it will not use a log file.
TRANSACTION_MANAGER_COMMIT_DEFAULT For internal use only.
TRANSACTION_MANAGER_COMMIT_SYSTEM_VOLUME For internal use only.
TRANSACTION_MANAGER_COMMIT_SYSTEM_HIVES For internal use only.
TRANSACTION_MANAGER_COMMIT_LOWEST For internal use only.
TRANSACTION_MANAGER_CORRUPT_FOR_RECOVERY For internal use only.
TRANSACTION_MANAGER_CORRUPT_FOR_PROGRESS For internal use only.

Return value

The TmInitializeTransactionManager routine returns STATUS_SUCCESS if the operation succeeds.