mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 09:34:43 +00:00
Fixed the check for a created first thread.
svn path=/trunk/; revision=14836
This commit is contained in:
parent
a6d944ecfc
commit
612461644d
1 changed files with 1 additions and 1 deletions
|
@ -1398,7 +1398,7 @@ CreateProcessW(LPCWSTR lpApplicationName,
|
|||
(PVOID)((ULONG_PTR)ImageBaseAddress + Sii.EntryPoint),
|
||||
dwCreationFlags,
|
||||
&lpProcessInformation->dwThreadId);
|
||||
if (hThread == INVALID_HANDLE_VALUE)
|
||||
if (hThread == NULL)
|
||||
{
|
||||
return FALSE;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue