home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD2.mdf / c / library / mslang / vm / src / xms / xms0f.asm < prev    next >
Encoding:
Assembly Source File  |  1993-12-13  |  423 b   |  27 lines

  1.     .model    large,pascal
  2.  
  3.     include xms.inc
  4.  
  5.     .code    XMS_TEXT
  6.  
  7.     ;ERR PUBLIC __ErrXmsReallocateExtMemoryBlock(HEMB hemb, USHORT ckbRequested);
  8.  
  9.     public    __ErrXmsReallocateExtMemoryBlock
  10. __ErrXmsReallocateExtMemoryBlock    proc    \
  11.     hemb:word,            \
  12.     ckbRequested:word
  13.  
  14.     mov    dx,[hemb]
  15.     mov    bx,[ckbRequested]
  16.     XmsCall 0Fh
  17.     jc    Exit        ;Brif error
  18.  
  19.     xor    ax,ax
  20.  
  21. Exit:
  22.     ret
  23.  
  24. __ErrXmsReallocateExtMemoryBlock    endp
  25.  
  26.     end
  27.