delorie.com/djgpp/doc/dpmi/api/310101.html   search  
Int 31H Function 0101H

Free DOS Memory Block [0.9]

Frees a memory block that was previously allocated with the Allocate DOS Memory Block function (Int 31H Function 0100H).

Call With

AX = 0101H
DX = selector of block to be freed

Returns

if function successful
Carry flag = clear

if function unsuccessful
Carry flag = set
AX = error code
0007Hmemory control blocks damaged (also returned by DPMI 0.9 hosts).
0009Hincorrect memory segment specified (also returned by DPMI 0.9 hosts).
8022Hinvalid selector

Notes


  prev next   webmaster     delorie software   privacy  
  Copyright © 1996     Updated Apr 1996