RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
System.TMemoryMap Type

TMemoryMap is a map of an application's address space as an array of TChunkStatus values.

Pascal
TMemoryMap = array[0..65535] of TChunkStatus;
C++
array[0..65535] of TChunkStatus TMemoryMap;

GetMemoryMap returns a map of the address space of the current process. For the purposes of the map, the entire 4GB address space is broken down into 64K chunks. There are 65536 such chunks. TMemoryMap obtains a status value for each of them in the TMemoryMap array. Each TMemoryMap array element may have the following value :

Status value 
Meaning 
csUnallocated  
Free  
csAllocated  
In use by the process  
csReserved  
Reserved for future use by the process  
csSysAllocated  
In use by the operating system  
csSysReserved  
Reserved for future use by the operating system  

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!