Previous: Function 0400 - Get Version To the Table of Content Next: Function 0501 - Allocate Memory Block

- 7.2.29 -
PMODE/W MSDOS Extender
PMODE/W Supported DPMI INT 31h functions

Function 0500 - Get Free Memory Information

PMODE/W API

This function Returns information about the amount of available memory. Since DPMI clients could be running in a multitasking environment, the information returned by this function should be considered advisory.
In:
   AX     = 0500h
   ES:EDI = selector:offset of 48 byte buffer
Out:
   if successful:
     carry flag clear
     buffer is filled with the following information:
       Offset Length Contents
       00h     4       Largest available free block in
                       bytes
       04h     2ch     Other fields only supplied by DPMI
   if failed:
     carry flag set
Notes:
Only the first field of the structure is guaranteed to contain a valid value. Any fields that are not supported by the host will be set to -1 (0ffffffffh) to indicate that the information is not available.


Previous: Function 0400 - Get Version To the Table of Content Next: Function 0501 - Allocate Memory Block
Function 0400 - Get Version Table of Content Function 0501 - Allocate Memory Block

- 7.2.29 -