// wdm.h
NTSTATUS TmRecoverResourceManager(
[in] PKRESOURCEMANAGER ResourceManager
);
View the official Windows Driver Kit DDI referenceNo description available.
The TmRecoverResourceManager routine tries to recover the transaction that is associated with each enlistment of a specified resource manager object.
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.
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.
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.