// ntifs.h
BOOLEAN FsRtlIsNtstatusExpected(
[in] NTSTATUS Exception
);
View the official Windows Driver Kit DDI referenceNo description available.
The FsRtlIsNtstatusExpected routine determines whether the specified exception is handled by the exception filter.
Exception [in]Status value of the exception.
FsRtlIsNtstatusExpected returns TRUE if the status value indicates a nonfatal system error status, FALSE otherwise.
File systems use FsRtlIsNtstatusExpected to determine whether to attempt to handle an exception.