RollbackTransactionAsync function
Requests that the specified transaction be rolled back. This function returns asynchronously.
Syntax
BOOL WINAPI RollbackTransactionAsync( _In_ HANDLE TransactionHandle );
Parameters
- TransactionHandle [in]
-
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:
- ERROR_ACCESS_DENIED
- ERROR_INVALID_HANDLE
- ERROR_INSUFFICIENT_RESOURCES
- TRANSACTION_ALREADY_COMMITTED
Requirements
|
Minimum supported client | Windows Vista |
|---|---|
|
Minimum supported server | Windows Server 2008 |
|
Header |
|
|
Library |
|
|
DLL |
|
See also
Send comments about this topic to Microsoft
Build date: 10/26/2012