mirror of https://github.com/tongzx/nt5src
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
40 lines
1.3 KiB
#include <windows.h>
|
|
#include <ntverp.h>
|
|
|
|
#define VER_FILETYPE VFT_APP
|
|
#define VER_FILESUBTYPE VFT2_UNKNOWN
|
|
#define VER_FILEDESCRIPTION_STR "Microsoft\256 Mean Time To Failure Utility"
|
|
|
|
#define VER_INTERNALNAME_STR "MTTF.EXE"
|
|
#define VER_ORIGINALFILENAME_STR "MTTF.EXE"
|
|
|
|
#include <common.ver>
|
|
|
|
#include "mttf.h"
|
|
|
|
mttf ICON "mttf.ico"
|
|
|
|
IDD_SIGNON DIALOG 6, 18, 138, 90
|
|
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
|
|
CAPTION "Mttf Signon"
|
|
FONT 8, "MS Shell Dlg"
|
|
BEGIN
|
|
LTEXT "Why did you reboot/logoff?", -1, 20, 7, 92, 8
|
|
AUTORADIOBUTTON "&Normal/no problem", IDS_NORMAL, 20, 21, 74, 10
|
|
AUTORADIOBUTTON "&Shutdown/reboot for problem", IDS_WARM, 20, 35, 107, 10
|
|
AUTORADIOBUTTON "&Power-cycle for problem", IDS_COLD, 20, 49, 107, 10
|
|
DEFPUSHBUTTON "&OK", IDOK, 20, 69, 40, 14
|
|
PUSHBUTTON "&Help", IDB_HELP, 77, 69, 40, 14
|
|
END
|
|
|
|
IDD_EVENT DIALOG 61, 27, 123, 69
|
|
STYLE WS_OVERLAPPED | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_MINIMIZEBOX
|
|
CAPTION "Mttf (Enabled)"
|
|
FONT 8, "MS Shell Dlg"
|
|
BEGIN
|
|
DEFPUSHBUTTON "&Other Problem", IDOK, 18, 9, 87, 14
|
|
PUSHBUTTON "&Disable Mttf Reporting", IDE_DISABLE, 18, 29, 88, 14
|
|
PUSHBUTTON "&Cancel", IDCANCEL, 17, 48, 40, 14
|
|
PUSHBUTTON "&Help", IDB_HELP, 65, 48, 40, 14
|
|
END
|
|
|