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.

59 lines
1.8 KiB

  1. /******************************************************************************
  2. Copyright (c) 1999 Microsoft Corporation
  3. Module Name:
  4. rstrerr.h
  5. Abstract:
  6. This file contains the Error Codes for use in various restore components
  7. Revision History:
  8. Seong Kook Khang (skkhang) 04/20/99
  9. created
  10. ******************************************************************************/
  11. #ifndef _RSTRERR_H__INCLUDED_
  12. #define _RSTRERR_H__INCLUDED_
  13. #ifdef __cplusplus
  14. extern "C" {
  15. #endif // __cplusplus
  16. #pragma once
  17. // General defines
  18. #define MAX_ERROR_STRING_LENGTH 1024
  19. //
  20. // Trace IDs on the client side
  21. //
  22. #define E_RSTR_INVALID_CONFIG_FILE MAKE_SCODE(SEVERITY_ERROR, FACILITY_ITF, 0x0501)
  23. #define E_RSTR_CANNOT_CREATE_DOMDOC MAKE_SCODE(SEVERITY_ERROR, FACILITY_ITF, 0x0502)
  24. #define E_RSTR_NO_PROBLEM_AREAS MAKE_SCODE(SEVERITY_ERROR, FACILITY_ITF, 0x0503)
  25. #define E_RSTR_NO_PROBLEM_AREA_ATTRS MAKE_SCODE(SEVERITY_ERROR, FACILITY_ITF, 0x0504)
  26. #define E_RSTR_NO_REQUIRED_ATTR MAKE_SCODE(SEVERITY_ERROR, FACILITY_ITF, 0x0505)
  27. #define E_RSTR_NO_UPLOAD_LIBRARY MAKE_SCODE(SEVERITY_ERROR, FACILITY_ITF, 0x0506)
  28. #define E_RSTR_CANNOT_CREATE_TRANSLATOR MAKE_SCODE(SEVERITY_ERROR, FACILITY_ITF, 0x0507)
  29. #define E_RSTR_INVALID_SPECFILE MAKE_SCODE(SEVERITY_ERROR, FACILITY_ITF, 0x0508)
  30. #define E_RSTR_CANNOT_CREATE_DELTAENGINE MAKE_SCODE(SEVERITY_ERROR, FACILITY_ITF, 0x0509)
  31. //
  32. // Application Specific Error Messages
  33. //
  34. // Right now, actual messages are only in rstrlog.exe tool.
  35. //
  36. #define ERROR_RSTR_CANNOT_CREATE_EXTRACT_DIR 0x2001
  37. #define ERROR_RSTR_EXTRACT_FAILED 0x2002
  38. #ifdef __cplusplus
  39. }
  40. #endif // __cplusplus
  41. #endif //_RSTRERR_H__INCLUDED_