FltIsIoCanceled function

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

Syntax

BOOLEAN FLTAPI FltIsIoCanceled(
  PFLT_CALLBACK_DATA CallbackData
);

Parameters

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

   
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