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.

364 lines
14 KiB

  1. /*******************************************************************************
  2. *
  3. * (C) COPYRIGHT MICROSOFT CORP., 1996
  4. *
  5. * TITLE: PWRRESID.H
  6. *
  7. * VERSION: 2.0
  8. *
  9. * AUTHOR: ReedB
  10. *
  11. * DATE: 17 Oct, 1996
  12. *
  13. *******************************************************************************/
  14. #ifndef _INC_PWRRESID
  15. #define _INC_PWRRESID
  16. #define IDC_STATIC -1
  17. // Top level dialog box control identifiers.
  18. #define IDD_POWERSCHEME 100
  19. #define IDD_POWERSCHEME_NOBAT 101
  20. #define IDD_BATMETERCFG 102
  21. #define IDD_ALARMPOLICY 103
  22. #define IDD_ADVANCEDPOLICY 104
  23. #define IDD_HIBERNATE 105
  24. #define IDD_APM 110
  25. #define IDD_UPS 111
  26. // UPS dialog box ID's
  27. #define IDD_APCABOUT 112
  28. #define IDD_UPSDETAILS 113
  29. #define IDD_UPSSELECT 114
  30. #define IDD_UPSCUSTOM 115
  31. #define IDD_UPSCONFIGURATION 116
  32. // Advanced dialogs box control identifiers.
  33. #define IDD_ALARMACTIONS 106
  34. #define IDD_ADVPOWERSCHEME 107
  35. #define IDD_ADVPOWERSCHEME_NOBAT 108
  36. // Misc. dialog box control identifiers.
  37. #define IDD_SAVE 109
  38. // Control identifiers of IDD_POWERSCHEME and IDD_POWERSCHEME_NOBAT
  39. #define IDC_SCHEMECOMBO 1000
  40. #define IDC_SAVEAS 1001
  41. #define IDC_DELETE 1002
  42. #define IDC_SETTINGSFOR 1004
  43. #define IDC_STANDBYACCOMBO 1005
  44. #define IDC_STANDBYDCCOMBO 1006
  45. #define IDC_MONITORACCOMBO 1007
  46. #define IDC_MONITORDCCOMBO 1008
  47. #define IDC_GOONSTANDBY 1009
  48. #define IDC_TURNOFFMONITOR 1010
  49. #define IDC_WHENCOMPUTERIS 1011
  50. #define IDC_PLUGGEDIN 1012
  51. #define IDC_RUNNINGONBAT 1013
  52. #define IDC_NO_HELP_0 1014
  53. #define IDC_POWERSCHEMESTEXT 1015
  54. #define IDC_DISKACCOMBO 1016
  55. #define IDC_DISKDCCOMBO 1017
  56. #define IDC_TURNOFFHARDDISKS 1018
  57. #define IDC_HIBERACCOMBO 1019
  58. #define IDC_HIBERDCCOMBO 1020
  59. #define IDC_SYSTEMHIBERNATES 1021
  60. #define IDC_NO_HELP_7 1022
  61. // Control identifiers of IDD_ALARMPOLICY
  62. #define IDC_CRITACTION 1100
  63. #define IDC_LOWACTION 1101
  64. #define IDC_LOALARMSLIDER 1102
  65. #define IDC_CRITALARMSLIDER 1103
  66. #define IDC_LOWALARMLEVEL 1104
  67. #define IDC_CRITALARMLEVEL 1105
  68. #define IDC_LOBATALARMENABLE 1106
  69. #define IDC_CRITBATALARMENABLE 1107
  70. #define IDC_POWERCFGGROUPBOX3 1110
  71. #define IDC_POWERCFGGROUPBOX4 1111
  72. #define IDC_NO_HELP_1 1112
  73. #define IDC_NO_HELP_2 1113
  74. #define IDC_NO_HELP_3 1114
  75. #define IDC_NO_HELP_4 1115
  76. // Maintain order
  77. #define IDC_LOALARMNOTIFICATION 1120
  78. #define IDC_LOALARMPOWERMODE 1121
  79. #ifdef WINNT
  80. #define IDC_LOALARMPROGRAM 1122
  81. #endif
  82. #define IDC_CRITALARMNOTIFICATION 1123
  83. #define IDC_CRITALARMPOWERMODE 1124
  84. #ifdef WINNT
  85. #define IDC_CRITALARMPROGRAM 1125
  86. #endif
  87. // Control identifiers of IDD_BATMETERCFG
  88. #define IDC_POWERSTATUSGROUPBOX 1201
  89. #define IDC_SHOWTIME 1202
  90. #define IDC_ENABLEMULTI 1204
  91. #define IDC_STATIC_FRAME_BATMETER 1205
  92. // Control identifiers of IDD_ADVANCEDPOLICY
  93. #define IDC_LIDCLOSETEXT 1300
  94. #define IDC_LIDCLOSEACTION 1301
  95. #define IDC_PWRBUTTONTEXT 1302
  96. #define IDC_PWRBUTACTION 1303
  97. #define IDC_POWERBUTGROUP 1304
  98. #define IDC_ENABLEMETER 1306
  99. #define IDC_PASSWORD 1307
  100. #define IDC_NO_HELP_5 1308
  101. #define IDC_OPTIONSGROUPBOX 1309
  102. #define IDC_SLPBUTTONTEXT 1310
  103. #define IDC_SLPBUTACTION 1311
  104. #define IDC_VIDEODIM 1312
  105. // Control identifiers of IDD_HIBERNATE
  106. #define IDC_HIBERNATE 1400
  107. #define IDC_FREESPACE 1401
  108. #define IDC_REQUIREDSPACE 1402
  109. #define IDC_NOTENOUGHSPACE 1403
  110. #define IDC_DISKSPACEGROUPBOX 1404
  111. #define IDC_FREESPACETEXT 1405
  112. #define IDC_REQUIREDSPACETEXT 1406
  113. #define IDC_HIBERNATEGROUPBOX 1407
  114. #define IDC_NO_HELP_6 1408
  115. // Control identifiers of IDD_APM
  116. #define IDC_APMENABLE 1500
  117. // Control identifiers of IDD_ALARMACTIONS.
  118. #define IDC_ENABLELOWSTATE 1600
  119. #define IDC_ALARMACTIONPOLICY 1601
  120. #define IDC_ALARMIGNORENONRESP 1602
  121. #define IDC_NOTIFYWITHSOUND 1603
  122. #define IDC_NOTIFYWITHTEXT 1605
  123. #define IDC_POWERCFGGROUPBOX5 1608
  124. #define IDC_POWERCFGGROUPBOX6 1609
  125. #define IDC_POWERCFGGROUPBOX7 1610
  126. #ifdef WINNT
  127. #define IDC_RUNPROGCHECKBOX 1611
  128. #define IDC_RUNPROGWORKITEM 1612
  129. #endif
  130. // Control identifiers of IDD_SAVE
  131. #define IDC_SAVENAMEEDIT 1700
  132. #define IDC_SAVETEXT 1701
  133. // Control identifiers of IDD_UPS
  134. // UPS Selection dialog (1800-1819)
  135. #define IDC_VENDOR_TEXT 1800
  136. #define IDC_VENDOR_LIST 1801
  137. #define IDC_MODEL_TEXT 1802
  138. #define IDC_MODEL_LIST 1803
  139. #define IDC_PORT_TEXT 1804
  140. #define IDC_PORT_LIST 1805
  141. #define IDB_SELECT_FINISH 1806
  142. #define IDB_SELECT_NEXT 1807
  143. // UPS Custom pin settings dialog (1820-1839)
  144. #define IDC_CUSTOM_FRAME 1820
  145. #define IDC_ONBAT_CHECK 1821
  146. #define IDC_ONBAT_POS 1822
  147. #define IDC_ONBAT_NEG 1823
  148. #define IDC_LOWBAT_CHECK 1824
  149. #define IDC_LOWBAT_POS 1825
  150. #define IDC_LOWBAT_NEG 1826
  151. #define IDC_TURNOFF_CHECK 1827
  152. #define IDC_TURNOFF_POS 1828
  153. #define IDC_TURNOFF_NEG 1829
  154. #define IDB_CUSTOM_BACK 1830
  155. #define IDB_CUSTOM_FINISH 1831
  156. #define IDC_CUSTOM_CAVEAT 1832
  157. // UPS Configuration dialog (1840 - 1879)
  158. #define IDC_NOTIFYCHECKBOX 1840
  159. #define IDC_WAITTEXT 1841
  160. #define IDC_WAITEDITBOX 1842
  161. #define IDC_WAITSPIN 1843
  162. #define IDC_REPEATTEXT 1844
  163. #define IDC_REPEATEDITBOX 1845
  164. #define IDC_REPEATSPIN 1846
  165. #define IDC_SHUTDOWNGROUPBOX 1847
  166. #define IDC_SHUTDOWNTEXT 1848
  167. #define IDC_SHUTDOWNTIMEREDITBOX 1849
  168. #define IDC_TIMERSPIN 1850
  169. #define IDC_LOWBATTERYSHUTDOWNTEXT 1851
  170. #define IDC_POWERACTIONTEXT 1852
  171. #define IDC_POWERACTIONCOMBO 1853
  172. #define IDC_RUNTASKCHECKBOX 1854
  173. #define IDC_CONFIGURETASKBUTTON 1855
  174. #define IDC_LOWBATTERYCHECKBOX 1856
  175. #define IDC_SHUTDOWNTIMERCHECKBOX 1857
  176. #define IDC_TASKNAMETEXT 1858
  177. #define IDC_TURNOFFCHECKBOX 1859
  178. // UPS Details dialog (1880 - 1899)
  179. #define IDC_UPS_INFO 1880
  180. #define IDC_NO_DETAILED_INFO 1881
  181. #define IDC_MANUFACTURER_LHS 1882
  182. #define IDC_MANUFACTURER 1883
  183. #define IDC_MODEL_LHS 1884
  184. #define IDC_MODEL 1885
  185. #define IDC_SERIAL_NUMBER_LHS 1886
  186. #define IDC_SERIAL_NUMBER 1887
  187. #define IDC_FIRMWARE_REVISION_LHS 1888
  188. #define IDC_FIRMWARE_REVISION 1889
  189. // UPS Page (1900 - 1949)
  190. #define IDC_STATUS_GROUPBOX 1900
  191. #define IDC_POWER_SOURCE_ICON 1901
  192. #define IDC_POWER_SOURCE_LHS 1902
  193. #define IDC_POWER_SOURCE 1903
  194. #define IDC_RUNTIME_REMAINING_LHS 1904
  195. #define IDC_RUNTIME_REMAINING 1905
  196. #define IDC_BATTERY_CAPACITY_LHS 1906
  197. #define IDC_BATTERY_CAPACITY 1907
  198. #define IDC_BATTERY_STATUS_LHS 1908
  199. #define IDC_BATTERY_STATUS 1909
  200. #define IDC_DETAILS_GROUPBOX 1920
  201. #define IDC_VENDOR_NAME_LHS 1921
  202. #define IDC_VENDOR_NAME 1922
  203. #define IDC_MODEL_TYPE_LHS 1923
  204. #define IDC_MODEL_TYPE 1924
  205. #define IDC_MESSAGE_ICON 1931
  206. #define IDC_MESSAGE_TEXT 1932
  207. #define IDC_SERVICE_TEXT 1933
  208. #define IDC_SERVICE_PROGRESS 1934
  209. #define IDC_SERVICE_CLOSE 1935
  210. #define IDB_APCLOGO_SMALL 1940
  211. #define IDB_APCLOGO_LARGE 1941
  212. #define IDB_UPS_ICON_BUTTON 1942
  213. #define IDB_INSTALL_UPS 1943
  214. #define IDB_CONFIGURE_SVC 1944
  215. #define IDC_APC1 1945
  216. #define IDC_APC2 1946
  217. #define IDC_UPS_TITLE 1947
  218. // UPS About dialog ID's (2000-2010)
  219. #define IDC_APCURL 2000
  220. // UPS String ID's
  221. #define IDS_APCURL 300
  222. #define IDS_OUTOFWAITRANGE 301
  223. #define IDS_OUTOFREPEATRANGE 302
  224. #define IDS_NOTIFYCAPTION 303
  225. #define IDS_OUTOFSHUTDELAYRANGE 304
  226. #define IDS_SHUTDOWNCAPTION 305
  227. #define IDS_SHUTDOWN_TASKNAME 306
  228. #define IDS_LOW_BATTERY_SHUTDOWN 310
  229. #define IDS_ON_BATTERY_SHUTDOWN 311
  230. #define IDS_NO_SHUTDOWN 312
  231. #define IDS_UPS_TURNOFF_IMMEDIATELY 313
  232. #define IDS_UPS_TURNOFF_AFTER 314
  233. #define IDS_UPS_NO_TURNOFF 315
  234. #define IDS_DWORD 316
  235. #define IDS_STRING 317
  236. #define IDS_RUNTIME_REMAINING 318
  237. #define IDS_CAPACITY 319
  238. #define IDS_CAPACITY_CHARGING 320
  239. #define IDS_UTILITYPOWER_UNKNOWN 321
  240. #define IDS_UTILITYPOWER_ON 322
  241. #define IDS_UTILITYPOWER_OFF 323
  242. #define IDS_BATTERYSTATUS_UNKNOWN 324
  243. #define IDS_BATTERYSTATUS_OK 325
  244. #define IDS_BATTERYSTATUS_BAD 326
  245. #define IDS_URLLINK 327
  246. #define IDS_NO_UPS_VENDOR 328
  247. #define IDS_OTHER_UPS_VENDOR 329
  248. #define IDS_CUSTOM_UPS_MODEL 330
  249. #define IDS_COM_PORT_PREFIX 331
  250. #define IDS_CUSTOM_CAPTION 332
  251. #define IDS_CAVEAT_TEXT 333
  252. #define IDS_NO_UPS_INSTALLED 334 //info
  253. #define IDS_UPS_STOPPED 335 //warning
  254. #define IDS_START_UPS 336 //progress
  255. #define IDS_STOP_UPS 337 //progress
  256. #define IDS_PRESS_APPLY 338 //info
  257. #define IDS_COMM_LOST 339 //critical
  258. // String ID's.
  259. #define IDS_APPNAME 90
  260. #define IDS_INFO 91
  261. #define IDS_LOWSOUNDEVENT 94
  262. #define IDS_CRITSOUNDEVENT 95
  263. #define IDS_ALARMACTIONS 96
  264. #define IDS_ALARMLEVELFORMAT 97
  265. #define IDS_ALARMSTATUSSOUND 98
  266. #define IDS_ALARMSTATUSTEXT 99
  267. #define IDS_CRITBAT 102
  268. #define IDS_LOWBAT 103
  269. #define IDS_SETTINGSFORMAT 104
  270. #define IDS_ADVSETTINGSFORMAT 105
  271. #define IDS_BLANKNAME 106
  272. #define IDS_CONFIRMDELETECAPTION 107
  273. #define IDS_CONFIRMDELETE 108
  274. #define IDS_SAVESCHEME 109
  275. #define IDS_BYTES 110
  276. #define IDS_MBYTES 111
  277. #define IDS_POWEREDBYUPS 112
  278. #define IDS_NOACTION 113
  279. #define IDS_BROWSETITLE 114
  280. #define IDS_UNKNOWN 150
  281. #define IDS_NONE 151
  282. #define IDS_STANDBY 153
  283. #define IDS_HIBERNATE 154
  284. //#define IDS_SHUTDOWN 155 FREE - USE ME
  285. #define IDS_POWEROFF 156
  286. #define IDS_DONOTHING 157
  287. #define IDS_PROMPT 158
  288. #define IDS_NEVER 160
  289. #define IDS_01_MIN 161
  290. #define IDS_02_MIN 162
  291. #define IDS_03_MIN 163
  292. #define IDS_05_MIN 164
  293. #define IDS_10_MIN 165
  294. #define IDS_15_MIN 166
  295. #define IDS_20_MIN 167
  296. #define IDS_25_MIN 168
  297. #define IDS_30_MIN 169
  298. #define IDS_45_MIN 170
  299. #define IDS_01_HOUR 171
  300. #define IDS_02_HOUR 172
  301. #define IDS_03_HOUR 173
  302. #define IDS_04_HOUR 174
  303. #define IDS_05_HOUR 175
  304. #define IDS_06_HOUR 176
  305. // Error string ID's
  306. #define IDS_UNKNOWN_ERROR 177
  307. #define IDS_UNABLETOSETHIBER 178
  308. #define IDS_UNABLETOSETPOLICY 179
  309. #define IDS_UNABLETOSETGLOBALPOLICY 180
  310. #define IDS_UNABLETOSETACTIVEPOLICY 181
  311. #define IDS_UNABLETOSETRUNPROG 182
  312. // Icon ID's
  313. #define IDI_PLUG 200
  314. #define IDI_BATTERY 201
  315. #define IDI_PWRMNG 202
  316. #define IDI_HIBERNATE 203
  317. #define IDI_UPS 204
  318. #define IDI_INFO 205
  319. #define IDI_ALERT 206
  320. #define IDI_CRITICAL 207
  321. // APM ID's
  322. #define IDS_DEVCHANGE_RESTART 220
  323. #define IDS_DEVCHANGE_CAPTION 221
  324. #endif // _INC_PWRRESID