From 3d82d976d322cb5df716603513f10b5ee414917b Mon Sep 17 00:00:00 2001 From: =?utf8?q?G=C3=A9=20van=20Geldorp?= Date: Mon, 27 Sep 2004 20:04:53 +0000 Subject: [PATCH] NtSetInformationThread() expects a pointer, not the handle itself svn path=/trunk/; revision=11100 --- reactos/lib/advapi32/token/token.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reactos/lib/advapi32/token/token.c b/reactos/lib/advapi32/token/token.c index ed6c32f2a6b..e76a2b0dc79 100644 --- a/reactos/lib/advapi32/token/token.c +++ b/reactos/lib/advapi32/token/token.c @@ -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)) { -- 2.17.1