| 
 |  | 
                               Reallocate Pages                               
  
    | 
       Input  | 
    
       Output  | 
   
  
    | 
       AX  | 
    51h | 
      | 
    Error
      Code | 
      | 
    AX | 
   
  
    | 
       BX  | 
     Number
      of Pages Required | 
    New
      Number of Pages | 
    BX | 
   
  
    | 
       CX  | 
      | 
      | 
      | 
      | 
    CX | 
   
  
    | 
       DX  | 
     EMM
      Handle | 
      | 
      | 
    DX | 
   
      This  function  allows  an application to change  the  number  of
     logical pages allocated to an EMM handle.
     Notes:
     *  Logical pages which  were originally allocated with Function
        4 are called pages  and  are  16K  bytes long. Logical pages
        which were allocated  with  Function 27 are called raw pages
        and  might  not  be  the  same size as pages allocated  with
        Function 4.
     *  If the status returned in BX is not zero, the value in BX is
        equal to the number of pages allocated to  the  handle prior
        to calling this function.  This  information  can be used to
        verify that the request generated the expected results. |