From 91995ef4ed9c605f93f489867fdcaa52567d5dc1 Mon Sep 17 00:00:00 2001 From: Filip Navara Date: Fri, 9 Jul 2004 20:14:49 +0000 Subject: [PATCH] - Some application depend on Info->RegionSize set by NtQueryVirtualMemory for iteration. We had a workaround here for this behaviour until a correct implementation is written, but it was limited for addresses lower than 0x70000000. Raise that limit to 0x80000000. svn path=/trunk/; revision=10055 --- reactos/ntoskrnl/mm/virtual.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reactos/ntoskrnl/mm/virtual.c b/reactos/ntoskrnl/mm/virtual.c index abc85fcef5a..44c966ce914 100644 --- a/reactos/ntoskrnl/mm/virtual.c +++ b/reactos/ntoskrnl/mm/virtual.c @@ -16,7 +16,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ -/* $Id: virtual.c,v 1.76 2004/06/19 08:53:35 vizzini Exp $ +/* $Id: virtual.c,v 1.77 2004/07/09 20:14:49 navaraf Exp $ * * PROJECT: ReactOS kernel * FILE: ntoskrnl/mm/virtual.c @@ -180,7 +180,7 @@ NtQueryVirtualMemory (IN HANDLE ProcessHandle, /* Since programs might depend on RegionSize for * iteration, we for now just make up a value. */ - Info->RegionSize = (Address > (PVOID)0x70000000) ? 0 : 0x10000; + Info->RegionSize = (Address > (PVOID)0x80000000) ? 0 : 0x10000; Info->Protect = PAGE_NOACCESS; Info->Type = 0; Status = STATUS_SUCCESS;