PrepareEnlistment function (ktmw32.h)
Prepares the transaction associated with this enlistment handle. This function is used by communication resource managers (sometimes called superior transaction managers).
Syntax
BOOL PrepareEnlistment(
[in] HANDLE EnlistmentHandle,
[in] PLARGE_INTEGER TmVirtualClock
);
Parameters
[in] EnlistmentHandle
A handle to the enlistment for which the prepare operation has completed.
[in] TmVirtualClock
A pointer to the latest virtual clock value received for this transaction.
Return value
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:
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista with SP1 |
Minimum supported server | Windows Server 2008 |
Target Platform | Windows |
Header | ktmw32.h |
Library | KtmW32.lib |
DLL | KtmW32.dll |
See also
GetCurrentClockTransactionManager
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