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.

142 lines
5.0 KiB

  1. //*************************************************************
  2. //
  3. // Userenv.rc - resource file
  4. //
  5. // Microsoft Confidential
  6. // Copyright (c) Microsoft Corporation 1995
  7. // All rights reserved
  8. //
  9. //*************************************************************
  10. #include <windows.h>
  11. #include <commctrl.h>
  12. #include "resource.h"
  13. #include <ntverp.h>
  14. #define VER_FILETYPE VFT_APP
  15. #define VER_FILESUBTYPE VFT2_UNKNOWN
  16. #define VER_FILEDESCRIPTION_STR "Userenv"
  17. #define VER_INTERNALNAME_STR "userenv\0"
  18. #define VER_ORIGINALFILENAME_STR "userenv.dll"
  19. #include "common.ver"
  20. #include "uevents.rc"
  21. IDB_SLOWLINK JPEG DISCARDABLE "msft.jpg"
  22. STRINGTABLE
  23. BEGIN
  24. IDS_COMMON, " (Common)"
  25. //
  26. // Profile directory name
  27. //
  28. IDS_PROFILES_ROOT, "%SystemDrive%\\Documents and Settings"
  29. //
  30. // Special Folder directory names
  31. //
  32. IDS_SH_APPDATA, "Application Data"
  33. IDS_SH_DESKTOP, "Desktop"
  34. IDS_SH_FAVORITES, "Favorites"
  35. IDS_SH_NETHOOD, "NetHood"
  36. IDS_SH_PRINTHOOD, "PrintHood"
  37. IDS_SH_RECENT, "Recent"
  38. IDS_SH_SENDTO, "SendTo"
  39. IDS_SH_STARTMENU, "Start Menu"
  40. IDS_SH_TEMPLATES, "Templates"
  41. IDS_SH_PERSONAL, "My Documents"
  42. IDS_SH_PROGRAMS, "Start Menu\\Programs"
  43. IDS_SH_STARTUP, "Start Menu\\Programs\\Startup"
  44. IDS_SH_LOCALSETTINGS, "Local Settings"
  45. IDS_SH_LOCALAPPDATA, "Application Data" // Local Settings
  46. IDS_SH_CACHE "Temporary Internet Files" // Local Settings
  47. IDS_SH_TEMP, "Temp" // Local Settings
  48. IDS_SH_COOKIES, "Cookies"
  49. IDS_SH_HISTORY, "History" // Local Settings
  50. IDS_SH_MYPICTURES, "My Documents\\My Pictures"
  51. IDS_SH_SHAREDDOCS, "Documents"
  52. IDS_SH_PERSONAL2 "Personal"
  53. IDS_SH_MYPICTURES2 "Personal\\My Pictures"
  54. IDS_SH_TEMPLATES2, "%systemroot%\\shellnew"
  55. //
  56. // Format for profile directory naming
  57. //
  58. IDS_PROFILE_FORMAT, "%s.%s"
  59. IDS_PROFILEDOMAINNAME_FORMAT, ".%s"
  60. //
  61. // Well known domain names
  62. //
  63. IDS_NT_AUTHORITY, "NT AUTHORITY"
  64. IDS_BUILTIN, "BUILTIN"
  65. //
  66. // Misc
  67. //
  68. IDS_LOCALGPONAME, "Local Group Policy"
  69. IDS_TEMPINTERNETFILES, "Temporary Internet files"
  70. IDS_HISTORY, "History"
  71. IDS_EXCLUSIONLIST, "Local Settings;Temporary Internet Files;History;Temp"
  72. IDS_REGISTRYNAME, "Registry"
  73. IDS_CALLEXTENSION, "Applying %.50s policy..."
  74. IDS_USER_SETTINGS, "Applying your personal settings..."
  75. IDS_COMPUTER_SETTINGS, "Applying computer settings..."
  76. IDS_GPCORE_NAME, "Group Policy Infrastructure"
  77. END
  78. IDI_PROFILE ICON profile.ico
  79. IDD_LOGIN_SLOW_LINK DIALOG 6, 18, 225, 75
  80. STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION
  81. CAPTION "Slow Network Connection"
  82. FONT 8, "MS Shell Dlg"
  83. BEGIN
  84. ICON IDI_PROFILE, 101, 10, 12, 18, 20
  85. LTEXT "Windows detected a slow network connection. Would you like to download your profile or use the locally stored copy?",
  86. -1, 45, 10, 114, 48
  87. DEFPUSHBUTTON "&Download", IDC_DOWNLOAD, 165, 10, 50, 14, BS_NOTIFY
  88. PUSHBUTTON "Use &Local", IDC_LOCAL, 165, 27, 50, 14
  89. RTEXT "Time remaining:", IDC_TIMETITLE, 147, 60, 54, 8
  90. LTEXT "", IDC_TIMEOUT, 205, 60, 12, 8
  91. END
  92. IDD_LOGOFF_SLOW_LINK DIALOG 6, 18, 225, 75
  93. STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION
  94. CAPTION "Slow Network Connection"
  95. FONT 8, "MS Shell Dlg"
  96. BEGIN
  97. ICON IDI_PROFILE, 101, 10, 12, 18, 20
  98. LTEXT "Windows detected a slow network connection. Uploading your profile to the server may take some time. Would you like to upload your profile?",
  99. -1, 45, 10, 114, 48
  100. DEFPUSHBUTTON "&Upload", IDC_UPLOAD, 165, 10, 50, 14, BS_NOTIFY
  101. PUSHBUTTON "Don't &Upload", IDC_NOUPLOAD, 165, 27, 50, 14
  102. RTEXT "Time remaining:", IDC_TIMETITLE, 147, 60, 54, 8
  103. LTEXT "", IDC_TIMEOUT, 205, 60, 12, 8
  104. END
  105. IDD_ERROR DIALOG 6, 18, 250, 95
  106. STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION
  107. CAPTION "User Environment"
  108. FONT 8, "MS Shell Dlg"
  109. BEGIN
  110. ICON IDI_PROFILE, 101, 6, 10, 18, 20
  111. DEFPUSHBUTTON "OK", IDOK, 190, 10, 50, 14, BS_NOTIFY
  112. EDITTEXT IDC_ERRORTEXT, 37, 10, 145, 66, ES_MULTILINE |
  113. ES_AUTOVSCROLL | ES_READONLY | WS_VSCROLL
  114. RTEXT "Time remaining:", IDC_TIMETITLE, 172, 80, 54, 8
  115. LTEXT "", IDC_TIMEOUT, 230, 80, 12, 8
  116. END