Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The RtlNtStatusToDosError routine converts the specified NTSTATUS code to its equivalent system error code.
Syntax
NTSYSAPI ULONG RtlNtStatusToDosError(
[in] NTSTATUS Status
);
Parameters
[in] Status
The NTSTATUS code to be converted.
Return value
RtlNtStatusToDosError returns the corresponding system error code. Error codes are defined in Winerror.h.
RtlNtStatusToDosError returns ERROR_MR_MID_NOT_FOUND when the specified NTSTATUS code does not have a corresponding system error code. For more information about system error codes, see System Error Codes.
Remarks
There is no function that provides the inverse functionality of RtlNtStatusToDosError, 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 |