mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +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 */
|
/* Dereference and Return */
|
||||||
ObDereferenceObject ((PVOID)Thread);
|
ObDereferenceObject ((PVOID)Thread);
|
||||||
return STATUS_SUCCESS;
|
return Status;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -169,7 +169,7 @@ NtSuspendThread(IN HANDLE ThreadHandle,
|
||||||
|
|
||||||
/* Dereference and Return */
|
/* Dereference and Return */
|
||||||
ObDereferenceObject((PVOID)Thread);
|
ObDereferenceObject((PVOID)Thread);
|
||||||
return STATUS_SUCCESS;
|
return Status;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* EOF */
|
/* EOF */
|
||||||
|
|
Loading…
Reference in a new issue