143 lines
4.8 KiB
Plaintext
143 lines
4.8 KiB
Plaintext
//*************************************************************
|
|
//
|
|
// Userenv.rc - resource file
|
|
//
|
|
// Microsoft Confidential
|
|
// Copyright (c) Microsoft Corporation 1995
|
|
// All rights reserved
|
|
//
|
|
//*************************************************************
|
|
|
|
#include <windows.h>
|
|
#include <commctrl.h>
|
|
#include "resource.h"
|
|
|
|
|
|
#include <ntverp.h>
|
|
|
|
#define VER_FILETYPE VFT_APP
|
|
#define VER_FILESUBTYPE VFT2_UNKNOWN
|
|
#define VER_FILEDESCRIPTION_STR "Userenv"
|
|
#define VER_INTERNALNAME_STR "userenv\0"
|
|
#define VER_ORIGINALFILENAME_STR "userenv.dll"
|
|
|
|
#include "common.ver"
|
|
|
|
#include "uevents.rc"
|
|
|
|
IDB_SLOWLINK JPEG DISCARDABLE "msft.jpg"
|
|
|
|
STRINGTABLE
|
|
BEGIN
|
|
IDS_COMMON, " (Common)"
|
|
|
|
//
|
|
// Profile directory name
|
|
//
|
|
|
|
IDS_PROFILES_ROOT, "%SystemDrive%\\Documents and Settings"
|
|
|
|
//
|
|
// Special Folder directory names
|
|
//
|
|
|
|
IDS_SH_APPDATA, "Application Data"
|
|
IDS_SH_DESKTOP, "Desktop"
|
|
IDS_SH_FAVORITES, "Favorites"
|
|
IDS_SH_NETHOOD, "NetHood"
|
|
IDS_SH_PRINTHOOD, "PrintHood"
|
|
IDS_SH_RECENT, "Recent"
|
|
IDS_SH_SENDTO, "SendTo"
|
|
IDS_SH_STARTMENU, "Start Menu"
|
|
IDS_SH_TEMPLATES, "Templates"
|
|
IDS_SH_PERSONAL, "My Documents"
|
|
IDS_SH_PROGRAMS, "Start Menu\\Programs"
|
|
IDS_SH_STARTUP, "Start Menu\\Programs\\Startup"
|
|
IDS_SH_LOCALSETTINGS, "Local Settings"
|
|
IDS_SH_LOCALAPPDATA, "Application Data" // Local Settings
|
|
IDS_SH_CACHE "Temporary Internet Files" // Local Settings
|
|
IDS_SH_TEMP, "Temp" // Local Settings
|
|
IDS_SH_COOKIES, "Cookies"
|
|
IDS_SH_HISTORY, "History" // Local Settings
|
|
IDS_SH_MYPICTURES, "My Documents\\My Pictures"
|
|
IDS_SH_SHAREDDOCS, "Documents"
|
|
|
|
IDS_SH_PERSONAL2 "Personal"
|
|
IDS_SH_MYPICTURES2 "Personal\\My Pictures"
|
|
IDS_SH_TEMPLATES2, "%systemroot%\\shellnew"
|
|
|
|
//
|
|
// Format for profile directory naming
|
|
//
|
|
|
|
IDS_PROFILE_FORMAT, "%s.%s"
|
|
IDS_PROFILEDOMAINNAME_FORMAT, ".%s"
|
|
|
|
//
|
|
// Well known domain names
|
|
//
|
|
|
|
IDS_NT_AUTHORITY, "NT AUTHORITY"
|
|
IDS_BUILTIN, "BUILTIN"
|
|
|
|
//
|
|
// Misc
|
|
//
|
|
|
|
IDS_LOCALGPONAME, "Local Group Policy"
|
|
IDS_TEMPINTERNETFILES, "Temporary Internet files"
|
|
IDS_HISTORY, "History"
|
|
IDS_EXCLUSIONLIST, "Local Settings;Temporary Internet Files;History;Temp"
|
|
IDS_REGISTRYNAME, "Registry"
|
|
IDS_CALLEXTENSION, "Applying %.50s policy..."
|
|
IDS_USER_SETTINGS, "Applying your personal settings..."
|
|
IDS_COMPUTER_SETTINGS, "Applying computer settings..."
|
|
IDS_GPCORE_NAME, "Group Policy Infrastructure"
|
|
|
|
END
|
|
|
|
IDI_PROFILE ICON profile.ico
|
|
|
|
IDD_LOGIN_SLOW_LINK DIALOG 6, 18, 225, 75
|
|
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION
|
|
CAPTION "Slow Network Connection"
|
|
FONT 8, "MS Shell Dlg"
|
|
BEGIN
|
|
ICON IDI_PROFILE, 101, 10, 12, 18, 20
|
|
LTEXT "Windows detected a slow network connection. Would you like to download your profile or use the locally stored copy?",
|
|
-1, 45, 10, 114, 48
|
|
DEFPUSHBUTTON "&Download", IDC_DOWNLOAD, 165, 10, 50, 14, BS_NOTIFY
|
|
PUSHBUTTON "Use &Local", IDC_LOCAL, 165, 27, 50, 14
|
|
RTEXT "Time remaining:", IDC_TIMETITLE, 147, 60, 54, 8
|
|
LTEXT "", IDC_TIMEOUT, 205, 60, 12, 8
|
|
END
|
|
|
|
|
|
|
|
IDD_LOGOFF_SLOW_LINK DIALOG 6, 18, 225, 75
|
|
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION
|
|
CAPTION "Slow Network Connection"
|
|
FONT 8, "MS Shell Dlg"
|
|
BEGIN
|
|
ICON IDI_PROFILE, 101, 10, 12, 18, 20
|
|
LTEXT "Windows detected a slow network connection. Uploading your profile to the server may take some time. Would you like to upload your profile?",
|
|
-1, 45, 10, 114, 48
|
|
DEFPUSHBUTTON "&Upload", IDC_UPLOAD, 165, 10, 50, 14, BS_NOTIFY
|
|
PUSHBUTTON "Don't &Upload", IDC_NOUPLOAD, 165, 27, 50, 14
|
|
RTEXT "Time remaining:", IDC_TIMETITLE, 147, 60, 54, 8
|
|
LTEXT "", IDC_TIMEOUT, 205, 60, 12, 8
|
|
END
|
|
|
|
|
|
IDD_ERROR DIALOG 6, 18, 250, 95
|
|
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION
|
|
CAPTION "User Environment"
|
|
FONT 8, "MS Shell Dlg"
|
|
BEGIN
|
|
ICON IDI_PROFILE, 101, 6, 10, 18, 20
|
|
DEFPUSHBUTTON "OK", IDOK, 190, 10, 50, 14, BS_NOTIFY
|
|
EDITTEXT IDC_ERRORTEXT, 37, 10, 145, 66, ES_MULTILINE |
|
|
ES_AUTOVSCROLL | ES_READONLY | WS_VSCROLL
|
|
RTEXT "Time remaining:", IDC_TIMETITLE, 172, 80, 54, 8
|
|
LTEXT "", IDC_TIMEOUT, 230, 80, 12, 8
|
|
END |