ZwRollbackComplete routine
The ZwRollbackComplete routine notifies KTM that the calling resource manager has finished rolling back a transaction's data.
Syntax
NTSTATUS ZwRollbackComplete( _In_ HANDLE EnlistmentHandle, _In_opt_ PLARGE_INTEGER TmVirtualClock );
Parameters
- EnlistmentHandle [in]
-
A handle to an enlistment object that was obtained by a previous call to ZwCreateEnlistment or ZwOpenEnlistment. The handle must have ENLISTMENT_SUBORDINATE_RIGHTS access to the object.
- TmVirtualClock [in, optional]
-
A pointer to a virtual clock value. This parameter is optional and can be NULL.
Return value
ZwRollbackComplete returns STATUS_SUCCESS if the operation succeeds. Otherwise, this routine might return one of the following values:
| Return code | Description |
|---|---|
|
The specified handle is not a handle to an enlistment object. |
|
The object handle is invalid. |
|
The transaction or its enlistment is not in the correct state. |
|
The caller does not have appropriate access to the enlistment object. |
The routine might return other NTSTATUS values.
Remarks
A resource manager must call ZwRollbackComplete after it has finished servicing a TRANSACTION_NOTIFY_ROLLBACK notification.
For more information about ZwRollbackComplete, see Handling Rollback Operations.
Requirements
|
Version | Available in Windows Vista and later operating system versions. |
|---|---|
|
Header |
|
|
Library |
|
|
IRQL | PASSIVE_LEVEL |
|
DDI compliance rules | PowerIrpDDis, HwStorPortProhibitedDDIs |
See also
Send comments about this topic to Microsoft
Build date: 5/22/2013