mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 17:44:45 +00:00
Return status on failure.
svn path=/trunk/; revision=14383
This commit is contained in:
parent
4069692f64
commit
6f4ae1108e
1 changed files with 2 additions and 2 deletions
|
@ -93,7 +93,7 @@ NtResumeThread(IN HANDLE ThreadHandle,
|
|||
|
||||
/* Dereference and Return */
|
||||
ObDereferenceObject ((PVOID)Thread);
|
||||
return STATUS_SUCCESS;
|
||||
return Status;
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -169,7 +169,7 @@ NtSuspendThread(IN HANDLE ThreadHandle,
|
|||
|
||||
/* Dereference and Return */
|
||||
ObDereferenceObject((PVOID)Thread);
|
||||
return STATUS_SUCCESS;
|
||||
return Status;
|
||||
}
|
||||
|
||||
/* EOF */
|
||||
|
|
Loading…
Reference in a new issue