FsRtlNormalizeNtstatus 函数 (ntifs.h)

FsRtlNormalizeNtstatus 例程将任意异常转换为由异常筛选器处理的状态值。

语法

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

参数

[in] Exception

异常的状态值。

[in] GenericException

如果 Exception 不在筛选器处理的异常集中,则返回的泛型状态值。

返回值

如果状态值由异常筛选器处理,则 FsRtlNormalizeNtstatus 返回 Exception,否则为 GenericException

要求

要求
目标平台 通用
标头 ntifs.h (包括 Ntifs.h)
Library NtosKrnl.lib
DLL NtosKrnl.exe
IRQL 任何级别

另请参阅

FsRtlIsNtstatusExpected