mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-01 12:23:29 +00:00
- Fixed the third passed parameter to NtSetInformationThread call in ImpersonateLoggedOnUser.
svn path=/trunk/; revision=9500
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user