Int 31/AX=0102h

Prev Next Ralf Interrups Categories Contents

------

DPMI 0.9+ - RESIZE DOS MEMORY BLOCK

AX = 0102h
BX = new block size in paragraphs
DX = selector of block

Return:
CF clear if successful CF set on error AX = DOS error code (07h,08h,09h) (see #01680 at INT 21/AH=59h/BX=0000h) (DPMI 1.0+) DPMI error code (8011h,8022h) (see #03143) BX = maximum block size (in paragraphs) possible

Notes: Increasing the size of a block past a 64K boundary will fail if the next descriptor in the LDT is already in use. Shrinking a block past a 64K boundary will cause some selectors to be freed; DPMI 1.0+ automatically zeros any segment registers containing a selector freed by this function. Not supported by MS Windows 3.0 in Standard mode

See Also: AX=0100h

Category: DOS Extenders - Int 31h - D

------

Prev Next Ralf Interrups Categories Contents