Bewerken

Delen via


TmRenameTransactionManager function (wdm.h)

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.

Syntax

NTSTATUS TmRenameTransactionManager(
  [in] PUNICODE_STRING LogFileName,
  [in] LPGUID          ExistingTransactionManagerGuid
);

Parameters

[in] LogFileName

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.

[in] ExistingTransactionManagerGuid

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.

Requirements

Requirement Value
Target Platform Universal
Header wdm.h
IRQL <= APC_LEVEL