Leaked source code of windows server 2003
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.

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