mirror of
https://github.com/reactos/reactos.git
synced 2024-10-21 21:34:17 +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,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
|
* COPYRIGHT: See COPYING in the top level directory
|
||||||
* PROJECT: ReactOS kernel
|
* PROJECT: ReactOS kernel
|
||||||
|
@ -198,7 +198,7 @@ VirtualQueryEx(HANDLE hProcess,
|
||||||
if (!NT_SUCCESS(Status))
|
if (!NT_SUCCESS(Status))
|
||||||
{
|
{
|
||||||
SetLastErrorByStatus(Status);
|
SetLastErrorByStatus(Status);
|
||||||
return(ResultLength);
|
return 0;
|
||||||
}
|
}
|
||||||
return(ResultLength);
|
return(ResultLength);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue