RtlNtStatusToDosErrorNoTeb function
[Some information relates to pre-released product which may be substantially modified before it's commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.]
Converts the specified NTSTATUS code to its equivalent system error code.
ULONG WINAPI RtlNtStatusToDosErrorNoTeb(
_In_ NTSTATUS Status
);
- Status [in]
The NTSTATUS code to be converted.
The function returns the corresponding system error code.
There is no function that provides the inverse functionality of RtlNtStatusToDosErrorNoTeb, which would convert a system error code to its corresponding NTSTATUS code.
ERROR_MR_MID_NOT_FOUND is returned when the specified NTSTATUS code does not have a corresponding system error code.
This function has no associated import library. You must use the LoadLibrary and GetProcAddress functions to dynamically link to Ntdll.dll.
Minimum supported client |
Windows XP [desktop apps only] |
Minimum supported server |
Windows Server 2003 [desktop apps only] |
Header |
Winternl.h |
DLL |
Ntdll.dll |