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.

91 lines
2.7 KiB

  1. /*++
  2. Copyright (c) 1997-1999 Microsoft Corporation
  3. Module Name:
  4. resource.h
  5. Abstract:
  6. Constants for FRS Resources.
  7. Author:
  8. David A. Orbits 7-4-1999
  9. Environment
  10. User mode winnt
  11. --*/
  12. //
  13. // The service long name (aka Display Name) is used in several places:
  14. //
  15. // setting up the event log registry keys, (english only)
  16. // in eventlog messages,
  17. // in DCPromo error messages,
  18. // Trace Log DPRINTs, (english only)
  19. // and as a parameter to the service controller.
  20. //
  21. // As noted above, some uses must only use the English translation.
  22. // All other uses must use the ServiceLongName global fetched from
  23. // the string resource with the keyword IDS_SERVICE_LONG_NAME since that
  24. // gets translated to other languages.
  25. //
  26. #define SERVICE_LONG_NAME L"File Replication Service"
  27. //
  28. // Strings
  29. //
  30. #define IDS_TABLE_START 100
  31. #define IDS_SERVICE_LONG_NAME 101
  32. #define IDS_RANGE_DWORD 102
  33. #define IDS_RANGE_STRING 103
  34. #define IDS_MISSING_STRING 104
  35. //
  36. // Warning: Don't change the order of these UNITS codes without a making
  37. // a matching change in the order of FRS_DATA_UNITS enum in config.h
  38. //
  39. #define IDS_UNITS_NONE 105
  40. #define IDS_UNITS_SECONDS 106
  41. #define IDS_UNITS_MINUTES 107
  42. #define IDS_UNITS_HOURS 108
  43. #define IDS_UNITS_DAYS 109
  44. #define IDS_UNITS_MILLISEC 110
  45. #define IDS_UNITS_KBYTES 111
  46. #define IDS_UNITS_BYTES 112
  47. #define IDS_UNITS_MBYTES 113
  48. #define IDS_REG_KEY_NOT_FOUND 114
  49. #define IDS_REG_VALUE_NOT_FOUND 115
  50. #define IDS_REG_VALUE_RANGE_ERROR 116
  51. #define IDS_REG_VALUE_WRONG_TYPE 117
  52. #define IDS_NO_DEFAULT 118
  53. #define IDS_INBOUND 119
  54. #define IDS_OUTBOUND 120
  55. #define IDS_POLL_SUM_SEARCH_ERROR 121
  56. #define IDS_POLL_SUM_DSBIND_FAIL 122
  57. #define IDS_POLL_SUM_NO_COMPUTER 123
  58. #define IDS_POLL_SUM_NO_REPLICASETS 124
  59. #define IDS_POLL_SUM_INVALID_ATTRIBUTE 125
  60. #define IDS_POLL_SUM_SUBSCRIBER_CONFLICT 126
  61. #define IDS_POLL_SUM_CXTION_CONFLICT 127
  62. #define IDS_EVENT_LOG_MSG_SIZE_EXCEEDED 128
  63. #define IDS_POLL_SUM_PRIMARY_UNDEFINED 129
  64. #define IDS_TABLE_END 129
  65. //
  66. // Give an FRS units code, translate it to the IDS code number above.
  67. //
  68. #define XLATE_IDS_UNITS(_u_) (((_u_)-UNITS_NONE) + IDS_UNITS_NONE)