www.delorie.com/djgpp/doc/dpmi/api/31050a.html   search  
Int 31H Function 050AH

Get Memory Block Size and Base [1.0]

Returns the size of a memory block that was previously allocated with Int 31H Function 0501H or 0504H.

Call With

AX = 050AH
SI:DI = memory block handle


if function successful
Carry flag = clear
SI:DI = size of memory block (bytes)
BX:CX = base address of memory block

if function unsuccessful
Carry flag = set
AX = error code
8023Hinvalid handle

  prev   next     webmaster   donations   bookstore     delorie software   privacy  
  Copyright 1996   by DJ Delorie     Updated Apr 1996