mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 12:23:25 +00:00
NtSetInformationThread() expects a pointer, not the handle itself
svn path=/trunk/; revision=11100
This commit is contained in:
@@ -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))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user