Export (0) Print
Expand All
Expand Minimize

FltRollbackEnlistment routine

The FltRollbackEnlistment routine rolls back or aborts a transaction on behalf of a minifilter driver.

Syntax


NTSTATUS FltRollbackEnlistment(
  _In_      PFLT_INSTANCE Instance,
  _In_      PKTRANSACTION Transaction,
  _In_opt_  PFLT_CONTEXT  TransactionContext
);

Parameters

Instance [in]

Opaque instance pointer for the caller.

Transaction [in]

Opaque transaction pointer for the transaction.

TransactionContext [in, optional]

Pointer to the minifilter driver's transaction context.

Return value

FltRollbackEnlistment returns STATUS_SUCCESS or an appropriate NTSTATUS value, such as one of the following:

Return codeDescription
STATUS_NOT_FOUND

The minifilter driver did not set a context on the transaction. This is an error code.

STATUS_TRANSACTION_REQUEST_NOT_VALID

The transaction rollback request is not allowed for this enlistment. This is an error code.

 

Remarks

A minifilter driver that is enlisted in a transaction can call FltRollbackEnlistment to roll back or abort the transaction.

To enlist in a transaction, call FltEnlistInTransaction.

To allocate a new transaction context, call FltAllocateContext.

To retrieve a transaction context, call FltGetTransactionContext.

To delete a transaction context, call FltDeleteTransactionContext or FltDeleteContext.

To set a transaction context, call FltSetTransactionContext.

Requirements

Target platform

Universal

Version

This routine is available on Windows Vista and later.

Header

Fltkernel.h (include Fltkernel.h)

Library

FltMgr.lib

IRQL

<= APC_LEVEL

See also

FltAllocateContext
FltCommitComplete
FltDeleteContext
FltDeleteTransactionContext
FltEnlistInTransaction
FltGetTransactionContext
FltPrepareComplete
FltPrePrepareComplete
FltReleaseContext
FltRollbackComplete
FltSetTransactionContext

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft