From 66c8e646dce67596113ebdef82d9ad7d828cf389 Mon Sep 17 00:00:00 2001 From: Alex Ionescu Date: Tue, 9 Aug 2005 04:03:14 +0000 Subject: [PATCH] - Send the pointer to the handle, not the NULL handle itself. This fixes another winetest bugcheck. svn path=/trunk/; revision=17226 --- reactos/ntoskrnl/ps/thread.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reactos/ntoskrnl/ps/thread.c b/reactos/ntoskrnl/ps/thread.c index b33be936fb8..5a81d25032f 100644 --- a/reactos/ntoskrnl/ps/thread.c +++ b/reactos/ntoskrnl/ps/thread.c @@ -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");