home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / ddkx86v1.zip / DDKX86 / H / VDOS.H < prev    next >
Text File  |  1995-04-14  |  2KB  |  52 lines

  1. /*DDK*************************************************************************/
  2. /*                                                                           */
  3. /* COPYRIGHT    Copyright (C) 1995 IBM Corporation                           */
  4. /*                                                                           */
  5. /*    The following IBM OS/2 WARP source code is provided to you solely for  */
  6. /*    the purpose of assisting you in your development of OS/2 WARP device   */
  7. /*    drivers. You may use this code in accordance with the IBM License      */
  8. /*    Agreement provided in the IBM Device Driver Source Kit for OS/2. This  */
  9. /*    Copyright statement may not be removed.                                */
  10. /*                                                                           */
  11. /*****************************************************************************/
  12. /*static char *SCCSID = "@(#)vdos.h    6.1 90/11/16";*/
  13. /*
  14.  *    SCCSID = @(#)vdos.h    13.5 89/05/11
  15.  */
  16.  
  17. /***ET+ Low memory defines - used by VBIOS */
  18.  
  19. #define DCA_START        0x501    // DOS communication area start
  20. #define DCA_LEN         0x1FF    //  "        "          "   length
  21.  
  22. #define DOSVEC_FIRST        0x20    // DOS-reserved vectors
  23. #define DOSVEC_LAST        0x3F    // initialized to -> IRET by VBIOS
  24. /*end*/
  25.  
  26. /***ET+    DOSDDEOL - End of DOS DD List Tag
  27.  */
  28.  
  29. #define DOSDDEOL    ((VPDOSDDTYPE) -1L)
  30. /*end*/
  31.  
  32. /***ET+    DOSDDTYPE - DOS DD Header
  33.  *
  34.  *    This structure defines a DOS DD Header
  35.  */
  36.  
  37. typedef struct _dosddtype {
  38.     struct _dosddtype FARV86 *ddd_vpdosddtype;
  39.     USHORT ddd_usAttribute;
  40.     USHORT ddd_pfnStrategy;
  41.     USHORT ddd_pfnInterrupt;
  42.     CHAR ddd_achName[8];
  43. } DOSDDTYPE;
  44.  
  45. typedef DOSDDTYPE *PDOSDDTYPE;
  46. typedef DOSDDTYPE FARV86 *VPDOSDDTYPE;
  47. /*end*/
  48.  
  49. /* PROCEDURES */
  50.  
  51. BOOL VDHENTRY VDHSetDosDevice(VPDOSDDTYPE);
  52.