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