home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / snip9707.zip / EMS.H < prev    next >
C/C++ Source or Header  |  1997-07-05  |  422b  |  23 lines

  1. /* +++Date last modified: 05-Jul-1997 */
  2.  
  3. /*
  4. ** EMS.H
  5. **
  6. ** Header file Expanded Memory Routines
  7. */
  8.  
  9. #ifndef EMS_H_
  10. #define EMS_H_
  11.  
  12. #define EMS_PAGE_SIZE   16384   /* Each page is this size */
  13.  
  14. unsigned int EMSbaseaddress(void);
  15. int  EMSversion(void);
  16. int  EMSstatus(void);
  17. int  EMSpages(void);
  18. int  EMSalloc(int pages);
  19. int  EMSfree(int handle);
  20. int  EMSmap(int bank, int handle, int page);
  21.  
  22. #endif
  23.