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.

400 lines
13 KiB

  1. #define APSTUDIO_READONLY_SYMBOLS
  2. /////////////////////////////////////////////////////////////////////////////
  3. //
  4. // Generated from the TEXTINCLUDE 2 resource.
  5. //
  6. #define APSTUDIO_HIDDEN_SYMBOLS
  7. #include "windows.h"
  8. #undef APSTUDIO_HIDDEN_SYMBOLS
  9. #include "diskedit.h"
  10. #include "ntverp.h"
  11. /////////////////////////////////////////////////////////////////////////////
  12. #undef APSTUDIO_READONLY_SYMBOLS
  13. /////////////////////////////////////////////////////////////////////////////
  14. // English (U.S.) resources
  15. #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
  16. #ifdef _WIN32
  17. LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
  18. #pragma code_page(1252)
  19. #endif //_WIN32
  20. /////////////////////////////////////////////////////////////////////////////
  21. //
  22. // Accelerator
  23. //
  24. DISKEDITACCEL ACCELERATORS MOVEABLE PURE
  25. BEGIN
  26. VK_F2, IDM_VIEW_LAST, VIRTKEY
  27. VK_F3, IDM_READ_PREVIOUS, VIRTKEY
  28. VK_F4, IDM_READ_NEXT, VIRTKEY
  29. VK_F5, IDM_READ_REMOVE, VIRTKEY
  30. END
  31. /////////////////////////////////////////////////////////////////////////////
  32. //
  33. // Menu
  34. //
  35. DISKEDITMENU MENU DISCARDABLE
  36. BEGIN
  37. POPUP "&File"
  38. BEGIN
  39. MENUITEM "&Open...", IDM_OPEN
  40. MENUITEM "E&xit", IDM_EXIT
  41. MENUITEM SEPARATOR
  42. MENUITEM "&About DiskEdit...", IDM_ABOUT
  43. END
  44. POPUP "&Read"
  45. BEGIN
  46. MENUITEM "&Sectors...", IDM_READ_SECTORS
  47. MENUITEM "NTFS &File Record...", IDM_READ_FRS
  48. MENUITEM "NTFS C&lusters...", IDM_READ_CLUSTERS
  49. MENUITEM "NTFS &Attribute...", IDM_READ_ATTRIBUTE
  50. MENUITEM "FAT &Root", IDM_READ_ROOT
  51. MENUITEM "FAT &Chain...", IDM_READ_CHAIN
  52. MENUITEM "F&ile...", IDM_READ_FILE
  53. MENUITEM "L&og Record...", IDM_READ_LOG_RECORD
  54. MENUITEM SEPARATOR
  55. MENUITEM "&Previous\tF3", IDM_READ_PREVIOUS
  56. MENUITEM "&Next\tF4", IDM_READ_NEXT
  57. MENUITEM "Remove\tF5", IDM_READ_REMOVE
  58. END
  59. POPUP "&Write"
  60. BEGIN
  61. MENUITEM "&It", IDM_WRITE_IT
  62. END
  63. POPUP "Re&locate"
  64. BEGIN
  65. MENUITEM "&Sectors...", IDM_RELOCATE_SECTORS
  66. MENUITEM "NTFS &File Record...", IDM_RELOCATE_FRS
  67. MENUITEM "NTFS C&lusters...", IDM_RELOCATE_CLUSTERS
  68. MENUITEM "FAT &Root", IDM_RELOCATE_ROOT
  69. MENUITEM "FAT &Chain...", IDM_RELOCATE_CHAIN
  70. MENUITEM "F&ile...", IDM_RELOCATE_FILE
  71. END
  72. POPUP "&View"
  73. BEGIN
  74. MENUITEM "&Bytes", IDM_VIEW_BYTES
  75. MENUITEM "NTFS &File Record", IDM_VIEW_FRS
  76. MENUITEM "NTFS File &Index Buffer", IDM_VIEW_NTFS_INDEX
  77. MENUITEM "NTFS &Attribute List", IDM_VIEW_ATTR_LIST
  78. MENUITEM "FAT Boot Sector", IDM_VIEW_FAT_BOOT
  79. MENUITEM "NTFS Boot Sector", IDM_VIEW_NTFS_BOOT
  80. MENUITEM "&Partition Table", IDM_VIEW_PARTITION_TABLE
  81. MENUITEM "&GPT", IDM_VIEW_GPT
  82. MENUITEM "&Restart Area", IDM_VIEW_RESTART_AREA
  83. MENUITEM "&Record Page", IDM_VIEW_RECORD_PAGE
  84. MENUITEM "L&og Record", IDM_VIEW_LOG_RECORD
  85. MENUITEM SEPARATOR
  86. MENUITEM "NTFS Security I&d Index Buffer", IDM_VIEW_NTFS_SECURITY_ID
  87. MENUITEM "NTFS Security Id &Hash Buffer",
  88. IDM_VIEW_NTFS_SECURITY_HASH
  89. MENUITEM "NTFS Security Descriptor Stream",
  90. IDM_VIEW_NTFS_SECURITY_STREAM
  91. MENUITEM SEPARATOR
  92. MENUITEM "&Last\tF2", IDM_VIEW_LAST
  93. MENUITEM SEPARATOR
  94. MENUITEM "&Split", IDM_VIEW_SPLIT
  95. END
  96. POPUP "&Crack"
  97. BEGIN
  98. MENUITEM "&NTFS Path...", IDM_CRACK_NTFS
  99. MENUITEM "&FAT Path...", IDM_CRACK_FAT
  100. MENUITEM "&Backtrack NTFS FRS", IDM_BACKTRACK_FRS
  101. MENUITEM "&LSN", IDM_CRACK_LSN
  102. MENUITEM "Next L&SN", IDM_CRACK_NEXT_LSN
  103. END
  104. END
  105. /////////////////////////////////////////////////////////////////////////////
  106. //
  107. // Dialog
  108. //
  109. ABOUTBOX DIALOG DISCARDABLE 22, 17, 144, 75
  110. STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
  111. CAPTION "About DiskEdit"
  112. BEGIN
  113. CTEXT "Microsoft Windows",-1,0,5,144,8
  114. CTEXT "DiskEdit Application",-1,0,14,144,8
  115. CTEXT "Version 0.1",-1,0,34,144,8
  116. DEFPUSHBUTTON "OK",IDOK,53,59,32,14,WS_GROUP
  117. END
  118. OPENVOLUMEBOX DIALOG DISCARDABLE 18, 38, 160, 100
  119. STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  120. CAPTION "Open Volume"
  121. FONT 8, "MS Shell Dlg"
  122. BEGIN
  123. LTEXT "Volume &Name:",103,6,8,49,8
  124. EDITTEXT IDTEXT,6,20,87,12,ES_AUTOHSCROLL
  125. LTEXT "Volume &File Name:",105,6,41,65,10
  126. EDITTEXT IDTEXT2,6,55,87,12,ES_AUTOHSCROLL
  127. CONTROL "&Lock Volume",IDCHECKBOX,"Button",BS_AUTOCHECKBOX |
  128. WS_TABSTOP,6,81,56,10
  129. DEFPUSHBUTTON "OK",IDOK,114,9,40,14
  130. PUSHBUTTON "Cancel",IDCANCEL,114,31,40,14
  131. END
  132. READSECTORSBOX DIALOG DISCARDABLE 126, 70, 135, 63
  133. STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  134. CAPTION "Sectors"
  135. FONT 8, "MS Shell Dlg"
  136. BEGIN
  137. GROUPBOX "Starting Sector:",101,11,10,58,23
  138. EDITTEXT IDTEXT,13,20,49,11,ES_AUTOHSCROLL
  139. EDITTEXT IDTEXT2,77,20,42,11,ES_AUTOHSCROLL
  140. PUSHBUTTON "OK",IDOK,19,43,40,14
  141. PUSHBUTTON "Cancel",IDCANCEL,75,43,40,14
  142. GROUPBOX "Run Length:",105,74,10,48,23
  143. END
  144. READCLUSTERSBOX DIALOG DISCARDABLE 126, 70, 135, 63
  145. STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  146. CAPTION "NTFS Clusters"
  147. FONT 8, "MS Shell Dlg"
  148. BEGIN
  149. GROUPBOX "Starting Cluster:",101,11,10,58,23
  150. EDITTEXT IDTEXT,13,20,49,11,ES_AUTOHSCROLL
  151. EDITTEXT IDTEXT2,77,20,42,11,ES_AUTOHSCROLL
  152. PUSHBUTTON "OK",IDOK,19,43,40,14
  153. PUSHBUTTON "Cancel",IDCANCEL,75,43,40,14
  154. GROUPBOX "Run Length:",105,74,10,48,23
  155. END
  156. READFRSBOX DIALOGEX 50, 50, 343, 138
  157. STYLE DS_MODALFRAME | DS_3DLOOK | WS_POPUP | WS_VISIBLE | WS_CAPTION |
  158. WS_SYSMENU
  159. CAPTION "Read an NTFS File Record"
  160. FONT 8, "MS Shell Dlg"
  161. BEGIN
  162. EDITTEXT IDTEXT,59,72,265,12,ES_AUTOHSCROLL
  163. DEFPUSHBUTTON "OK",IDOK,104,104,52,19
  164. PUSHBUTTON "Cancel",IDCANCEL,180,104,52,19
  165. LTEXT "Input either a file ID or a file name.",IDSTATIC,5,12,
  166. 132,8
  167. LTEXT "Volume: ",IDSTATIC,5,34,33,8
  168. LTEXT " Volume:",IDVOLUME,59,33,265,16,SS_CENTERIMAGE |
  169. WS_BORDER,WS_EX_CLIENTEDGE
  170. CONTROL "File &Name",IDRADIO1,"Button",BS_AUTORADIOBUTTON,4,66,47,
  171. 10
  172. CONTROL "File &ID",IDRADIO2,"Button",BS_AUTORADIOBUTTON,4,79,36,
  173. 10
  174. GROUPBOX "",IDSTATIC,2,58,52,39
  175. END
  176. READATTRIBUTEBOX DIALOG DISCARDABLE 126, 70, 164, 100
  177. STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  178. CAPTION "Read NTFS Attribute"
  179. FONT 8, "MS Shell Dlg"
  180. BEGIN
  181. LTEXT "&Base Frs Number:",101,8,10,61,10
  182. EDITTEXT IDTEXT,70,10,74,12,ES_AUTOHSCROLL
  183. LTEXT "Attribute &Type",102,8,30,58,8
  184. COMBOBOX IDTEXT2,70,30,88,40,CBS_DROPDOWN | CBS_AUTOHSCROLL |
  185. CBS_SORT | WS_VSCROLL | WS_TABSTOP
  186. LTEXT "Attribute &Name",103,8,50,55,8
  187. EDITTEXT IDTEXT3,70,50,74,12,ES_AUTOHSCROLL
  188. PUSHBUTTON "OK",IDOK,23,74,40,14
  189. PUSHBUTTON "Cancel",IDCANCEL,74,74,40,14
  190. END
  191. READLOGRECORDBOX DIALOG DISCARDABLE 126, 70, 120, 100
  192. STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  193. CAPTION "Log Record"
  194. FONT 8, "MS Shell Dlg"
  195. BEGIN
  196. GROUPBOX "Log Sequence Number",101,13,6,85,24
  197. EDITTEXT IDTEXT,16,16,61,11,ES_AUTOHSCROLL
  198. PUSHBUTTON "OK",IDOK,13,84,40,14
  199. PUSHBUTTON "Cancel",IDCANCEL,66,84,40,14
  200. END
  201. READCHAINBOX DIALOG DISCARDABLE 126, 70, 120, 64
  202. STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  203. CAPTION "FAT Chain"
  204. FONT 8, "MS Shell Dlg"
  205. BEGIN
  206. GROUPBOX "Starting Cluster:",101,13,6,74,24
  207. EDITTEXT IDTEXT,16,16,68,11,ES_AUTOHSCROLL
  208. PUSHBUTTON "OK",IDOK,13,44,40,14
  209. PUSHBUTTON "Cancel",IDCANCEL,66,44,40,14
  210. END
  211. ERRORBOX DIALOG DISCARDABLE 126, 70, 83, 38
  212. STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  213. CAPTION "Error!"
  214. FONT 8, "MS Shell Dlg"
  215. BEGIN
  216. PUSHBUTTON "OK",IDOK,20,11,40,14
  217. END
  218. INPUTPATHBOX DIALOG DISCARDABLE 126, 70, 175, 88
  219. STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  220. CAPTION "Path Input"
  221. FONT 8, "MS Shell Dlg"
  222. BEGIN
  223. GROUPBOX "Enter full path to crack:",101,4,16,156,34
  224. EDITTEXT IDTEXT,8,29,148,15,ES_AUTOHSCROLL
  225. PUSHBUTTON "OK",IDOK,39,68,40,14
  226. PUSHBUTTON "Cancel",IDCANCEL,95,68,40,14
  227. END
  228. READFILEBOX DIALOG DISCARDABLE 126, 70, 175, 88
  229. STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  230. CAPTION "File"
  231. FONT 8, "MS Shell Dlg"
  232. BEGIN
  233. GROUPBOX "Enter file name:",101,4,16,156,34
  234. EDITTEXT IDTEXT,8,29,148,15,ES_AUTOHSCROLL
  235. PUSHBUTTON "OK",IDOK,39,68,40,14
  236. PUSHBUTTON "Cancel",IDCANCEL,95,68,40,14
  237. END
  238. BACKTRACKFRSBOX DIALOG DISCARDABLE 126, 70, 100, 60
  239. STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  240. CAPTION "Backtrack FRS"
  241. FONT 8, "MS Shell Dlg"
  242. BEGIN
  243. EDITTEXT IDTEXT,58,28,32,12,ES_AUTOHSCROLL
  244. LTEXT "File Number:",102,10,30,43,8
  245. END
  246. CRACKLSNBOX DIALOG DISCARDABLE 126, 70, 100, 60
  247. STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  248. CAPTION "Crack LSN"
  249. FONT 8, "MS Shell Dlg"
  250. BEGIN
  251. EDITTEXT IDTEXT,48,28,42,12,ES_AUTOHSCROLL
  252. LTEXT "LSN:",102,10,30,33,8
  253. END
  254. CRACKNEXTLSNBOX DIALOG DISCARDABLE 126, 70, 100, 60
  255. STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  256. CAPTION "Find Next LSN"
  257. FONT 8, "MS Shell Dlg"
  258. BEGIN
  259. EDITTEXT IDTEXT,48,28,42,12,ES_AUTOHSCROLL
  260. LTEXT "This LSN:",102,10,30,33,8
  261. END
  262. /////////////////////////////////////////////////////////////////////////////
  263. //
  264. // Icon
  265. //
  266. // Icon with lowest ID value placed first to ensure application icon
  267. // remains consistent on all systems.
  268. DISKEDIT ICON DISCARDABLE "diskedit.ico"
  269. #ifndef _MAC
  270. /////////////////////////////////////////////////////////////////////////////
  271. //
  272. // Version
  273. //
  274. VS_VERSION_INFO VERSIONINFO
  275. FILEVERSION 5,0,1636,1
  276. PRODUCTVERSION 5,0,1636,1
  277. FILEFLAGSMASK 0x3fL
  278. #ifdef _DEBUG
  279. FILEFLAGS 0x1L
  280. #else
  281. FILEFLAGS 0x0L
  282. #endif
  283. FILEOS 0x40004L
  284. FILETYPE 0x1L
  285. FILESUBTYPE 0x0L
  286. BEGIN
  287. BLOCK "StringFileInfo"
  288. BEGIN
  289. BLOCK "040904B0"
  290. BEGIN
  291. VALUE "CompanyName", "Microsoft Corporation\0"
  292. VALUE "FileDescription", "Windows NT Raw disk editor\0"
  293. VALUE "FileVersion", "5.00.1636.1\0"
  294. VALUE "InternalName", "diskedit.exe\0"
  295. VALUE "LegalCopyright", "Copyright (C) Microsoft Corp. 1981-1997\0"
  296. VALUE "OriginalFilename", "diskedit.exe\0"
  297. VALUE "ProductName", "Microsoft(R) Windows NT(R) Operating System\0"
  298. VALUE "ProductVersion", "5.00.1636.1\0"
  299. END
  300. END
  301. BLOCK "VarFileInfo"
  302. BEGIN
  303. VALUE "Translation", 0x409, 1200
  304. END
  305. END
  306. #endif // !_MAC
  307. #ifdef APSTUDIO_INVOKED
  308. /////////////////////////////////////////////////////////////////////////////
  309. //
  310. // TEXTINCLUDE
  311. //
  312. 1 TEXTINCLUDE DISCARDABLE
  313. BEGIN
  314. "resource.h\0"
  315. END
  316. 2 TEXTINCLUDE DISCARDABLE
  317. BEGIN
  318. "#define APSTUDIO_HIDDEN_SYMBOLS\r\n"
  319. "#include ""windows.h""\r\n"
  320. "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n"
  321. "#include ""diskedit.h""\r\n"
  322. "#include ""ntverp.h""\r\n"
  323. "\0"
  324. END
  325. 3 TEXTINCLUDE DISCARDABLE
  326. BEGIN
  327. "\r\n"
  328. "\0"
  329. END
  330. #endif // APSTUDIO_INVOKED
  331. /////////////////////////////////////////////////////////////////////////////
  332. //
  333. // DESIGNINFO
  334. //
  335. #ifdef APSTUDIO_INVOKED
  336. GUIDELINES DESIGNINFO DISCARDABLE
  337. BEGIN
  338. "READFRSBOX", DIALOG
  339. BEGIN
  340. RIGHTMARGIN, 330
  341. TOPMARGIN, 3
  342. END
  343. END
  344. #endif // APSTUDIO_INVOKED
  345. #endif // English (U.S.) resources
  346. /////////////////////////////////////////////////////////////////////////////
  347. #ifndef APSTUDIO_INVOKED
  348. /////////////////////////////////////////////////////////////////////////////
  349. //
  350. // Generated from the TEXTINCLUDE 3 resource.
  351. //
  352. /////////////////////////////////////////////////////////////////////////////
  353. #endif // not APSTUDIO_INVOKED