mirror of
https://github.com/reactos/reactos.git
synced 2025-01-04 21:38:43 +00:00
- Fixed the return value in VirtualQueryEx if NtQueryVirtualMemory returns an error.
svn path=/trunk/; revision=10061
This commit is contained in:
parent
95e1a9b247
commit
7f900f8f7e
1 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
/* $Id: virtual.c,v 1.13 2004/06/13 10:35:52 navaraf Exp $
|
||||
/* $Id: virtual.c,v 1.14 2004/07/10 13:08:02 hbirr Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS kernel
|
||||
|
@ -198,7 +198,7 @@ VirtualQueryEx(HANDLE hProcess,
|
|||
if (!NT_SUCCESS(Status))
|
||||
{
|
||||
SetLastErrorByStatus(Status);
|
||||
return(ResultLength);
|
||||
return 0;
|
||||
}
|
||||
return(ResultLength);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue