System.TChunkStatus
Delphi
TChunkStatus = (csUnallocated, csAllocated, csReserved,
csSysAllocated, csSysReserved);
C++
enum DECLSPEC_DENUM TChunkStatus : unsigned char { csUnallocated, csAllocated, csReserved, csSysAllocated, csSysReserved };
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
enum | public | System.pas System.hpp |
System | System |
Description
TChunkStatus enumerates the possible states of a chunk of memory.
GetMemoryMap returns a map of the address space of the current process. For the purposes of the map, the entire 4-GB address space is broken down into 64KB 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 |