RtlNtStatusToDosErrorNoTeb function (ntifs.h)

The RtlNtStatusToDosErrorNoTeb routine converts the specified NTSTATUS code to its equivalent system error code. Reserved for system use.

Syntax

NTSYSAPI ULONG RtlNtStatusToDosErrorNoTeb(
  [in] NTSTATUS Status
);

Parameters

[in] Status

The NTSTATUS code to be converted.

Return value

RtlNtStatusToDosErrorNoTeb returns the corresponding system error code. Error codes are defined in Winerror.h. For more information about system error codes, see System Error Codes.

Remarks

There is no function that provides the inverse functionality of RtlNtStatusToDosErrorNoTeb, converting a system error code to its corresponding NTSTATUS code.

Requirements

Requirement Value
Minimum supported client Windows 2000
Target Platform Universal
Header ntifs.h (include Ntifs.h)
Library NtosKrnl.lib
DLL NtosKrnl.exe
IRQL < DISPATCH_LEVEL