The TmRecoverResourceManager routine tries to recover the transaction that is associated with each enlistment of a specified resource manager object.
NTSTATUS TmRecoverResourceManager( PKRESOURCEMANAGER ResourceManager );
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:
||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 TmXxx routines instead of ZwXxx routines, see Using TmXxx Routines.
|Minimum supported client||Available in Windows Vista and later operating system versions.|
|Header||wdm.h (include Wdm.h, Ntifs.h)|
Send feedback about: