[Overview][Constants][Types][Procedures and functions][Variables][Index] Reference for unit 'go32' (#rtl)

tmeminfo

Memory information record

Declaration

Source position: go32.pp line 41

type tmeminfo = record

  available_memory: LongInt;

  

Largest available free block in bytes.

  available_pages: LongInt;

  

Maximum unlocked page allocation in pages

  available_lockable_pages: LongInt;

  

Maximum locked page allocation in pages.

  linear_space: LongInt;

  

Linear address space size in pages.

  unlocked_pages: LongInt;

  

Total number of unlocked pages.

  available_physical_pages: LongInt;

  

Total number of free pages.

  total_physical_pages: LongInt;

  

Total number of physical pages.

  free_linear_space: LongInt;

  

Free linear address space in pages.

  max_pages_in_paging_file: LongInt;

  

Size of paging file/partition in pages

  reserved0: LongInt;

  

Unused

  reserved1: LongInt;

  

Unused

  reserved2: LongInt;

  

Unused

end;

Description

tmeminfo Holds information about the memory allocation, etc.

NOTE: The value of a field is -1 (0ffffffffh) if the value is unknown, it's only guaranteed, that available_memory contains a valid value. The size of the pages can be determined by the get_page_size() function.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.