Previous: Function 0501 - Allocate Memory Block To the Table of Content Next: Function 0503 - Resize Memory Block

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

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: Function 0501 - Allocate Memory Block To the Table of Content Next: Function 0503 - Resize Memory Block
Function 0501 - Allocate Memory Block Table of Content Function 0503 - Resize Memory Block

- 7.2.11 -