Get Pages for All Handles                           

Input

Output

AX

4Dh   Error Code   AX

BX

    Number of Active Handles BX

CX

        CX

ES:DI

 Pointer to 1020 byte buffer     DX
     Returns an array containing all  active handles and the number of
     logical expanded memory pages associated with each handle.

     Notes:

     *  NOT COMPATIBLE with EMS or EEMS 3.2, since  the  new special
        OS handle 0000h is  returned  as  part  of the array. Unless
        benign use of  this  information is used (such as displaying
        the handle and count  of  pages  associated with the handle)
        code should be changed to only work with handles between 01h
        and FFh and to specifically ignore handle 00h.

     *  The  array  consists  of an array of 255 elements. The first
        word of each element is the handle number,  the  second word
        contains the number of pages allocated.

     *  There are two types  of  handles,  "standard" and "raw". The
        specification does not talk about  how  this  function works
        when both raw and standard  handles exist in a given system.
        There is no  currently  known way to differentiate between a
        standard handle and a raw handle in EMS 4.0.


Copyright © 1985 to 2003 Beta Systems                            Last modified: Wednesday April 30, 2003 .