mirror of
https://github.com/reactos/reactos.git
synced 2024-07-02 10:45:24 +00:00
- TerminateProcess requires a valid handle
- Should fix 2 kernel32' winetests svn path=/trunk/; revision=41420
This commit is contained in:
parent
4f60737693
commit
541c10e66b
|
@ -605,6 +605,11 @@ TerminateProcess (HANDLE hProcess,
|
|||
{
|
||||
NTSTATUS Status;
|
||||
|
||||
if (hProcess == NULL)
|
||||
{
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
Status = NtTerminateProcess (hProcess, uExitCode);
|
||||
if (NT_SUCCESS(Status))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue