home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / warphead.zip / H / VDOS.H < prev    next >
C/C++ Source or Header  |  1997-04-10  |  1KB  |  61 lines

  1. /*static char *SCCSID = "@(#)vdos.h    6.2 92/01/28";*/
  2. /*
  3.  *      VDOS.H
  4.  *      Copyright (c) 1992 IBM Corporation
  5.  *
  6.  */
  7.  
  8. #pragma checkout( suspend )
  9.    #ifndef __CHKHDR__
  10.       #pragma checkout( suspend )
  11.    #endif
  12. #pragma checkout( resume )
  13.  
  14. #ifndef __VDOS__
  15. #define __VDOS__
  16.  
  17. #pragma pack(4)
  18.  
  19. /***ET+ Low memory defines - used by VBIOS */
  20.  
  21. #define DCA_START               0x501   /* DOS communication area start */
  22. #define DCA_LEN                 0x1FF   /*  "        "        "   length */
  23.  
  24. #define DOSVEC_FIRST            0x20    /* DOS-reserved vectors */
  25. #define DOSVEC_LAST             0x3F    /* initialized to -> IRET by VBIOS */
  26. /*end*/
  27.  
  28. /***ET+ DOSDDEOL - End of DOS DD List Tag
  29.  */
  30.  
  31. #define DOSDDEOL        ((VPDOSDDTYPE) -1L)
  32. /*end*/
  33.  
  34. /***ET+ DOSDDTYPE - DOS DD Header
  35.  *
  36.  *      This structure defines a DOS DD Header
  37.  */
  38.  
  39. typedef struct _dosddtype {
  40.     struct _dosddtype FARV86 *ddd_vpdosddtype;
  41.     USHORT ddd_usAttribute;
  42.     USHORT ddd_pfnStrategy;
  43.     USHORT ddd_pfnInterrupt;
  44.     CHAR ddd_achName[8];
  45. } DOSDDTYPE;
  46.  
  47. typedef DOSDDTYPE *PDOSDDTYPE;
  48. typedef DOSDDTYPE FARV86 *VPDOSDDTYPE;
  49. /*end*/
  50.  
  51. /* PROCEDURES */
  52. BOOL VDHENTRY VDHSetDosDevice(VPDOSDDTYPE);
  53.  
  54. #endif /* __VDOS__ */
  55.  
  56. #pragma checkout( suspend )
  57.    #ifndef __CHKHDR__
  58.       #pragma checkout( resume )
  59.    #endif
  60. #pragma checkout( resume )
  61.