CommitTransactionAsync function (ktmw32.h)
Requests that the specified transaction be committed.
Syntax
BOOL CommitTransactionAsync(
[in] HANDLE TransactionHandle
);
Parameters
[in] TransactionHandle
A handle to the transaction to be committed.
This handle must have been opened with the TRANSACTION_COMMIT access right. For more information, see KTM Security and Access Rights.
Return value
If the function succeeds, the return value is nonzero. Success means that the function completed synchronously, and the calling application does not need to wait for pending results.
If the function fails, the return value is 0 (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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for