Int 67H [EMS 4.0] Function 51H (81) Reallocate pages for handle

Modifies the number of expanded memory pages allocated to an EMM handle.

Call with:

AH = 51H

BX = new number of pages

DX = EMM handle

Returns:

If function successful

AH = 00H

BX = logical pages owned by EMM handle

If function unsuccessful

AH = error code

Note:

If the requested number of pages is zero, the handle is still active, and pages can be reallocated to the handle at a later time; also, the handle must still be released with Int 67H Function 45H before the application terminates.