Export (0) Print
Expand All

RecoverTransactionManager function

Recovers a transaction manager's state from its log file.

Syntax


BOOL WINAPI RecoverTransactionManager(
  _In_  HANDLE TransactionManagerHandle
);

Parameters

TransactionManagerHandle [in]

A handle to the transaction manager.

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:

ERROR_ACCESS_DENIED
ERROR_INVALID_HANDLE
ERROR_INSUFFICIENT_RESOURCES
ERROR_OBJECT_NAME_NOT_FOUND
ERROR_OBJECT_TYPE_MISMATCH
ERROR_UNSUCCESSFUL

Remarks

This function must be called after you call CreateTransactionManager.

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008

Header

Ktmw32.h

Library

Ktmw32.lib

DLL

Ktmw32.dll

See also

CreateTransactionManager
Kernel Transaction Manager Functions

 

 

Community Additions

ADD
Show:
© 2014 Microsoft