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.

273 lines
9.5 KiB

  1. /*++
  2. Copyright (c) 1993 Microsoft Corporation
  3. Module Name:
  4. strings.c
  5. Abstract:
  6. String Constant definitions for the Net Client Disk Utility.
  7. Author:
  8. Bob Watson (a-robw)
  9. Revision History:
  10. 17 Feb 94 Written
  11. --*/
  12. #include <windows.h>
  13. #include "otnboot.h"
  14. //
  15. // ncadmin.c strings
  16. //
  17. LPCTSTR szAppName = TEXT("NCAdmin"); // The name of this application
  18. //
  19. // copyflop.c format strings
  20. //
  21. LPCTSTR cszNames = TEXT("_names");
  22. LPCTSTR cszLabel = TEXT("_label");
  23. //
  24. // makeflop.c format strings
  25. //
  26. LPCTSTR fmtNetcardDefEntry = TEXT("netcard=%s,1,%s,1");
  27. LPCTSTR fmtTransportDefEntry = TEXT("transport=ms$ndishlp,MS$NDISHLP");
  28. LPCTSTR fmtTransportItem = TEXT("transport=%s,%s");
  29. LPCTSTR fmtLana0Entry = TEXT("lana0=%s,1,%s");
  30. LPCTSTR fmtLana1Entry = TEXT("lana1=%s,1,ms$ndishlp");
  31. LPCTSTR fmtIniSection = TEXT("[%s]");
  32. LPCTSTR fmtIniKeyEntry = TEXT("%s=%s");
  33. LPCTSTR fmtCmntIniKeyEntry = TEXT("; %s=%s");
  34. LPCTSTR fmtProtmanSection = TEXT("[protman]");
  35. LPCTSTR fmtBindingsEntry = TEXT("BINDINGS=%s");
  36. LPCTSTR fmtXifEntry = TEXT("%s_xif");
  37. LPCTSTR fmtLanabase0 = TEXT("LANABASE=0");
  38. LPCTSTR fmtNoFilesharing = TEXT("filesharing=no");
  39. LPCTSTR fmtNoPrintsharing = TEXT("printsharing=no");
  40. LPCTSTR fmtYesAutologon = TEXT("autologon=yes");
  41. LPCTSTR fmtComputernameEntry = TEXT("computername=%s");
  42. LPCTSTR fmtLanaRootOnA = TEXT("lanroot=A:\\NET");
  43. LPCTSTR fmtUsernameEntry = TEXT("username=%s");
  44. LPCTSTR fmtWorkgroupEntry = TEXT("workgroup=%s");
  45. LPCTSTR fmtNoReconnect = TEXT("reconnect=no");
  46. LPCTSTR fmtNoDirectHost = TEXT("directhost=no");
  47. LPCTSTR fmtNoDosPopHotKey = TEXT("dospophotkey=N");
  48. LPCTSTR fmtLmLogon0 = TEXT("lmlogon=0");
  49. LPCTSTR fmtLmLogon1 = TEXT("lmlogon=1");
  50. LPCTSTR fmtLogonDomainEntry = TEXT("logondomain=%s");
  51. LPCTSTR fmtPreferredRedirBasic = TEXT("preferredredir=basic");
  52. LPCTSTR fmtAutostartBasic = TEXT("autostart=basic");
  53. LPCTSTR fmtPreferredRedirFull = TEXT("preferredredir=full");
  54. LPCTSTR fmtAutostartFull = TEXT("autostart=full");
  55. LPCTSTR fmtMaxConnections = TEXT("maxconnections=8");
  56. LPCTSTR fmtNetworkDriversSection = TEXT("[network drivers]");
  57. LPCTSTR fmtNetcardEntry = TEXT("netcard=%s");
  58. LPCTSTR fmtTcpTransportEntry = TEXT("transport=tcpdrv.dos,nemm.dos");
  59. LPCTSTR fmtNdisTransportEntry = TEXT("transport=ndishlp.sys");
  60. LPCTSTR fmtNetbeuiAddon = TEXT(",*netbeui");
  61. LPCTSTR fmtDevdir = TEXT("devdir=A:\\NET");
  62. LPCTSTR fmtLoadRmDrivers = TEXT("LoadRMDrivers=yes");
  63. LPCTSTR fmtPasswordListSection = TEXT("[Password Lists]");
  64. #ifdef JAPAN
  65. LPCTSTR fmtPause = TEXT("@pause");
  66. #endif
  67. LPCTSTR fmtPathSpec = TEXT("path=a:\\net");
  68. LPCTSTR fmtNetPrefix = TEXT("a:\\net\\");
  69. LPCTSTR fmtNetUseDrive = TEXT("net use z: %s");
  70. LPCTSTR fmtSetupCommand = TEXT("z:\\%s\\%s");
  71. LPCTSTR fmtFilesParam = TEXT("files=30");
  72. LPCTSTR fmtDeviceIfsHlpSys = TEXT("device=a:\\net\\ifshlp.sys");
  73. LPCTSTR fmtLastDrive = TEXT("lastdrive=z");
  74. LPCTSTR fmtEmptyParam = TEXT("%s=");
  75. LPCTSTR fmtIpParam = TEXT("%s=%d %d %d %d");
  76. LPCTSTR fmtAutoexec = TEXT("_autoexec");
  77. LPCTSTR fmtNBSessions = TEXT("NBSessions=6");
  78. LPCTSTR fmtLoadHiMem = TEXT("DEVICE=A:\\NET\\HIMEM.SYS");
  79. LPCTSTR fmtLoadEMM386 = TEXT("DEVICE=A:\\NET\\EMM386.EXE NOEMS");
  80. LPCTSTR fmtDosHigh = TEXT("DOS=HIGH,UMB");
  81. #ifdef JAPAN
  82. LPCTSTR fmtBilingual = TEXT("DEVICE=A:\\NET\\DOSV\\BILING.SYS");
  83. LPCTSTR fmtFontSys = TEXT("DEVICE=A:\\NET\\DOSV\\JFONT.SYS /U=0 /P=A:\\NET\\DOSV");
  84. LPCTSTR fmtDispSys = TEXT("DEVICE=A:\\NET\\DOSV\\JDISP.SYS /HS=LC");
  85. LPCTSTR fmtKeyboard = TEXT("DEVICE=A:\\NET\\DOSV\\JKEYB.SYS A:\\NET\\DOSV\\JKEYBRD.SYS");
  86. LPCTSTR fmtNlsFunc = TEXT("INSTALL=A:\\NET\\DOSV\\NLSFUNC.EXE A:\\NET\\DOSV\\COUNTRY.SYS");
  87. #endif
  88. //
  89. // servconn.c format strings
  90. //
  91. LPCTSTR fmtRandomName = TEXT("%4.4x%4.4x%4.4x");
  92. LPCTSTR fmtIpAddr = TEXT("%d.%d.%d.%d");
  93. LPCTSTR fmtIpAddrParse = TEXT(" %d.%d.%d.%d");
  94. LPCTSTR cszZeroNetAddress = TEXT("000000000000");
  95. #ifdef JAPAN
  96. LPCTSTR fmtWinntUs = TEXT("winntus.exe");
  97. LPCTSTR fmtAppendUs = TEXT("us");
  98. #endif
  99. //
  100. // findclnt.c
  101. //
  102. LPCTSTR cszToolsDir = TEXT("clients\\srvtools");
  103. LPCTSTR cszSrvtoolsDir = TEXT("srvtools");
  104. LPCTSTR cszClientsDir = TEXT("clients");
  105. //
  106. // exitmess.c format strings
  107. //
  108. LPCTSTR fmtLeadingSpaces = TEXT(" ");
  109. //
  110. // INF file strings
  111. //
  112. LPCTSTR cszOTNCommonFiles = TEXT("OTN Common Files");
  113. #ifdef JAPAN
  114. LPCTSTR cszOTNDOSVFiles = TEXT("OTN DOS/V Files");
  115. LPCTSTR cszDOSV = TEXT("dosv");
  116. LPCTSTR cszDOSVLabel1 = TEXT("OTN-DISK1");
  117. LPCTSTR cszDOSVLabel2 = TEXT("OTN-DISK2");
  118. LPCTSTR cszDOSVCommonFiles = TEXT("OTN DOS/V Common Files");
  119. #endif
  120. LPCTSTR cszNetworkSetup = TEXT("[network.setup]");
  121. LPCTSTR cszInfVersion = TEXT("version=0x3110");
  122. LPCTSTR cszNdis2 = TEXT("ndis2");
  123. LPCTSTR cszDrivername = TEXT("drivername");
  124. LPCTSTR cszProtmanInstall = TEXT("protman_install");
  125. LPCTSTR cszNetdir = TEXT("netdir");
  126. LPCTSTR cszProtman = TEXT("protman");
  127. LPCTSTR cszMsNdisHlp = TEXT("[MS$NDISHLP]");
  128. LPCTSTR cszMsNdisHlpXif = TEXT("MS$NDISHLP_XIF");
  129. LPCTSTR cszNetworkSection = TEXT("[network]");
  130. LPCTSTR cszDirs = TEXT("Dirs");
  131. LPCTSTR cszDontShowDirs = TEXT("DontShowDirs");
  132. LPCTSTR cszSizes = TEXT("Sizes");
  133. LPCTSTR cszOtnInstall = TEXT("OTN Install");
  134. LPCTSTR cszClient = TEXT("Client");
  135. LPCTSTR cszInf = TEXT("Inf");
  136. LPCTSTR cszNetcard = TEXT("netcard");
  137. LPCTSTR cszOEMInfs = TEXT("OEMInfs");
  138. LPCTSTR cszOTN = TEXT("OTN");
  139. LPCTSTR cszDiskSet = TEXT("DiskSet");
  140. LPCTSTR cszCopyClients = TEXT("CopyClients");
  141. LPCTSTR csz_ClientTree_ = TEXT("_ClientTree_");
  142. LPCTSTR csz_ToolsTree_ = TEXT("_ToolsTree_");
  143. LPCTSTR csz_SystemFileSize_ = TEXT("_SystemFileSize_");
  144. LPCTSTR cszWarningClients = TEXT("WarningClients");
  145. LPCTSTR cszCaption = TEXT("caption");
  146. LPCTSTR cszDiskOptions = TEXT("DiskOptions");
  147. LPCTSTR cszUseCleanDisk = TEXT("UseCleanDisk");
  148. LPCTSTR cszUseCleanDiskYes = TEXT("Yes");
  149. //
  150. // "hardcoded" filenames
  151. //
  152. LPCTSTR cszAppInfName = TEXT ("ncadmin.inf");
  153. LPCTSTR cszOtnBootInf = TEXT ("ncadmin.inf");
  154. LPCTSTR cszSrvToolsInf = TEXT ("srvtools.inf");
  155. LPCTSTR cszConfigSys = TEXT("config.sys");
  156. LPCTSTR cszAutoexecBat = TEXT("autoexec.bat");
  157. LPCTSTR cszSystemIni = TEXT("system.ini");
  158. LPCTSTR cszProtocolIni = TEXT("protocol.ini");
  159. LPCTSTR cszNetUtils = TEXT("netutils");
  160. LPCTSTR cszSrvToolSigFile = TEXT("srvtools.inf");
  161. LPCTSTR cszNetMsgDll = TEXT("netmsg.dll");
  162. LPCTSTR fmtDiskNumber = TEXT("DISK%d");
  163. // files to look for in order to tell if it's bootable floppy
  164. const LPCTSTR szBootIdFiles[] = {
  165. TEXT("MSDOS.SYS"),
  166. TEXT("IO.SYS"),
  167. TEXT("IBMIO.SYS"),
  168. TEXT("COMMAND.COM"),
  169. NULL
  170. };
  171. //
  172. // "hardcoded" registry entries
  173. //
  174. LPCTSTR cszSystemProductOptions = TEXT("SYSTEM\\CurrentControlSet\\Control\\ProductOptions");
  175. LPCTSTR cszProductType = TEXT("ProductType");
  176. LPCTSTR cszLanmanNt = TEXT("LanmanNT");
  177. LPCTSTR cszWinNt = TEXT("WinNT");
  178. LPCTSTR cszNetDriveListKeyName = TEXT("Network\\");
  179. LPCTSTR cszRemotePathValue = TEXT("RemotePath");
  180. LPCTSTR cszLanmanServerShares = TEXT("SYSTEM\\CurrentControlSet\\Services\\LanmanServer\\Shares");
  181. LPCTSTR cszPath = TEXT("Path");
  182. LPCTSTR cszSoftwareMicrosoft = TEXT("SOFTWARE\\Microsoft");
  183. LPCTSTR cszCurrentVersion = TEXT("CurrentVersion");
  184. LPCTSTR cszSoftwareType = TEXT ("SoftwareType");
  185. LPCTSTR cszTransport = TEXT("transport");
  186. LPCTSTR cszTitle = TEXT ("Title");
  187. LPCTSTR cszProtocol = TEXT("Protocol");
  188. LPCTSTR cszUserInfoKey = TEXT("Software\\Microsoft\\Windows NT\\CurrentVersion\\Network");
  189. LPCTSTR cszLastClientServer = TEXT("LastClientServer");
  190. LPCTSTR cszLastClientSharepoint = TEXT("LastClientSharepoint");
  191. LPCTSTR cszLastToolsServer = TEXT("LastToolsServer");
  192. LPCTSTR cszLastToolsSharepoint = TEXT("LastToolsSharepoint");
  193. //
  194. // miscellaneous strings
  195. //
  196. LPCTSTR cszNet = TEXT("NET");
  197. LPCTSTR cszTCP = TEXT("TCP");
  198. LPCTSTR cszNetbeui = TEXT("NETBEUI");
  199. LPCTSTR cszBrowseFilterList = TEXT("Config files (*.inf)\0*.inf\0\0");
  200. LPCTSTR cszTcpKey = TEXT("TCP");
  201. LPCTSTR cszTcpIpEntry = TEXT("tcpip");
  202. LPCTSTR cszNetbeuiKey = TEXT("NETBEUI");
  203. LPCTSTR cszNetbeuiEntry = TEXT("ms$netbeui");
  204. LPCTSTR cszIpxKey = TEXT("NWLink");
  205. LPCTSTR cszIpxEntry = TEXT("ms$nwlink");
  206. LPCTSTR cszNetsetup = TEXT("netsetup");
  207. LPCTSTR cszDisks = TEXT("disks");
  208. LPCTSTR cszDisk = TEXT(" Disk");
  209. LPCTSTR cszSetupCmd = TEXT("SetupCmd");
  210. LPCTSTR cszDefaultGateway = TEXT("DefaultGateway0");
  211. LPCTSTR cszSubNetMask = TEXT("SubNetMask0");
  212. LPCTSTR cszIPAddress = TEXT("IPAddress0");
  213. LPCTSTR cszDisableDHCP = TEXT("DisableDHCP");
  214. LPCTSTR cszTcpIpDriver = TEXT("DriverName=TCPIP$");
  215. LPCTSTR cszBindings = TEXT("BINDINGS");
  216. LPCTSTR cszHelpFile = TEXT("NCADMIN.HLP");
  217. #ifdef TERMSRV
  218. LPCTSTR cszHelpSession = TEXT("Help");
  219. LPCTSTR cszHelpFileNameKey = TEXT("HelpFileName");
  220. #endif // TERMSRV
  221. LPCTSTR cszWfwDir = TEXT("wfw");
  222. LPCTSTR cszWin95Dir = TEXT("win95");
  223. LPCTSTR cszDebug = TEXT("Debug");
  224. LPCTSTR cszDefaultLocalizer = TEXT("LOCALIZER'S NAME");
  225. LPCTSTR cszFrame = TEXT("FRAME");
  226. LPCTSTR cszTokenRing = TEXT("tokenring");
  227. LPCTSTR cszTokenRingEntry = TEXT("TOKENRING");
  228. //
  229. // characters
  230. //
  231. LPCTSTR cszEmptyString = TEXT("\0");
  232. LPCTSTR cszCR = TEXT("\r");
  233. LPCTSTR cszCrLf = TEXT("\r\n");
  234. LPCTSTR cszComma = TEXT(",");
  235. LPCTSTR csz1 = TEXT("1");
  236. LPCTSTR csz0 = TEXT("0");
  237. LPCTSTR csz2Spaces = TEXT(" ");
  238. LPCTSTR cszPoundSign = TEXT("#");
  239. //
  240. // file related strings
  241. //
  242. LPCTSTR cszBackslash = TEXT("\\");
  243. LPCTSTR cszWildcardFile = TEXT("\\*.*");
  244. LPCTSTR cszWildcard = TEXT("*.*");
  245. LPCTSTR cszAColon = TEXT("A:");
  246. LPCTSTR cszBColon = TEXT("B:");
  247. #ifdef JAPAN
  248. // fixed kkntbug #11940
  249. // Network client administrator can not make install disks on PC with C drive as FD
  250. LPCTSTR cszLastDrive = TEXT("Z");
  251. LPCTSTR cszColon = TEXT(":");
  252. #endif
  253. LPCTSTR cszDisksSubDir = TEXT("disks\\");
  254. LPCTSTR cszDot = TEXT(".");
  255. LPCTSTR cszDotDot = TEXT("..");
  256. LPCTSTR cszDoubleBackslash = TEXT("\\\\");
  257. LPCTSTR cszADriveRoot = TEXT("A:\\");
  258. LPCTSTR cszBDriveRoot = TEXT("B:\\");