RollbackTransaction function

Requests that the specified transaction be rolled back. This function is synchronous.

Syntax

BOOL RollbackTransaction(
  IN HANDLE TransactionHandle
);

Parameters

TransactionHandle

A handle to the transaction.

Return Value

If the function succeeds, the return value is nonzero.

If the function fails, the return value is zero. To get extended error information, call the GetLastError function. The following list identifies the possible error codes:

Requirements

   
Windows version Windows Vista Windows Server 2008
Target Platform Windows
Header ktmw32.h
Library Ktmw32.lib
DLL Ktmw32.dll

See Also

CommitTransaction

CreateTransaction

Kernel Transaction Manager Functions

OpenTransaction