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.

78 lines
2.7 KiB

  1. #define IDM_ABOUT 100
  2. #define IDM_OPEN 200
  3. #define IDM_READ_SECTORS 300
  4. #define IDM_READ_FRS 400
  5. #define IDM_READ_ATTRIBUTE 450
  6. #define IDM_VIEW_BYTES 500
  7. #define IDM_VIEW_FRS 600
  8. #define IDM_EXIT 700
  9. #define IDM_WRITE_IT 800
  10. #define IDM_READ_ROOT 900
  11. #define IDM_READ_CHAIN 1000
  12. #define IDM_READ_LOG_RECORD 1050
  13. #define IDM_VIEW_FAT_BOOT 1100
  14. #define IDM_VIEW_NTFS_BOOT 1200
  15. #define IDM_READ_PREVIOUS 1300
  16. #define IDM_READ_NEXT 1400
  17. #define IDM_READ_REMOVE 1500
  18. #define IDM_VIEW_LAST 1600
  19. #define IDM_CRACK_NTFS 1700
  20. #define IDM_CRACK_FAT 1800
  21. #define IDM_CRACK_LSN 1850
  22. #define IDM_CRACK_NEXT_LSN 1875
  23. #define IDM_VIEW_NTFS_INDEX 1900
  24. #define IDM_VIEW_NTFS_SECURITY_ID 1950
  25. #define IDM_VIEW_NTFS_SECURITY_HASH 1951
  26. #define IDM_VIEW_NTFS_SECURITY_STREAM 1952
  27. #define IDM_BACKTRACK_FRS 2000
  28. #define IDM_RELOCATE_SECTORS 2100
  29. #define IDM_RELOCATE_FRS 2200
  30. #define IDM_RELOCATE_ROOT 2300
  31. #define IDM_RELOCATE_CHAIN 2400
  32. #define IDM_READ_FILE 2600
  33. #define IDM_RELOCATE_FILE 2700
  34. #define IDM_READ_CLUSTERS 2800
  35. #define IDM_RELOCATE_CLUSTERS 2900
  36. #define IDM_VIEW_PARTITION_TABLE 3000
  37. #define IDM_VIEW_GPT 3050
  38. #define IDM_VIEW_RESTART_AREA 3100
  39. #define IDM_VIEW_RECORD_PAGE 3200
  40. #define IDM_VIEW_LOG_RECORD 3300
  41. #define IDM_VIEW_SPLIT 3400
  42. #define IDM_VIEW_ATTR_LIST 3500
  43. #define IDTEXT 51
  44. #define IDTEXT2 52
  45. #define IDCHECKBOX 53
  46. #define IDTEXT3 54
  47. #define IDLISTBOX 55
  48. #define IDVOLUME 56
  49. #define IDRADIO1 57
  50. #define IDRADIO2 58
  51. #define IDSTATIC -1
  52. BOOLEAN InitApplication(HINSTANCE);
  53. BOOLEAN InitInstance(HINSTANCE, INT, HWND*, HACCEL*);
  54. LRESULT MainWndProc(HWND, UINT, WPARAM, LPARAM);
  55. LRESULT SplitWndProc(HWND, UINT, WPARAM, LPARAM);
  56. LRESULT ChildWndProc(HWND, UINT, WPARAM, LPARAM);
  57. INT_PTR About(HWND, UINT, WPARAM, LPARAM);
  58. INT_PTR ReadSectors(HWND, UINT, WPARAM, LPARAM);
  59. INT_PTR ReadClusters(HWND, UINT, WPARAM, LPARAM);
  60. INT_PTR OpenVolume(HWND, UINT, WPARAM, LPARAM);
  61. INT_PTR ReadFrs(HWND, UINT, WPARAM, LPARAM);
  62. INT_PTR ReadChain(HWND, UINT, WPARAM, LPARAM);
  63. INT_PTR ReadLogRecord(HWND, UINT, WPARAM, LPARAM);
  64. INT_PTR InputPath(HWND, UINT, WPARAM, LPARAM);
  65. INT_PTR InputLsn(HWND, UINT, WPARAM, LPARAM);
  66. INT_PTR ReadTheFile(HWND, UINT, WPARAM, LPARAM);
  67. INT_PTR ReadAttribute(HWND, UINT, WPARAM, LPARAM);
  68. typedef struct _DISK_TYPE_TABLE {
  69. ULONG Code;
  70. PTCHAR Name;
  71. } DISK_TYPE_TABLE, *PDISK_TYPE_TABLE;
  72. extern DISK_TYPE_TABLE TypeCodeNameTab[];