CommitComplete function (ktmw32.h)
Indicates that a resource manager (RM) has finished committing a transaction that was requested by the transaction manager (TM).
BOOL CommitComplete( [in] HANDLE EnlistmentHandle, [in] PLARGE_INTEGER TmVirtualClock );
A handle to the enlistment for which the commit operation is completed.
The latest virtual clock value received for this transaction. If you specify NULL, the virtual clock value is not changed. See LARGE_INTEGER.
To change the virtual clock value, this value must be greater than the current value returned in the COMMIT notification.
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero (0). To get extended error information, call the GetLastError function.
The following list identifies the possible error codes:
|Minimum supported client||Windows Vista|
|Minimum supported server||Windows Server 2008|