// fltkernel.h
BOOLEAN FLTAPI FltIsIoCanceled(
[in] PFLT_CALLBACK_DATA CallbackData
);
View the official Windows Driver Kit DDI referenceNo description available.
The FltIsIoCanceled routine checks if an IRP-based operation has been canceled.
CallbackData [in]Pointer to the callback data structure for the operation (FLT_CALLBACK_DATA).
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.
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.