mirror of
https://github.com/reactos/reactos.git
synced 2025-01-07 14:51:00 +00:00
[RTL]
Revert r66782. "[15:38:45] <Steffmeistro> RtlNtStatusToDosError already sets it" svn path=/trunk/; revision=66783
This commit is contained in:
parent
da611ab479
commit
0b60c945c8
1 changed files with 1 additions and 4 deletions
|
@ -160,10 +160,7 @@ void WINAPI RtlSetLastWin32Error( DWORD err )
|
|||
*/
|
||||
void WINAPI RtlSetLastWin32ErrorAndNtStatusFromNtStatus( NTSTATUS status )
|
||||
{
|
||||
PTEB Teb = NtCurrentTeb ();
|
||||
|
||||
Teb->LastErrorValue = RtlNtStatusToDosError( status );
|
||||
Teb->LastStatusValue = status;
|
||||
NtCurrentTeb()->LastErrorValue = RtlNtStatusToDosError( status );
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue