1LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US 2 3/* Dialog */ 4IDD_GUI DIALOGEX 0, 0, 240, 255 5STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU 6CAPTION "Remote Shutdown" 7FONT 8, "MS Shell Dlg" 8BEGIN 9 DEFPUSHBUTTON "&OK", IDC_OK, 125, 232, 50, 14 10 PUSHBUTTON "&Cancel", IDC_CANCEL, 178, 232, 50, 14 11 LTEXT "Co&mputers:", IDC_STATIC, 9, 9, 35, 36 12 LISTBOX IDC_COMPUTER_LIST, 8, 19, 162, 55 13 PUSHBUTTON "&Add...", IDC_ADD_SYSTEM, 179, 19, 50, 14 14 PUSHBUTTON "&Remove", IDC_REMOVE_SYSTEM, 179, 36, 50, 14, WS_DISABLED 15 PUSHBUTTON "&Browse...", IDC_BROWSE_SYSTEM, 179, 53, 50, 14 16 LTEXT "Action", IDC_ACTION, 11, 81, 20, 14 17 COMBOBOX IDC_ACTION_TYPE, 37, 79, 129, 14, WS_TABSTOP | CBS_DROPDOWN 18 CHECKBOX "Warn users", IDC_WARN_USERS, 175, 79, 55, 14, BS_AUTOCHECKBOX | WS_TABSTOP 19 LTEXT "Display warning for", IDC_SHOW_WARN_ONE, 11, 99, 65, 14 20 EDITTEXT IDC_SHOW_WARN, 78, 97, 41, 14 21 LTEXT "second(s)", IDC_SHOW_WARN_TWO, 124, 99, 32, 10 22 GROUPBOX "Shutdown Event Tracker", IDC_STATIC, 5, 114, 224, 114 23 LTEXT "Reason:", IDC_STATIC, 16, 130, 27, 8 24 CHECKBOX "Planned", IDC_PLANNED, 175, 130, 40, 12, BS_AUTOCHECKBOX | WS_TABSTOP 25 COMBOBOX IDC_REASON_CODE, 17, 142, 198, 13, WS_TABSTOP | CBS_DROPDOWN 26 LTEXT "Comm&ent:", IDC_COMMENT_CAPTION, 16, 159, 38, 8 27 EDITTEXT IDC_COMMENT_TEXT, 17, 171, 198, 50, WS_VSCROLL 28END 29 30/* Information and error messages */ 31STRINGTABLE 32BEGIN 33 IDS_USAGE "ReactOS Shutdown Utility\n\ 34\n\ 35Usage: shutdown [/?] [/i | /l | /s | /r | /g | /a | /p | /h | /e] [/f]\n\ 36 [/m \\\\computer][/t xxx][/d [p|u:]xx:yy [/c ""comment""]]\n\ 37\n\ 38 No arguments or /? Display this help.\n\ 39 /i Show the graphical user interface (GUI). This option must be the\n\ 40 first one.\n\ 41 /l Log off on the local system only. Cannot be used with /m or /d.\n\ 42 /s Shutdown the computer.\n\ 43 /r Restart the computer.\n\ 44 /g Restart the computer and restart all the registered applications.\n\ 45 /a Cancel a delayed shutdown. Can only be used during the delay\n\ 46 period.\n\ 47 /p Shutdown the local computer without any timeout or warning. Can be\n\ 48 used with /d or /f.\n\ 49 /h Hibernate the local computer. Usable with /f.\n\ 50 /e Document the reason for the unexpected computer shutdown.\n\ 51 /m \\\\computer Specify the target computer (UNC/IP address).\n\ 52 /t xxx Set the timeout period to xxx seconds before shutting down.\n\ 53 The valid range starts from 0 to 315360000 (10 years),\n\ 54 30 being the default value.\n\ 55 /c ""comment"" Comment on the reason for shutdown or restart.\n\ 56 512 characters maximum allowed.\n\ 57 /f Force running applications to close without warning users. If you\n\ 58 do not specify any other parameter, this option will also log off.\n\ 59 /d [p|u:]xx:yy Give the reason code for the shutdown or the restart.\n\ 60 p indicates that the shutdown or the restart is planned.\n\ 61 u indicates that the reason is defined by the user.\n\ 62 If neither p nor u are specified, the shutdown or the restart are\n\ 63 not planned.\n\ 64 xx is the major reason code (positive integer smaller than 256).\n\ 65 yy is the minor reason code (positive integer smaller than 65536).\n" 66 67 IDS_ERROR_SHUTDOWN_REBOOT "ERROR: Unable to shutdown and restart at the same time.\n" 68 IDS_ERROR_TIMEOUT "ERROR: Timeout value of %u is out of bounds (0-315360000).\n" 69 IDS_ERROR_ABORT "ERROR: Unable to abort the shutdown of the system.\n" 70 IDS_ERROR_LOGOFF "ERROR: Unable to logoff the system.\n" 71 IDS_ERROR_SHUTDOWN "ERROR: Unable to shutdown the system.\n" 72 IDS_ERROR_RESTART "ERROR: Unable to restart the system.\n" 73 IDS_ERROR_MAX_COMMENT_LENGTH "ERROR: Comment length exceeds maximum character limit set by the system.\n" 74 IDS_ERROR_HIBERNATE "ERROR: Unable to send system into hibernation mode.\n" 75 IDS_ERROR_HIBERNATE_LOCAL "ERROR: Hibernation mode cannot be started remotely.\n" 76 IDS_ERROR_HIBERNATE_ENABLED "ERROR: Hibernation mode is not enabled.\n" 77 IDS_ERROR_DIALOG_CAPTION "Remote Shutdown" 78 IDS_ERROR_DIALOG_INIT "Unable to display the graphical user interface." 79END 80 81/* Remote shutdown action strings */ 82STRINGTABLE 83BEGIN 84 IDS_ACTION_SHUTDOWN "Shutdown the system" 85 IDS_ACTION_RESTART "Restart the system" 86 IDS_ACTION_UNEXPECTED_SHUTDOWN "Annotate the unexpected shutdown" 87END 88 89/* Remote shutdown reason strings */ 90STRINGTABLE 91BEGIN 92 IDS_REASON_OTHER "Other" 93 IDS_REASON_HARDWARE_MAINTENANCE "Hardware: Maintenance" 94 IDS_REASON_HARDWARE_INSTALL "Hardware: Installation" 95 IDS_REASON_OS_RECOVER "Operating System: Recovery" 96 IDS_REASON_OS_RECONFIGURE "Operating System: Reconfigure" 97 IDS_REASON_APP_MAINTENANCE "Application: Maintenance" 98 IDS_REASON_APP_INSTALL "Application: Installation" 99 IDS_REASON_APP_UNRESPONSIVE "Application: Unresponsive" 100 IDS_REASON_APP_UNSTABLE "Application: Unstable" 101 IDS_REASON_SECURITY "Security Issue" 102 IDS_REASON_NETWORK "Loss of network connectivity" 103END 104