FltClearCancelCompletion - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// fltkernel.h

NTSTATUS FLTAPI FltClearCancelCompletion(
  [in] PFLT_CALLBACK_DATA CallbackData
);

View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-fltkernel-fltclearcancelcompletion)

FltClearCancelCompletion function

Description

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

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.

See also

FLT_CALLBACK_DATA

FLT_IS_IRP_OPERATION

FltCancelIo

FltSetCancelCompletion