- Send the pointer to the handle, not the NULL handle itself. This fixes another winetest bugcheck.
Modified: trunk/reactos/ntoskrnl/ps/thread.c
--- trunk/reactos/ntoskrnl/ps/thread.c 2005-08-09 03:38:34 UTC (rev 17225) +++ trunk/reactos/ntoskrnl/ps/thread.c 2005-08-09 04:03:14 UTC (rev 17226) @@ -705,7 +705,7 @@
PreviousMode, DesiredAccess, NULL,
- hThread);
+ &hThread);
if (Status != STATUS_SUCCESS) { @@ -747,7 +747,7 @@
DesiredAccess, PsThreadType, PreviousMode,
- hThread);
+ &hThread);
if(!NT_SUCCESS(Status)) { DPRINT1("Failure to open Thread\n");