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

Returns

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