NtSetInformationThread() expects a pointer, not the handle itself

svn path=/trunk/; revision=11100
This commit is contained in:
Gé van Geldorp 2004-09-27 20:04:53 +00:00
parent db47f999dd
commit 3d82d976d3

View file

@ -1,4 +1,4 @@
/* $Id: token.c,v 1.13 2004/08/15 17:03:15 chorns Exp $
/* $Id: token.c,v 1.14 2004/09/27 20:04:53 gvg Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS system libraries
@ -235,7 +235,7 @@ SetThreadToken (PHANDLE ThreadHandle,
Status = NtSetInformationThread (hThread,
ThreadImpersonationToken,
TokenHandle,
&TokenHandle,
sizeof(HANDLE));
if (!NT_SUCCESS(Status))
{