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

  1. /*DDK*************************************************************************/
  2. /*                                                                           */
  3. /* COPYRIGHT (C) Microsoft Corporation, 1989                                 */
  4. /* COPYRIGHT    Copyright (C) 1995 IBM Corporation                           */
  5. /*                                                                           */
  6. /*    The following IBM OS/2 WARP source code is provided to you solely for  */
  7. /*    the purpose of assisting you in your development of OS/2 WARP device   */
  8. /*    drivers. You may use this code in accordance with the IBM License      */
  9. /*    Agreement provided in the IBM Device Driver Source Kit for OS/2. This  */
  10. /*    Copyright statement may not be removed.                                */
  11. /*                                                                           */
  12. /*****************************************************************************/
  13. /*static char *SCCSID = "@(#)devcmd.h   6.2 92/05/08";*/
  14.  
  15. /*
  16.  *
  17.  */
  18.  
  19. /*
  20.    device commands
  21. */
  22.  
  23. #define CMDInit                 0       /* INIT command */
  24. #define CMDMedChk               1       /* Media Check */
  25. #define CMDBldBPB               2       /* build BPB */
  26. #define CMDIOCTLR               3       /* reserved for 3.x compatability */
  27. #define CMDINPUT                4       /* read data from device */
  28. #define CMDNDR                  5       /* non-destructive read */
  29. #define CMDInputS               6       /* input status */
  30. #define CMDInputF               7       /* input flush */
  31. #define CMDOUTPUT               8       /* write data to device */
  32. #define CMDOUTPUTV              9       /* write data and verify */
  33. #define CMDOutputS              10      /* output status */
  34. #define CMDOutputF              11      /* output flush */
  35. #define CMDIOCTLW               12      /* reserved for 3.x compatability */
  36. #define CMDOpen                 13      /* device open */
  37. #define CMDClose                14      /* device close */
  38. #define CMDRemMed               15      /* is media removable */
  39. #define CMDGenIOCTL             16      /* Generic IOCTL */
  40. #define CMDResMed               17      /* reset media uncertain */
  41. #define CMDGetLogMap            18
  42. #define CMDSetLogMap            19
  43. #define CMDDeInstall            20      /* De-Install driver */
  44. #define CMDPartfixeddisks       22      /* Partitionable Fixed Disks */
  45. #define CMDGetfd_logunitsmap    23      /* Get Fixed Disk/Logical Unit Map */
  46. #define CMDInputBypass          24      /* cache bypass read data */
  47. #define CMDOutputBypass         25      /* cache bypass write data */
  48. #define CMDOutputBypassV        26      /* cache bypass write data and verify */
  49. #define CMDInitBase             27      /* INIT command for base DDs */
  50. #define CMDShutdown             28
  51. #define CMDGetDevSupport        29      /* query for extended capability */
  52. #define CMDInitComplete         31      /* Init complete for all DD's    */
  53. #define CMDAddOnPrep            97      /* Prepare for add on */
  54. #define CMDStar                 98      /* start console output */
  55. #define CMDStop                 99      /* stop console output */
  56.