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.

239 lines
13 KiB

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. //
  5. // Copyright (C) Microsoft Corporation, 1997 - 1999
  6. //
  7. // File: strings.h
  8. //
  9. //--------------------------------------------------------------------------
  10. #undef CONST_STRING
  11. #undef CONST_STRINGA
  12. #undef CONST_STRINGW
  13. #ifdef _STRINGS_DEFINE_STRINGS
  14. #define CONST_STRING(rg,s) const TCHAR rg[] = TEXT(s);
  15. #define CONST_STRINGA(rg,s) const char rg[] = s;
  16. #define CONST_STRINGW(rg,s) const WCHAR rg[] = s;
  17. #else
  18. #define CONST_STRING(rg,s) extern const TCHAR rg[];
  19. #define CONST_STRINGA(rg,s) extern const char rg[];
  20. #define CONST_STRINGW(rg,s) extern const WCHAR rg[];
  21. #endif
  22. CONST_STRING(c_szAarpRetries, "AarpRetries")
  23. CONST_STRING(c_szActiveProvider, "ActiveProvider")
  24. CONST_STRING(c_szAdminShare, "ADMIN$")
  25. CONST_STRING(c_szAdminUICLSID, "AdminUICLSID")
  26. CONST_STRING(c_szAtlk, "AppleTalk")
  27. CONST_STRING(c_szAttachedTo, "AttachedTo")
  28. CONST_STRING(c_szAcctPort, "AcctPort")
  29. CONST_STRING(c_szAppleTalkService, "System\\CurrentControlSet\\Services\\AppleTalk\\Parameters")
  30. CONST_STRING(c_szAuthPort, "AuthPort")
  31. CONST_STRING(c_szBind, "Bind")
  32. CONST_STRING(c_szClientsRasKey, "Clients\\Ras")
  33. CONST_STRING(c_szConfigCLSID, "ConfigCLSID")
  34. CONST_STRING(c_szInvokeUsernameDialog, "InvokeUsernameDialog")
  35. CONST_STRING(c_szCSDVersion, "CSDVersion")
  36. CONST_STRING(c_szCurrentBuildNumber,"CurrentBuildNumber")
  37. CONST_STRING(c_szCurrentVersion, "CurrentVersion")
  38. CONST_STRING(c_szDdpCheckSums, "DdpCheckSums")
  39. CONST_STRING(c_szDefaultZone, "DefaultZone")
  40. CONST_STRING(c_szDescription, "Description")
  41. CONST_STRING(c_szDevice, "\\Device\\")
  42. CONST_STRING(c_szDeviceNbfNdisWanNbfIn, "\\Device\\Nbf_NdisWanNbfIn")
  43. CONST_STRING(c_szDialOutHours, "DialOutHours")
  44. CONST_STRING(c_szDisabled, "Disabled")
  45. CONST_STRING(c_szDisplayName, "DisplayName")
  46. CONST_STRING(c_szDLLName, "DLLName")
  47. CONST_STRING(c_szDLLPath, "DLLPath")
  48. CONST_STRING(c_szEAP, "EAP")
  49. CONST_STRING(c_szEnableAccounting, "EnableAccounting")
  50. CONST_STRING(c_szEnableAccountingOnOff, "EnableAccountingOnOff")
  51. CONST_STRING(c_szEnableAuthentication, "EnableAuthentication")
  52. CONST_STRING(c_szEnableForRas, "EnableForRas")
  53. CONST_STRING(c_szEnableForRouting, "EnableForRouting")
  54. CONST_STRING(c_szEnableForOutboundRouting, "EnableForOutboundRouting")
  55. CONST_STRING(c_szEnableRouter, "EnableRouter")
  56. CONST_STRING(c_szFlags, "Flags")
  57. CONST_STRING(c_szFriendlyName, "FriendlyName")
  58. CONST_STRING(c_szHKLM, "HKLM")
  59. CONST_STRING(c_szInterfacesKey, "System\\CurrentControlSet\\Services\\RemoteAccess\\Interfaces")
  60. CONST_STRING(c_szIPCShare, "IPC$")
  61. CONST_STRING(c_szL2TPMiniPort, "ms_l2tpminiport")
  62. CONST_STRING(c_szLinkage, "Linkage")
  63. CONST_STRING(c_szMacPrint, "MacPrint")
  64. CONST_STRING(c_szMaxWanEndpoints, "MaxWanEndpoints")
  65. CONST_STRING(c_szMicrosoft, "Microsoft")
  66. CONST_STRING(c_szMinWanEndpoints, "MinWanEndpoints")
  67. CONST_STRING(c_szModemKey, "System\\CurrentControlSet\\Control\\Class\\{4D36E96D-E325-11CE-BFC1-08002BE10318}")
  68. CONST_STRING(c_szMPPEEncryptionSupported, "MPPEEncryptionSupported")
  69. CONST_STRING(c_szNetworkCardsKey, "Software\\Microsoft\\Windows NT\\CurrentVersion\\NetworkCards")
  70. CONST_STRING(c_szNWSAPAgent, "NWSAPAgent")
  71. CONST_STRING(c_szPortName , "PortName")
  72. CONST_STRING(c_szPPTPMiniPort, "ms_pptpminiport")
  73. CONST_STRING(c_szProtocolId, "ProtocolId")
  74. CONST_STRING(c_szProviders, "Providers")
  75. CONST_STRING(c_szProviderTypeGUID, "ProviderTypeGUID")
  76. CONST_STRING(c_szPtiMiniPort, "ms_ptiminiport")
  77. CONST_STRING(c_szPPPoEMiniPort, "ms_pppoeminiport")
  78. CONST_STRING(c_szRadiusKey, "Software\\Microsoft\\Ras\\Radius")
  79. CONST_STRING(c_szRadiusAcctServersKey, "System\\CurrentControlSet\\Services\\RemoteAccess\\Accounting\\Providers\\{1AA7F840-C7F5-11D0-A376-00C04FC9DA04}\\Servers")
  80. CONST_STRING(c_szRadiusAuthServersKey, "System\\CurrentControlSet\\Services\\RemoteAccess\\Authentication\\Providers\\{1AA7F83F-C7F5-11D0-A376-00C04FC9DA04}\\Servers")
  81. CONST_STRING(c_szRAS, "RAS")
  82. CONST_STRING(c_szRasmanParameters, "System\\CurrentControlSet\\Services\\Rasman\\Parameters")
  83. CONST_STRING(c_szRasmanPPPKey, "System\\CurrentControlSet\\Services\\Rasman\\PPP")
  84. CONST_STRING(c_szEAPKey, "System\\CurrentControlSet\\Services\\Rasman\\PPP\\EAP")
  85. CONST_STRING(c_szRemoteAccess, "RemoteAccess")
  86. CONST_STRING(c_szRemoteAccessKey, "System\\CurrentControlSet\\Services\\RemoteAccess")
  87. CONST_STRING(c_szRouter, "Router")
  88. CONST_STRING(c_szRouterManagers, "RouterManagers")
  89. CONST_STRING(c_szRouterManagersKey, "Software\\Microsoft\\Router\\CurrentVersion\\RouterManagers")
  90. CONST_STRING(c_szRouterPbk, "Router.Pbk")
  91. CONST_STRING(c_szRouterPramNode, "RouterPramNode")
  92. CONST_STRING(c_szRouterType, "RouterType")
  93. CONST_STRING(c_szRtrConfigured, "ConfigurationFlags")
  94. CONST_STRING(c_szRouterPSK, "RouterPSK")
  95. CONST_STRING(c_szScore, "Score")
  96. CONST_STRING(c_szSeedingNetwork, "SeedingNetwork")
  97. CONST_STRING(c_szServerFlags, "ServerFlags")
  98. CONST_STRING(c_szSharedAccess, "SharedAccess")
  99. CONST_STRING(c_szSoftware, "Software")
  100. CONST_STRING(c_szSvcRouter, "RemoteAccess")
  101. CONST_STRING(c_szSvcEnableRouter, "EnableRouter")
  102. CONST_STRING(c_szSvcRasMan, "RasMan")
  103. CONST_STRING(c_szSystem32, "System32")
  104. CONST_STRING(c_szTimeout, "Timeout")
  105. CONST_STRING(c_szTitle, "Title")
  106. CONST_STRING(c_szUnlimited, "Unlimited")
  107. CONST_STRING(c_szUserPramNode1, "UserPramNode1")
  108. CONST_STRING(c_szUserPramNode2, "UserPramNode2")
  109. CONST_STRING(c_szVendorName, "VendorName")
  110. CONST_STRING(c_szWanEndpoints, "WanEndpoints")
  111. CONST_STRING(c_szWindowsNT, "Windows NT")
  112. CONST_STRING(c_szWinNT, "WinNT")
  113. CONST_STRING(c_szZoneList, "ZoneList")
  114. CONST_STRING(c_szMediaType, "MediaType")
  115. CONST_STRING(c_szServerNT, "ServerNT")
  116. CONST_STRING(c_szEnterprise, "Enterprise")
  117. CONST_STRING(c_szDataCenter, "DataCenter")
  118. CONST_STRING(c_szSecurityAppliance, "Security Appliance")
  119. CONST_STRING(c_szDash, "-")
  120. CONST_STRING(c_szBlank, "")
  121. // Temporary strings - mainly for NT5 Beta1 compatibility
  122. CONST_STRING(c_szClass, "Class")
  123. CONST_STRING(c_szControl, "Control")
  124. CONST_STRING(c_szDriver, "Driver")
  125. CONST_STRING(c_szEnum, "Enum")
  126. CONST_STRING(c_szNetworkCardsNT5Key,"System\\CurrentControlSet\\Control\\Network\\{4D36E972-E325-11CE-BFC1-08002BE10318}")
  127. CONST_STRING(c_szPnpInstanceID, "PnpInstanceID")
  128. CONST_STRING(c_szService, "Service")
  129. CONST_STRING(c_szServiceName, "ServiceName")
  130. CONST_STRING(c_szSystemCCS, "SYSTEM\\CurrentControlSet")
  131. // Registery key strings
  132. CONST_STRING(c_szRegKeyAppletalk,"System\\CurrentControlSet\\Services\\AppleTalk")
  133. CONST_STRING(c_szRegKeyAppletalkAdapter,"System\\CurrentControlSet\\Services\\AppleTalk\\Parameters\\Adapters\\")
  134. CONST_STRING(c_szRegKeyAppletalkParams,"System\\CurrentControlSet\\Services\\AppleTalk\\Parameters")
  135. CONST_STRING(c_szRegKeyComponentClasses, "System\\CurrentControlSet\\Control\\Network")
  136. CONST_STRING(c_szRegKeyConnection, "Connection")
  137. CONST_STRING(c_szRegKeyGUID_DEVCLASS_NET,"System\\CurrentControlSet\\Control\\Class\\{4D36E972-E325-11CE-BFC1-08002BE10318}")
  138. CONST_STRING(c_szRegKeyNbf, "System\\CurrentControlSet\\Services\\Nbf")
  139. CONST_STRING(c_szRegKeyNetBIOSLinkage, "System\\CurrentControlSet\\Services\\NetBIOS\\Linkage")
  140. CONST_STRING(c_szRegKeyNwlnkIpx, "System\\CurrentControlSet\\Services\\NwlnkIpx")
  141. CONST_STRING(c_szRegKeyPPPTracing, "Software\\Microsoft\\Tracing\\PPP")
  142. CONST_STRING(c_szRegKeyPptpProtocolParam, "System\\CurrentControlSet\\Services\\PptpProtocol\\Parameters")
  143. CONST_STRING(c_szRegKeyProductOptions, "System\\CurrentControlSet\\Control\\ProductOptions")
  144. CONST_STRING(c_szRegKeyRasAppletalk,"System\\CurrentControlSet\\Services\\RemoteAccess\\Parameters\\AppleTalk")
  145. CONST_STRING(c_szRegKeyRasIp, "System\\CurrentControlSet\\Services\\RemoteAccess\\Parameters\\Ip")
  146. CONST_STRING(c_szRegKeyRasIpRtrMgr, "System\\CurrentControlSet\\Services\\RemoteAccess\\RouterManagers\\Ip")
  147. CONST_STRING(c_szRegKeyRasIpx, "System\\CurrentControlSet\\Services\\RemoteAccess\\Parameters\\Ipx")
  148. CONST_STRING(c_szRegKeyRasNbf, "System\\CurrentControlSet\\Services\\RemoteAccess\\Parameters\\Nbf")
  149. CONST_STRING(c_szRegKeyRasProtocols, "Software\\Microsoft\\RAS\\Protocols")
  150. CONST_STRING(c_szRegKeyRemoteAccessParameters, "System\\CurrentControlSet\\Services\\RemoteAccess\\Parameters")
  151. CONST_STRING(c_szRegKeyRouter, "Software\\Microsoft\\Router")
  152. CONST_STRING(c_szRegKeyRouterAccountingProviders, "System\\CurrentControlSet\\Services\\RemoteAccess\\Accounting\\Providers")
  153. CONST_STRING(c_szRegKeyRouterAuthenticationProviders, "System\\CurrentControlSet\\Services\\RemoteAccess\\Authentication\\Providers")
  154. CONST_STRING(c_szRegKeyServerApplications, "System\\CurrentControlSet\\Control\\Server Applications")
  155. CONST_STRING(c_szRegKeyTcpip, "System\\CurrentControlSet\\Services\\Tcpip")
  156. CONST_STRING(c_szRegKeyTcpipAdapters, "System\\CurrentControlSet\\Services\\Tcpip\\Parameters\\Adapters")
  157. CONST_STRING(c_szRegKeyTcpipInterfaces, "System\\CurrentControlSet\\Services\\Tcpip\\Parameters\\Interfaces")
  158. CONST_STRING(c_szRegKeyTcpipParameters, "System\\CurrentControlSet\\Services\\Tcpip\\Parameters")
  159. // Registry value strings
  160. CONST_STRING(c_szRegValAllowNetAccess, "AllowNetworkAccess")
  161. CONST_STRING(c_szRegValAutoWanNet, "AutoWanNetAllocation")
  162. CONST_STRING(c_szRegValCalledIdInformation, "CalledIDInformation")
  163. CONST_STRING(c_szRegValClientIp, "AllowClientIpAddresses")
  164. CONST_STRING(c_szRegValComponentId, "ComponentId")
  165. CONST_STRING(c_szRegValDeadGWDetect, "EnableDeadGWDetect")
  166. CONST_STRING(c_szRegValDeadGWDetectDefault, "DeadGWDetectDefault")
  167. CONST_STRING(c_szRegValDefaultPort, "DefaultPort")
  168. CONST_STRING(c_szRegValDhcpAddressing, "UseDhcpAddressing")
  169. CONST_STRING(c_szRegValDisAllowZones, "DisAllowedZones")
  170. CONST_STRING(c_szRegValDontAddDefaultGateway, "DontAddDefaultGateway")
  171. CONST_STRING(c_szRegValDontAddDefaultGatewayDefault, "DontAddDefaultGatewayDefault")
  172. CONST_STRING(c_szRegValDriverDesc, "DriverDesc")
  173. CONST_STRING(c_szRegValDynNetAddr, "DynamicNetAddrAllocation")
  174. CONST_STRING(c_szRegValEnableFileTracing, "EnableFileTracing")
  175. CONST_STRING(c_szRegValEnableICMPRedirect, "EnableICMPRedirect")
  176. CONST_STRING(c_szRegValEnableIn, "EnableIn")
  177. CONST_STRING(c_szRegValEnableNetbtBcastFwd, "EnableNetbtBcastFwd")
  178. CONST_STRING(c_szRegValFirstWanNet, "FirstWanNet")
  179. CONST_STRING(c_szRegValFrom, "From")
  180. CONST_STRING(c_szRegValGlobalWanNet, "GlobalWanNet")
  181. CONST_STRING(c_szRegValInstallerAction, "InstallerAction")
  182. CONST_STRING(c_szRegValIpAddr, "IpAddress")
  183. CONST_STRING(c_szRegValIpConfig, "IpConfig")
  184. CONST_STRING(c_szRegValIpEnableRouter, "IPEnableRouter")
  185. CONST_STRING(c_szRegValIpEnableRouterBackup, "IpEnableRouterBackup")
  186. CONST_STRING(c_szRegValIpMask, "IpMask")
  187. CONST_STRING(c_szRegValMatchingDeviceId, "MatchingDeviceId")
  188. CONST_STRING(c_szRegValNetCfgInstanceId, "NetCfgInstanceID")
  189. CONST_STRING(c_szRegValNetworkAdapterGUID, "NetworkAdapterGUID")
  190. CONST_STRING(c_szRegValIpxAllowed, "fIpxAllowed")
  191. CONST_STRING(c_szRegValLanaMap, "LanaMap")
  192. CONST_STRING(c_szRegValLoggingFlags, "LoggingFlags")
  193. CONST_STRING(c_szRegValManPass, "ManualPasswordRequired")
  194. CONST_STRING(c_szRegValName, "Name")
  195. CONST_STRING(c_szRegValMask, "Mask")
  196. CONST_STRING(c_szRegValNetAccess, "NetworkAccess")
  197. CONST_STRING(c_szRegValNetBeuiAllowed, "fNetbeuiAllowed")
  198. CONST_STRING(c_szRegValNetRangeLower, "NetworkRangeLowerEnd")
  199. CONST_STRING(c_szRegValNetRangeUpper, "NetworkRangeUpperEnd")
  200. CONST_STRING(c_szRegValNumberLineDevices, "NumberLineDevices")
  201. CONST_STRING(c_szRegValProductName, "ProductName")
  202. CONST_STRING(c_szRegValProductType, "ProductType")
  203. CONST_STRING(c_szRegValRemoteNode, "AcceptRemoteNodeNumber")
  204. CONST_STRING(c_szRegValRolesSupported, "RolesSupported")
  205. CONST_STRING(c_szRegValSendSignature, "SendSignature")
  206. CONST_STRING(c_szStandaloneSupported, "StandaloneSupported")
  207. CONST_STRING(c_szRegValStaticAddressPool,"StaticAddressPool")
  208. CONST_STRING(c_szRegValTcpIpAllowed, "fTcpIpAllowed")
  209. CONST_STRING(c_szRegValTo, "To")
  210. CONST_STRING(c_szRegValWanNetPoolSize, "WanNetPoolSize")
  211. CONST_STRING(c_szRegValOpenIPSnap, "OpenIPSnap" )
  212. CONST_STRING(c_szRegValOpenMPRSnap, "OpenMPRSnap" )
  213. CONST_STRING(c_szRegValProductSuite, "ProductSuite" )
  214. CONST_STRINGA(c_sazAuthenticationHelpTopic, "RRASconcepts.chm::/sag_RRAS-Ch1_44.htm")
  215. CONST_STRINGA(c_sazRRASDomainHelpTopic, "RRASconcepts.chm::/ras_how_enable_rras.htm")
  216. ////All the nat related constant strings
  217. CONST_STRINGA(c_sazIPSnapHelpFile, "mprsnap.chm")
  218. CONST_STRING(c_szIPSnapHelpFile, "mprsnap.chm")
  219. CONST_STRING(c_szProtocolNameMapKey, "Software\\Microsoft\\Router\\CurrentVersion\\UI\\Ip\\ProtocolNameMap")
  220. CONST_STRING(c_szDefault, "Default")