mirror of
https://github.com/reactos/reactos.git
synced 2024-09-08 19:59:49 +00:00
fixed returning a wrong handle count in GetProcessHandleCount()
svn path=/trunk/; revision=11010
This commit is contained in:
parent
3d915100ab
commit
8fd7d74051
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue