- Send the pointer to the handle, not the NULL handle itself. This fixes another winetest bugcheck.

svn path=/trunk/; revision=17226
This commit is contained in:
Alex Ionescu 2005-08-09 04:03:14 +00:00
parent 8cfb5e1c6b
commit 66c8e646dc

View file

@ -705,7 +705,7 @@ NtOpenThread(OUT PHANDLE ThreadHandle,
PreviousMode,
DesiredAccess,
NULL,
hThread);
&hThread);
if (Status != STATUS_SUCCESS)
{
@ -747,7 +747,7 @@ NtOpenThread(OUT PHANDLE ThreadHandle,
DesiredAccess,
PsThreadType,
PreviousMode,
hThread);
&hThread);
if(!NT_SUCCESS(Status))
{
DPRINT1("Failure to open Thread\n");