FsRtlNormalizeNtstatus routine

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

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.

Return value

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

Requirements

Target platform

Universal

Header

Ntifs.h (include Ntifs.h)

Library

NtosKrnl.lib

DLL

NtosKrnl.exe

IRQL

Any level

See also

FsRtlIsNtstatusExpected

 

 

Send comments about this topic to Microsoft

Show: