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.

246 lines
10 KiB

  1. #define IDS_ON 1
  2. #define IDS_OFF 2
  3. #define IDS_HIBER_INVALID_STATE 3
  4. #define IDS_HIBER_UNSUPPORTED 4
  5. #define IDS_HIBER_CONFIG_FAIL 5
  6. #define IDS_SYSCAP_FAIL 6
  7. #define IDS_INVALID_CMDLINE_PARAM 7
  8. #define IDS_OUT_OF_MEMORY 8
  9. #define IDS_SCHEME_NOT_FOUND 9
  10. #define IDS_ACTIVE_SCHEME_INVALID 10
  11. #define IDS_SCHEME_ALREADY_EXISTS 11
  12. #define IDS_SCHEME_CREATE_FAIL 12
  13. #define IDS_INVALID_NUMERICAL_IMPORT 13
  14. #define IDS_SCHEME_NAME 14
  15. #define IDS_SCHEME_DESCRIPTION 15
  16. #define IDS_MONITOR_TIMEOUT_AC 16
  17. #define IDS_MONITOR_TIMEOUT_DC 17
  18. #define IDS_DISK_TIMEOUT_AC 18
  19. #define IDS_DISK_TIMEOUT_DC 19
  20. #define IDS_STANDBY_TIMEOUT_AC 20
  21. #define IDS_STANDBY_TIMEOUT_DC 21
  22. #define IDS_HIBER_TIMEOUT_AC 22
  23. #define IDS_HIBER_TIMEOUT_DC 23
  24. //
  25. // The indexes for the usage has gaps to allow easier insertion of new options.
  26. // This means that the code that prints the usage will occationally call
  27. // GetResString with an invalid ID. This simply returns a NULL string.
  28. //
  29. //Usage: command format
  30. #define IDS_USAGE_START 24
  31. #define IDS_USAGE_01 25
  32. #define IDS_USAGE_02 26
  33. #define IDS_USAGE_03 27
  34. #define IDS_USAGE_04 28
  35. #define IDS_USAGE_04_1 700
  36. #define IDS_USAGE_05 29
  37. #define IDS_USAGE_06 30
  38. #define IDS_USAGE_07 31
  39. #define IDS_USAGE_08 32
  40. #define IDS_USAGE_09 33
  41. #define IDS_USAGE_10 34
  42. #define IDS_USAGE_11 35
  43. #define IDS_USAGE_12 36
  44. #define IDS_USAGE_13 37
  45. #define IDS_USAGE_14 38
  46. #define IDS_USAGE_15 39
  47. #define IDS_USAGE_16 40
  48. #define IDS_USAGE_17 41
  49. #define IDS_USAGE_18 42
  50. #define IDS_USAGE_19 43
  51. #define IDS_USAGE_20 44
  52. #define IDS_USAGE_21 45
  53. #define IDS_USAGE_22 46
  54. #define IDS_USAGE_23 47
  55. #define IDS_USAGE_24 48
  56. #define IDS_USAGE_25 49
  57. #define IDS_USAGE_26 50
  58. #define IDS_USAGE_27 51
  59. #define IDS_USAGE_28 52
  60. #define IDS_USAGE_29 53
  61. #define IDS_USAGE_30 54
  62. #define IDS_USAGE_31 55
  63. #define IDS_USAGE_32 56
  64. #define IDS_USAGE_33 57
  65. #define IDS_USAGE_34 58
  66. #define IDS_USAGE_35 59
  67. #define IDS_USAGE_36 60
  68. #define IDS_USAGE_37 61
  69. #define IDS_USAGE_38 62
  70. #define IDS_USAGE_39 63
  71. #define IDS_USAGE_40 64
  72. #define IDS_USAGE_41 65
  73. #define IDS_USAGE_42 66
  74. #define IDS_USAGE_43 67
  75. #define IDS_USAGE_44 68
  76. #define IDS_USAGE_45 69
  77. #define IDS_USAGE_46 70
  78. #define IDS_USAGE_47 71
  79. #define IDS_USAGE_48 72
  80. #define IDS_USAGE_49 73
  81. #define IDS_USAGE_50 74
  82. #define IDS_USAGE_51 75
  83. #define IDS_USAGE_52 76
  84. #define IDS_USAGE_53 77
  85. #define IDS_USAGE_54 78
  86. #define IDS_USAGE_55 79
  87. #define IDS_USAGE_56 80
  88. #define IDS_USAGE_57 81
  89. #define IDS_USAGE_58 82
  90. #define IDS_USAGE_59 83
  91. #define IDS_USAGE_60 84
  92. #define IDS_USAGE_60_01 701
  93. #define IDS_USAGE_60_02 702
  94. #define IDS_USAGE_60_03 703
  95. #define IDS_USAGE_60_04 704
  96. #define IDS_USAGE_60_05 705
  97. #define IDS_USAGE_60_06 706
  98. #define IDS_USAGE_60_07 707
  99. #define IDS_USAGE_60_08 708
  100. #define IDS_USAGE_60_09 709
  101. #define IDS_USAGE_61 85
  102. #define IDS_USAGE_62 86
  103. #define IDS_USAGE_63 87
  104. #define IDS_USAGE_64 88
  105. #define IDS_USAGE_65 89
  106. #define IDS_USAGE_66 90
  107. #define IDS_USAGE_67 91
  108. #define IDS_USAGE_68 92
  109. #define IDS_USAGE_69 93
  110. #define IDS_USAGE_70 94
  111. #define IDS_USAGE_71 95
  112. #define IDS_USAGE_72 96
  113. #define IDS_USAGE_73 97
  114. #define IDS_USAGE_74 98
  115. #define IDS_USAGE_75 99
  116. #define IDS_USAGE_76 100
  117. #define IDS_USAGE_77 101
  118. #define IDS_USAGE_78 102
  119. #define IDS_USAGE_END 103
  120. #define IDS_LIST_HEADER1 194
  121. #define IDS_LIST_HEADER2 195
  122. #define IDS_QUERY_HEADER1 196
  123. #define IDS_QUERY_HEADER2 197
  124. #define IDS_QUERY_FOOTER 198
  125. #define IDS_UNEXPECTED_ERROR 199
  126. #define IDS_HIBER_OUT_OF_RANGE 200
  127. #define IDS_MINUTES 201
  128. #define IDS_DISABLED 202
  129. #define IDS_UNSUPPORTED 203
  130. #define IDS_STANDBY_WARNING 204
  131. #define IDS_HIBER_WARNING 205
  132. #define IDS_MONITOR_WARNING 206
  133. #define IDS_DISK_WARNING 207
  134. #define IDS_HIBER_PRIVILEGE 208
  135. #define IDS_DEFAULT_FILENAME 209
  136. #define IDS_GLOBAL_FLAG_INVALID_STATE 210
  137. #define IDS_GLOBAL_FLAG_INVALID_FLAG 211
  138. #define IDS_THROTTLE_AC 310
  139. #define IDS_THROTTLE_DC 311
  140. #define IDS_THROTTLE_NONE 312
  141. #define IDS_THROTTLE_CONSTANT 313
  142. #define IDS_THROTTLE_DEGRADE 314
  143. #define IDS_THROTTLE_ADAPTIVE 315
  144. #define IDS_THROTTLE_UNKNOWN 316
  145. #define IDS_DLL_LOAD_ERROR 317
  146. #define IDS_DLL_PROC_ERROR 318
  147. #define IDS_SCHEME_ID 319
  148. //
  149. // Be sure to leave some room after these constants for more reasons in the
  150. // future.
  151. //
  152. #define IDS_HIBER_FAILED_DESCRIPTION_HEADER 400
  153. #define IDS_BASE_HIBER_REASON_CODE 401
  154. #define IDS_HIBER_REASON_NONE 401
  155. #define IDS_HIBER_REASON_NOBIOS 402
  156. #define IDS_HIBER_REASON_BIOSINCOMPAT 403
  157. #define IDS_HIBER_REASON_NOOSPM 404
  158. #define IDS_HIBER_REASON_LEGDRV 405
  159. #define IDS_HIBER_REASON_HIBERSTACK 406
  160. #define IDS_HIBER_REASON_HIBERFILE 407
  161. #define IDS_HIBER_REASON_POINTERAL 408
  162. #define IDS_HIBER_REASON_PAEMODE 409
  163. #define IDS_HIBER_REASON_MPOVERRIDE 410
  164. #define IDS_HIBER_REASON_DRIVERDOWNGRADE 411
  165. #define IDS_HIBER_REASON_UNKNOWN 412
  166. #define IDS_HIBER_REASON_NOOSPM_IA64 450
  167. #define MAX_REASON_OFFSET IDS_HIBER_REASON_UNKNOWN - IDS_BASE_HIBER_REASON_CODE
  168. //
  169. // Be sure to leave some room after these constants for more reasons in the
  170. // future.
  171. //
  172. #define IDS_BASE_SX_REASON_CODE 501
  173. #define IDS_SX_REASON_NONE 501
  174. #define IDS_SX_REASON_NOBIOS 502
  175. #define IDS_SX_REASON_BIOSINCOMPAT 503
  176. #define IDS_SX_REASON_NOOSPM 504
  177. #define IDS_SX_REASON_LEGDRV 505
  178. #define IDS_SX_REASON_HIBERSTACK 506
  179. #define IDS_SX_REASON_HIBERFILE 507
  180. #define IDS_SX_REASON_POINTERAL 508
  181. #define IDS_SX_REASON_PAEMODE 509
  182. #define IDS_SX_REASON_MPOVERRIDE 510
  183. #define IDS_SX_REASON_DRIVERDOWNGRADE 511
  184. #define IDS_SX_REASON_UNKNOWN 512
  185. #define IDS_SX_REASON_NOOSPM_IA64 550
  186. #define IDS_BASE_S1_HEADER 600
  187. #define IDS_BASE_S2_HEADER 601
  188. #define IDS_BASE_S3_HEADER 602
  189. #define IDS_CANTGETSLEEPSTATES 610
  190. #define IDS_CANTGETSSTATEREASONS 611
  191. #define IDS_SLEEPSTATES_AVAILABLE 612
  192. #define IDS_SLEEPSTATES_UNAVAILABLE 613
  193. #define IDS_STANDBY 620
  194. #define IDS_LEFTPAREN 621
  195. #define IDS_S1 622
  196. #define IDS_S2 623
  197. #define IDS_S3 624
  198. #define IDS_RIGHTPAREN 625
  199. #define IDS_HIBERNATE 626
  200. #define IDS_SHUTDOWN 627
  201. #define IDS_ALARM_HEADER1 630
  202. #define IDS_ALARM_HEADER2 631
  203. #define IDS_ALARM_NAME 632
  204. #define IDS_LOW 633
  205. #define IDS_CRITICAL 634
  206. #define IDS_ALARM_ACTIVE 635
  207. #define IDS_ALARM_LEVEL 636
  208. #define IDS_ALARM_TEXT 637
  209. #define IDS_ALARM_SOUND 638
  210. #define IDS_ALARM_ACTION 639
  211. #define IDS_NONE 640
  212. #define IDS_INVALID 641
  213. #define IDS_ALARM_FORCE 642
  214. #define IDS_ALARM_PROGRAM 643
  215. #define IDS_ALARM_PROGRAM_NAME 644
  216. #define IDS_ALARM_INVALID_ALARM 645
  217. #define IDS_ALARM_INVALID_ACTIVATE 646
  218. #define IDS_ALARM_INVALID_LEVEL 647
  219. #define IDS_ALARM_INVALID_TEXT 648
  220. #define IDS_ALARM_INVALID_SOUND 649
  221. #define IDS_ALARM_INVALID_ACTION 650
  222. #define IDS_ALARM_INVALID_FORCE 651
  223. #define IDS_ALARM_INVALID_PROGRAM 652
  224. #define IDS_ALARM_PROGRAM_FAILED 653
  225. #define IDS_ALARM_STANDBY_UNSUPPORTED 654
  226. #define IDS_ALARM_HIBERNATE_DISABLED 655
  227. #define IDS_HIBERNATE_ALARM_DISABLED 656
  228. #define IDS_HIBERNATE_ALARM_DISABLE_FAILED 657
  229. #define IDS_ALARM_LEVEL_MINIMUM 658
  230. #define IDS_ALARM_LEVEL_EQUAL 659
  231. #define IDS_ALARM_FORCE_CRITICAL 660