Int 31H Function 0102H

Resize DOS Memory Block [0.9]

Changes the size of a memory block that was previously al located with the Allocate DOS Memory Block function (Int 31H Function 0100H).

Call With

AX = 0102H
BX = new block size in (16-byte) paragraphs
DX = selector of block to modify


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).
0008Hinsufficient memory (also returned by DPMI 0.9 hosts).
0009Hincorrect memory segment specified (also returned by DPMI 0.9 hosts).
8011Hdescriptor unavailable
8022Hinvalid selector
BX = maximum possible block size (paragraphs)


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