home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / ddkx86v5.zip / DDKX86 / SRC / DEV / DASD / OS2DASD / DMHEADER.C < prev    next >
Encoding:
C/C++ Source or Header  |  1995-04-14  |  2.5 KB  |  58 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 = "src/dev/dasd/os2dasd/dmheader.c, dsdm, ddk_subset, b_bdd.032 93/03/20";*/
  13. #define SCCSID  "src/dev/dasd/os2dasd/dmheader.c, dsdm, ddk_subset, b_bdd.032 93/03/20"
  14. /**************************************************************************
  15.  *
  16.  * SOURCE FILE NAME = DMHEADER.C
  17.  *
  18.  * DESCRIPTIVE NAME = OS2DASD.DMD - OS/2 DASD Device Manager
  19.  *                    
  20.  *
  21.  *
  22.  * VERSION = V2.0
  23.  *
  24.  * DATE
  25.  *
  26.  * DESCRIPTION : Device driver header for OS/2 DASD Manager 
  27.  *
  28.  *
  29. */
  30.  
  31. #define INCL_NOBASEAPI
  32. #define INCL_NOPMAPI
  33. #define INCL_ERROR_H
  34.  
  35. #include "os2.h"
  36. #include "devhdr.h"
  37. /*-------------------------------------------------------------*/
  38. /* Disk Device Driver Header                                   */
  39. /*                                                             */
  40. /* This must be at the beginning of the data segment           */
  41. /* AND MUST NOT BE MOVED.                                      */
  42. /*-------------------------------------------------------------*/
  43.  
  44. VOID   NEAR DMStrat1 (void);
  45.  
  46. struct SysDev DiskDDHeader =
  47. {
  48.    -1L,                                 /* Pointer to next DD Header      */
  49.    DEV_NON_IBM | DEVLEV_1 | DEV_30,     /* Device attribute               */ /*@V56363*/
  50.    (USHORT) DMStrat1,                   /* Offset to Strategy routine     */
  51.    0,                                   /* Offset to IDC Entry Point      */
  52.    " Disk DD",                          /* Device Name                    */
  53.    0,                                   /* Protect mode CS of strategy EP */
  54.    0,                                   /* Protect mode DS of strategy EP */
  55.    0,
  56.    0
  57. };
  58.