Source code of Windows XP (NT5)
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.

150 lines
5.2 KiB

  1. /********************************************************/
  2. /* Microsoft Windows NT */
  3. /* Copyright(c) Microsoft Corp., 1990, 1991 */
  4. /********************************************************/
  5. /*
  6. * uimsg.h
  7. * Defines the ranges for ALL UI messages
  8. *
  9. * It also contains messages that are common across apps
  10. * but not in the NERR or BASE error ranges.
  11. *
  12. * FILE HISTORY:
  13. * beng 05-Aug-1992 Dllization
  14. */
  15. #ifndef _UIMSG_H_
  16. #define _UIMSG_H_
  17. /*
  18. * NOTE below is based on MAX_NERR currently being 3000.
  19. * we dont include NETERR.H and define in terms of MAX_NERR because
  20. * this file goes thru RC. 7000 is chosen since its past all
  21. * the NERR and APPERR and a couple of thousand beyond for safety.
  22. */
  23. #define IDS_UI_BASE 7000
  24. // Ranges for partitioning the IDS namespace.
  25. // The ordering of these ranges is significant, since BLT can only
  26. // associate a single range with a hmod on which to locate a string.
  27. // These strings all reside on hmodCommon0
  28. #define IDS_UI_COMMON_BASE (IDS_UI_BASE+0)
  29. #define IDS_UI_COMMON_LAST (IDS_UI_BASE+999)
  30. #define IDS_UI_BLT_BASE (IDS_UI_BASE+1000)
  31. #define IDS_UI_BLT_LAST (IDS_UI_BASE+1999)
  32. #define IDS_UI_APPLIB_BASE (IDS_UI_BASE+2000)
  33. #define IDS_UI_APPLIB_LAST (IDS_UI_BASE+2899)
  34. #define IDS_UI_MISC_BASE (IDS_UI_BASE+3000)
  35. #define IDS_UI_MISC_LAST (IDS_UI_BASE+3999)
  36. // These strings each have their own module
  37. #define IDS_UI_ACLEDIT_BASE (IDS_UI_BASE+4000)
  38. #define IDS_UI_ACLEDIT_LAST (IDS_UI_BASE+4999)
  39. #define IDS_UI_MPR_BASE (IDS_UI_BASE+5000)
  40. #define IDS_UI_MPR_LAST (IDS_UI_BASE+5999)
  41. #define IDS_UI_NCPA_BASE (IDS_UI_BASE+6000)
  42. #define IDS_UI_NCPA_LAST (IDS_UI_BASE+6999)
  43. #define IDS_UI_SETUP_BASE (IDS_UI_BASE+7000)
  44. #define IDS_UI_SETUP_LAST (IDS_UI_BASE+7999)
  45. #define IDS_UI_SHELL_BASE (IDS_UI_BASE+8000)
  46. #define IDS_UI_SHELL_LAST (IDS_UI_BASE+8999)
  47. #define IDS_UI_IPX_BASE (IDS_UI_BASE+9000)
  48. #define IDS_UI_IPX_LAST (IDS_UI_BASE+9999)
  49. #define IDS_UI_TCP_BASE (IDS_UI_BASE+10000)
  50. #define IDS_UI_TCP_LAST (IDS_UI_BASE+10999)
  51. #define IDS_UI_FTPMGR_BASE (IDS_UI_BASE+16000)
  52. #define IDS_UI_FTPMGR_LAST (IDS_UI_BASE+16999)
  53. #define IDS_UI_RESERVED1_BASE (IDS_UI_BASE+17000)
  54. #define IDS_UI_RESERVED1_LAST (IDS_UI_BASE+17999)
  55. #define IDS_UI_RESERVED2_BASE (IDS_UI_BASE+18000)
  56. #define IDS_UI_RESERVED2_LAST (IDS_UI_BASE+18999)
  57. // These strings all reside on the application hmodule, for now
  58. #define IDS_UI_LMOBJ_BASE (IDS_UI_BASE+9900)
  59. #define IDS_UI_LMOBJ_LAST (IDS_UI_BASE+9999)
  60. #define IDS_UI_PROFILE_BASE (IDS_UI_BASE+10000)
  61. #define IDS_UI_PROFILE_LAST (IDS_UI_BASE+10999)
  62. #define IDS_UI_ADMIN_BASE (IDS_UI_BASE+11000)
  63. #define IDS_UI_ADMIN_LAST (IDS_UI_BASE+11999)
  64. #define IDS_UI_SRVMGR_BASE (IDS_UI_BASE+12000)
  65. #define IDS_UI_SRVMGR_LAST (IDS_UI_BASE+12999)
  66. #define IDS_UI_USRMGR_BASE (IDS_UI_BASE+13000)
  67. #define IDS_UI_USRMGR_LAST (IDS_UI_BASE+13999)
  68. #define IDS_UI_EVTVWR_BASE (IDS_UI_BASE+14000)
  69. #define IDS_UI_EVTVWR_LAST (IDS_UI_BASE+14999)
  70. #define IDS_UI_RASMAC_BASE (IDS_UI_BASE+15000)
  71. #define IDS_UI_RASMAC_LAST (IDS_UI_BASE+15999)
  72. // Use these manifests when constructing the application
  73. #define IDS_UI_APP_BASE (IDS_UI_LMOBJ_BASE)
  74. #define IDS_UI_APP_LAST (IDS_UI_RASMAC_LAST)
  75. /*------------------------------------------------------------------------*/
  76. /*
  77. * use this range, which is the top half of COMMON for strings like YES/NO
  78. */
  79. #define IDS_UI_YES (IDS_UI_COMMON_BASE+0)
  80. #define IDS_UI_NO (IDS_UI_COMMON_BASE+1)
  81. /*
  82. * Read/Write/Create/Execute/Delete/Change_attrib/Change_Perm must be
  83. * contiguous msg ids, and IDS_UI_READ must be have the first msg id and
  84. * IDS_UI_CHANGE_PERM must have the last msg id.
  85. */
  86. #define IDS_UI_READ (IDS_UI_COMMON_BASE+2)
  87. #define IDS_UI_WRITE (IDS_UI_COMMON_BASE+3)
  88. #define IDS_UI_CREATE (IDS_UI_COMMON_BASE+4)
  89. #define IDS_UI_EXECUTE (IDS_UI_COMMON_BASE+5)
  90. #define IDS_UI_DELETE (IDS_UI_COMMON_BASE+6)
  91. #define IDS_UI_CHANGE_ATTRIB (IDS_UI_COMMON_BASE+7)
  92. #define IDS_UI_CHANGE_PERM (IDS_UI_COMMON_BASE+8)
  93. #define IDS_UI_NOTAVAIL (IDS_UI_COMMON_BASE+9)
  94. #define IDS_UI_UNKNOWN (IDS_UI_COMMON_BASE+10)
  95. #define IDS_UI_NONE (IDS_UI_COMMON_BASE+11)
  96. #define IDS_UI_ERROR (IDS_UI_COMMON_BASE+12)
  97. #define IDS_UI_WARNING (IDS_UI_COMMON_BASE+13)
  98. #define IDS_UI_INFORMATION (IDS_UI_COMMON_BASE+14)
  99. #define IDS_UI_AUDIT_SUCCESS (IDS_UI_COMMON_BASE+15)
  100. #define IDS_UI_AUDIT_FAILURE (IDS_UI_COMMON_BASE+16)
  101. #define IDS_UI_DEFAULT_DESC (IDS_UI_COMMON_BASE+17)
  102. #define IDS_UI_NA (IDS_UI_COMMON_BASE+18)
  103. /*
  104. * use this range, which is the bottom half of COMMON for longer strings
  105. */
  106. #define IDS_UI_CLOSE_FILE (IDS_UI_COMMON_BASE+500)
  107. #define IDS_UI_CLOSE_ALL (IDS_UI_COMMON_BASE+501)
  108. #define IDS_UI_CLOSE_WARN (IDS_UI_COMMON_BASE+502)
  109. #define IDS_UI_CLOSE_LOSE_DATA (IDS_UI_COMMON_BASE+503)
  110. #define IDS_UI_LOG_RECORD_CORRUPT (IDS_UI_COMMON_BASE+504)
  111. #endif // _UIMSG_H_