home *** CD-ROM | disk | FTP | other *** search
/ Media Share 13 / mediashare_13.zip / mediashare_13 / ZIPPED / PROGRAM / DDJ9403A.ZIP / ASPI.ZIP / ASPIDLL.H < prev    next >
C/C++ Source or Header  |  1993-11-11  |  981b  |  33 lines

  1. // ----------------------------------------------------------------------
  2. // Module ASPIDLL.H
  3. // Declarations for ASPI routines in ASPIDLL.C
  4. //
  5. // Copyright (C) 1993, Brian Sawert.
  6. // All rights reserved.
  7. //
  8. // ----------------------------------------------------------------------
  9.  
  10.  
  11. #ifndef    _ASPIDLL_H                        // check for multiple inclusion
  12. #define _ASPIDLL_H
  13.  
  14. #include "aspi.h"                        // ASPI definitions and constants
  15.  
  16.  
  17. // -------------------- external functions --------------------
  18.  
  19. void far *MaptoReal(void far *pptr);    // map to real mode address
  20. void far *MaptoProt(void far *rptr);    // map to protected mode address
  21. DWORD AllocRealBuff(DWORD bytes);        // allocate real mode buffer
  22. DWORD FreeRealBuff(DWORD SelSeg);        // free real mode buffer
  23. int AspiCall(void far *aspiproc, aspi_req_t far *ar);    // DPMI function
  24.  
  25.  
  26. // -------------------- external variables --------------------
  27.  
  28. extern DWORD dwPtr[3];                    // returns from GlobalDOSAlloc
  29.  
  30.  
  31. #endif
  32.  
  33.