Export (0) Print
Expand All
Expand Minimize

FltClearCancelCompletion routine

FltClearCancelCompletion clears a cancel routine that was specified for an I/O operation.

Syntax


NTSTATUS FltClearCancelCompletion(
  _In_ PFLT_CALLBACK_DATA CallbackData
);

Parameters

CallbackData [in]

Pointer to the callback data (FLT_CALLBACK_DATA) structure for the I/O operation.

Return value

If no cancel routine was previously set or if IRP cancellation is already in progress, FltClearCancelCompletion returns STATUS_CANCELLED. Otherwise, it returns STATUS_SUCCESS.

Remarks

A minifilter driver calls FltClearCancelCompletion to clear a cancel routine that was specified for an I/O operation by a previous call to FltSetCancelCompletion. The operation must be an IRP-based I/O operation. To determine whether a given callback data (FLT_CALLBACK_DATA) structure represents an IRP-based I/O operation, use the FLT_IS_IRP_OPERATION macro.

To cancel an I/O operation, call FltCancelIo.

Requirements

Target platform

Universal

Header

Fltkernel.h (include Fltkernel.h)

Library

FltMgr.lib

IRQL

Any level

See also

FLT_CALLBACK_DATA
FLT_IS_IRP_OPERATION
FltCancelIo
FltSetCancelCompletion

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft