From 8fd7d74051c06a08280654f4eacf80e40f0fd74e Mon Sep 17 00:00:00 2001 From: Thomas Bluemel Date: Thu, 23 Sep 2004 19:01:38 +0000 Subject: [PATCH] fixed returning a wrong handle count in GetProcessHandleCount() svn path=/trunk/; revision=11010 --- reactos/lib/kernel32/process/proc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reactos/lib/kernel32/process/proc.c b/reactos/lib/kernel32/process/proc.c index f6561f6ff68..900b3268e2a 100644 --- a/reactos/lib/kernel32/process/proc.c +++ b/reactos/lib/kernel32/process/proc.c @@ -1,4 +1,4 @@ -/* $Id: proc.c,v 1.67 2004/09/21 21:53:45 weiden Exp $ +/* $Id: proc.c,v 1.68 2004/09/23 19:01:38 weiden Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS system libraries @@ -959,7 +959,7 @@ GetProcessHandleCount(HANDLE hProcess, &BytesWritten); if(NT_SUCCESS(Status)) { - *pdwHandleCount = ProcessHandleCount; + *pdwHandleCount = phc; return TRUE; }