Source code of Windows XP (NT5)
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.

40 lines
1.3 KiB

  1. #include <windows.h>
  2. #include <ntverp.h>
  3. #define VER_FILETYPE VFT_APP
  4. #define VER_FILESUBTYPE VFT2_UNKNOWN
  5. #define VER_FILEDESCRIPTION_STR "Microsoft\256 Mean Time To Failure Utility"
  6. #define VER_INTERNALNAME_STR "MTTF.EXE"
  7. #define VER_ORIGINALFILENAME_STR "MTTF.EXE"
  8. #include <common.ver>
  9. #include "mttf.h"
  10. mttf ICON "mttf.ico"
  11. IDD_SIGNON DIALOG 6, 18, 138, 90
  12. STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  13. CAPTION "Mttf Signon"
  14. FONT 8, "MS Shell Dlg"
  15. BEGIN
  16. LTEXT "Why did you reboot/logoff?", -1, 20, 7, 92, 8
  17. AUTORADIOBUTTON "&Normal/no problem", IDS_NORMAL, 20, 21, 74, 10
  18. AUTORADIOBUTTON "&Shutdown/reboot for problem", IDS_WARM, 20, 35, 107, 10
  19. AUTORADIOBUTTON "&Power-cycle for problem", IDS_COLD, 20, 49, 107, 10
  20. DEFPUSHBUTTON "&OK", IDOK, 20, 69, 40, 14
  21. PUSHBUTTON "&Help", IDB_HELP, 77, 69, 40, 14
  22. END
  23. IDD_EVENT DIALOG 61, 27, 123, 69
  24. STYLE WS_OVERLAPPED | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_MINIMIZEBOX
  25. CAPTION "Mttf (Enabled)"
  26. FONT 8, "MS Shell Dlg"
  27. BEGIN
  28. DEFPUSHBUTTON "&Other Problem", IDOK, 18, 9, 87, 14
  29. PUSHBUTTON "&Disable Mttf Reporting", IDE_DISABLE, 18, 29, 88, 14
  30. PUSHBUTTON "&Cancel", IDCANCEL, 17, 48, 40, 14
  31. PUSHBUTTON "&Help", IDB_HELP, 65, 48, 40, 14
  32. END