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.

38 lines
1.4 KiB

  1. #if !defined(__errors_hxx__)
  2. #define __errors_hxx__
  3. enum errcodes
  4. {
  5. ERR_OPENINGCUR,
  6. ERR_OPENINGREF,
  7. ERR_OPENINGDIFF,
  8. ERR_OPENINGNEW,
  9. ERR_OPENINGMIRROR,
  10. ERR_MISSINGARGS,
  11. ERR_INVALIDARG,
  12. ERR_CURFILENAME,
  13. ERR_REFFILENAME,
  14. ERR_INIFILENAME,
  15. ERR_INIFILENOTFOUND,
  16. ERR_OUTOFMEMORY,
  17. ERR_DIFFERENCES, // If you change the last item, you will have to change DisplayError.
  18. };
  19. char* pszErrors[] =
  20. {
  21. "Error opening current file.", // ERR_OPENINGCUR
  22. "Error opening reference file.", // ERR_OPENINGREF
  23. "Error opening differences output file.", // ERR_OPENINGDIFF
  24. "Error opening additions output file.", // ERR_OPENINGNEW
  25. "Error opening mirror file.", // ERR_OPENINGMIRROR
  26. "Invalid number of input arguments.", // ERR_MISSINGARGS
  27. "Invalid argument specified.", // ERR_INVALIDARG
  28. "Current output file name not specified.", // ERR_CURFILENAME
  29. "Reference output file name not specified.", // ERR_REFFILENAME
  30. "Initialization file name not specified.", // ERR_INIFILENAME
  31. "INI file not found.", // ERR_INIFILENOTFOUND
  32. "Out of memory", // ERR_OUTOFMEMORY
  33. "Differences exist between the current file and references file.", // ERR_DIFFERENCES
  34. };
  35. #endif // !defined(__errors_hxx__)