home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / ddkx86v1.zip / DDKX86 / H / UTLERROR.H < prev    next >
Text File  |  1995-04-14  |  8KB  |  109 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 = "@(#)utlerror.h    6.2 91/11/08";*/
  13. /*      SCCSID = @(#)utlerror.h    6.2 91/11/08 */
  14. /* */
  15. /* error codes for utilities */
  16. /* */
  17.  
  18. #define ERROR_NO_FILE                   1
  19. #define ERROR_FILE_ERRORS               2
  20. #define ERROR_CTRL_BREAK                3
  21. #define ERROR_TERMINATE                 4
  22. #define ERROR_UTILITY_SPECIFIC_1        5
  23. #define ERROR_UTILITY_SPECIFIC_2        6
  24. #define ERROR_UTILITY_SPECIFIC_3        7
  25. #define ERROR_LEVEL_RANGE               7
  26.  
  27. #define ERROR_INVALID_DOSVER            1000      /* invalid dos version */
  28. #define ERROR_LANGUAGE_NOT_SUPPORTED    1001      /* language not supported */
  29. #define ERROR_INVALID_FILENAME          1002      /* invalid file name */
  30. #define ERROR_MSGFILE_BAD_FORMAT        1010      /*     message file format */
  31. #define ERROR_MSGFILE_BAD_MID           1011      /* message file has     mid */
  32. #define ERROR_MSGFILE_OUTERROR          1012      /* error writing output file */
  33. #define ERROR_MSGFILE_INPERROR          1013      /* error reading input file */
  34. #define ERROR_MSGFILE_SYNTAX            1014      /* syntax error */
  35. #define ERROR_MSGFILE_MSG_TOO_BIG       1015      /* message exceeds system limit */
  36. #define ERROR_INSTALL_FAILED            1016      /* install failed */
  37. #define ERROR_INVALID_VOL               1017      /* no volume with /s option */
  38. #define ERROR_INVALID_INPUT_PARM        1018      /* invalid input parameter */
  39. #define ERROR_FILE_SPEC_REQUIRED        1019      /* file specification required */
  40. #define ERROR_SORT_FILE_TOO_BIG         1020      /* file size to big to sort */
  41. #define ERROR_SORT_INVALID_COL          1021      /* invalid column number for sort */
  42. #define ERROR_CHK_BAD_FAT               1022      /* fat     on specified drive */
  43. #define ERROR_CHK_BAD_ROOT              1023      /* root     on specified drive */
  44. #define ERROR_INVALID_PARM_NUMBER       1024      /* invalid parameter number */
  45. #define ERROR_PARM_SYNTAX               1025      /* invalid parameter syntax */
  46. #define ERROR_UTIL_TERMINATED           1026      /* program terminated by user */
  47. #define ERROR_REST_NO_BACKUP            1027      /* source does not contain backup file */
  48. #define ERROR_REST_SEQUENCE_ERROR       1028      /* file sequence error */
  49. #define ERROR_REST_FILE_CREATE          1029      /* file creation error */
  50. #define ERROR_FDISK_ERR_WRITE           1030      /* error writing fixed disk */
  51. #define ERROR_FDISK_ERR_READ            1031      /* error reading fixed disk */
  52. #define ERROR_FDISK_ERR_NOFDISKS        1032      /* no fixed disk present */
  53. #define ERROR_PATCH_NO_CTL_FILE         1033      /* cannot open patch control file */
  54. #define ERROR_PATCH_NO_EXE_FILE         1034      /* cannot open file to patch */
  55. #define ERROR_PATCH_CANT_ALLOC          1035      /* insufficient memory to alloc patch */
  56. #define ERROR_PATCH_INV_CMD_COMBO       1036      /*     command sequence */
  57. #define ERROR_PATCH_INV_OFFSET          1037      /* invalid offset */
  58. #define ERROR_PATCH_INV_BYTES           1038      /* invalid byte string */
  59. #define ERROR_PATCH_TOO_NEAR_EOF        1039      /* too close to end of file */
  60. #define ERROR_PATCH_VERIFY_FAILED       1040      /* verification failed */
  61. #define ERROR_PATCH_INC_VERIFY          1041      /* offset verification failed */
  62.  
  63.  
  64. #define ERROR_XCOPY_CANNOT_COPY_SUB     1050      /* cannot copy subdirectory */
  65. #define ERROR_XCOPY_ITSELF              1051      /* cannot copy to itself */
  66. #define ERROR_DISKC_DRIVE_SPEC          1052      /* drive mismatch in diskcomp/copy */
  67. #define ERROR_FORMAT_FAIL               1053      /* format failed */
  68. #define ERROR_FORMAT_INV_MEDIA          1054      /* format had invalid media */
  69. #define ERROR_RAS_STCP                  1055      /* system trace command processor error */
  70. #define ERROR_RAS_CREATEDD              1056      /* error in create dump diskette */
  71. #define ERROR_XCOPY_UNAB_CREATE_DIR     1057      /* unable to create directory */
  72. #define ERROR_XCOPY_PATH_TOO_LONG       1058      /* path to long */
  73. #define ERROR_XCOPY_CANNOT_TO_RES_DEV   1059      /* can't copy to a reserved name */
  74. #define ERROR_XCOPY_CANNOT_COPY_RES     1060      /* can't copy from a reserved name */
  75. #define ERROR_XCOPY_INVAL_DATE          1061      /* invalid date */
  76. #define ERROR_XCOPY_INTERNAL            1062      /* xcopy internal error */
  77. #define ERROR_PRINT_INVALID_PARAMETER   1063      /* invalid parameter */
  78. #define ERROR_PRINT_FILE_NOT_FOUND      1064      /* file not found */
  79. #define ERROR_PRINT_INVALID_DRIVE       1065      /* invalid drive */
  80. #define ERROR_PRINT_INVALID_DOSVER      1066      /* invalid DOS version */
  81. #define ERROR_PRINT_BAD_ENVIRONMENT     1067      /*     environment */
  82. #define ERROR_PRINT_MSGFILE_BAD_MID     1068      /*     message ID */
  83. #define ERROR_PRINT_SYS_INTERNAL        1069      /* PRINT internal error */
  84. #define ERROR_SYS_SYS_INTERNAL          1070      /* SYS internal error */
  85. #define ERROR_SYS_MSGFILE_BAD_MID       1071      /*     message ID */
  86. #define ERROR_SYS_INVALID_DOSVER        1072      /* invalid DOS version */
  87. #define ERROR_SYS_INVALID_DRIVE         1073      /* invalid drive */
  88. #define ERROR_SYS_INVALID_MEDIA         1074      /* invalid media */
  89. #define ERROR_SYS_INVALID_PARM          1076      /* invalid parameter */
  90. #define ERROR_FORMAT_INTERRUPT          1077      /* format interrupted */
  91. #define ERROR_FORMAT_NO_SYSXFER         1078      /* error in system xfer */
  92. #define ERROR_FORMAT_USER_TERM          1079      /* terminated by N resp */
  93. #define ERROR_BACK_NO_FILES             1080      /* no files found for backup */
  94. #define ERROR_BACK_SHARE_ERROR          1081      /* sharing error during backup */
  95. #define ERROR_BACK_FDISKFULL            1082      /* fixed disk is full during backup */
  96. #define ERROR_BACK_INVTARGET            1083      /* invalid backup target disk */
  97. #define ERROR_BACK_INVTIME              1084      /* invalid time parameter */
  98. #define ERROR_BACK_NOSOURCE             1085      /* no source backup files */
  99. #define ERROR_BACK_NOTARGET             1086      /* no target backup files */
  100. #define ERROR_BACK_SRC_TGT_SAME         1087      /* backup source and target same */
  101. #define ERROR_MSGFILE_DBCS              1088      /* error in message file dbcs */
  102. #define ERROR_HELP_MID_LARGE            1089      /* error in message file dbcs */
  103. #define ERROR_HELP_SYNTAX               1090      /* error in message file dbcs */
  104. #define ERROR_HELP_BAD_MID              1091      /* error in message file dbcs */
  105. #define ERROR_HELP_NO_HELP              1092      /* error in message file dbcs */
  106. #define ERROR_SORT_RCD_SIZE_EXCEED      1093      /* sort record size exceeded */
  107. #define ERROR_CM_EOF_REDIRECT           1094      /* eof found on redr input */
  108. #define ERROR_RAS_STCP_FILE_NOT_FOUND   1095      /* ras trace def file not found */
  109.