windows-nt/Source/XPSP1/NT/termsrv/tsuserex/tsuserex.rc
2020-09-26 16:20:57 +08:00

423 lines
16 KiB
Plaintext

//Microsoft Developer Studio generated resource script.
//
#include "resource.h"
// Generated Help ID header file
#define APSTUDIO_HIDDEN_SYMBOLS
#include "resource.hm"
#undef APSTUDIO_HIDDEN_SYMBOLS
#define APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 2 resource.
//
#include "windows.h"
#include<ntverp.h>
/////////////////////////////////////////////////////////////////////////////
#undef APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
// English (U.S.) resources
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
#ifdef _WIN32
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
#pragma code_page(1252)
#endif //_WIN32
/////////////////////////////////////////////////////////////////////////////
//
// REGISTRY
//
IDR_USEREX_INTERFACES REGISTRY DISCARDABLE "interfaces.rgs"
#ifdef _RTM_
IDR_EXTCOPYNOUI REGISTRY DISCARDABLE "tsusrcpy.rgs"
#endif
/////////////////////////////////////////////////////////////////////////////
//
// Dialog
//
IDD_PAGE_SHADOW DIALOGEX 0, 0, 252, 218
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
EXSTYLE WS_EX_CONTEXTHELP
CAPTION "Remote control"
FONT 8, "MS Shell Dlg", 0, 0, 0x1
BEGIN
LTEXT "Use this tab to configure Terminal Services remote control settings.",
IDC_STATIC,7,7,238,16
LTEXT "To remotely control or observe a user's session, select the following check box:",
IDC_STATIC,7,24,229,18
CONTROL "&Enable remote control",IDC_CHECK_SHADOW,"Button",
BS_AUTOCHECKBOX | BS_TOP | BS_MULTILINE | WS_TABSTOP,7,
46,238,9,WS_EX_TRANSPARENT,HIDC_CHECK_SHADOW
LTEXT "To require the user's permission to control or observe the session, select the following check box:",
IDC_STATIC,16,61,229,18
CONTROL "&Require user's permission",IDC_CHECK_NOTIFY,"Button",
BS_AUTOCHECKBOX | BS_TOP | BS_MULTILINE | WS_GROUP |
WS_TABSTOP,16,83,229,10,0,HIDC_CHECK_NOTIFY
GROUPBOX "Level of control",IDC_STATIC_LEVELOFCTRL,16,98,229,56,0,
WS_EX_TRANSPARENT
LTEXT "Specify the level of control you want to have over a user's session",
IDC_STATIC,25,112,217,8
CONTROL "&View the user's session",IDC_RADIO_WATCH,"Button",
BS_AUTORADIOBUTTON | WS_GROUP | WS_TABSTOP,25,123,202,10,
0,HIDC_RADIO_WATCH
CONTROL "&Interact with the session",IDC_RADIO_CONTROL,"Button",
BS_AUTORADIOBUTTON,25,136,202,10,0,HIDC_RADIO_CONTROL
END
IDD_PAGE_TIMEOUTS DIALOGEX 0, 0, 252, 218
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
EXSTYLE WS_EX_CONTEXTHELP
CAPTION "Sessions"
FONT 8, "MS Shell Dlg"
BEGIN
LTEXT "Use this tab to set Terminal Services timeout and reconnection settings",
IDC_STATIC,7,7,238,12
CONTROL "",IDC_STATIC,"Static",SS_ETCHEDHORZ,7,20,238,1
LTEXT "&End a disconnected session:",IDC_STATIC_DISCON,7,30,99,
8,0,0,HIDC_STATIC_DISCON
COMBOBOX IDC_COMBO_DISCON,124,27,112,73,CBS_DROPDOWN | WS_VSCROLL |
WS_TABSTOP,0,HIDC_STATIC_DISCON
CONTROL "",IDC_STATIC,"Static",SS_ETCHEDHORZ,7,46,237,1
CONTROL "Ac&tive session limit:",IDC_STATIC_CONNECTION,"Static",
SS_LEFTNOWORDWRAP | WS_GROUP,7,57,70,8,0,
HIDC_STATIC_CONNECTION
COMBOBOX IDC_COMBO_CONNECT,124,54,112,73,CBS_DROPDOWN |
WS_VSCROLL | WS_TABSTOP,0,HIDC_STATIC_CONNECTION
LTEXT "&Idle session limit:",IDC_STATIC_IDLE,7,73,69,8,0,0,
HIDC_STATIC_IDLE
COMBOBOX IDC_COMBO_IDLE,124,70,112,73,CBS_DROPDOWN | WS_VSCROLL |
WS_TABSTOP,0,HIDC_STATIC_IDLE
LTEXT "When a session limit is reached or connection is broken:",
IDC_STATIC,7,93,238,8
CONTROL "&Disconnect from session",IDC_RADIO_DISCON,"Button",
BS_AUTORADIOBUTTON | BS_TOP | BS_MULTILINE | WS_GROUP |
WS_TABSTOP,16,105,229,10,0,HIDC_RADIO_DISCON
CONTROL "End &session",IDC_RADIO_RESET,"Button",
BS_AUTORADIOBUTTON | BS_TOP | BS_MULTILINE,16,118,229,10,
0,HIDC_RADIO_RESET
CONTROL "",IDC_STATIC,"Static",SS_ETCHEDHORZ,7,135,237,1
LTEXT "Allow reconnection:",IDC_STATIC,7,142,238,8
CONTROL "&From any client",IDC_RADIO_ANYCLIENT,"Button",
BS_AUTORADIOBUTTON | BS_TOP | BS_MULTILINE | WS_GROUP |
WS_TABSTOP,16,155,229,10,0,HIDC_RADIO_ANYCLIENT
CONTROL "From &originating client only",IDC_RADIO_PREVCLIENT,
"Button",BS_AUTORADIOBUTTON | BS_TOP | BS_MULTILINE,16,
167,229,10,0,HIDC_RADIO_PREVCLIENT
END
IDD_PAGE_ENVIRO DIALOGEX 0, 0, 252, 218
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
EXSTYLE WS_EX_CONTEXTHELP
CAPTION "Environment"
FONT 8, "MS Shell Dlg", 0, 0, 0x1
BEGIN
LTEXT "Use this tab to configure the Terminal Services startup environment. These settings override client-specified settings.",
IDC_STATIC,7,7,238,22
CONTROL "&Start the following program at logon:",
IDC_CHECK_USEDEFAULT,"Button",BS_AUTOCHECKBOX | BS_TOP |
BS_MULTILINE | WS_TABSTOP,16,46,220,10,0,
HIDC_CHECK_USEDEFAULT
LTEXT "&Program file name:",IDC_STATIC_CMD,25,61,75,9,0,0,
HIDC_STATIC_CMD
EDITTEXT IDC_EDIT_CMDLINE,25,72,211,13,ES_AUTOHSCROLL,0,
HIDC_STATIC_CMD
LTEXT "Start &in:",IDC_STATIC_WD,25,90,70,10,0,0,
HIDC_STATIC_WD
EDITTEXT IDC_EDIT_WDIR,25,101,211,13,ES_AUTOHSCROLL,0,
HIDC_STATIC_WD
GROUPBOX "Client devices",IDC_STATIC,7,129,238,60
CONTROL "&Connect client drives at logon",IDC_CHECK_CCDL,"Button",
BS_AUTOCHECKBOX | BS_TOP | BS_MULTILINE | WS_TABSTOP,16,
144,220,12,0,HIDC_CHECK_CCDL
CONTROL "C&onnect client printers at logon",IDC_CHECK_CCPL,
"Button",BS_AUTOCHECKBOX | BS_TOP | BS_MULTILINE |
WS_TABSTOP,16,157,220,12,0,HIDC_CHECK_CCPL
CONTROL "&Default to main client printer",IDC_CHECK_DMCP,"Button",
BS_AUTOCHECKBOX | BS_TOP | BS_MULTILINE | WS_TABSTOP,16,
170,220,12,0,HIDC_CHECK_DMCP
GROUPBOX "Starting program",IDC_STATIC,7,31,238,93
END
IDD_PAGE_PROFILE DIALOGEX 0, 0, 252, 218
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
EXSTYLE WS_EX_CONTEXTHELP
CAPTION "Terminal Services Profile"
FONT 8, "MS Shell Dlg", 0, 0, 0x1
BEGIN
LTEXT "Use this tab to configure the Terminal Services user profile. Settings in this profile apply to Terminal Services.",
IDC_STATIC,7,7,238,18
LTEXT "&Profile Path:",IDC_USER_PROFILE,16,44,54,8,0,0,
HIDC_USER_PROFILE
EDITTEXT IDC_EDIT_USRPROFILE,16,56,220,14,ES_AUTOHSCROLL,0,
HIDC_USER_PROFILE
CONTROL "&Local path",IDC_RADIO_LOCAL,"Button",
BS_AUTORADIOBUTTON | BS_TOP | BS_MULTILINE,16,117,54,10,
0,HIDC_EDIT_LOCALPATH
EDITTEXT IDC_EDIT_LOCALPATH,70,116,166,14,ES_AUTOHSCROLL,0,
HIDC_EDIT_LOCALPATH
CONTROL "&Connect:",IDC_RADIO_REMOTE,"Button",BS_AUTORADIOBUTTON |
BS_TOP | BS_MULTILINE,16,145,54,10,0,HIDC_RADIO_REMOTE
COMBOBOX IDC_COMBO_DRIVES,70,145,32,102,CBS_DROPDOWNLIST |
CBS_SORT | WS_VSCROLL | WS_TABSTOP,0,HIDC_EDIT_REMOTEPATH
LTEXT "&To:",IDC_TSP_DRIVE,113,147,20,8,0,0,HIDC_TSP_DRIVE
HIDC_EDIT_REMOTEPATH
EDITTEXT IDC_EDIT_REMOTEPATH,139,145,97,14,ES_AUTOHSCROLL,0,
HIDC_EDIT_REMOTEPATH
GROUPBOX "Terminal Services Home Folder",IDC_STATIC,7,97,238,77
GROUPBOX "Terminal Services User Profile",IDC_STATIC,7,28,238,61
CONTROL "Allo&w logon to terminal server",IDC_CHECK_ALLOWLOGON,
"Button",BS_AUTOCHECKBOX | BS_TOP | BS_MULTILINE |
WS_TABSTOP,7,182,238,9,0,HIDC_CHECK_ALLOWLOGON
END
#ifdef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// TEXTINCLUDE
//
1 TEXTINCLUDE DISCARDABLE
BEGIN
"resource.h\0"
END
2 TEXTINCLUDE DISCARDABLE
BEGIN
"#include ""windows.h""\r\n"
"\0"
END
3 TEXTINCLUDE DISCARDABLE
BEGIN
"1 TYPELIB ""tsuserex.tlb""\r\n"
"\0"
END
4 TEXTINCLUDE DISCARDABLE
BEGIN
"#include<ntverp.h>\r\n"
"\0"
END
#endif // APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// DESIGNINFO
//
#ifdef APSTUDIO_INVOKED
GUIDELINES DESIGNINFO DISCARDABLE
BEGIN
IDD_PAGE_SHADOW, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 245
VERTGUIDE, 16
VERTGUIDE, 25
VERTGUIDE, 227
VERTGUIDE, 236
TOPMARGIN, 7
BOTTOMMARGIN, 211
END
IDD_PAGE_TIMEOUTS, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 245
VERTGUIDE, 16
VERTGUIDE, 25
VERTGUIDE, 64
VERTGUIDE, 124
VERTGUIDE, 180
VERTGUIDE, 227
VERTGUIDE, 236
TOPMARGIN, 7
BOTTOMMARGIN, 211
END
IDD_PAGE_ENVIRO, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 245
VERTGUIDE, 16
VERTGUIDE, 25
VERTGUIDE, 227
VERTGUIDE, 236
TOPMARGIN, 7
BOTTOMMARGIN, 211
END
IDD_PAGE_PROFILE, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 245
VERTGUIDE, 16
VERTGUIDE, 25
VERTGUIDE, 43
VERTGUIDE, 70
VERTGUIDE, 227
VERTGUIDE, 236
TOPMARGIN, 7
BOTTOMMARGIN, 211
END
END
#endif // APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Dialog Info
//
IDD_PAGE_TIMEOUTS DLGINIT
BEGIN
IDC_COMBO_DISCON, 0x403, 11, 0
0x6f4e, 0x5420, 0x6d69, 0x6f65, 0x7475, "\000"
IDC_COMBO_DISCON, 0x403, 2, 0
0x0035,
IDC_COMBO_DISCON, 0x403, 3, 0
0x3031, "\000"
IDC_COMBO_DISCON, 0x403, 3, 0
0x3032, "\000"
IDC_COMBO_DISCON, 0x403, 3, 0
0x3033, "\000"
IDC_COMBO_DISCON, 0x403, 3, 0
0x3534, "\000"
IDC_COMBO_DISCON, 0x403, 3, 0
0x3036, "\000"
IDC_COMBO_DISCON, 0x403, 6, 0
0x744f, 0x6568, 0x0072,
IDC_COMBO_CONNECT, 0x403, 11, 0
0x6f4e, 0x5420, 0x6d69, 0x6f65, 0x7475, "\000"
IDC_COMBO_CONNECT, 0x403, 2, 0
0x0035,
IDC_COMBO_CONNECT, 0x403, 3, 0
0x3031, "\000"
IDC_COMBO_CONNECT, 0x403, 3, 0
0x3032, "\000"
IDC_COMBO_CONNECT, 0x403, 3, 0
0x3033, "\000"
IDC_COMBO_CONNECT, 0x403, 3, 0
0x3534, "\000"
IDC_COMBO_CONNECT, 0x403, 3, 0
0x3036, "\000"
IDC_COMBO_CONNECT, 0x403, 6, 0
0x744f, 0x6568, 0x0072,
IDC_COMBO_IDLE, 0x403, 11, 0
0x6f4e, 0x5420, 0x6d69, 0x6f65, 0x7475, "\000"
IDC_COMBO_IDLE, 0x403, 2, 0
0x0035,
IDC_COMBO_IDLE, 0x403, 3, 0
0x3031, "\000"
IDC_COMBO_IDLE, 0x403, 3, 0
0x3032, "\000"
IDC_COMBO_IDLE, 0x403, 3, 0
0x3033, "\000"
IDC_COMBO_IDLE, 0x403, 3, 0
0x3534, "\000"
IDC_COMBO_IDLE, 0x403, 3, 0
0x3036, "\000"
IDC_COMBO_IDLE, 0x403, 6, 0
0x744f, 0x6568, 0x0072,
0
END
/////////////////////////////////////////////////////////////////////////////
// VERSION INFO
#define VER_FILETYPE VFT_APP
#define VER_FILESUBTYPE VFT2_UNKNOWN
#define VER_FILEDESCRIPTION_STR "Terminal Services Local Users and Groups Extension"
#define VER_INTERNALNAME_STR "tsuserex"
#define VER_ORIGINALFILENAME_STR "tsuserex.dll"
#include <verall.h>
#include "common.ver"
/////////////////////////////////////////////////////////////////////////////
//
// String Table
//
STRINGTABLE DISCARDABLE
BEGIN
IDS_ERROR_PATH """%1"" is not an absolute path. Please enter an absolute path"
IDS_ERROR_REMOTEPATH """%1"" is not a valid network shared directory name. Please enter a valid name"
IDS_ERROR_NETPATH "You must enter a network shared directory name to be connected."
IDS_WARN_PATH "The directory ""%1"" does not exist. You must create this directory manually."
IDS_ERROR_TITLE "Terminal Services Properties"
IDS_WARN_TITLE "Terminal Services Properties"
IDS_HELPFILE "tsuserex.hlp"
IDS_ERROR_NUMERICENTRY "Please insure that you've entered a numeric value"
IDS_USERNAME "%username%"
END
STRINGTABLE DISCARDABLE
BEGIN
IDS_HR "hr"
IDS_HRS "hrs"
IDS_MIN "min"
IDS_ERROR_TOOMANYDIGITS "%s has too many digits to parse."
IDS_ERROR_PARSEINVALID "The information entered in %s is not in the correct format.\nRe-enter the information in this format: [ numeric value ] [ (d)ays (h)ours (m)inutes]."
IDS_ERROR_MAXVALEXCEEDED
"%s exceeded the maximum settings.\nThe maximum settings are 49 days and 17 hours."
IDS_NAMESTRING_SNAPIN "Terminal Services - Extension"
IDS_PROVIDER_SNAPIN "Microsoft Corporation"
IDS_VERSION_SNAPIN "1.0"
IDS_TSGETPROPSFAILED "Could not load Terminal Services properties for this user because: %s"
IDS_TSGETPROPTITLE "Terminal Services Properties"
IDS_COMBO_CONNECTION "Active session limit setting"
IDS_COMBO_DISCONNECTION "End a disconnected session setting"
IDS_COMBO_IDLECONNECTION "Idle session limit setting"
IDS_TSOPSFAILED "Operation failed: %s"
END
STRINGTABLE DISCARDABLE
BEGIN
IDS_NOTIMEOUT "Never"
IDS_DIGIT_DOT_DIGIT_TU "%1!d!.%2!d! %3"
IDS_DIGIT_TU "%1!d! %2"
IDS_DAYS "days"
IDS_DAY "day"
IDS_HOURS "hours"
IDS_HOUR "hour"
IDS_MINUTES "minutes"
IDS_MINUTE "minute"
IDS_D "d"
IDS_H "h"
IDS_M "m"
IDS_TSUSERHELP "\\help\\tsuserex.chm"
IDS_HOME_DIR_EXISTS "The %s home directory was not created because it already exists. You might want to select a different name, or make sure that the user has full access privileges to the existing one."
IDS_HOME_DIR_CREATE_FAILED "The %s home folder was not created because the path was not found. This could be caused by listing non-existant intermediate folders or by not finding the server or share. The user account has been updated with the new home folder value but you must create the directory manually."
IDS_HOME_DIR_CREATE_NO_ACCESS "The %s home folder was not created because you do not have create access on the server. The user account has been updated with the new home folder value but you must create the directory manually after obtaining the required access rights."
IDS_ERR_CREATE_DIR "The home folder could not be created because: %s"
END
#endif // English (U.S.) resources
/////////////////////////////////////////////////////////////////////////////
#ifndef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 3 resource.
//
1 TYPELIB "tsuserex.tlb"
/////////////////////////////////////////////////////////////////////////////
#endif // not APSTUDIO_INVOKED