mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 09:34:43 +00:00
- Fixed the third passed parameter to NtSetInformationThread call in ImpersonateLoggedOnUser.
svn path=/trunk/; revision=9500
This commit is contained in:
parent
cb1ea2ade7
commit
72afcc3bb8
1 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
/* $Id: misc.c,v 1.16 2004/05/26 09:50:10 weiden Exp $
|
||||
/* $Id: misc.c,v 1.17 2004/05/26 19:53:48 navaraf Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS system libraries
|
||||
|
@ -242,7 +242,7 @@ ImpersonateLoggedOnUser(HANDLE hToken)
|
|||
/* Impersonate the the current thread */
|
||||
Status = NtSetInformationThread (NtCurrentThread (),
|
||||
ThreadImpersonationToken,
|
||||
NewToken,
|
||||
&NewToken,
|
||||
sizeof(HANDLE));
|
||||
|
||||
if (Duplicated == TRUE)
|
||||
|
|
Loading…
Reference in a new issue