mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 04:53:00 +00:00
Make MmQuerySectionView tell how many bytes it actually did set. Fixes VirtualQuery.
svn path=/trunk/; revision=9257
This commit is contained in:
parent
8b99b4b1c0
commit
5b7d8220d3
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue