TmRecoverResourceManager - NtDoc

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

NTSTATUS TmRecoverResourceManager(
  [in] PKRESOURCEMANAGER ResourceManager
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

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

TmRecoverResourceManager function

Description

The TmRecoverResourceManager routine tries to recover the transaction that is associated with each enlistment of a specified resource manager object.

Parameters

ResourceManager [in]

A pointer to a resource manager object. To obtain this pointer, your component must call ObReferenceObjectByHandle and supply the object handle that a previous call to ZwCreateResourceManager or ZwOpenResourceManager provided.

Return value

TmRecoverResourceManager returns STATUS_SUCCESS if the operation succeeds. Otherwise, this routine might return the following value:

Return code Description
STATUS_TRANSACTIONMANAGER_NOT_ONLINE The transaction manager that is associated with the specified resource manager is not online.

The routine might return other NTSTATUS values.

Remarks

The TmRecoverResourceManager routine is a pointer-based version of the ZwRecoverResourceManager routine.

For information about when to use KTM's Tm*Xxx* routines instead of Zw*Xxx* routines, see Using TmXxx Routines.

See also

ObReferenceObjectByHandle

ZwCreateResourceManager

ZwOpenResourceManager

ZwRecoverResourceManager