2011-07-16 19:54:06 +00:00
|
|
|
|
LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_SIMPLIFIED
|
|
|
|
|
|
2012-12-14 23:29:22 +00:00
|
|
|
|
/* Dialog */
|
2013-10-13 22:31:17 +00:00
|
|
|
|
IDD_GUI DIALOGEX 0, 0, 240, 255
|
2015-04-19 00:55:40 +00:00
|
|
|
|
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
2015-01-03 09:53:01 +00:00
|
|
|
|
CAPTION "远程关机"
|
2017-12-28 00:04:53 +00:00
|
|
|
|
FONT 9, "宋体"
|
2012-12-14 23:29:22 +00:00
|
|
|
|
BEGIN
|
2015-01-03 09:53:01 +00:00
|
|
|
|
DEFPUSHBUTTON "确定(&O)", IDC_OK, 125, 232, 50, 14
|
|
|
|
|
PUSHBUTTON "取消(&C)", IDC_CANCEL, 178, 232, 50, 14
|
2022-03-31 17:30:52 +00:00
|
|
|
|
LTEXT "计算机(&M):", IDC_STATIC, 9, 9, 35, 36
|
2013-11-28 22:04:03 +00:00
|
|
|
|
LISTBOX IDC_COMPUTER_LIST, 8, 19, 162, 55
|
2018-03-21 21:27:04 +00:00
|
|
|
|
PUSHBUTTON "添加(&A)...", IDC_ADD_SYSTEM, 179, 19, 50, 14
|
2015-01-03 09:53:01 +00:00
|
|
|
|
PUSHBUTTON "删除(&R)", IDC_REMOVE_SYSTEM, 179, 36, 50, 14, WS_DISABLED
|
2018-03-21 21:27:04 +00:00
|
|
|
|
PUSHBUTTON "浏览(&B)...", IDC_BROWSE_SYSTEM, 179, 53, 50, 14
|
2015-01-03 09:53:01 +00:00
|
|
|
|
LTEXT "行动", IDC_ACTION, 11, 81, 20, 14
|
2013-11-28 22:04:03 +00:00
|
|
|
|
COMBOBOX IDC_ACTION_TYPE, 37, 79, 129, 14, WS_TABSTOP | CBS_DROPDOWN
|
2015-01-03 09:53:01 +00:00
|
|
|
|
CHECKBOX "警告用户", IDC_WARN_USERS, 175, 79, 55, 14, BS_AUTOCHECKBOX | WS_TABSTOP
|
|
|
|
|
LTEXT "显示警告", IDC_SHOW_WARN_ONE, 11, 99, 65, 14
|
2013-11-28 22:04:03 +00:00
|
|
|
|
EDITTEXT IDC_SHOW_WARN, 78, 97, 41, 14
|
2015-01-03 09:53:01 +00:00
|
|
|
|
LTEXT "秒", IDC_SHOW_WARN_TWO, 124, 99, 32, 10
|
|
|
|
|
GROUPBOX "关闭事件跟踪程序", IDC_STATIC, 5, 114, 224, 114
|
2022-03-31 17:30:52 +00:00
|
|
|
|
LTEXT "原因:", IDC_STATIC, 16, 130, 27, 8
|
2015-01-03 09:53:01 +00:00
|
|
|
|
CHECKBOX "计划", IDC_PLANNED, 175, 130, 40, 12, BS_AUTOCHECKBOX | WS_TABSTOP
|
2013-11-28 22:04:03 +00:00
|
|
|
|
COMBOBOX IDC_REASON_CODE, 17, 142, 198, 13, WS_TABSTOP | CBS_DROPDOWN
|
2022-03-31 17:30:52 +00:00
|
|
|
|
LTEXT "注释(&E):", IDC_COMMENT_CAPTION, 16, 159, 38, 8
|
2013-11-28 22:04:03 +00:00
|
|
|
|
EDITTEXT IDC_COMMENT_TEXT, 17, 171, 198, 50, WS_VSCROLL
|
2012-12-14 23:29:22 +00:00
|
|
|
|
END
|
|
|
|
|
|
|
|
|
|
/* Information and error messages */
|
2013-10-13 22:31:17 +00:00
|
|
|
|
STRINGTABLE
|
2012-12-14 23:29:22 +00:00
|
|
|
|
BEGIN
|
2018-03-21 21:27:04 +00:00
|
|
|
|
IDS_USAGE "ReactOS 关闭计算机实用工具\n\
|
2012-12-15 01:20:06 +00:00
|
|
|
|
\n\
|
2022-03-31 17:30:52 +00:00
|
|
|
|
用法:shutdown [/?] [/i | /l | /s | /r | /g | /a | /p | /h | /e] [/f]\n\
|
2012-12-15 01:20:06 +00:00
|
|
|
|
[/m \\\\computer][/t xxx][/d [p|u:]xx:yy [/c ""comment""]]\n\
|
|
|
|
|
\n\
|
2015-01-03 09:53:01 +00:00
|
|
|
|
没有参数或 /? 显示此帮助。\n\
|
2022-03-31 17:30:52 +00:00
|
|
|
|
/i 显示图形用户界面(GUI)。此选项必须是\n\
|
2015-01-03 09:53:01 +00:00
|
|
|
|
第一个。\n\
|
2018-03-21 21:27:04 +00:00
|
|
|
|
/l 只在本地系统上注销。不能与 /m 或 /d 同时使用。\n\
|
2015-01-03 09:53:01 +00:00
|
|
|
|
/s 关闭计算机。\n\
|
|
|
|
|
/r 重新启动计算机。\n\
|
|
|
|
|
/g 重新启动计算机并重新启动所有已注册的应用程序。\n\
|
2018-03-21 21:27:04 +00:00
|
|
|
|
/a 取消延时关闭计算机。只能在延时区间中使用。\n\
|
|
|
|
|
/p 无延时或警告关闭本地计算机。可以与 /d 或 /f\n\
|
|
|
|
|
同时使用。\n\
|
|
|
|
|
/h 休眠本地计算机。可以与 /f 同时使用 。\n\
|
2015-01-03 09:53:01 +00:00
|
|
|
|
/e 记录计算机意外的关机原因。\n\
|
2022-03-31 17:30:52 +00:00
|
|
|
|
/m \\\\computer 指定目标计算机(UNC 路径或 IP 地址)。\n\
|
2018-03-21 21:27:04 +00:00
|
|
|
|
/t xxx 设置延时时间为 xxx 秒后关闭计算机。\n\
|
2022-03-31 17:30:52 +00:00
|
|
|
|
有效范围从 0 开始到 315360000(10 年),\n\
|
2018-03-21 21:27:04 +00:00
|
|
|
|
默认值为 30。\n\
|
|
|
|
|
/c ""comment"" 为关闭或重新启动计算机的原因添加注释。\n\
|
|
|
|
|
允许最大 512 个字符。\n\
|
|
|
|
|
/f 不警告用户强制关闭正在运行的应用程序。如果您\n\
|
2022-03-31 17:30:52 +00:00
|
|
|
|
不指定任何其他参数,此选项还会执行注销。\n\
|
2018-03-21 21:27:04 +00:00
|
|
|
|
/d [p|u:]xx:yy 给出关闭或重新启动计算机的原因代码\n\
|
|
|
|
|
p 表示关闭或重新启动计算机是有计划的。\n\
|
|
|
|
|
u 表示原因由用户定义。\n\
|
2022-03-31 17:30:52 +00:00
|
|
|
|
如果 p 和 u 都没有被指定,则不会按照计划关闭或\n\
|
2018-03-21 21:27:04 +00:00
|
|
|
|
重新启动计算机。\n\
|
2022-03-31 17:30:52 +00:00
|
|
|
|
xx 是主要原因代码(小于 256 的正整数)。\n\
|
|
|
|
|
yy 是次要原因代码(小于 65536 的正整数)。\n"
|
2012-12-14 23:29:22 +00:00
|
|
|
|
|
2022-03-31 17:30:52 +00:00
|
|
|
|
IDS_ERROR_SHUTDOWN_REBOOT "错误:无法同时关闭和重新启动计算机。\n"
|
|
|
|
|
IDS_ERROR_TIMEOUT "错误:延时值 %u 超出限制(0-315360000)。\n"
|
|
|
|
|
IDS_ERROR_ABORT "错误:无法中止系统关闭。\n"
|
|
|
|
|
IDS_ERROR_LOGOFF "错误:无法注销系统。\n"
|
|
|
|
|
IDS_ERROR_SHUTDOWN "错误:无法关闭系统。\n"
|
|
|
|
|
IDS_ERROR_RESTART "错误:无法重新启动系统。\n"
|
|
|
|
|
IDS_ERROR_MAX_COMMENT_LENGTH "错误:注释长度超过由系统设置的最大限制。\n"
|
|
|
|
|
IDS_ERROR_HIBERNATE "错误:无法使系统进入休眠模式。\n"
|
|
|
|
|
IDS_ERROR_HIBERNATE_LOCAL "错误:无法远程启动休眠模式。\n"
|
|
|
|
|
IDS_ERROR_HIBERNATE_ENABLED "错误:没有启用休眠模式。\n"
|
2015-01-03 09:53:01 +00:00
|
|
|
|
IDS_ERROR_DIALOG_CAPTION "远程关机"
|
|
|
|
|
IDS_ERROR_DIALOG_INIT "无法显示图形用户界面。"
|
2012-12-14 23:29:22 +00:00
|
|
|
|
END
|
|
|
|
|
|
|
|
|
|
/* Remote shutdown action strings */
|
2013-10-13 22:31:17 +00:00
|
|
|
|
STRINGTABLE
|
2011-07-16 19:54:06 +00:00
|
|
|
|
BEGIN
|
2015-01-03 09:53:01 +00:00
|
|
|
|
IDS_ACTION_SHUTDOWN "关闭系统"
|
|
|
|
|
IDS_ACTION_RESTART "重新启动系统"
|
2018-12-04 16:13:39 +00:00
|
|
|
|
IDS_ACTION_UNEXPECTED_SHUTDOWN "备注意外的关机事件"
|
2012-12-14 23:29:22 +00:00
|
|
|
|
END
|
2011-07-16 19:54:06 +00:00
|
|
|
|
|
2012-12-14 23:29:22 +00:00
|
|
|
|
/* Remote shutdown reason strings */
|
2013-10-13 22:31:17 +00:00
|
|
|
|
STRINGTABLE
|
2012-12-14 23:29:22 +00:00
|
|
|
|
BEGIN
|
2015-01-03 09:53:01 +00:00
|
|
|
|
IDS_REASON_OTHER "其他"
|
2022-03-31 17:30:52 +00:00
|
|
|
|
IDS_REASON_HARDWARE_MAINTENANCE "硬件:维护"
|
|
|
|
|
IDS_REASON_HARDWARE_INSTALL "硬件:安装"
|
|
|
|
|
IDS_REASON_OS_RECOVER "操作系统:恢复"
|
|
|
|
|
IDS_REASON_OS_RECONFIGURE "操作系统:重新配置"
|
|
|
|
|
IDS_REASON_APP_MAINTENANCE "应用程序:维护"
|
|
|
|
|
IDS_REASON_APP_INSTALL "应用程序:安装"
|
|
|
|
|
IDS_REASON_APP_UNRESPONSIVE "应用程序:无响应"
|
|
|
|
|
IDS_REASON_APP_UNSTABLE "应用程序:不稳定"
|
2015-08-08 15:48:10 +00:00
|
|
|
|
IDS_REASON_SECURITY "安全问题"
|
2015-01-03 09:53:01 +00:00
|
|
|
|
IDS_REASON_NETWORK "网络连接丢失"
|
2011-07-16 19:54:06 +00:00
|
|
|
|
END
|