Fixed the check for a created first thread.

svn path=/trunk/; revision=14836
This commit is contained in:
Hartmut Birr 2005-04-27 21:57:24 +00:00
parent a6d944ecfc
commit 612461644d

View file

@ -1398,7 +1398,7 @@ CreateProcessW(LPCWSTR lpApplicationName,
(PVOID)((ULONG_PTR)ImageBaseAddress + Sii.EntryPoint), (PVOID)((ULONG_PTR)ImageBaseAddress + Sii.EntryPoint),
dwCreationFlags, dwCreationFlags,
&lpProcessInformation->dwThreadId); &lpProcessInformation->dwThreadId);
if (hThread == INVALID_HANDLE_VALUE) if (hThread == NULL)
{ {
return FALSE; return FALSE;
} }