Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

RollbackTransaction function

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

Syntax


BOOL WINAPI RollbackTransaction(
  _In_ HANDLE TransactionHandle
);

Parameters

TransactionHandle [in]

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:

ERROR_ACCESS_DENIED
ERROR_INVALID_HANDLE
ERROR_INSUFFICIENT_RESOURCES
ERROR_TRANSACTION_ALREADY_COMMITTED

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008

Header

Ktmw32.h

Library

Ktmw32.lib

DLL

Ktmw32.dll

See also

CommitTransaction
CreateTransaction
Kernel Transaction Manager Functions
OpenTransaction

 

 

Community Additions

Show:
© 2017 Microsoft