FltIsIoCanceled function (fltkernel.h)

The FltIsIoCanceled routine checks if an IRP-based operation has been canceled.

Syntax

BOOLEAN FLTAPI FltIsIoCanceled(
  [in] PFLT_CALLBACK_DATA CallbackData
);

Parameters

[in] CallbackData

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

Return value

FltIsIoCanceled returns TRUE if an IRP-based operation has been canceled and FALSE if the operation has not been canceled or if it is not an IRP-based operation.

Remarks

It is a programming error to call FltIsIoCanceled for an operation that is not IRP-based. To determine whether the operation is IRP-based, use the FLT_IS_IRP_OPERATION macro.

Requirements

Requirement Value
Target Platform Universal
Header fltkernel.h (include Fltkernel.h)
Library FltMgr.lib
DLL Fltmgr.sys
IRQL Any level

See also

FLT_CALLBACK_DATA

FLT_IS_IRP_OPERATION

FltCancelFileOpen

FltCancelIo

FltClearCancelCompletion

FltSetCancelCompletion