qa.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
Int 21H Function 4AH
   Summary  Notes  Example  Back
──────────────────────────────────────────────────────────────────────────────
 
  Description:  Resize Memory Block
 
  Dynamically shrinks or extends a memory block, according to the needs of
  an application program.
 
  Input                                   Output
  ════════════════════════════            ════════════════════════════════
  AH=4AH                                  If function successful
  BX=desired new block size in            Carry flag=clear
     paragraphs                           If function unsuccessful
  ES=segment of block to be               Carry flag=set
     modified                             AX=error code
                                          BX=maximum block size available
                                             (paragraphs)
                                    -♦-