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.

305 lines
9.1 KiB

  1. /*++
  2. Copyright (c) 1991-1994 Microsoft Corporation
  3. Module Name:
  4. fdres.h
  5. Abstract:
  6. Central include file for Disk Administrator
  7. Author:
  8. Edward (Ted) Miller (TedM) 11/15/91
  9. Environment:
  10. User process.
  11. Notes:
  12. Revision History:
  13. 11-Nov-93 (bobri) added doublespace and commit support.
  14. --*/
  15. // If double space is included this define should turn it on in the sources
  16. //#define DOUBLE_SPACE_SUPPORT_INCLUDED 1
  17. #define IDFDISK 1
  18. #define IDB_SMALLDISK 100
  19. #define IDB_REMOVABLE 101
  20. // dialogs
  21. #define IDD_ABOUT 200
  22. #define IDD_MINMAX 201
  23. #define IDD_COLORS 202
  24. #define IDD_DRIVELET 203
  25. #define IDD_DISPLAYOPTIONS 204
  26. #define IDD_DBLSPACE_CREATE 205
  27. #define IDD_DBLSPACE_DELETE 206
  28. #define IDD_DBLSPACE_MOUNT 207
  29. #define IDD_DBLSPACE_DISMOUNT 208
  30. #define IDD_DBLSPACE 209
  31. #define IDD_PARTITIONFORMAT 210
  32. #define IDD_PARTITIONLABEL 211
  33. #define IDD_DBLSPACE_DRIVELET 212
  34. #define IDD_FORMATCANCEL 213
  35. #define IDD_DBLSPACE_CANCEL 214
  36. #define IDD_DBLSPACE_FULL 215
  37. #define IDD_CDROM 216
  38. #define IDD_INITIALIZING 217
  39. // menu IDs
  40. #define IDM_PARTITIONCREATE 1000
  41. #define IDM_PARTITIONCREATEEX 1001
  42. #define IDM_PARTITIONDELETE 1002
  43. #if i386
  44. #define IDM_PARTITIONACTIVE 1003
  45. #endif
  46. #define IDM_PARTITIONLETTER 1004
  47. #define IDM_PARTITIONEXIT 1005
  48. #define IDM_SECURESYSTEM 1006
  49. #define IDM_PARTITIONFORMAT 1007
  50. #define IDM_PARTITIONLABEL 1008
  51. #define IDM_CONFIGMIGRATE 2000
  52. #define IDM_CONFIGSAVE 2001
  53. #define IDM_CONFIGRESTORE 2002
  54. #define IDM_FTESTABLISHMIRROR 3000
  55. #define IDM_FTBREAKMIRROR 3001
  56. #define IDM_FTCREATESTRIPE 3002
  57. #define IDM_FTCREATEVOLUMESET 3004
  58. #define IDM_FTRECOVERSTRIPE 3006
  59. #define IDM_FTCREATEPSTRIPE 3007
  60. #define IDM_FTEXTENDVOLUMESET 3009
  61. #define IDM_DBLSPACE 3100
  62. #define IDM_AUTOMOUNT 3101
  63. #define IDM_CDROM 3102
  64. #define IDM_OPTIONSSTATUS 4000
  65. #define IDM_OPTIONSLEGEND 4001
  66. #define IDM_OPTIONSCOLORS 4002
  67. #define IDM_OPTIONSDISPLAY 4003
  68. #define IDM_COMMIT 4100
  69. #define IDM_HELPCONTENTS 5000
  70. #define IDM_HELPSEARCH 5001
  71. #define IDM_HELPHELP 5002
  72. #define IDM_HELPABOUT 5003
  73. #if DBG && DEVL
  74. #define IDM_DEBUGALLOWDELETES 10001
  75. #endif
  76. // accelerator keys
  77. #define IDM_HELP 6000
  78. //controls
  79. #define IDC_MINMAX_MINLABEL 100
  80. #define IDC_MINMAX_MAXLABEL 101
  81. #define IDC_MINMAX_SIZLABEL 102
  82. #define IDC_MINMAX_MIN 103
  83. #define IDC_MINMAX_MAX 104
  84. #define IDC_MINMAX_SIZE 105
  85. #define IDC_MINMAX_SCROLL 106
  86. #define IDC_DBLSPACE_LETTER 107
  87. #define IDC_DBLSPACE_LETTER_INDICATOR 108
  88. #define IDC_DBLSPACE_ALLOCATED 100
  89. #define IDC_DBLSPACE_COMPRESSED 110
  90. #define IDC_DBLSPACE_SIZE 111
  91. #define IDC_DBLSPACE_VOLUME 112
  92. #define IDC_DBLSPACE_RATIO 113
  93. #define IDC_MOUNT_STATE 114
  94. #define IDC_TEXT 200
  95. #define IDC_NAME 201
  96. #define IDC_VERIFY 202
  97. #define IDC_FSTYPE 203
  98. #define IDC_PROGRESS 204
  99. #define IDC_GASGAUGE 205
  100. #define IDC_HIDE 206
  101. #define IDC_COLOR1 501
  102. #define IDC_COLOR2 502
  103. #define IDC_COLOR3 503
  104. #define IDC_COLOR4 504
  105. #define IDC_COLOR5 505
  106. #define IDC_COLOR6 506
  107. #define IDC_COLOR7 507
  108. #define IDC_COLOR8 508
  109. #define IDC_COLOR9 509
  110. #define IDC_COLOR10 510
  111. #define IDC_COLOR11 511
  112. #define IDC_COLOR12 512
  113. #define IDC_COLOR13 513
  114. #define IDC_COLOR14 514
  115. #define IDC_COLOR15 515
  116. #define IDC_COLOR16 516
  117. #define IDC_PATTERN1 601
  118. #define IDC_PATTERN2 602
  119. #define IDC_PATTERN3 603
  120. #define IDC_PATTERN4 604
  121. #define IDC_PATTERN5 605
  122. #define IDC_COLORDLGCOMBO 100
  123. #define IDC_DRIVELET_RBASSIGN 700
  124. #define IDC_DRIVELET_RBNOASSIGN 701
  125. #define IDC_DRIVELET_DESCR 702
  126. #define IDC_DRIVELET_COMBOBOX 703
  127. #define IDC_CDROM_NAMES 704
  128. #define IDC_DISK_COMBOBOX 100
  129. #define IDC_RESETALL 101
  130. #define IDC_RBPROPORTIONAL 200
  131. #define IDC_RBEQUAL 201
  132. #define IDC_RBAUTO 202
  133. // buttons
  134. #define FD_IDHELP 22
  135. #define IDADD 23
  136. #define IDDELETE 24
  137. #define ID_MOUNT_OR_DISMOUNT 25
  138. // strings
  139. #define IDS_APPNAME 1
  140. #define IDS_MULTIPLEITEMS 2
  141. #define IDS_FREESPACE 3
  142. #define IDS_PARTITION 4
  143. #define IDS_LOGICALVOLUME 5
  144. #define IDS_DISKN 6
  145. #define IDS_CONFIRM 7
  146. #define IDS_NOT_IN_APP_MSG_FILE 8
  147. #define IDS_NOT_IN_SYS_MSG_FILE 9
  148. #define IDS_UNFORMATTED 10
  149. #define IDS_UNKNOWN 11
  150. #define IDS_STRIPESET 12
  151. #define IDS_VOLUMESET 13
  152. #define IDS_EXTENDEDPARTITION 14
  153. #define IDS_FREEEXT 15
  154. #define IDS_DRIVELET_DESCR 16
  155. #define IDS_HEALTHY 17
  156. #define IDS_BROKEN 18
  157. #define IDS_RECOVERABLE 19
  158. #define IDS_REGENERATED 20
  159. #define IDS_NEW 21
  160. #define IDS_OFFLINE 22
  161. #define IDS_INSERT_DISK 23
  162. #define IDS_MEGABYTES_ABBREV 24
  163. #define IDS_INITIALIZING 25
  164. #define IDS_REGENERATING 26
  165. #define IDS_NO_CONFIG_INFO 27
  166. #define IDS_NEW_UNFORMATTED 28
  167. #define IDS_DISABLED 29
  168. #define IDS_INIT_FAILED 70
  169. #define IDS_CRTPART_CAPTION_P 30
  170. #define IDS_CRTPART_CAPTION_E 31
  171. #define IDS_CRTPART_CAPTION_L 32
  172. #define IDS_CRTPART_MIN_P 33
  173. #define IDS_CRTPART_MAX_P 34
  174. #define IDS_CRTPART_MIN_L 35
  175. #define IDS_CRTPART_MAX_L 36
  176. #define IDS_CRTPART_SIZE_P 37
  177. #define IDS_CRTPART_SIZE_L 38
  178. #define IDS_CRTSTRP_CAPTION 39
  179. #define IDS_CRTSTRP_MIN 40
  180. #define IDS_CRTSTRP_MAX 41
  181. #define IDS_CRTSTRP_SIZE 42
  182. #define IDS_CRTVSET_CAPTION 43
  183. #define IDS_EXPVSET_CAPTION 44
  184. #define IDS_CRTVSET_MIN 45
  185. #define IDS_CRTVSET_MAX 46
  186. #define IDS_CRTVSET_SIZE 47
  187. #define IDS_STATUS_STRIPESET 48
  188. #define IDS_STATUS_PARITY 49
  189. #define IDS_STATUS_VOLUMESET 50
  190. #define IDS_STATUS_MIRROR 51
  191. #define IDS_CRTPSTRP_CAPTION 52
  192. #define IDS_DLGCAP_PARITY 53
  193. #define IDS_DLGCAP_MIRROR 54
  194. // these must be contigous, and kept in sync with BRUSH_xxx constants
  195. #define IDS_LEGEND_PRIMARY 100
  196. #define IDS_LEGEND_LOGICAL 101
  197. #define IDS_LEGEND_STRIPESET 102
  198. #define IDS_LEGEND_MIRROR 103
  199. #define IDS_LEGEND_VOLUMESET 104
  200. #define IDS_LEGEND_LAST IDS_LEGEND_VOLUMESET
  201. #define IDS_LEGEND_FIRST IDS_LEGEND_PRIMARY
  202. // These are the strings for system-names other than those which are
  203. // meaningful to NT.
  204. #define IDS_PARTITION_FREE 120
  205. #define IDS_PARTITION_XENIX1 121
  206. #define IDS_PARTITION_XENIX2 122
  207. #define IDS_PARTITION_OS2_BOOT 123
  208. #define IDS_PARTITION_EISA 124
  209. #define IDS_PARTITION_UNIX 125
  210. #define IDS_PARTITION_POWERPC 126
  211. // Double space support strings
  212. #define IDS_DBLSPACE_DELETE 150
  213. #define IDS_WITH_DBLSPACE 151
  214. #define IDS_DBLSPACE_MOUNTED 152
  215. #define IDS_DBLSPACE_DISMOUNTED 153
  216. #define IDS_MOUNT 154
  217. #define IDS_DISMOUNT 155
  218. #define IDS_CREATING_DBLSPACE 156
  219. #define IDS_DBLSPACECOMPLETE 157
  220. // format strings.
  221. #define IDS_QUICK_FORMAT 170
  222. #define IDS_PERCENTCOMPLETE 171
  223. #define IDS_FORMATSTATS 172
  224. #define IDS_FORMATCOMPLETE 173
  225. #define IDS_FORMAT_TITLE 174
  226. #define IDS_LABEL_TITLE 175
  227. // Registry paths.
  228. #define IDS_SOURCE_PATH 180
  229. #define IDS_SOURCE_PATH_NAME 181
  230. #if i386
  231. #define IDS_ACTIVEPARTITION 200
  232. #endif
  233. // name of rectangle custom control class
  234. #define RECTCONTROL "RectControl"
  235. // rectangle control styles
  236. #define RS_PATTERN 0x00000001
  237. #define RS_COLOR 0x00000002