Source code of Windows XP (NT5)
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.

422 lines
16 KiB

  1. //Microsoft Developer Studio generated resource script.
  2. //
  3. #include "resource.h"
  4. // Generated Help ID header file
  5. #define APSTUDIO_HIDDEN_SYMBOLS
  6. #include "resource.hm"
  7. #undef APSTUDIO_HIDDEN_SYMBOLS
  8. #define APSTUDIO_READONLY_SYMBOLS
  9. /////////////////////////////////////////////////////////////////////////////
  10. //
  11. // Generated from the TEXTINCLUDE 2 resource.
  12. //
  13. #include "windows.h"
  14. #include<ntverp.h>
  15. /////////////////////////////////////////////////////////////////////////////
  16. #undef APSTUDIO_READONLY_SYMBOLS
  17. /////////////////////////////////////////////////////////////////////////////
  18. // English (U.S.) resources
  19. #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
  20. #ifdef _WIN32
  21. LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
  22. #pragma code_page(1252)
  23. #endif //_WIN32
  24. /////////////////////////////////////////////////////////////////////////////
  25. //
  26. // REGISTRY
  27. //
  28. IDR_USEREX_INTERFACES REGISTRY DISCARDABLE "interfaces.rgs"
  29. #ifdef _RTM_
  30. IDR_EXTCOPYNOUI REGISTRY DISCARDABLE "tsusrcpy.rgs"
  31. #endif
  32. /////////////////////////////////////////////////////////////////////////////
  33. //
  34. // Dialog
  35. //
  36. IDD_PAGE_SHADOW DIALOGEX 0, 0, 252, 218
  37. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  38. EXSTYLE WS_EX_CONTEXTHELP
  39. CAPTION "Remote control"
  40. FONT 8, "MS Shell Dlg", 0, 0, 0x1
  41. BEGIN
  42. LTEXT "Use this tab to configure Terminal Services remote control settings.",
  43. IDC_STATIC,7,7,238,16
  44. LTEXT "To remotely control or observe a user's session, select the following check box:",
  45. IDC_STATIC,7,24,229,18
  46. CONTROL "&Enable remote control",IDC_CHECK_SHADOW,"Button",
  47. BS_AUTOCHECKBOX | BS_TOP | BS_MULTILINE | WS_TABSTOP,7,
  48. 46,238,9,WS_EX_TRANSPARENT,HIDC_CHECK_SHADOW
  49. LTEXT "To require the user's permission to control or observe the session, select the following check box:",
  50. IDC_STATIC,16,61,229,18
  51. CONTROL "&Require user's permission",IDC_CHECK_NOTIFY,"Button",
  52. BS_AUTOCHECKBOX | BS_TOP | BS_MULTILINE | WS_GROUP |
  53. WS_TABSTOP,16,83,229,10,0,HIDC_CHECK_NOTIFY
  54. GROUPBOX "Level of control",IDC_STATIC_LEVELOFCTRL,16,98,229,56,0,
  55. WS_EX_TRANSPARENT
  56. LTEXT "Specify the level of control you want to have over a user's session",
  57. IDC_STATIC,25,112,217,8
  58. CONTROL "&View the user's session",IDC_RADIO_WATCH,"Button",
  59. BS_AUTORADIOBUTTON | WS_GROUP | WS_TABSTOP,25,123,202,10,
  60. 0,HIDC_RADIO_WATCH
  61. CONTROL "&Interact with the session",IDC_RADIO_CONTROL,"Button",
  62. BS_AUTORADIOBUTTON,25,136,202,10,0,HIDC_RADIO_CONTROL
  63. END
  64. IDD_PAGE_TIMEOUTS DIALOGEX 0, 0, 252, 218
  65. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  66. EXSTYLE WS_EX_CONTEXTHELP
  67. CAPTION "Sessions"
  68. FONT 8, "MS Shell Dlg"
  69. BEGIN
  70. LTEXT "Use this tab to set Terminal Services timeout and reconnection settings",
  71. IDC_STATIC,7,7,238,12
  72. CONTROL "",IDC_STATIC,"Static",SS_ETCHEDHORZ,7,20,238,1
  73. LTEXT "&End a disconnected session:",IDC_STATIC_DISCON,7,30,99,
  74. 8,0,0,HIDC_STATIC_DISCON
  75. COMBOBOX IDC_COMBO_DISCON,124,27,112,73,CBS_DROPDOWN | WS_VSCROLL |
  76. WS_TABSTOP,0,HIDC_STATIC_DISCON
  77. CONTROL "",IDC_STATIC,"Static",SS_ETCHEDHORZ,7,46,237,1
  78. CONTROL "Ac&tive session limit:",IDC_STATIC_CONNECTION,"Static",
  79. SS_LEFTNOWORDWRAP | WS_GROUP,7,57,70,8,0,
  80. HIDC_STATIC_CONNECTION
  81. COMBOBOX IDC_COMBO_CONNECT,124,54,112,73,CBS_DROPDOWN |
  82. WS_VSCROLL | WS_TABSTOP,0,HIDC_STATIC_CONNECTION
  83. LTEXT "&Idle session limit:",IDC_STATIC_IDLE,7,73,69,8,0,0,
  84. HIDC_STATIC_IDLE
  85. COMBOBOX IDC_COMBO_IDLE,124,70,112,73,CBS_DROPDOWN | WS_VSCROLL |
  86. WS_TABSTOP,0,HIDC_STATIC_IDLE
  87. LTEXT "When a session limit is reached or connection is broken:",
  88. IDC_STATIC,7,93,238,8
  89. CONTROL "&Disconnect from session",IDC_RADIO_DISCON,"Button",
  90. BS_AUTORADIOBUTTON | BS_TOP | BS_MULTILINE | WS_GROUP |
  91. WS_TABSTOP,16,105,229,10,0,HIDC_RADIO_DISCON
  92. CONTROL "End &session",IDC_RADIO_RESET,"Button",
  93. BS_AUTORADIOBUTTON | BS_TOP | BS_MULTILINE,16,118,229,10,
  94. 0,HIDC_RADIO_RESET
  95. CONTROL "",IDC_STATIC,"Static",SS_ETCHEDHORZ,7,135,237,1
  96. LTEXT "Allow reconnection:",IDC_STATIC,7,142,238,8
  97. CONTROL "&From any client",IDC_RADIO_ANYCLIENT,"Button",
  98. BS_AUTORADIOBUTTON | BS_TOP | BS_MULTILINE | WS_GROUP |
  99. WS_TABSTOP,16,155,229,10,0,HIDC_RADIO_ANYCLIENT
  100. CONTROL "From &originating client only",IDC_RADIO_PREVCLIENT,
  101. "Button",BS_AUTORADIOBUTTON | BS_TOP | BS_MULTILINE,16,
  102. 167,229,10,0,HIDC_RADIO_PREVCLIENT
  103. END
  104. IDD_PAGE_ENVIRO DIALOGEX 0, 0, 252, 218
  105. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  106. EXSTYLE WS_EX_CONTEXTHELP
  107. CAPTION "Environment"
  108. FONT 8, "MS Shell Dlg", 0, 0, 0x1
  109. BEGIN
  110. LTEXT "Use this tab to configure the Terminal Services startup environment. These settings override client-specified settings.",
  111. IDC_STATIC,7,7,238,22
  112. CONTROL "&Start the following program at logon:",
  113. IDC_CHECK_USEDEFAULT,"Button",BS_AUTOCHECKBOX | BS_TOP |
  114. BS_MULTILINE | WS_TABSTOP,16,46,220,10,0,
  115. HIDC_CHECK_USEDEFAULT
  116. LTEXT "&Program file name:",IDC_STATIC_CMD,25,61,75,9,0,0,
  117. HIDC_STATIC_CMD
  118. EDITTEXT IDC_EDIT_CMDLINE,25,72,211,13,ES_AUTOHSCROLL,0,
  119. HIDC_STATIC_CMD
  120. LTEXT "Start &in:",IDC_STATIC_WD,25,90,70,10,0,0,
  121. HIDC_STATIC_WD
  122. EDITTEXT IDC_EDIT_WDIR,25,101,211,13,ES_AUTOHSCROLL,0,
  123. HIDC_STATIC_WD
  124. GROUPBOX "Client devices",IDC_STATIC,7,129,238,60
  125. CONTROL "&Connect client drives at logon",IDC_CHECK_CCDL,"Button",
  126. BS_AUTOCHECKBOX | BS_TOP | BS_MULTILINE | WS_TABSTOP,16,
  127. 144,220,12,0,HIDC_CHECK_CCDL
  128. CONTROL "C&onnect client printers at logon",IDC_CHECK_CCPL,
  129. "Button",BS_AUTOCHECKBOX | BS_TOP | BS_MULTILINE |
  130. WS_TABSTOP,16,157,220,12,0,HIDC_CHECK_CCPL
  131. CONTROL "&Default to main client printer",IDC_CHECK_DMCP,"Button",
  132. BS_AUTOCHECKBOX | BS_TOP | BS_MULTILINE | WS_TABSTOP,16,
  133. 170,220,12,0,HIDC_CHECK_DMCP
  134. GROUPBOX "Starting program",IDC_STATIC,7,31,238,93
  135. END
  136. IDD_PAGE_PROFILE DIALOGEX 0, 0, 252, 218
  137. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  138. EXSTYLE WS_EX_CONTEXTHELP
  139. CAPTION "Terminal Services Profile"
  140. FONT 8, "MS Shell Dlg", 0, 0, 0x1
  141. BEGIN
  142. LTEXT "Use this tab to configure the Terminal Services user profile. Settings in this profile apply to Terminal Services.",
  143. IDC_STATIC,7,7,238,18
  144. LTEXT "&Profile Path:",IDC_USER_PROFILE,16,44,54,8,0,0,
  145. HIDC_USER_PROFILE
  146. EDITTEXT IDC_EDIT_USRPROFILE,16,56,220,14,ES_AUTOHSCROLL,0,
  147. HIDC_USER_PROFILE
  148. CONTROL "&Local path",IDC_RADIO_LOCAL,"Button",
  149. BS_AUTORADIOBUTTON | BS_TOP | BS_MULTILINE,16,117,54,10,
  150. 0,HIDC_EDIT_LOCALPATH
  151. EDITTEXT IDC_EDIT_LOCALPATH,70,116,166,14,ES_AUTOHSCROLL,0,
  152. HIDC_EDIT_LOCALPATH
  153. CONTROL "&Connect:",IDC_RADIO_REMOTE,"Button",BS_AUTORADIOBUTTON |
  154. BS_TOP | BS_MULTILINE,16,145,54,10,0,HIDC_RADIO_REMOTE
  155. COMBOBOX IDC_COMBO_DRIVES,70,145,32,102,CBS_DROPDOWNLIST |
  156. CBS_SORT | WS_VSCROLL | WS_TABSTOP,0,HIDC_EDIT_REMOTEPATH
  157. LTEXT "&To:",IDC_TSP_DRIVE,113,147,20,8,0,0,HIDC_TSP_DRIVE
  158. HIDC_EDIT_REMOTEPATH
  159. EDITTEXT IDC_EDIT_REMOTEPATH,139,145,97,14,ES_AUTOHSCROLL,0,
  160. HIDC_EDIT_REMOTEPATH
  161. GROUPBOX "Terminal Services Home Folder",IDC_STATIC,7,97,238,77
  162. GROUPBOX "Terminal Services User Profile",IDC_STATIC,7,28,238,61
  163. CONTROL "Allo&w logon to terminal server",IDC_CHECK_ALLOWLOGON,
  164. "Button",BS_AUTOCHECKBOX | BS_TOP | BS_MULTILINE |
  165. WS_TABSTOP,7,182,238,9,0,HIDC_CHECK_ALLOWLOGON
  166. END
  167. #ifdef APSTUDIO_INVOKED
  168. /////////////////////////////////////////////////////////////////////////////
  169. //
  170. // TEXTINCLUDE
  171. //
  172. 1 TEXTINCLUDE DISCARDABLE
  173. BEGIN
  174. "resource.h\0"
  175. END
  176. 2 TEXTINCLUDE DISCARDABLE
  177. BEGIN
  178. "#include ""windows.h""\r\n"
  179. "\0"
  180. END
  181. 3 TEXTINCLUDE DISCARDABLE
  182. BEGIN
  183. "1 TYPELIB ""tsuserex.tlb""\r\n"
  184. "\0"
  185. END
  186. 4 TEXTINCLUDE DISCARDABLE
  187. BEGIN
  188. "#include<ntverp.h>\r\n"
  189. "\0"
  190. END
  191. #endif // APSTUDIO_INVOKED
  192. /////////////////////////////////////////////////////////////////////////////
  193. //
  194. // DESIGNINFO
  195. //
  196. #ifdef APSTUDIO_INVOKED
  197. GUIDELINES DESIGNINFO DISCARDABLE
  198. BEGIN
  199. IDD_PAGE_SHADOW, DIALOG
  200. BEGIN
  201. LEFTMARGIN, 7
  202. RIGHTMARGIN, 245
  203. VERTGUIDE, 16
  204. VERTGUIDE, 25
  205. VERTGUIDE, 227
  206. VERTGUIDE, 236
  207. TOPMARGIN, 7
  208. BOTTOMMARGIN, 211
  209. END
  210. IDD_PAGE_TIMEOUTS, DIALOG
  211. BEGIN
  212. LEFTMARGIN, 7
  213. RIGHTMARGIN, 245
  214. VERTGUIDE, 16
  215. VERTGUIDE, 25
  216. VERTGUIDE, 64
  217. VERTGUIDE, 124
  218. VERTGUIDE, 180
  219. VERTGUIDE, 227
  220. VERTGUIDE, 236
  221. TOPMARGIN, 7
  222. BOTTOMMARGIN, 211
  223. END
  224. IDD_PAGE_ENVIRO, DIALOG
  225. BEGIN
  226. LEFTMARGIN, 7
  227. RIGHTMARGIN, 245
  228. VERTGUIDE, 16
  229. VERTGUIDE, 25
  230. VERTGUIDE, 227
  231. VERTGUIDE, 236
  232. TOPMARGIN, 7
  233. BOTTOMMARGIN, 211
  234. END
  235. IDD_PAGE_PROFILE, DIALOG
  236. BEGIN
  237. LEFTMARGIN, 7
  238. RIGHTMARGIN, 245
  239. VERTGUIDE, 16
  240. VERTGUIDE, 25
  241. VERTGUIDE, 43
  242. VERTGUIDE, 70
  243. VERTGUIDE, 227
  244. VERTGUIDE, 236
  245. TOPMARGIN, 7
  246. BOTTOMMARGIN, 211
  247. END
  248. END
  249. #endif // APSTUDIO_INVOKED
  250. /////////////////////////////////////////////////////////////////////////////
  251. //
  252. // Dialog Info
  253. //
  254. IDD_PAGE_TIMEOUTS DLGINIT
  255. BEGIN
  256. IDC_COMBO_DISCON, 0x403, 11, 0
  257. 0x6f4e, 0x5420, 0x6d69, 0x6f65, 0x7475, "\000"
  258. IDC_COMBO_DISCON, 0x403, 2, 0
  259. 0x0035,
  260. IDC_COMBO_DISCON, 0x403, 3, 0
  261. 0x3031, "\000"
  262. IDC_COMBO_DISCON, 0x403, 3, 0
  263. 0x3032, "\000"
  264. IDC_COMBO_DISCON, 0x403, 3, 0
  265. 0x3033, "\000"
  266. IDC_COMBO_DISCON, 0x403, 3, 0
  267. 0x3534, "\000"
  268. IDC_COMBO_DISCON, 0x403, 3, 0
  269. 0x3036, "\000"
  270. IDC_COMBO_DISCON, 0x403, 6, 0
  271. 0x744f, 0x6568, 0x0072,
  272. IDC_COMBO_CONNECT, 0x403, 11, 0
  273. 0x6f4e, 0x5420, 0x6d69, 0x6f65, 0x7475, "\000"
  274. IDC_COMBO_CONNECT, 0x403, 2, 0
  275. 0x0035,
  276. IDC_COMBO_CONNECT, 0x403, 3, 0
  277. 0x3031, "\000"
  278. IDC_COMBO_CONNECT, 0x403, 3, 0
  279. 0x3032, "\000"
  280. IDC_COMBO_CONNECT, 0x403, 3, 0
  281. 0x3033, "\000"
  282. IDC_COMBO_CONNECT, 0x403, 3, 0
  283. 0x3534, "\000"
  284. IDC_COMBO_CONNECT, 0x403, 3, 0
  285. 0x3036, "\000"
  286. IDC_COMBO_CONNECT, 0x403, 6, 0
  287. 0x744f, 0x6568, 0x0072,
  288. IDC_COMBO_IDLE, 0x403, 11, 0
  289. 0x6f4e, 0x5420, 0x6d69, 0x6f65, 0x7475, "\000"
  290. IDC_COMBO_IDLE, 0x403, 2, 0
  291. 0x0035,
  292. IDC_COMBO_IDLE, 0x403, 3, 0
  293. 0x3031, "\000"
  294. IDC_COMBO_IDLE, 0x403, 3, 0
  295. 0x3032, "\000"
  296. IDC_COMBO_IDLE, 0x403, 3, 0
  297. 0x3033, "\000"
  298. IDC_COMBO_IDLE, 0x403, 3, 0
  299. 0x3534, "\000"
  300. IDC_COMBO_IDLE, 0x403, 3, 0
  301. 0x3036, "\000"
  302. IDC_COMBO_IDLE, 0x403, 6, 0
  303. 0x744f, 0x6568, 0x0072,
  304. 0
  305. END
  306. /////////////////////////////////////////////////////////////////////////////
  307. // VERSION INFO
  308. #define VER_FILETYPE VFT_APP
  309. #define VER_FILESUBTYPE VFT2_UNKNOWN
  310. #define VER_FILEDESCRIPTION_STR "Terminal Services Local Users and Groups Extension"
  311. #define VER_INTERNALNAME_STR "tsuserex"
  312. #define VER_ORIGINALFILENAME_STR "tsuserex.dll"
  313. #include <verall.h>
  314. #include "common.ver"
  315. /////////////////////////////////////////////////////////////////////////////
  316. //
  317. // String Table
  318. //
  319. STRINGTABLE DISCARDABLE
  320. BEGIN
  321. IDS_ERROR_PATH """%1"" is not an absolute path. Please enter an absolute path"
  322. IDS_ERROR_REMOTEPATH """%1"" is not a valid network shared directory name. Please enter a valid name"
  323. IDS_ERROR_NETPATH "You must enter a network shared directory name to be connected."
  324. IDS_WARN_PATH "The directory ""%1"" does not exist. You must create this directory manually."
  325. IDS_ERROR_TITLE "Terminal Services Properties"
  326. IDS_WARN_TITLE "Terminal Services Properties"
  327. IDS_HELPFILE "tsuserex.hlp"
  328. IDS_ERROR_NUMERICENTRY "Please insure that you've entered a numeric value"
  329. IDS_USERNAME "%username%"
  330. END
  331. STRINGTABLE DISCARDABLE
  332. BEGIN
  333. IDS_HR "hr"
  334. IDS_HRS "hrs"
  335. IDS_MIN "min"
  336. IDS_ERROR_TOOMANYDIGITS "%s has too many digits to parse."
  337. 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]."
  338. IDS_ERROR_MAXVALEXCEEDED
  339. "%s exceeded the maximum settings.\nThe maximum settings are 49 days and 17 hours."
  340. IDS_NAMESTRING_SNAPIN "Terminal Services - Extension"
  341. IDS_PROVIDER_SNAPIN "Microsoft Corporation"
  342. IDS_VERSION_SNAPIN "1.0"
  343. IDS_TSGETPROPSFAILED "Could not load Terminal Services properties for this user because: %s"
  344. IDS_TSGETPROPTITLE "Terminal Services Properties"
  345. IDS_COMBO_CONNECTION "Active session limit setting"
  346. IDS_COMBO_DISCONNECTION "End a disconnected session setting"
  347. IDS_COMBO_IDLECONNECTION "Idle session limit setting"
  348. IDS_TSOPSFAILED "Operation failed: %s"
  349. END
  350. STRINGTABLE DISCARDABLE
  351. BEGIN
  352. IDS_NOTIMEOUT "Never"
  353. IDS_DIGIT_DOT_DIGIT_TU "%1!d!.%2!d! %3"
  354. IDS_DIGIT_TU "%1!d! %2"
  355. IDS_DAYS "days"
  356. IDS_DAY "day"
  357. IDS_HOURS "hours"
  358. IDS_HOUR "hour"
  359. IDS_MINUTES "minutes"
  360. IDS_MINUTE "minute"
  361. IDS_D "d"
  362. IDS_H "h"
  363. IDS_M "m"
  364. IDS_TSUSERHELP "\\help\\tsuserex.chm"
  365. 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."
  366. 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."
  367. 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."
  368. IDS_ERR_CREATE_DIR "The home folder could not be created because: %s"
  369. END
  370. #endif // English (U.S.) resources
  371. /////////////////////////////////////////////////////////////////////////////
  372. #ifndef APSTUDIO_INVOKED
  373. /////////////////////////////////////////////////////////////////////////////
  374. //
  375. // Generated from the TEXTINCLUDE 3 resource.
  376. //
  377. 1 TYPELIB "tsuserex.tlb"
  378. /////////////////////////////////////////////////////////////////////////////
  379. #endif // not APSTUDIO_INVOKED