mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-01 12:23:29 +00:00
fixed returning a wrong handle count in GetProcessHandleCount()
svn path=/trunk/; revision=11010
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user