mirror of
https://github.com/reactos/reactos.git
synced 2025-05-28 05:28:14 +00:00
RtlNtStatusToDosError : return 0 if no error, 1 else.
svn path=/trunk/; revision=227
This commit is contained in:
parent
d6995d6c9c
commit
cadd577325
1 changed files with 6 additions and 1 deletions
|
@ -5,7 +5,12 @@ static DWORD LastError;
|
|||
|
||||
DWORD RtlNtStatusToDosError(NTSTATUS Status)
|
||||
{
|
||||
return(0);
|
||||
if (NT_SUCCESS(Status)) return(0);
|
||||
else
|
||||
{
|
||||
// FIXME must return different values
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue