www.delorie.com/djgpp/doc/dpmi/api/310503.html   search  
Int 31H Function 0503H

Resize Memory Block [0.9]

Changes the size of a memory block that was previously allocated with either the Allocate Memory Block function (Int 31H Function 0501H) or the Allocate Linear Memory Block function (Int 31H Function 0504H).

Call With

AX = 0503H
BX:CX = new size of block (bytes, must be nonzero)
SI:DI = memory block handle

Returns

if function successful
Carry flag = clear
BX:CX = new linear address of memory block
SI:DI = new handle for memory block

if function unsuccessful
Carry flag = set
AX = error code
8012Hlinear memory unavailable
8013Hphysical memory unavailable
8014Hbacking store unavailable
8016Hhandle unavailable
8021Hinvalid value (BX:CX = 0)
8023Hinvalid handle (in SI:DI)

Notes


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