RollbackTransactionAsync function (ktmw32.h)

Requests that the specified transaction be rolled back. This function returns asynchronously.

Syntax

BOOL RollbackTransactionAsync(
  [in] HANDLE TransactionHandle
);

Parameters

[in] TransactionHandle

A handle to the transaction.

Return value

If the function succeeds, the return value is nonzero, and GetLastError returns ERROR_IO_PENDING.

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

Requirement Value
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

CommitTransaction

CreateTransaction

Kernel Transaction Manager Functions

OpenTransaction