TmRenameTransactionManager - NtDoc

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

NTSTATUS TmRenameTransactionManager(
  [in] PUNICODE_STRING LogFileName,
  [in] LPGUID          ExistingTransactionManagerGuid
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

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

Description

The TmRenameTransactionManager routine changes the identity of the transaction manager object that is stored in the CLFS log file stream contained in the log file name.

[!WARNING] Changing the identity of the transaction manger object might break any cross-log transactional links that may exist.

Parameters

LogFileName [in]

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

ExistingTransactionManagerGuid [in]

A pointer to a GUID structure that represents the current name of the transaction manager object.

Return value

The TmRenameTransactionManager routine returns an NTSTATUS value. If the routine fails, it returns an error code.