Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

95 lines
4.3 KiB

  1. /***********************************************************************
  2. //
  3. // ERR.H
  4. //
  5. // Copyright (c) 1992 - Microsoft Corp.
  6. // All rights reserved.
  7. // Microsoft Confidential
  8. //
  9. // Error values for file engine functions.
  10. //
  11. // johnhe - 03-13-92
  12. ***********************************************************************/
  13. //**********************************************************************
  14. // Parsing errors
  15. //**********************************************************************
  16. #define ERR_UNKNOWN -1 // Unknown error
  17. #define ERR_UNKNOWN_SWITCH -2 // Unknown criteria switch was specified
  18. #define ERR_NO_END_SEARCHSTR -3 // No end search string delimiter
  19. #define ERR_DATE_FORMAT -4 // Invalid date format
  20. #define ERR_TIME_FORMAT -5 // Invalid time format
  21. #define ERR_DATE_COMBO -6 // Invalid date combination
  22. #define ERR_SIZE_FORMAT -7 // Invalid size format
  23. #define ERR_SIZE_COMBO -8 // Invalid size combination
  24. #define ERR_ATTR_FORMAT -9 // Invalid attribute format
  25. #define ERR_ATTR_COMBO -10 // Invalid attribute combination
  26. #define ERR_MULT_SRCHSTR -11 // Multiple search strings specified
  27. #define ERR_STRLST_LEN -12 // Search string length is too long
  28. #define ERR_SRCH_EXPRESSION -13 // Invalid search expression
  29. #define ERR_DUP_DESTINATION -14 // Duplicate destination file specs
  30. #define ERR_SWITCH_COMBO -15 // Invalid switch combination
  31. #define ERR_NO_SOURCE -16 // No source filespec given
  32. #define ERR_NOT_ON_NAME -17 // /NOT was applied to single filename
  33. #define ERR_FILESPEC_LEN -18 // More than 1K of filespec strings
  34. #define ERR_NOT_FILE_LEN -19 // More than 1K of !filespec strings
  35. #define ERR_INVALID_SRC_PATH -20 // Invalid source path (not found)
  36. #define ERR_SOURCE_ISDEVICE -21 // Source filespec is reserved device
  37. #define ERR_DEST_ISDEVICE -22 // Dest. filespec is reserved device
  38. #define ERR_NO_DESTINATION -23 // No destination was specified
  39. #define ERR_INVALID_PARAMETR -24 // Extra parameter on cmd line
  40. //**********************************************************************
  41. // System errors
  42. //**********************************************************************
  43. #define ERR_NOMEMORY -25 // Insuffient memory error
  44. #define ERR_MEM_CORRUPT -26 // Error returned on MemFree()
  45. #define ERR_USER_ABORT -27 // User aborted (CTRL+C)
  46. #define ERR_NOT_SUPPORTED -28 // Unsupported callback request
  47. #define ERR_COLLATE_TABLE -29 // Error on DOS call get collate table
  48. //**********************************************************************
  49. // File or disk errors
  50. //**********************************************************************
  51. #define ERR_BAD_FILESPEC -50 // Bad file specification
  52. #define ERR_DIR_CREATE -51 // Error creating a subdirectory entry
  53. #define ERR_FILE_READ -52 // Error reading a file
  54. #define ERR_INVALID_DRIVE -53 // Invalid drive specification
  55. #define ERR_INVALID_DESTINATION -54 // Invalid destination filespec
  56. //**********************************************************************
  57. // Copy errors
  58. //**********************************************************************
  59. #define ERR_CPY_OVER_SELF -75 // File cannot be copied over itself
  60. #define ERR_CLEAR_ARCHIVE -76 // Error clearing file's archive bit
  61. #define ERR_RDONLY_DESTINATION -77 // Destination file is readonly
  62. #define ERR_CYLINDRIC_COPY -79 // Destination path is child of source
  63. //**********************************************************************
  64. // Errors accessing a specified list file
  65. //**********************************************************************
  66. #define ERR_FILELIST -80 // Unknown error accessing the file list
  67. #define ERR_BAD_LISTFILE -81 // File list was not found
  68. #define ERR_FILELIST_ACCESS -82 // Sharing error accessing file list
  69. //**********************************************************************
  70. // Resource load errors
  71. //**********************************************************************
  72. #define ERR_READING_MSG -100 // Error reading string resource
  73. #define ERR_MSG_LOADED -101 // Strings have already been loaded
  74. //**********************************************************************
  75. // Misc error values
  76. //**********************************************************************
  77. #define ERR_DO_HELP ERR_NO_SOURCE // Display help