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

  1.     .model    large,pascal
  2.  
  3.     include xms.inc
  4.  
  5.     .code    XMS_TEXT
  6.  
  7.     ;ERR PUBLIC __ErrXmsReleaseUpperMemoryBlock(_segment seg);
  8.  
  9.     public    __ErrXmsReleaseUpperMemoryBlock
  10. __ErrXmsReleaseUpperMemoryBlock    proc    \
  11.     segUMB:word
  12.  
  13.     mov    dx,[segUMB]
  14.     XmsCall 11h
  15.     jc    Exit        ;Brif error
  16.  
  17.     xor    ax,ax
  18.  
  19. Exit:
  20.     ret
  21.  
  22. __ErrXmsReleaseUpperMemoryBlock    endp
  23.  
  24.     end
  25.