home *** CD-ROM | disk | FTP | other *** search
/ Internet MPEG Audio Archive / IMAA.mdf / util / dos / l3v100n / rsx / source / dpmi10.h < prev    next >
C/C++ Source or Header  |  1994-01-19  |  2KB  |  44 lines

  1. #ifndef _DPMI10_H
  2. #define _DPMI10_H
  3.  
  4. typedef struct {
  5.     DWORD   HostPhysicalMemory ;
  6.     DWORD   HostVirtuelMemory ;
  7.     DWORD   HostFreeVirtuelMemory ;
  8.     DWORD   VMVirtuelMemory ;
  9.     DWORD   VMFreeVirtuelMemory ;
  10.     DWORD   ClientVirtuelMemory ;
  11.     DWORD   ClientFreeVirtuelMemory ;
  12.     DWORD   LockedMemory ;
  13.     DWORD   ClientMaxLockedMemory ;
  14.     DWORD   ClientHighestLinearAddress ;
  15.     DWORD   LargestMemoryBlock    ;
  16.     DWORD   MinimumUnitValue ;
  17.     DWORD   MemoryAlignValue ;
  18.     BYTE    res[76];
  19.     } DPMI10INFO;
  20.  
  21. typedef struct {
  22.     WORD    bits;
  23.     WORD    res1;
  24.     WORD    res2;
  25.     } DPMICAP ;
  26.  
  27. int    GetMultipleDescriptors(WORD, WORD *);
  28. int    SetMultipleDescriptors(WORD, WORD *);
  29. int    GetProtModeExceptionVector32(BYTE, WORD *, DWORD *);
  30. int    GetRealModeExceptionVector32(BYTE, WORD *, DWORD *);
  31. int    SetProtModeExceptionVector32(BYTE, WORD, DWORD);
  32. int    SetRealModeExceptionVector32(BYTE, WORD, DWORD);
  33. int    GetDPMICapabilities(DPMICAP *,BYTE *);
  34. int    AllocLinearMemory(DWORD bytes,DWORD linaddress,DWORD flags,DWORD *handle,DWORD *memaddress);
  35. int    ResizeLinearMemory(DWORD bytes,DWORD handle,DWORD flags,DWORD *newhandle,DWORD *newmemaddress);
  36. int    GetPageAttibutes(DWORD handle,DWORD offs,DWORD bytes,WORD *attr);
  37. int    ModifyPageAttibutes(DWORD handle,DWORD offs,DWORD bytes,void *attr);
  38. int    MapDeviceInMemoryBlock(DWORD handle,DWORD offs,DWORD bytes,DWORD device);
  39. int    GetMemoryBlockData(DWORD handle,DWORD *addr,DWORD *bytes);
  40. int    GetMemoryInfo(DPMI10INFO *);
  41. int    FreePhysicalMapping(DWORD address);
  42.  
  43. #endif /* _DPMI10_H */
  44.