RecoverEnlistment function

Recovers an enlistment's state.

Syntax

BOOL RecoverEnlistment(
  IN HANDLE EnlistmentHandle,
  IN PVOID  EnlistmentKey
);

Parameters

EnlistmentHandle

A handle to the enlistment.

EnlistmentKey

The key to the enlistment to be recovered.

Return value

If the function succeeds, the return value is nonzero.

If the function fails, the return value is zero (0). To get extended error information, call the GetLastError function.

The following list identifies the possible error codes:

Requirements

   
Minimum supported client Windows Vista
Minimum supported server Windows Server 2008
Target Platform Windows
Header ktmw32.h
Library Ktmw32.lib
DLL Ktmw32.dll

See also

Kernel Transaction Manager Functions