Go to the first, previous, next, last section, table of contents.
#include <dpmi.h> int __dpmi_get_memory_information(__dpmi_memory_info *buffer);
Please refer to section DPMI Specification for details on DPMI function call operation. Also see section DPMI Overview for general information.
DPMI function AX = 0x050b (DPMI 1.0 only). Not supported by CWSDPMI and Windows.
This function returns virtual memory information, as follows:
total_allocated_bytes_of_physical_memory_host
total_allocated_bytes_of_virtual_memory_host
total_available_bytes_of_virtual_memory_host
total_allocated_bytes_of_virtual_memory_vcpu
total_available_bytes_of_virtual_memory_vcpu
total_allocated_bytes_of_virtual_memory_client
total_available_bytes_of_virtual_memory_client
total_locked_bytes_of_memory_client
max_locked_bytes_of_memory_client
highest_linear_address_available_to_client
size_in_bytes_of_largest_free_memory_block
size_of_minimum_allocation_unit_in_bytes
size_of_allocation_alignment_unit_in_bytes
-1 on error, else zero.
not ANSI, not POSIX
Go to the first, previous, next, last section, table of contents.