Make MmQuerySectionView tell how many bytes it actually did set. Fixes VirtualQuery.

svn path=/trunk/; revision=9257
This commit is contained in:
Mike Nordell 2004-05-01 00:25:41 +00:00
parent 8b99b4b1c0
commit 5b7d8220d3

View file

@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/ */
/* $Id: section.c,v 1.147 2004/04/10 22:35:26 gdalsnes Exp $ /* $Id: section.c,v 1.148 2004/05/01 00:25:41 tamlin Exp $
* *
* PROJECT: ReactOS kernel * PROJECT: ReactOS kernel
* FILE: ntoskrnl/mm/section.c * FILE: ntoskrnl/mm/section.c
@ -2041,6 +2041,7 @@ MmQuerySectionView(PMEMORY_AREA MemoryArea,
Info->Type = MEM_MAPPED; Info->Type = MEM_MAPPED;
} }
*ResultLength = sizeof(MEMORY_BASIC_INFORMATION);
return(STATUS_SUCCESS); return(STATUS_SUCCESS);
} }