System.TMemoryMap

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

type TMemoryMap = array [0..65535] of TChunkStatus;

C++

typedef System::StaticArray<TChunkStatus, 65536> TMemoryMap;

Properties

Type Visibility Source Unit Parent
array
typedef
public
System.pas
System.hpp
System System

Description

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

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 64-KB 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 one of the values listed in the following table.



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



See Also