RtlNtStatusToDosErrorNoTeb function

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

Syntax

NTSYSAPI ULONG RtlNtStatusToDosErrorNoTeb(
  NTSTATUS Status
);

Parameters

Status

The NTSTATUS code to be converted.

Return Value

RtlNtStatusToDosErrorNoTeb returns the corresponding system error code. Error codes are defined in Winerror.h.

Remarks

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

Requirements

   
Windows version The RtlNtStatusToDosErrorNoTeb routine is available on Microsoft Windows 2000 and later versions of Windows.
Target Platform Universal
Header ntifs.h (include Ntifs.h)
Library NtosKrnl.lib
DLL NtosKrnl.exe
IRQL "< DISPATCH_LEVEL"