// ntifs.h
NTSTATUS FsRtlNormalizeNtstatus(
[in] NTSTATUS Exception,
[in] NTSTATUS GenericException
);
View the official Windows Driver Kit DDI referenceNo description available.
The FsRtlNormalizeNtstatus routine translates an arbitrary exception into a status value that is handled by the exception filter.
Exception [in]Status value of the exception.
GenericException [in]Generic status value to return if Exception is not within the set of exceptions handled by the filter.
FsRtlNormalizeNtstatus returns Exception if the status value is handled by the exception filter, GenericException otherwise.