Previous: 7.2.30. Function 0501 - Allocate Memory Block To the Table of Contents Next: 7.2.32. Function 0503 - Resize Memory Block
7.2.30. Function 0501 - Allocate Memory Block Table of Contents 7.2.32. Function 0503 - Resize Memory Block

- 7.2.31. -
Table of Contents
7. PMODE/W MSDOS Extender
7.2. PMODE/W Supported DPMI INT 31h functions
7.2.31. Function 0502 - Free Memory Block


7.2.31. Function 0502 - Free Memory Block


PMODE/W API

This function Frees a memory block previously allocated with the Allocate Memory Block function (0501h).
In:
   AX     = 0502h
   SI:DI  = memory block handle
Out:
   if successful:
     carry flag clear
   if failed:
     carry flag set
Notes:
No descriptors are freed by this call. It is the client's responsibility to free any descriptors that it previously allocated to map the memory block. Descriptors should be freed before memory blocks.


Previous: 7.2.30. Function 0501 - Allocate Memory Block To the Table of Contents Next: 7.2.32. Function 0503 - Resize Memory Block
7.2.30. Function 0501 - Allocate Memory Block Table of Contents 7.2.32. Function 0503 - Resize Memory Block

- 7.2.31. -