RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
System.TChunkStatus Enumeration

TChunkStatus enumerates the possible states of a chunk of memory.

Pascal
TChunkStatus = (
  csUnallocated,
  csAllocated,
  csReserved,
  csSysAllocated,
  csSysReserved
);
C++
enum TChunkStatus {
  csUnallocated,
  csAllocated,
  csReserved,
  csSysAllocated,
  csSysReserved
};

System

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 TChunkStatus status value for each of them in the TMemoryMap array. TChunkStatus defines the following values :

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) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!