delorie.com/djgpp/doc/libc/libc_229.html | search |
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
#include <dpmi.h> int __dpmi_get_memory_information(__dpmi_memory_info *buffer); |
Please refer to the DPMI Specification (see section DPMI Specification) for details on DPMI function call operation. Also see the DPMI Overview (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.
ANSI/ISO C | No |
POSIX | No |
webmaster | delorie software privacy |
Copyright © 2004 | Updated Apr 2004 |