FsRtlNormalizeNtstatus function (ntifs.h)

The FsRtlNormalizeNtstatus routine translates an arbitrary exception into a status value that is handled by the exception filter.

Syntax

NTSTATUS FsRtlNormalizeNtstatus(
  [in] NTSTATUS Exception,
  [in] NTSTATUS GenericException
);

Parameters

[in] Exception

Status value of the exception.

[in] GenericException

Generic status value to return if Exception is not within the set of exceptions handled by the filter.

Return value

FsRtlNormalizeNtstatus returns Exception if the status value is handled by the exception filter, GenericException otherwise.

Requirements

Requirement Value
Target Platform Universal
Header ntifs.h (include Ntifs.h)
Library NtosKrnl.lib
DLL NtosKrnl.exe
IRQL Any level

See also

FsRtlIsNtstatusExpected