mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
NtSetInformationThread() expects a pointer, not the handle itself
svn path=/trunk/; revision=11100
This commit is contained in:
parent
db47f999dd
commit
3d82d976d3
1 changed files with 2 additions and 2 deletions
|
@ -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))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue