// fltkernel.h
NTSTATUS FLTAPI FltClearCancelCompletion(
[in] PFLT_CALLBACK_DATA CallbackData
);
View the official Windows Driver Kit DDI reference
No description available.
FltClearCancelCompletion clears a cancel routine that was specified for an I/O operation.
CallbackData
[in]Pointer to the callback data (FLT_CALLBACK_DATA) structure for the I/O operation.
If no cancel routine was previously set or if IRP cancellation is already in progress, FltClearCancelCompletion returns STATUS_CANCELLED. Otherwise, it returns STATUS_SUCCESS.
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.