home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Professional Developers Kit 1992 November / Disc01 / Disc01.mdf / os2tk20 / c / os2h / dasd / misc.h__ / MISC.H
Encoding:
C/C++ Source or Header  |  1992-07-15  |  2.8 KB  |  53 lines

  1. /*static char *SCCSID = "@(#)misc.h    6.3 92/05/08";*/
  2.  
  3. /************************************************************************/
  4. /*                                                                      */
  5. /* Driver Name: ADD/DM - Include Files                                  */
  6. /*              ----------------------                                  */
  7. /*                                                                      */
  8. /* Source File Name: MISC.H                                             */
  9. /*                                                                      */
  10. /* Descriptive Name: Miscellaneous defines                              */
  11. /*                                                                      */
  12. /* Function:                                                            */
  13. /*                                                                      */
  14. /*                                                                      */
  15. /*----------------------------------------------------------------------*/
  16. /*                                                                      */
  17. /* Copyright (C) 1992 IBM Corporation                                   */
  18. /*                                                                      */
  19. /* DISCLAIMER OF WARRANTIES.  The following [enclosed] code is          */
  20. /* provided to you solely for the purpose of assisting you in           */
  21. /* the development of your applications. The code is provided           */
  22. /* "AS IS", without warranty of any kind. IBM shall not be liable       */
  23. /* for any damages arising out of your use of this code, even if        */
  24. /* they have been advised of the possibility of such damages.           */
  25. /*                                                                      */
  26. /*----------------------------------------------------------------------*/
  27. /*                                                                      */
  28. /* Change Log                                                           */
  29. /*                                                                      */
  30. /* Mark    Date      Programmer  Comment                                */
  31. /* ----    ----      ----------  -------                                */
  32. /* @nnnn   mm/dd/yy  NNN                                                */
  33. /*                                                                      */
  34. /*                                                                      */
  35. /************************************************************************/
  36.  
  37. #define ASECTORSIZE     512
  38. #define BYTETOSECTORSHIFT 9
  39. #define SECTORTOBYTESHIFT 9
  40.  
  41. #define ERROR                   1
  42. #define NO_ERROR                0
  43.  
  44. #define YES                     1
  45. #define NO                      0
  46.  
  47. #define MAX_DRIVERS             32
  48.  
  49. #define KB  1024
  50. #define MB  KB*KB
  51. #define GB  MB*KB
  52.  
  53.