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.

571 lines
24 KiB

  1. //*********************************************************************
  2. //* Microsoft Windows **
  3. //* Copyright(c) Microsoft Corp., 1994-1998 **
  4. //*********************************************************************
  5. //
  6. // INETREG.H - String literals for HKEYs in registry
  7. //
  8. #ifndef _INETREGSTRS_H_
  9. #define _INETREGSTRS_H_
  10. //
  11. // HKEY: HKEY_CURRENT_USER
  12. //
  13. //
  14. // Top level defines
  15. //
  16. #define TSZMICROSOFTPATH TEXT("Software\\Microsoft")
  17. #define TSZIEPATH TSZMICROSOFTPATH TEXT("\\Internet Explorer")
  18. #define TSZWINCURVERPATH TSZMICROSOFTPATH TEXT("\\windows\\CurrentVersion")
  19. #define TSZWININETPATH TSZWINCURVERPATH TEXT("\\Internet Settings")
  20. // Windows : HKLM
  21. #define REGSTR_PATH_RUNONCE_KEY TSZWINCURVERPATH TEXT("\\RunOnce")
  22. // INETCPL : HKLM
  23. #define REGSTR_PATH_INETCPL_PS_EXTENTIONS TSZWINCURVERPATH TEXT("\\Controls Folder\\Internet")
  24. //
  25. // Explorer : HKCU
  26. //
  27. #define REGSTR_PATH_IEXPLORER TSZIEPATH
  28. // Main
  29. #define SZ_IE_MAIN "Main"
  30. #define REGSTR_PATH_MAIN TSZIEPATH TEXT( "\\") TEXT(SZ_IE_MAIN)
  31. #define REGSTR_KEY_MAIN TEXT(SZ_IE_MAIN)
  32. #define REGSTR_VAL_SMOOTHSCROLL TEXT("SmoothScroll")
  33. #define REGSTR_VAL_SMOOTHSCROLL_DEF TRUE
  34. #define REGSTR_VAL_SHOWTOOLBAR TEXT("Show_ToolBar")
  35. #define REGSTR_VAL_SHOWADDRESSBAR TEXT("Show_URLToolBar")
  36. #define REGSTR_VAL_STARTPAGE TEXT("Start Page")
  37. #define REGSTRA_VAL_STARTPAGE "Start Page"
  38. #define REGSTR_VAL_SEARCHPAGE TEXT("Search Page")
  39. #define REGSTR_VAL_LOCALPAGE TEXT("Local Page")
  40. #define REGSTR_VAL_USESTYLESHEETS TEXT("Use Stylesheets")
  41. #define REGSTR_VAL_USESTYLESHEETS_TYPE REG_SZ // "yes" or "no"
  42. #define REGSTR_VAL_USESTYLESHEETS_DEF TEXT("yes")
  43. #define REGSTR_VAL_USEICM TEXT("UseICM")
  44. #define REGSTR_VAL_USEICM_DEF FALSE
  45. #define REGSTR_VAL_SHOWFOCUS TEXT("Tabstop - MouseDown")
  46. #define REGSTR_VAL_SHOWFOCUS_TYPE REG_SZ // "yes" or "no"
  47. #define REGSTR_VAL_SHOWFOCUS_DEF TEXT("no")
  48. #define REGSTR_VAL_LOADIMAGES TEXT("Display Inline Images")
  49. #define REGSTR_VAL_PLAYSOUNDS TEXT("Play_Background_Sounds")
  50. #define REGSTR_VAL_PLAYVIDEOS TEXT("Display Inline Videos")
  51. #define REGSTR_VAL_ANCHORUNDERLINE TEXT("Anchor Underline")
  52. #define REGSTR_VAL_USEDLGCOLORS TEXT("Use_DlgBox_Colors")
  53. #define REGSTR_VAL_CHECKASSOC TEXT("Check_Associations")
  54. #define REGSTR_VAL_SHOWFULLURLS TEXT("Show_FullURL")
  55. #define REGSTR_VAL_AUTOSEARCH TEXT("Do404Search")
  56. #define REGSTR_VAL_AUTONAVIGATE TEXT("SearchForExtensions")
  57. #define REGSTR_VAL_HTTP_ERRORS TEXT("Friendly http errors")
  58. #define REGSTR_VAL_PAGETRANSITIONS TEXT("Page_Transitions")
  59. #define REGSTR_VAL_PAGETRANSITIONS_DEF TRUE
  60. #define REGSTR_VAL_USEIBAR TEXT("UseBar")
  61. // Settings
  62. #define SZ_IE_SETTINGS "Settings"
  63. #define REGSTR_PATH_IE_SETTINGS TSZIEPATH TEXT("\\") TEXT(SZ_IE_SETTINGS)
  64. #define REGSTR_KEY_IE_SETTINGS TEXT(SZ_IE_SETTINGS)
  65. #define REGSTR_VAL_IE_CUSTOMCOLORS TEXT("Custom Colors")
  66. #define REGSTR_VAL_IE_CUSTOMCOLORS_TYPE REG_BINARY
  67. #define REGSTR_VAL_ANCHORCOLOR TEXT("Anchor Color")
  68. #define REGSTR_VAL_ANCHORCOLORVISITED TEXT("Anchor Color Visited")
  69. #define REGSTR_VAL_BACKGROUNDCOLOR TEXT("Background Color")
  70. #define REGSTR_VAL_TEXTCOLOR TEXT("Text Color")
  71. #define REGSTR_VAL_ANCHORCOLORHOVER TEXT("Anchor Color Hover")
  72. #define REGSTR_VAL_USEHOVERCOLOR TEXT("Use Anchor Hover Color")
  73. // Security
  74. #define SZ_IE_SECURITY "Security"
  75. #define REGSTR_PATH_IE_SECURITY TSZIEPATH TEXT("\\") TEXT(SZ_IE_SECURITY)
  76. #define REGSTR_KEY_IE_SECURITY TEXT(SZ_IE_SECURITY)
  77. #define REGSTR_VAL_SAFETYWARNINGLEVEL TEXT("Safety Warning Level")
  78. // HTML Editing
  79. #define SZ_IE_DEFAULT_HTML_EDITOR "Default HTML Editor"
  80. #define REGSTR_PATH_DEFAULT_HTML_EDITOR TSZIEPATH TEXT("\\") TEXT(SZ_IE_DEFAULT_HTML_EDITOR)
  81. #define REGSTR_KEY_DEFAULT_HTML_EDITOR TEXT(SZ_IE_DEFAULT_HTML_EDITOR)
  82. // Autocomplete
  83. #define REGSTR_PATH_AUTOCOMPLETE TSZWINCURVERPATH TEXT("\\Explorer\\AutoComplete")
  84. #define REGSTR_VAL_USEAUTOAPPEND TEXT("Append Completion")
  85. #define REGSTR_VAL_USEAUTOSUGGEST TEXT("AutoSuggest")
  86. // Old IE4 autocomplete key
  87. #define REGSTR_VAL_USEAUTOCOMPLETE TEXT("Use AutoComplete")
  88. // iBar
  89. #define SZ_IE_IBAR "Bar"
  90. #define TSZIBARPATH TSZIEPATH TEXT( "\\") TEXT(SZ_IE_IBAR)
  91. #define REGSTR_PATH_IBAR TSZIBARPATH
  92. #define REGSTR_KEY_IBAR TEXT(SZ_IE_IBAR)
  93. #define SZ_IE_IBAR_BANDS "Bands"
  94. #define REGSTR_PATH_IBAR_BANDS TSZIBARPATH TEXT("\\") TEXT(SZ_IE_IBAR_BANDS)
  95. #define REGSTR_KEY_IBAR_BANDS TEXT(SZ_IE_IBAR_BANDS)
  96. //
  97. // Internet : HKCU
  98. //
  99. // path to global internet settings (also under HKEY_CURRENT_USER)
  100. #define REGSTR_PATH_INTERNETSETTINGS TSZWININETPATH
  101. #define REGSTR_PATH_INTERNET_SETTINGS REGSTR_PATH_INTERNETSETTINGS
  102. #define REGSTR_VAL_USERAGENT TEXT("User Agent")
  103. // path to lan-specific settings
  104. #define REGSTR_PATH_INTERNET_LAN_SETTINGS REGSTR_PATH_INTERNETSETTINGS TEXT("\\LAN")
  105. // string value under HKCU\REGSTR_PATH_REMOTEACCESS that contains name of
  106. // connectoid used to connect to internet
  107. #define REGSTR_VAL_INTERNETENTRY TEXT("InternetProfile")
  108. #define REGSTR_VAL_INTERNETPROFILE REGSTR_VAL_INTERNETENTRY
  109. #define REGSTR_VAL_INTERNETENTRYBKUP TEXT("BackupInternetProfile")
  110. #define REGSTR_VAL_CODEDOWNLOAD TEXT("Code Download")
  111. #define REGSTR_VAL_CODEDOWNLOAD_DEF TEXT("yes")
  112. #define REGSTR_VAL_CODEDOWNLOAD_TYPE REG_SZ // "yes" or "no"
  113. // policy key for inetcpl restrictions
  114. #define REGSTR_PATH_INETCPL_RESTRICTIONS TEXT("Software\\Policies\\Microsoft\\Internet Explorer\\Control Panel")
  115. // reg valuenames to restrict whether a tab should be shown or not;
  116. // a value of non-zero means don't show that tab.
  117. // reg key: HKCU\Software\Policies\Microsoft\Internet Explorer\Control Panel
  118. #define REGSTR_VAL_INETCPL_GENERALTAB TEXT("GeneralTab")
  119. #define REGSTR_VAL_INETCPL_SECURITYTAB TEXT("SecurityTab")
  120. #define REGSTR_VAL_INETCPL_CONTENTTAB TEXT("ContentTab")
  121. #define REGSTR_VAL_INETCPL_CONNECTIONSTAB TEXT("ConnectionsTab")
  122. #define REGSTR_VAL_INETCPL_PROGRAMSTAB TEXT("ProgramsTab")
  123. #define REGSTR_VAL_INETCPL_ADVANCEDTAB TEXT("AdvancedTab")
  124. #define REGSTR_VAL_INETCPL_PRIVACYTAB TEXT("PrivacyTab")
  125. // setting to indicate whether or not IEAK launched this instance of inetcpl so extra
  126. // info can be exposed
  127. // reg key: HKCU\Software\Policies\Microsoft\Internet Explorer\Control Panel
  128. #define REGSTR_VAL_INETCPL_IEAK TEXT("IEAKContext")
  129. //
  130. // Cache
  131. //
  132. #define REGSTR_PATH_CACHE \
  133. REGSTR_PATH_INTERNETSETTINGS TEXT("\\Cache")
  134. #define REGSTR_PATH_CACHE_PATHS \
  135. REGSTR_PATH_CACHE TEXT("\\Paths")
  136. #define REGSTR_PATH_EXTENSIBLE_CACHE \
  137. REGSTR_PATH_CACHE TEXT("\\Extensible Cache")
  138. #define REGSTR_PATH_TRACKING \
  139. REGSTR_PATH_EXTENSIBLE_CACHE TEXT("\\Log")
  140. #define REGSTR_PATH_CACHE_SPECIAL_PATHS \
  141. REGSTR_PATH_CACHE TEXT("Special Paths")
  142. #define REGSTR_VAL_DIRECTORY TEXT("Directory")
  143. #define REGSTR_VAL_DIRECTORY_TYPE REG_EXPAND_SZ
  144. #define REGSTR_VAL_NEWDIRECTORY TEXT("NewDirectory")
  145. #define REGSTR_VAL_NEWDIRECTORY_TYPE REG_EXPAND_SZ
  146. #define REGSTR_VAL_CACHEPREFIX TEXT("CachePrefix")
  147. #define REGSTR_VAL_CACHEPREFIX_TYPE REG_SZ
  148. #define REGSTR_PATH_URLHISTORY \
  149. REGSTR_PATH_INTERNETSETTINGS TEXT("\\Url History")
  150. #define REGSTR_PATH_SUBSCRIPTION \
  151. REGSTR_PATH_INTERNETSETTINGS TEXT("\\Subscription Folder")
  152. //
  153. // Search Format Strings
  154. //
  155. #define SZ_IE_SEARCHSTRINGS "UrlTemplate"
  156. #define REGSTR_PATH_SEARCHSTRINGS REGSTR_PATH_MAIN TEXT( "\\") TEXT(SZ_IE_SEARCHSTRINGS)
  157. #define REGSTR_KEY_SEARCHSTRINGS TEXT(SZ_IE_SEARCHSTRINGS)
  158. #define MAX_SEARCH_FORMAT_STRING 255
  159. //
  160. // Server error page dispaly/don't display length thresholds.
  161. //
  162. #define SZ_IE_THRESHOLDS "ErrorThresholds"
  163. #define REGSTR_PATH_THRESHOLDS REGSTR_PATH_MAIN TEXT( "\\") TEXT(SZ_IE_THRESHOLDS)
  164. //
  165. // Access Medium
  166. //
  167. #define REGSTR_VAL_ACCESSMEDIUM TEXT("AccessMedium")
  168. // access type (MSN, other)
  169. #define REGSTR_VAL_ACCESSTYPE TEXT("AccessType")
  170. //
  171. // AutoDial
  172. //
  173. // name of connectoid-specific autodial handler dll and function
  174. #define REGSTR_VAL_AUTODIALDLLNAME TEXT("AutodialDllName")
  175. #define REGSTR_VAL_AUTODIALFCNNAME TEXT("AutodialFcnName")
  176. // class name for window to receive Winsock activity messages
  177. #define REGSTR_VAL_AUTODIAL_MONITORCLASSNAME TEXT("MS_AutodialMonitor")
  178. #define REGSTR_VAL_AUTODIAL_TRYONLYONCE TEXT("TryAutodialOnce")
  179. //
  180. // Remote Access
  181. //
  182. // path to RNA values (under HKEY_CURRENT_USER)
  183. #define REGSTR_PATH_REMOTEACCESS TEXT("RemoteAccess")
  184. #define REGSTR_PATH_REMOTEACESS REGSTR_PATH_REMOTEACCESS
  185. // this is under HKLM... we are using this to determine if RNA is installed
  186. // or not. We can't rely on finding the DLL since removing this component
  187. // with the control panel's "Add/Remove Software" does not remove the RNAdll.
  188. #define REGSTR_PATH_RNACOMPONENT TSZWINCURVERPATH TEXT("\\Setup\\OptionalComponents\\RNA")
  189. #define REGSTR_VAL_RNAINSTALLED TEXT("Installed")
  190. // values under HKCU\REGSTR_PATH_INTERNET_SETTINGS
  191. // 4-byte REG_BINARY, autodialing is enabled if this value is present and
  192. // non-zero, disabled otherwise
  193. // If ForceAutodial is true, will always dial similar to IE4 behavior.
  194. // If it's false, will only dial if network is not available.
  195. #define REGSTR_VAL_ENABLEAUTODIAL TEXT("EnableAutodial")
  196. #define REGSTR_VAL_ENABLEUNATTENDED TEXT("EnableUnattended")
  197. #define REGSTR_VAL_NONETAUTODIAL TEXT("NoNetAutodial")
  198. #define REGSTR_VAL_REDIALATTEMPTS TEXT("RedialAttempts")
  199. #define REGSTR_VAL_REDIALINTERVAL TEXT("RedialWait")
  200. #define REGSTR_VAL_ENABLEAUTODIALDISCONNECT TEXT("EnableAutodisconnect")
  201. #define REGSTR_VAL_ENABLEAUTODISCONNECT REGSTR_VAL_ENABLEAUTODIALDISCONNECT
  202. #define REGSTR_VAL_ENABLEEXITDISCONNECT TEXT("EnableExitDisconnect")
  203. #define REGSTR_VAL_ENABLESECURITYCHECK TEXT("EnableSecurityCheck")
  204. #define REGSTR_VAL_COVEREXCLUDE TEXT("CoverExclude")
  205. // 4-byte REG_BINARY containing number of minutes of idle time to allow
  206. // before autodisconnect. Autodisconnect is disabled if this value is zero
  207. // or not present.
  208. #define REGSTR_VAL_DISCONNECTIDLETIME TEXT("DisconnectIdleTime")
  209. //
  210. // MOS
  211. //
  212. #define REGSTR_PATH_MOSDISCONNECT TSZMICROSOFTPATH TEXT("\\MOS\\Preferences")
  213. #define REGSTR_VAL_MOSDISCONNECT TEXT("DisconnectTimeout")
  214. //
  215. // Proxy : These are under REGSTR_PATH_INTERNETSETTINGS
  216. //
  217. #define REGSTR_VAL_PROXYENABLE TEXT("ProxyEnable")
  218. #define REGSTR_VAL_PROXYSERVER TEXT("ProxyServer")
  219. #define REGSTR_VAL_PROXYOVERRIDE TEXT("ProxyOverride")
  220. #define REGSTR_VAL_BYPASSAUTOCONFIG TEXT("BypassAutoconfig")
  221. //
  222. // Security : HKCU\\WININETPATH
  223. //
  224. #define SZTRUSTWARNLEVEL "Trust Warning Level"
  225. #define REGSTR_KEY_TRUSTWARNINGLEVEL TSZWININETPATH TEXT(SZTRUSTWARNLEVEL)
  226. #define REGSTR_VAL_TRUSTWARNINGLEVEL TEXT(SZTRUSTWARNLEVEL) //"none" will turn off WinVerifyTrust warnings.
  227. #define REGSTR_VAL_TRUSTWARNINGLEVEL_TYPE REG_SZ
  228. #define REGSTR_VAL_TRUSTWARNINGLEVEL_HIGH TEXT("High")
  229. #define REGSTR_VAL_TRUSTWARNINGLEVEL_MED TEXT("Medium")
  230. #define REGSTR_VAL_TRUSTWARNINGLEVEL_LOW TEXT("No Security")
  231. // default depends on MSHTML's prefs nSafetyWarningLevel
  232. #define REGSTR_VAL_SECURITYWARNONSEND TEXT("WarnOnPost")
  233. #define REGSTR_VAL_SECURITYWARNONSEND_TYPE REG_BINARY
  234. #define REGSTR_VAL_SECURITYWARNONSEND_DEF TRUE
  235. #define REGSTR_VAL_SECURITYWARNONSENDALWAYS TEXT("WarnAlwaysOnPost")
  236. #define REGSTR_VAL_SECURITYWARNONSENDALWAYS_TYPE REG_BINARY // FALSE-Only if... TRUE-Always
  237. #define REGSTR_VAL_SECURITYWARNONSENDALWAYS_DEF TRUE
  238. #define REGSTR_VAL_SECURITYWARNONVIEW TEXT("WarnOnView")
  239. #define REGSTR_VAL_SECURITYWARNONVIEW_TYPE REG_BINARY
  240. #define REGSTR_VAL_SECURITYWARNONVIEW_DEF TRUE
  241. #define REGSTR_VAL_SECURITYALLOWCOOKIES TEXT("AllowCookies")
  242. #define REGSTR_VAL_SECURITYALLOWCOOKIES_TYPE REG_BINARY
  243. #define REGSTR_VAL_SECURITYALLOWCOOKIES_DEF TRUE
  244. #define REGSTR_VAL_SECURITYWARNONZONECROSSING TEXT("WarnOnZoneCrossing")
  245. #define REGSTR_VAL_SECURITYWARNONZONECROSSING_TYPE REG_BINARY
  246. #define REGSTR_VAL_SECURITYWARNONZONECROSSING_DEF TRUE
  247. #define REGSTR_VAL_SECURITYWARNONBADCERTVIEWING TEXT("WarnOnBadCertRecving")
  248. #define REGSTR_VAL_SECURITYWARNONBADCERTVIEWING_TYPE REG_BINARY
  249. #define REGSTR_VAL_SECURITYWARNONBADCERTVIEWING_DEF TRUE
  250. #define REGSTR_VAL_SECURITYWARNONBADCERTSENDING TEXT("WarnOnBadCertSending")
  251. #define REGSTR_VAL_SECURITYWARNONBADCERTSENDING_TYPE REG_BINARY
  252. #define REGSTR_VAL_SECURITYWARNONBADCERTSENDING_DEF TRUE
  253. #define REGSTR_VAL_SECURITYDISABLECACHINGOFSSLPAGES TEXT("DisableCachingOfSSLPages")
  254. #define REGSTR_VAL_SECURITYDISABLECACHINGOFSSLPAGES_TYPE REG_DWORD
  255. #define REGSTR_VAL_SECURITYDISABLECACHINGOFSSLPAGES_DEF FALSE
  256. //
  257. // Run/Show ActiveX / Java : These are under REGSTR_PATH_INTERNETSETTINGS
  258. //
  259. #define REGSTR_VAL_SECURITYACTIVEX TEXT("Security_RunActiveXControls")
  260. #define REGSTR_VAL_SECURITYACTIVEX_TYPE REG_BINARY // TRUE or FALSE
  261. #define REGSTR_VAL_SECURITYACTIVEX_DEF TRUE
  262. #define REGSTR_VAL_SECURITYACTICEXSCRIPTS TEXT("Security_RunScripts")
  263. #define REGSTR_VAL_SECURITYACTICEXSCRIPTS_TYPE REG_BINARY // TRUE or FALSE
  264. #define REGSTR_VAL_SECURITYACTICEXSCRIPTS_DEF TRUE
  265. #define REGSTR_VAL_SECURITYJAVA TEXT("Security_RunJavaApplets")
  266. #define REGSTR_VAL_SECURITYJAVA_TYPE REG_BINARY // TRUE or FALSE
  267. #define REGSTR_VAL_SECURITYJAVA_DEF TRUE
  268. //
  269. // Java VM exclusively : HKCU
  270. //
  271. #define SZJAVAVMPATH "\\Java VM"
  272. #define REGSTR_PATH_JAVAVM TSZMICROSOFTPATH TEXT(SZJAVAVMPATH)
  273. #define REGSTR_VAL_JAVAJIT TEXT("EnableJIT")
  274. #define REGSTR_VAL_JAVAJIT_TYPE REG_DWORD // TRUE or FALSE
  275. #define REGSTR_VAL_JAVAJIT_DEF FALSE
  276. #define REGSTR_VAL_JAVALOGGING TEXT("EnableLogging")
  277. #define REGSTR_VAL_JAVALOGGING_TYPE REG_DWORD // TRUE or FALSE
  278. #define REGSTR_VAL_JAVALOGGING_DEF FALSE
  279. //
  280. // QuickLinks
  281. //
  282. // this is where custom quicklinks are stored
  283. #define SZTOOLBAR "\\Toolbar"
  284. #define TSZTOOLBAR TEXT(SZTOOLBAR)
  285. #define REGSTR_PATH_TOOLBAR TSZIEPATH TEXT(SZTOOLBAR)
  286. #define REGSTR_KEY_QUICKLINKS TSZIEPATH TSZTOOLBAR TEXT("\\Links")
  287. #define REGSTR_VAL_DAYSTOKEEP TEXT("DaysToKeep")
  288. #define SZNOTEXT "NoText"
  289. #define REGSTR_VAL_NOTEXT TEXT(SZNOTEXT)
  290. #define REGSTR_KEY_NOTEXT TSZIEPATH TSZTOOLBAR TEXT("\\") TEXT(SZNOTEXT)
  291. #define SZVISIBLE "VisibleBands"
  292. #define REGSTR_VAL_VISIBLE TEXT(SZVISIBLE)
  293. #define REGSTR_KEY_VISIBLE TSZIEPATH TSZTOOLBAR TEXT("\\") TEXT(SZVISIBLE)
  294. #define REGSTR_VAL_VISIBLEBANDS TEXT("VisibleBands")
  295. #define REGSTR_VAL_VISIBLEBANDS_TYPE REG_DWORD // 3 bits (see below)
  296. #define REGSTR_VAL_VISIBLEBANDS_DEF 0x7 // all three bands
  297. #define TOOLSBAND 0x1
  298. #define ADDRESSBAND 0x2
  299. #define LINKSBAND 0x4
  300. #define SZBACKBITMAP "BackBitmap"
  301. #define REGSTR_VAL_BACKBITMAP TEXT("BackBitmap")
  302. #define REGSTR_VAL_BACKBITMAP_TYPE REG_SZ
  303. // "" = no bitmap or fillin with valid path, delete for default
  304. #define REGSTR_KEY_BACKBITMAP TSZIEPATH TSZTOOLBAR TEXT("\\") TEXT(SZBACKBITMAP)
  305. //
  306. // Schannel Settings: HKLM
  307. //
  308. #define TSZSCHANNELPATH TEXT("SYSTEM\\CurrentControlSet\\Control\\SecurityProviders\\SCHANNEL")
  309. #define TSZSCHANNELPROTOCOLSPATH TSZSCHANNELPATH TEXT("\\Protocols")
  310. #define REGSTR_PATH_PCT1 TSZSCHANNELPROTOCOLSPATH TEXT("\\PCT 1.0\\Client")
  311. #define REGSTR_PATH_SSL2 TSZSCHANNELPROTOCOLSPATH TEXT("\\SSL 2.0\\Client")
  312. #define REGSTR_PATH_SSL3 TSZSCHANNELPROTOCOLSPATH TEXT("\\SSL 3.0\\Client")
  313. #define REGSTR_PATH_UNIHELLO TSZSCHANNELPROTOCOLSPATH TEXT("\\Multi-Protocol Unified Hello\\Client")
  314. #define REGSTR_VAL_SCHANNELENABLEPROTOCOL TEXT("Enabled")
  315. #define REGSTR_VAL_SCHANNELENABLEPROTOCOL_TYPE REG_DWORD
  316. #define REGSTR_VAL_SCHANNELENABLEPROTOCOL_DEF TRUE
  317. //
  318. // Mail and News: HKLM
  319. //
  320. #ifdef UNIX
  321. #define TSZINTERNETCLIENTSPATH TEXT("Software\\Microsoft\\Internet Explorer\\Unix")
  322. #define REGSTR_PATH_MAILCLIENTS TSZINTERNETCLIENTSPATH TEXT("\\MailCommand")
  323. #define REGSTR_PATH_NEWSCLIENTS TSZINTERNETCLIENTSPATH TEXT("\\NewsCommand")
  324. #define REGSTR_PATH_VSOURCECLIENTS TSZINTERNETCLIENTSPATH TEXT("\\VSourceCommand")
  325. #define REGSTR_PATH_EDITORS TSZINTERNETCLIENTSPATH TEXT("\\Editors")
  326. #define REGSTR_PATH_DEFAULT TEXT("default")
  327. #define REGSTR_PATH_CURRENT TEXT("current")
  328. #else
  329. #define TSZINTERNETCLIENTSPATH TEXT("Software\\Clients")
  330. #define REGSTR_PATH_MAILCLIENTS TSZINTERNETCLIENTSPATH TEXT("\\Mail")
  331. #define REGSTR_PATH_NEWSCLIENTS TSZINTERNETCLIENTSPATH TEXT("\\News")
  332. #define REGSTR_PATH_CALENDARCLIENTS TSZINTERNETCLIENTSPATH TEXT("\\Calendar")
  333. #define REGSTR_PATH_CONTACTCLIENTS TSZINTERNETCLIENTSPATH TEXT("\\Contacts")
  334. #define REGSTR_PATH_CALLCLIENTS TSZINTERNETCLIENTSPATH TEXT("\\Internet Call")
  335. #endif // !UNIX
  336. #ifdef UNIX
  337. // Registry item containing the exe name to check for disabling OE
  338. #define IE_USE_OE_PRESENT_HKEY HKEY_LOCAL_MACHINE
  339. #define IE_USE_OE_PRESENT_KEY TEXT("Software\\Microsoft\\Windows\\CurrentVersion\\app.paths\\msimn.exe")
  340. #define IE_USE_OE_PRESENT_VALUE NULL
  341. // locations for new OE control variables for unix
  342. #define IE_USE_OE_MAIL_HKEY HKEY_CURRENT_USER
  343. #define IE_USE_OE_MAIL_KEY TEXT("Software\\Microsoft\\Internet Explorer\\Mail")
  344. #define IE_USE_OE_MAIL_VALUE TEXT("Use Outlook Express")
  345. #define IE_USE_OE_NEWS_HKEY HKEY_CURRENT_USER
  346. #define IE_USE_OE_NEWS_KEY TEXT("Software\\Microsoft\\Internet Explorer\\News")
  347. #define IE_USE_OE_NEWS_VALUE TEXT("Use Outlook Express")
  348. #endif // UNIX
  349. // this is under the mail and news paths
  350. #define TSZPROTOCOLSPATH TEXT("Protocols\\")
  351. // and one these is under the protocols path
  352. #define TSZMAILTOPROTOCOL TEXT("mailto")
  353. #define TSZNEWSPROTOCOL TEXT("news")
  354. #define TSZCALLTOPROTOCOL TEXT("callto")
  355. #define TSZLDAPPROTOCOL TEXT("ldap")
  356. #define TSZCALENDARPROTOCOL TEXT("unk")
  357. #ifdef UNIX
  358. #define TSZVSOURCEPROTOCOL TEXT("view source")
  359. #endif
  360. //
  361. // International and Fonts: HKCU\\TSZIEPATH
  362. //
  363. #define REGSTR_PATH_INTERNATIONAL TSZIEPATH TEXT("\\International")
  364. #define REGSTR_PATH_INTERNATIONAL_SCRIPTS TSZIEPATH TEXT("\\International\\Scripts")
  365. #define REGSTR_VAL_DEFAULT_CODEPAGE TEXT("Default_CodePage")
  366. #define REGSTR_VAL_DEFAULT_CODEPAGE_TYPE REG_SZ // code page
  367. // will grab default from system if not found
  368. #define REGSTR_VAL_DEFAULT_SCRIPT TEXT("Default_Script")
  369. #define REGSTR_VAL_DEFAULT_SCRIPT_TYPE REG_SZ
  370. // will grab default from system if not found
  371. #define REGSTR_VAL_ACCEPT_LANGUAGE TEXT("AcceptLanguage")
  372. #define REGSTR_VAL_ACCETP_LANGUAGE_TYPE REG_SZ
  373. // each CHARSET has a unique key under REGSTR_PATH_INTERNATIONAL
  374. // which has the following values defined
  375. #define REGSTR_VAL_FONT_SCRIPTS TEXT("Scripts")
  376. #define REGSTR_VAL_FONT_SCRIPT TEXT("Script")
  377. #define REGSTR_VAL_FONT_SCRIPT_TYPE REG_SZ // friendly name of font if other than system
  378. // no default
  379. #define REGSTR_VAL_FONT_SCRIPT_NAME TEXT("Script")
  380. #define REGSTR_VAL_FONT_SCRIPT_NAME_TYPE REG_SZ
  381. #define REGSTR_VAL_DEF_ENCODING TEXT("Default_Encoding")
  382. #define REGSTR_VAL_DEF_ENCODING_TYPE REG_SZ // internal MIME table name
  383. // no default
  384. #define REGSTR_VAL_DEF_INETENCODING TEXT("Default_InternetEncoding")
  385. #define REGSTR_VAL_DEF_INETENCODING_TYPE REG_DWORD
  386. // no default
  387. #define REGSTR_VAL_FIXED_FONT TEXT("IEFixedFontName")
  388. #define REGSTR_VAL_FIXED_FONT_TYPE REG_SZ // must match a registered font name
  389. // no default
  390. #define REGSTR_VAL_SCRIPT_FIXED_FONT TEXT("IEFixedFontName")
  391. #define REGSTR_VAL_SCRIPT_FIXED_FONT_TYPE REG_SZ // must match a registered font name
  392. // no default
  393. #define REGSTR_VAL_PROP_FONT TEXT("IEPropFontName")
  394. #define REGSTR_VAL_PROP_FONT_TYPE REG_SZ // must match a registered font name
  395. // no default
  396. #define REGSTR_VAL_SCRIPT_PROP_FONT TEXT("IEPropFontName")
  397. #define REGSTR_VAL_SCRIPT_PROP_FONT_TYPE REG_SZ // must match a registered font name
  398. // no default
  399. #define REGSTR_VAL_FONT_SIZE TEXT("IEFontSize")
  400. #define REGSTR_VAL_FONT_SIZE_TYPE REG_BINARY
  401. #define REGSTR_VAL_FONT_SIZE_DEF 2 // default size : Medium
  402. #define REGSTR_VAL_AUTODETECT TEXT("AutoDetect")
  403. #define REGSTR_VAL_AUTODETECT_TYPE REG_SZ
  404. // MIME database charset extension
  405. #define REGSTR_PATH_MIME_DATABASE TEXT("MIME\\Database")
  406. #define REGSTR_KEY_MIME_DATABASE_CHARSET REGSTR_PATH_MIME_DATABASE TEXT("\\Charset")
  407. #define REGSTR_KEY_MIME_DATABASE_CODEPAGE REGSTR_PATH_MIME_DATABASE TEXT("\\CodePage")
  408. #define REGSTR_KEY_MIME_DATABASE_RFC1766 REGSTR_PATH_MIME_DATABASE TEXT("\\Rfc1766")
  409. #define REGSTR_VAL_CODEPAGE TEXT("CodePage")
  410. #define REGSTR_VAL_CODEPAGE_TYPE REG_DWORD
  411. #define REGSTR_VAL_INETENCODING TEXT("InternetEncoding")
  412. #define REGSTR_VAL_INETENCODING_TYPE REG_DWORD
  413. #define REGSTR_VAL_FAMILY TEXT("Family")
  414. #define REGSTR_VAL_FAMILY_TYPE REG_DWORD
  415. #define REGSTR_VAL_LEVEL TEXT("Level")
  416. #define REGSTR_VAL_LEVEL_TYPE REG_DWORD
  417. #define REGSTR_VAL_ALIASTO TEXT("AliasForCharset")
  418. #define REGSTR_VAL_ALIASTO_TYPE REG_SZ
  419. #define REGSTR_VAL_ENCODENAME TEXT("EncodingName")
  420. #define REGSTR_VAL_ENCODENAME_TYPE REG_SZ
  421. #define REGSTR_VAL_DESCRIPTION TEXT("Description")
  422. #define REGSTR_VAL_DESCRIPTION_TYPE REG_SZ
  423. #define REGSTR_VAL_WEBCHARSET TEXT("WebCharset")
  424. #define REGSTR_VAL_WEBCHARSET_TYPE REG_SZ
  425. #define REGSTR_VAL_BODYCHARSET TEXT("BodyCharset")
  426. #define REGSTR_VAL_BODYCHARSET_TYPE REG_SZ
  427. #define REGSTR_VAL_HEADERCHARSET TEXT("HeaderCharset")
  428. #define REGSTR_VAL_HEADERCHARSET_TYPE REG_SZ
  429. #define REGSTR_VAL_FIXEDWIDTHFONT TEXT("FixedWidthFont")
  430. #define REGSTR_VAL_FIXEDWIDTHFONT_TYPE REG_SZ
  431. #define REGSTR_VAL_PROPORTIONALFONT TEXT("ProportionalFont")
  432. #define REGSTR_VAL_PROPOPRTIONALFONT_TYPE REG_SZ
  433. #define REGSTR_VAL_PRIVCONVERTER TEXT("PrivConverter")
  434. #define REGSTR_VAL_PRIVCONVERTER_TYPE REG_SZ
  435. #endif // _INETREGSTRS_H_