diff --git a/descriptions/rtlsetlastwin32errorandntstatusfromntstatus.md b/descriptions/rtlsetlastwin32errorandntstatusfromntstatus.md index e69de29bb2d..3083efe9dd0 100644 --- a/descriptions/rtlsetlastwin32errorandntstatusfromntstatus.md +++ b/descriptions/rtlsetlastwin32errorandntstatusfromntstatus.md @@ -0,0 +1,15 @@ +Converts the NTSTATUS to a DOS error code and then sets the error code to the current thread. + +# Parameters + - `Status` - the NTSTATUS that will be converted to DOS Error Code + +# Related Win32 API +- [`SetLastError`](https://learn.microsoft.com/en-us/windows/win32/api/errhandlingapi/nf-errhandlingapi-setlasterror) +- [`SetLastErrorEx`](https://learn.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-setlasterrorex) + +# See also +- `RtlNtStatusToDosError` +- `RtlNtStatusToDosErrorNoTeb` +- `RtlSetLastWin32Error` +- `RtlGetLastWin32Error` +- `RtlRestoreLastWin32Error`