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.

740 lines
39 KiB

  1. /****************************************************************************/
  2. // regapi.h
  3. //
  4. // Terminal Server registry access definitions, including prototypes for
  5. // regapi.dll.
  6. //
  7. // Copyright (C) 1997-2000 Microsoft Corporation
  8. /****************************************************************************/
  9. #ifndef __REGAPI_H__
  10. #define __REGAPI_H__
  11. /*
  12. * Maximum length of keyword
  13. */
  14. #define MAX_REGKEYWORD 50
  15. /*
  16. * Path to the TS policy tree managed by Group Policy
  17. */
  18. #define TS_POLICY_SUB_TREE L"Software\\Policies\\Microsoft\\Windows NT\\Terminal Services"
  19. /*
  20. * partial key strings used to build larger key strings and used by
  21. * various multiuser components within Rtl registry APIs.
  22. *
  23. * NOTE1: Don't put value names here - put them in separate sections
  24. * documented with some explaination (see below for examples)
  25. *
  26. * NOTE2: For completeness, each UNICODE string define should have an ANSI
  27. * define also (with _A suffix on name). Some Hydra/WinFrame components
  28. * want to use ANSI APIs, so defines should be provided for both. The
  29. * NTAPI defines do not need to have ANSI defines since the NT RTL
  30. * registry APIs work with UNICODE strings only.
  31. */
  32. #define REG_CONTROL L"System\\CurrentControlSet\\Control"
  33. #define REG_CONTROL_A "System\\CurrentControlSet\\Control"
  34. #define REG_NTAPI_CONTROL L"\\Registry\\Machine\\" REG_CONTROL
  35. #define REG_TSERVER L"Terminal Server"
  36. #define REG_TSERVER_A "Terminal Server"
  37. #define REG_WINSTATIONS L"WinStations"
  38. #define REG_WINSTATIONS_A "WinStations"
  39. #define REG_TSERVER_WINSTATIONS REG_TSERVER L"\\" REG_WINSTATIONS
  40. #define REG_TSERVER_WINSTATIONS_A REG_TSERVER_A "\\" REG_WINSTATIONS_A
  41. #define REG_DEFAULTSECURITY L"DefaultSecurity"
  42. #define REG_DEFAULTSECURITY_A "DefaultSecurity"
  43. #define REG_CONSOLESECURITY L"ConsoleSecurity"
  44. #define REG_CONSOLESECURITY_A "ConsoleSecurity"
  45. #define REG_WINSTATIONS_DEFAULTSECURITY REG_WINSTATIONS L"\\" REG_DEFAULTSECURITY
  46. #define REG_WINSTATIONS_DEFAULTSECURITY_A REG_WINSTATIONS_A "\\" REG_DEFAULTSECURITY_A
  47. #define REG_SECURITY L"Security"
  48. #define REG_SECURITY_A "Security"
  49. #define REG_INSTALL L"Install"
  50. #define REG_INSTALL_A "Install"
  51. #define REG_CHANGEUSER_OPTION L"Change User Option"
  52. #define REG_CHANGEUSER_OPTION_A "Change User Option"
  53. #define REG_COMPATIBILITY L"Compatibility"
  54. #define REG_COMPATIBILITY_A "Compatibility"
  55. #define REG_USERCONFIG L"UserConfig"
  56. #define REG_USERCONFIG_A "UserConfig"
  57. #define REG_DEFAULTUSERCONFIG L"DefaultUserConfiguration"
  58. #define REG_DEFAULTUSERCONFIG_A "DefaultUserConfiguration"
  59. #define REG_DOS L"Dos"
  60. #define REG_DOS_A "Dos"
  61. #define REG_AUTHORIZEDAPPLICATIONS L"AuthorizedApplications"
  62. #define REG_AUTHORIZEDAPPLICATIONS_A "AuthorizedApplications"
  63. #define REG_VIDEO L"Video"
  64. #define REG_VIDEO_A "Video"
  65. #define REG_APPLICATIONS L"Applications"
  66. #define REG_APPLICATIONS_A "Applications"
  67. #define REG_DLLS L"Dlls"
  68. #define REG_DLLS_A "Dlls"
  69. #define REG_INIFILES L"IniFiles"
  70. #define REG_INIFILES_A "IniFiles"
  71. #define REG_REGISTRYENTRIES L"Registry Entries"
  72. #define REG_REGISTRYENTRIES_A "Registry Entries"
  73. #define REG_INIFILETIMES L"IniFile Times"
  74. #define REG_INIFILETIMES_A "IniFile Times"
  75. #define REG_OBJRULES L"ObjectRules"
  76. #define REG_OBJRULES_A "ObjectRules"
  77. #define REG_DLLRULES L"DllRules"
  78. #define REG_DLLRULES_A "DllRules"
  79. #define REG_WINDOWS L"Windows"
  80. #define REG_WINDOWS_A "Windows"
  81. #define REG_ADVERTISEOLDAPPSERVERBIT L"AdvertiseOldAppServerBit"
  82. #define REG_ADVERTISEOLDAPPSERVERBIT_A "AdvertiseOldAppServerBit"
  83. /*
  84. * CONTROL key defines
  85. */
  86. #define REG_CONTROL_TSERVER REG_CONTROL L"\\" REG_TSERVER
  87. #define REG_CONTROL_TSERVER_A REG_CONTROL_A "\\" REG_TSERVER_A
  88. #define REG_NTAPI_CONTROL_TSERVER REG_NTAPI_CONTROL L"\\" REG_TSERVER
  89. #define WINSTATION_REG_NAME REG_CONTROL_TSERVER L"\\" REG_WINSTATIONS
  90. #define WINSTATION_REG_NAME_A REG_CONTROL_TSERVER_A "\\" REG_WINSTATIONS_A
  91. #define WD_REG_NAME REG_CONTROL_TSERVER L"\\Wds"
  92. #define WD_REG_NAME_A REG_CONTROL_TSERVER_A "\\Wds"
  93. #define PD_REG_NAME L"\\Pds"
  94. #define PD_REG_NAME_A "\\Pds"
  95. #define TD_REG_NAME L"\\Tds"
  96. #define TD_REG_NAME_A "\\Tds"
  97. #define CD_REG_NAME L"\\Cds"
  98. #define CD_REG_NAME_A "\\Cds"
  99. #define DOS_REG_NAME REG_CONTROL_TSERVER L"\\" REG_DOS
  100. #define DOS_REG_NAME_A REG_CONTROL_TSERVER_A "\\" REG_DOS_A
  101. #define USERCONFIG_REG_NAME REG_CONTROL_TSERVER L"\\" REG_USERCONFIG L"\\"
  102. #define USERCONFIG_REG_NAME_A REG_CONTROL_TSERVER_A "\\" REG_USERCONFIG_A "\\"
  103. #define DEFCONFIG_REG_NAME REG_CONTROL_TSERVER L"\\" REG_DEFAULTUSERCONFIG
  104. #define DEFCONFIG_REG_NAME_A REG_CONTROL_TSERVER_A "\\" REG_DEFAULTUSERCONFIG_A
  105. #define UTILITY_REG_NAME_CHANGE REG_CONTROL_TSERVER L"\\Utilities\\change"
  106. #define UTILITY_REG_NAME_CHANGE_A REG_CONTROL_TSERVER_A "\\Utilities\\change"
  107. #define UTILITY_REG_NAME_QUERY REG_CONTROL_TSERVER L"\\Utilities\\query"
  108. #define UTILITY_REG_NAME_QUERY_A REG_CONTROL_TSERVER_A "\\Utilities\\query"
  109. #define UTILITY_REG_NAME_RESET REG_CONTROL_TSERVER L"\\Utilities\\reset"
  110. #define UTILITY_REG_NAME_RESET_A REG_CONTROL_TSERVER_A "\\Utilities\\reset"
  111. #define AUTHORIZEDAPPS_REG_NAME REG_CONTROL_TSERVER L"\\" REG_AUTHORIZEDAPPLICATIONS
  112. #define AUTHORIZEDAPPS_REG_NAME_A REG_CONTROL_TSERVER_A "\\" REG_AUTHORIZEDAPPLICATIONS_A
  113. #define NTAPI_AUTHORIZEDAPPS_REG_NAME REG_NTAPI_CONTROL_TSERVER L"\\" REG_AUTHORIZEDAPPLICATIONS
  114. #define VIDEO_REG_NAME REG_CONTROL_TSERVER L"\\" REG_VIDEO
  115. #define VIDEO_REG_NAME_A REG_CONTROL_TSERVER_A "\\" REG_VIDEO_A
  116. #define NTAPI_VIDEO_REG_NAME REG_NTAPI_CONTROL_TSERVER L"\\" REG_VIDEO
  117. #define REG_TS_SESSDIRACTIVE L"SessionDirectoryActive"
  118. #define REG_TS_SESSDIRACTIVE_A "SessionDirectoryActive"
  119. #define REG_TS_SESSDIR_EXPOSE_SERVER_ADDR L"SessionDirectoryExposeServerIP"
  120. #define REG_TS_SESSDIR_EXPOSE_SERVER_ADDR_A "SessionDirectoryExposeServerIP"
  121. #define REG_TS_SESSDIRCLSID L"SessionDirectoryCLSID"
  122. #define REG_TS_SESSDIRCLSID_A "SessionDirectoryCLSID"
  123. #define REG_TS_SESSDIR_EX_CLSID L"SessionDirectoryExCLSID"
  124. #define REG_TS_SESSDIR_EX_CLSID_A "SessionDirectoryExCLSID"
  125. #define REG_TS_CLUSTERSETTINGS REG_CONTROL_TSERVER L"\\ClusterSettings"
  126. #define REG_TS_CLUSTERSETTINGS_A REG_CONTROL_TSERVER_A "\\ClusterSettings"
  127. #define REG_TS_CLUSTER_STORESERVERNAME L"SessionDirectoryLocation"
  128. #define REG_TS_CLUSTER_STORESERVERNAME_A "SessionDirectoryLocation"
  129. #define REG_TS_CLUSTER_CLUSTERNAME L"SessionDirectoryClusterName"
  130. #define REG_TS_CLUSTER_CLUSTERNAME_A "SessionDirectoryClusterName"
  131. #define REG_TS_CLUSTER_OPAQUESETTINGS L"SessionDirectoryAdditionalParams"
  132. #define REG_TS_CLUSTER_OPAQUESETTINGS_A "SessionDirectoryAdditionalParams"
  133. #define REG_TS_CLUSTER_REDIRECTIONIP L"SessionDirectoryRedirectionIP"
  134. #define REG_TS_CLUSTER_REDIRECTIONIP_A "SessionDirectoryRedirectionIP"
  135. /*
  136. * SOFTWARE key defines
  137. */
  138. #define BUILD_NUMBER_KEY L"Software\\Microsoft\\Windows NT\\CurrentVersion"
  139. #define BUILD_NUMBER_KEY_A "Software\\Microsoft\\Windows NT\\CurrentVersion"
  140. #define REG_SOFTWARE_TSERVER L"Software\\Microsoft\\Windows NT\\CurrentVersion\\Terminal Server"
  141. #define REG_SOFTWARE_TSERVER_A "Software\\Microsoft\\Windows NT\\CurrentVersion\\Terminal Server"
  142. #define REG_NTAPI_SOFTWARE_TSERVER L"\\Registry\\Machine\\" REG_SOFTWARE_TSERVER
  143. #if defined (_WIN64)
  144. #define REG_SOFTWARE_WOW6432_TSERVER L"Software\\Wow6432Node\\Microsoft\\Windows NT\\CurrentVersion\\Terminal Server"
  145. #define REG_NTAPI_SOFTWARE_WOW6432_TSERVER L"\\Registry\\Machine\\" REG_SOFTWARE_WOW6432_TSERVER
  146. #endif //_WIN64
  147. #define COMPAT_REG_NAME REG_SOFTWARE_TSERVER L"\\" REG_COMPATIBILITY
  148. #define COMPAT_REG_NAME_A REG_SOFTWARE_TSERVER_A "\\" REG_COMPATIBILITY_A
  149. #define NTAPI_COMPAT_REG_NAME REG_NTAPI_SOFTWARE_TSERVER L"\\" REG_COMPATIBILITY
  150. #define COMPAT_APPS_REG_NAME REG_SOFTWARE_TSERVER L"\\" REG_COMPATIBILITY L"\\" REG_APPLICATIONS
  151. #define COMPAT_APPS_REG_NAME_A REG_SOFTWARE_TSERVER_A "\\" REG_COMPATIBILITY_A "\\" REG_APPLICATIONS_A
  152. #define NTAPI_COMPAT_APPS_REG_NAME REG_NTAPI_SOFTWARE_TSERVER L"\\" REG_COMPATIBILITY L"\\" REG_APPLICATIONS
  153. #define NTAPI_COMPAT_APPS_REG_PREFIX REG_NTAPI_SOFTWARE_TSERVER L"\\" REG_COMPATIBILITY L"\\" REG_APPLICATIONS L"\\"
  154. #define COMPAT_DLLS_REG_NAME REG_SOFTWARE_TSERVER L"\\" REG_COMPATIBILITY L"\\" REG_DLLS
  155. #define COMPAT_DLLS_REG_NAME_A REG_SOFTWARE_TSERVER_A "\\" REG_COMPATIBILITY_A "\\" REG_DLLS_A
  156. #define COMPAT_APPS_REG_NAME REG_SOFTWARE_TSERVER L"\\" REG_COMPATIBILITY L"\\" REG_APPLICATIONS
  157. #define COMPAT_APPS_REG_NAME_A REG_SOFTWARE_TSERVER_A "\\" REG_COMPATIBILITY_A "\\" REG_APPLICATIONS_A
  158. #define NTAPI_COMPAT_DLLS_REG_NAME REG_NTAPI_SOFTWARE_TSERVER L"\\" REG_COMPATIBILITY L"\\" REG_DLLS
  159. #define NTAPI_COMPAT_DLLS_REG_PREFIX REG_NTAPI_SOFTWARE_TSERVER L"\\" REG_COMPATIBILITY L"\\" REG_DLLS L"\\"
  160. #define COMPAT_INI_REG_NAME REG_SOFTWARE_TSERVER L"\\" REG_COMPATIBILITY L"\\" REG_INIFILES
  161. #define COMPAT_INI_REG_NAME_A REG_SOFTWARE_TSERVER_A "\\" REG_COMPATIBILITY_A "\\" REG_INIFILES_A
  162. #define NTAPI_COMPAT_INI_REG_NAME REG_NTAPI_SOFTWARE_TSERVER L"\\" REG_COMPATIBILITY L"\\" REG_INIFILES
  163. #define COMPAT_REGENTRY_REG_NAME REG_SOFTWARE_TSERVER L"\\" REG_COMPATIBILITY L"\\" REG_REGISTRYENTRIES
  164. #define COMPAT_REGENTRY_REG_NAME_A REG_SOFTWARE_TSERVER_A "\\" REG_COMPATIBILITY_A "\\" REG_REGISTRYENTRIES_A
  165. #define NTAPI_COMPAT_REGENTRY_REG_NAME REG_NTAPI_SOFTWARE_TSERVER L"\\" REG_COMPATIBILITY L"\\" REG_REGISTRYENTRIES
  166. #define INSTALL_REG_NAME REG_SOFTWARE_TSERVER L"\\" REG_INSTALL
  167. #define INSTALL_REG_NAME_A REG_SOFTWARE_TSERVER_A "\\" REG_INSTALL_A
  168. #define NTAPI_INSTALL_REG_NAME REG_NTAPI_SOFTWARE_TSERVER L"\\" REG_INSTALL
  169. #define INIFILE_TIMES_REG_NAME REG_SOFTWARE_TSERVER L"\\" REG_INSTALL L"\\" REG_INIFILETIMES
  170. #define INIFILE_TIMES_REG_NAME_A REG_SOFTWARE_TSERVER_A "\\" REG_INSTALL_A "\\" REG_INIFILETIMES_A
  171. #define NTAPI_INIFILE_TIMES_REG_NAME REG_NTAPI_SOFTWARE_TSERVER L"\\" REG_INSTALL L"\\" REG_INIFILETIMES
  172. #define CHANGEUSER_OPTION_REG_NAME REG_SOFTWARE_TSERVER L"\\" REG_INSTALL L"\\" REG_CHANGEUSER_OPTION
  173. #define CHANGEUSER_OPTION_REG_NAME_A REG_SOFTWARE_TSERVER_A "\\" REG_INSTALL_A "\\" REG_CHANGEUSER_OPTION_A
  174. #define SECURITY_REG_NAME REG_SOFTWARE_TSERVER L"\\" REG_SECURITY
  175. #define SECURITY_REG_NAME_A REG_SOFTWARE_TSERVER_A "\\" REG_SECURITY_A
  176. #define WINDOWS_REG_NAME REG_SOFTWARE_TSERVER L"\\" REG_WINDOWS
  177. #define WINDOWS_REG_NAME_A REG_SOFTWARE_TSERVER_A "\\" REG_WINDOWS_A
  178. #define NTAPI_WINDOWS_REG_NAME REG_NTAPI_SOFTWARE_TSERVER L"\\" REG_WINDOWS
  179. #define DEVICERDR_REG_NAME REG_CONTROL_TSERVER L"\\AddIns\\Terminal Server Redirector"
  180. #define DEVICERDR_REG_NAME_A REG_CONTROL_TSERVER_A "\\AddIns\\Terminal Server Redirector"
  181. /*
  182. * SERVICES key defines
  183. */
  184. #define EVENTLOG_REG_NAME L"System\\CurrentControlSet\\Services\\EventLog\\System"
  185. #define EVENTLOG_REG_NAME_A "System\\CurrentControlSet\\Services\\EventLog\\System"
  186. /*
  187. * REG_CONTROL_TSERVER values (REG_CONTROL_CITRIX in WinFrame)
  188. */
  189. #define REG_CITRIX_OEMID L"OemId"
  190. #define REG_CITRIX_OEMID_A "OemId"
  191. #define REG_CITRIX_OEMNAME L"OemName"
  192. #define REG_CITRIX_OEMNAME_A "OemName"
  193. #define REG_CITRIX_PRODUCTNAME L"ProductName"
  194. #define REG_CITRIX_PRODUCTNAME_A "ProductName"
  195. #define REG_CITRIX_PRODUCTVERSION L"ProductVersion"
  196. #define REG_CITRIX_PRODUCTVERSION_A "ProductVersion"
  197. #define REG_CITRIX_PRODUCTVERSIONNUM L"ProductVersionNum"
  198. #define REG_CITRIX_PRODUCTVERSIONNUM_A "ProductVersionNum"
  199. #define REG_CITRIX_VERSION L"Version"
  200. #define REG_CITRIX_VERSION_A "Version"
  201. #define REG_CITRIX_PRODUCTBUILD L"ProductBuild"
  202. #define REG_CITRIX_PRODUCTBUILD_A "ProductBuild"
  203. #define REG_CITRIX_NWLOGON L"NWLogon"
  204. #define REG_CITRIX_NWLOGON_A "NWLogon"
  205. #define REG_CITRIX_IDLEWINSTATIONPOOLCOUNT L"IdleWinStationPoolCount"
  206. #define REG_CITRIX_IDLEWINSTATIONPOOLCOUNT_A "IdleWinStationPoolCount"
  207. #define REG_CITRIX_FLATTEMPDIR L"FlatTempDir"
  208. #define REG_CITRIX_FLATTEMPDIR_A "FlatTempDir"
  209. #define REG_TERMSRV_PERSESSIONTEMPDIR L"PerSessionTempDir"
  210. #define REG_TERMSRV_PERSESSIONTEMPDIR_A "PerSessionTempDir"
  211. #define REG_CITRIX_MODEMSWITHBADDSR L"Modems With Bad DSR"
  212. #define REG_CITRIX_MODEMSWITHBADDSR_A "Modems With Bad DSR"
  213. #define REG_CITRIX_NWNDSPREFERREDSERVER L"NWNDSPreferredServer"
  214. #define REG_CITRIX_NWNDSPREFERREDSERVER_A "NWNDSPreferredServer"
  215. #define REG_CITRIX_INITIALNETWAREDRIVE L"InitialNetWareDrive"
  216. #define REG_CITRIX_INITIALNETWAREDRIVE_A "InitialNetWareDrive"
  217. #define REG_CITRIX_CROSSWINSTATIONDEBUG L"CrossWinStationDebug"
  218. #define REG_CITRIX_CROSSWINSTATIONDEBUG_A "CrossWinStationDebug"
  219. #define REG_CITRIX_DELETETEMPDIRSONEXIT L"DeleteTempDirsOnExit"
  220. #define REG_CITRIX_DELETETEMPDIRSONEXIT_A "DeleteTempDirsOnExit"
  221. #define REG_TERMSRV_APPCOMPAT L"TSAppCompat"
  222. #define REG_TERMSRV_APPCOMPAT_A "TSAppCompat"
  223. #define REG_TERMSRV_ENABLED L"TSEnabled"
  224. #define REG_TERMSRV_ENABLED_A "TSEnabled"
  225. #define REG_TERMSRV_ADVERTISE L"TSAdvertise"
  226. #define REG_TERMSRV_ADVERTISE_A "TSAdvertise"
  227. #define REG_TERMSRV_CONQUEUE_MAX L"ConnectionQueue"
  228. #define REG_TERMSRV_CONQUEUE_MAX_A "ConnectionQueue"
  229. //The following policicies aren't currently used but may be added at some point
  230. //#define REG_TERMSRV_PROTECT_AGAINST_DOS_ATTACK L"ProtectAgainstDOSAttack"
  231. //#define REG_TERMSRV_PROTECT_AGAINST_DOS_ATTACK_A "ProtectAgainstDOSAttack"
  232. //#define REG_TERMSRV_REQUIRE_CREDS_DURING_CONN L"RequireCredentialsDuringConnection"
  233. //#define REG_TERMSRV_REQUIRE_CREDS_DURING_CONN_A "RequireCredentialsDuringConnection"
  234. /*
  235. * WinStation Profile values
  236. */
  237. #define WIN_BAUDRATE L"BaudRate"
  238. #define WIN_BAUDRATE_A "BaudRate"
  239. #define WIN_BYTESIZE L"ByteSize"
  240. #define WIN_BYTESIZE_A "ByteSize"
  241. #define WIN_COMMENT L"Comment"
  242. #define WIN_COMMENT_A "Comment"
  243. #define WIN_CONNECTTYPE L"ConnectType"
  244. #define WIN_CONNECTTYPE_A "ConnectType"
  245. #define WIN_DEFAULTWDNAME L"DefaultWdName"
  246. #define WIN_DEFAULTWDNAME_A "DefaultWdName"
  247. #define WIN_DEVICENAME L"DeviceName"
  248. #define WIN_DEVICENAME_A "DeviceName"
  249. #define WIN_MODEMNAME L"ModemName"
  250. #define WIN_MODEMNAME_A "ModemName"
  251. #define WIN_ENABLEBREAKDISCONNECT L"fEnableBreakDisconnect"
  252. #define WIN_ENABLEBREAKDISCONNECT_A "fEnableBreakDisconnect"
  253. #define WIN_ENABLEDSRSENSITIVITY L"fEnableDsrSensitivity"
  254. #define WIN_ENABLEDSRSENSITIVITY_A "fEnableDsrSensitivity"
  255. #define WIN_CONNECTIONDRIVER L"fConnectionDriver"
  256. #define WIN_CONNECTIONDRIVER_A "fConnectionDriver"
  257. #define WIN_ENABLEDTR L"fEnableDTR"
  258. #define WIN_ENABLEDTR_A "fEnableDTR"
  259. #define WIN_ENABLERTS L"fEnableRTS"
  260. #define WIN_ENABLERTS_A "fEnableRTS"
  261. #define WIN_ENABLEWINSTATION L"fEnableWinStation"
  262. #define WIN_ENABLEWINSTATION_A "fEnableWinStation"
  263. #define WIN_MAXINSTANCECOUNT L"MaxInstanceCount"
  264. #define WIN_MAXINSTANCECOUNT_A "MaxInstanceCount"
  265. #define WIN_FLOWTYPE L"FlowType"
  266. #define WIN_FLOWTYPE_A "FlowType"
  267. #define WIN_FLOWSOFTWARERX L"fFlowSoftwareRx"
  268. #define WIN_FLOWSOFTWARERX_A "fFlowSoftwareRx"
  269. #define WIN_FLOWSOFTWARETX L"fFlowSoftwareTx"
  270. #define WIN_FLOWSOFTWARETX_A "fFlowSoftwareTx"
  271. #define WIN_FLOWHARDWARERX L"FlowHardwareRx"
  272. #define WIN_FLOWHARDWARERX_A "FlowHardwareRx"
  273. #define WIN_FLOWHARDWARETX L"FlowHardwareTx"
  274. #define WIN_FLOWHARDWARETX_A "FlowHardwareTx"
  275. #define WIN_INPUTBUFFERLENGTH L"InputBufferLength"
  276. #define WIN_INPUTBUFFERLENGTH_A "InputBufferLength"
  277. #define WIN_INTERACTIVEDELAY L"InteractiveDelay"
  278. #define WIN_INTERACTIVEDELAY_A "InteractiveDelay"
  279. #define WIN_KEEPALIVETIMEOUT L"KeepAliveTimeout"
  280. #define WIN_KEEPALIVETIMEOUT_A "KeepAliveTimeout"
  281. #define WIN_LANADAPTER L"LanAdapter"
  282. #define WIN_LANADAPTER_A "LanAdapter"
  283. #define WIN_CDCLASS L"CdClass"
  284. #define WIN_CDCLASS_A "CdClass"
  285. #define WIN_CDDLL L"CdDLL"
  286. #define WIN_CDDLL_A "CdDLL"
  287. #define WIN_CDNAME L"CdName"
  288. #define WIN_CDNAME_A "CdName"
  289. #define WIN_CDFLAG L"CdFlag"
  290. #define WIN_CDFLAG_A "CdFlag"
  291. #define WIN_CFGDLL L"CfgDLL"
  292. #define WIN_CFGDLL_A "CfgDLL"
  293. #define WIN_CONFIGDLL L"ConfigDLL"
  294. #define WIN_CONFIGDLL_A "ConfigDLL"
  295. #define WIN_WDNAME L"WdName"
  296. #define WIN_WDNAME_A "WdName"
  297. #define WIN_WDPREFIX L"WdPrefix"
  298. #define WIN_WDPREFIX_A "WdPrefix"
  299. #define WIN_WDDLL L"WdDLL"
  300. #define WIN_WDDLL_A "WdDLL"
  301. #define WIN_WSXDLL L"WsxDLL"
  302. #define WIN_WSXDLL_A "WsxDLL"
  303. #define WIN_OUTBUFLENGTH L"OutBufLength"
  304. #define WIN_OUTBUFLENGTH_A "OutBufLength"
  305. #define WIN_OUTBUFCOUNT L"OutBufCount"
  306. #define WIN_OUTBUFCOUNT_A "OutBufCount"
  307. #define WIN_OUTBUFDELAY L"OutBufDelay"
  308. #define WIN_OUTBUFDELAY_A "OutBufDelay"
  309. #define WIN_PARITY L"Parity"
  310. #define WIN_PARITY_A "Parity"
  311. #define WIN_PDCLASS L"PdClass"
  312. #define WIN_PDCLASS_A "PdClass"
  313. #define WIN_PDDLL L"PdDLL"
  314. #define WIN_PDDLL_A "PdDLL"
  315. #define WIN_PDFLAG L"PdFlag"
  316. #define WIN_PDFLAG_A "PdFlag"
  317. #define WIN_PDNAME L"PdName"
  318. #define WIN_PDNAME_A "PdName"
  319. #define WIN_PDOPTIONS L"PdOptions"
  320. #define WIN_PDOPTIONS_A "PdOptions"
  321. #define WIN_REQUIREDPDS L"RequiredPds"
  322. #define WIN_REQUIREDPDS_A "RequiredPds"
  323. #define WIN_SERVICENAME L"ServiceName"
  324. #define WIN_SERVICENAME_A "ServiceName"
  325. #define WIN_STOPBITS L"StopBits"
  326. #define WIN_STOPBITS_A "StopBits"
  327. #define WIN_TCDNAME L"TcdName"
  328. #define WIN_TCDNAME_A "TcdName"
  329. #define WIN_TRACEENABLE L"TraceEnable"
  330. #define WIN_TRACEENABLE_A "TraceEnable"
  331. #define WIN_TRACECLASS L"TraceClass"
  332. #define WIN_TRACECLASS_A "TraceClass"
  333. #define WIN_TRACEDEBUGGER L"TraceDebugger"
  334. #define WIN_TRACEDEBUGGER_A "TraceDebugger"
  335. #define WIN_TRACEOPTION L"TraceOption"
  336. #define WIN_TRACEOPTION_A "TraceOption"
  337. #define WIN_WDFLAG L"WdFlag"
  338. #define WIN_WDFLAG_A "WdFlag"
  339. #define WIN_WDOPTIONS L"WdOptions"
  340. #define WIN_WDOPTIONS_A "WdOptions"
  341. #define WIN_XOFFCHAR L"XoffChar"
  342. #define WIN_XOFFCHAR_A "XoffChar"
  343. #define WIN_XONCHAR L"XonChar"
  344. #define WIN_XONCHAR_A "XonChar"
  345. #define WIN_USEROVERRIDE L"UserOverride"
  346. #define WIN_USEROVERRIDE_A "UserOverride"
  347. #define WIN_NASISPECIFICNAME L"NasiSpecificName"
  348. #define WIN_NASISPECIFICNAME_A "NasiSpecificName"
  349. #define WIN_NASIUSERNAME L"NasiUserName"
  350. #define WIN_NASIUSERNAME_A "NasiUserName"
  351. #define WIN_NASIPASSWORD L"NasiPassWord"
  352. #define WIN_NASIPASSWORD_A "NasiPassWord"
  353. #define WIN_NASISESSIONNAME L"NasiSessionName"
  354. #define WIN_NASISESSIONNAME_A "NasiSessionName"
  355. #define WIN_NASIFILESERVER L"NasiFileServer"
  356. #define WIN_NASIFILESERVER_A "NasiFileServer"
  357. #define WIN_NASIGLOBALSESSION L"NasiGlobalSession"
  358. #define WIN_NASIGLOBALSESSION_A "NasiGlobalSession"
  359. #define WIN_PORTNUMBER L"PortNumber"
  360. #define WIN_PORTNUMBER_A "PortNumber"
  361. #define WIN_OEMTDADAPTER L"OemTdAdapter"
  362. #define WIN_OEMTDADAPTER_A "OemTdAdapter"
  363. #define WIN_OEMTDDEVICENAME L"OemTdDeviceName"
  364. #define WIN_OEMTDDEVICENAME_A "OemTdDeviceName"
  365. #define WIN_OEMTDFLAGS L"OemTdFlags"
  366. #define WIN_OEMTDFLAGS_A "OemTdFlags"
  367. #define WIN_DONTDISPLAYLASTUSERNAME L"DontDisplayLastUserName"
  368. #define WIN_DONTDISPLAYLASTUSERNAME_A "DontDisplayLastUserName"
  369. /*
  370. * User Profile / WinStation Profile values
  371. */
  372. #define WIN_INHERITAUTOLOGON L"fInheritAutoLogon"
  373. #define WIN_INHERITAUTOLOGON_A "fInheritAutoLogon"
  374. #define WIN_INHERITRESETBROKEN L"fInheritResetBroken"
  375. #define WIN_INHERITRESETBROKEN_A "fInheritResetBroken"
  376. #define WIN_INHERITRECONNECTSAME L"fInheritReconnectSame"
  377. #define WIN_INHERITRECONNECTSAME_A "fInheritReconnectSame"
  378. #define WIN_INHERITINITIALPROGRAM L"fInheritInitialProgram"
  379. #define WIN_INHERITINITIALPROGRAM_A "fInheritInitialProgram"
  380. #define WIN_INHERITCALLBACK L"fInheritCallback"
  381. #define WIN_INHERITCALLBACK_A "fInheritCallback"
  382. #define WIN_INHERITCALLBACKNUMBER L"fInheritCallbackNumber"
  383. #define WIN_INHERITCALLBACKNUMBER_A "fInheritCallbackNumber"
  384. #define WIN_INHERITSHADOW L"fInheritShadow"
  385. #define WIN_INHERITSHADOW_A "fInheritShadow"
  386. #define WIN_INHERITMAXSESSIONTIME L"fInheritMaxSessionTime"
  387. #define WIN_INHERITMAXSESSIONTIME_A "fInheritMaxSessionTime"
  388. #define WIN_INHERITMAXDISCONNECTIONTIME L"fInheritMaxDisconnectionTime"
  389. #define WIN_INHERITMAXDISCONNECTIONTIME_A "fInheritMaxDisconnectionTime"
  390. #define WIN_INHERITMAXIDLETIME L"fInheritMaxIdleTime"
  391. #define WIN_INHERITMAXIDLETIME_A "fInheritMaxIdleTime"
  392. #define WIN_INHERITAUTOCLIENT L"fInheritAutoClient"
  393. #define WIN_INHERITAUTOCLIENT_A "fInheritAutoClient"
  394. #define WIN_INHERITSECURITY L"fInheritSecurity"
  395. #define WIN_INHERITSECURITY_A "fInheritSecurity"
  396. //NA 2/23/01
  397. #define WIN_INHERITCOLORDEPTH L"fInheritColorDepth"
  398. #define WIN_PROMPTFORPASSWORD L"fPromptForPassword"
  399. #define WIN_PROMPTFORPASSWORD_A "fPromptForPassword"
  400. #define WIN_RESETBROKEN L"fResetBroken"
  401. #define WIN_RESETBROKEN_A "fResetBroken"
  402. #define WIN_RECONNECTSAME L"fReconnectSame"
  403. #define WIN_RECONNECTSAME_A "fReconnectSame"
  404. #define WIN_LOGONDISABLED L"fLogonDisabled"
  405. #define WIN_LOGONDISABLED_A "fLogonDisabled"
  406. #define WIN_AUTOCLIENTDRIVES L"fAutoClientDrives"
  407. #define WIN_AUTOCLIENTDRIVES_A "fAutoClientDrives"
  408. #define WIN_AUTOCLIENTLPTS L"fAutoClientLpts"
  409. #define WIN_AUTOCLIENTLPTS_A "fAutoClientLpts"
  410. #define WIN_FORCECLIENTLPTDEF L"fForceClientLptDef"
  411. #define WIN_FORCECLIENTLPTDEF_A "fForceClientLptDef"
  412. #define WIN_DISABLEENCRYPTION L"fDisableEncryption"
  413. #define WIN_DISABLEENCRYPTION_A "fDisableEncryption"
  414. #define WIN_HOMEDIRECTORYMAPROOT L"fHomeDirectoryMapRoot"
  415. #define WIN_HOMEDIRECTORYMAPROOT_A "fHomeDirectoryMapRoot"
  416. #define WIN_USEDEFAULTGINA L"fUseDefaultGina"
  417. #define WIN_USEDEFAULTGINA_A "fUseDefaultGina"
  418. #define WIN_DISABLEAUTORECONNECT L"fDisableAutoReconnect"
  419. #define WIN_DISABLEAUTORECONNECT_A "fDisableAutoReconnect"
  420. #define WIN_SESSIONDIRECTORYACTIVE L"SessionDirectoryActive"
  421. #define WIN_SESSIONDIRECTORYLOCATION L"SessionDirectoryLocation"
  422. #define WIN_SESSIONDIRECTORYCLUSTERNAME L"SessionDirectoryClusterName"
  423. #define WIN_SESSIONDIRECTORYADDITIONALPARAMS L"SessionDirectoryAdditionalParams"
  424. #define WIN_DISABLECPM L"fDisableCpm"
  425. #define WIN_DISABLECPM_A "fDisableCpm"
  426. #define WIN_DISABLECDM L"fDisableCdm"
  427. #define WIN_DISABLECDM_A "fDisableCdm"
  428. #define WIN_DISABLECCM L"fDisableCcm"
  429. #define WIN_DISABLECCM_A "fDisableCcm"
  430. #define WIN_DISABLELPT L"fDisableLPT"
  431. #define WIN_DISABLELPT_A "fDisableLPT"
  432. #define WIN_DISABLECLIP L"fDisableClip"
  433. #define WIN_DISABLECLIP_A "fDisableClip"
  434. #define WIN_DISABLEEXE L"fDisableExe"
  435. #define WIN_DISABLEEXE_A "fDisableExe"
  436. #define WIN_DISABLECAM L"fDisableCam"
  437. #define WIN_DISABLECAM_A "fDisableCam"
  438. #define WIN_USERNAME L"Username"
  439. #define WIN_USERNAME_A "Username"
  440. #define WIN_DOMAIN L"Domain"
  441. #define WIN_DOMAIN_A "Domain"
  442. #define WIN_PASSWORD L"Password"
  443. #define WIN_PASSWORD_A "Password"
  444. #define WIN_WORKDIRECTORY L"WorkDirectory"
  445. #define WIN_WORKDIRECTORY_A "WorkDirectory"
  446. #define WIN_INITIALPROGRAM L"InitialProgram"
  447. #define WIN_INITIALPROGRAM_A "InitialProgram"
  448. #define WIN_CALLBACKNUMBER L"CallbackNumber"
  449. #define WIN_CALLBACKNUMBER_A "CallbackNumber"
  450. #define WIN_CALLBACKTIMEOUT L"CallbackTimeout"
  451. #define WIN_CALLBACKTIMEOUT_A "CallbackTimeout"
  452. #define WIN_CALLBACK L"Callback"
  453. #define WIN_CALLBACK_A "Callback"
  454. #define WIN_SHADOW L"Shadow"
  455. #define WIN_SHADOW_A "Shadow"
  456. #define WIN_MAXCONNECTIONTIME L"MaxConnectionTime"
  457. #define WIN_MAXCONNECTIONTIME_A "MaxConnectionTime"
  458. #define WIN_MAXDISCONNECTIONTIME L"MaxDisconnectionTime"
  459. #define WIN_MAXDISCONNECTIONTIME_A "MaxDisconnectionTime"
  460. #define WIN_MAXIDLETIME L"MaxIdleTime"
  461. #define WIN_MAXIDLETIME_A "MaxIdleTime"
  462. #define WIN_KEYBOARDLAYOUT L"KeyboardLayout"
  463. #define WIN_KEYBOARDLAYOUT_A "KeyboardLayout"
  464. #define WIN_MINENCRYPTIONLEVEL L"MinEncryptionLevel"
  465. #define WIN_MINENCRYPTIONLEVEL_A "MinEncryptionLevel"
  466. #define WIN_NWLOGONSERVER L"NWLogonServer"
  467. #define WIN_NWLOGONSERVER_A "NWLogonServer"
  468. #define WIN_WFPROFILEPATH L"WFProfilePath"
  469. #define WIN_WFPROFILEPATH_A "WFProfilePath"
  470. #define WIN_WFHOMEDIR L"WFHomeDir"
  471. #define WIN_WFHOMEDIR_A "WFHomeDir"
  472. #define WIN_WFHOMEDIRDRIVE L"WFHomeDirDrive"
  473. #define WIN_WFHOMEDIRDRIVE_A "WFHomeDirDrive"
  474. // New entries due to new Group Policy items.
  475. #define POLICY_DENY_TS_CONNECTIONS L"fDenyTSConnections"
  476. #define POLICY_TS_COLOR_DEPTH L"ColorDepth"
  477. #define POLICY_TS_REMDSK_ALLOWTOGETHELP L"fAllowToGetHelp"
  478. #define POLICY_TS_TSCC_PERM_TAB_WRITABLE L"fWritableTSCCPermTab"
  479. #define POLICY_TS_SINGLE_SESSION_PER_USER L"fSingleSessionPerUser"
  480. #define POLICY_TS_NO_REMOTE_DESKTOP_WALLPAPER L"fNoRemoteDesktopWallpaper"
  481. #define POLICY_TS_NO_REMOTE_DESKTOP_CURSORBLINK L"fNoRemoteDesktopCursorBlink"
  482. #define POLICY_TS_ENABLE_TIME_ZONE_REDIRECTION L"fEnableTimeZoneRedirection"
  483. #define POLICY_TS_ENCRYPT_RPC_TRAFFIC L"fEncryptRPCTraffic"
  484. #define POLICY_TS_DISABLE_FORCIBLE_LOGOFF L"fDisableForcibleLogoff"
  485. #define REG_MACHINE_IN_HELP_MODE L"fInHelpMode"
  486. #define REG_POLICY_PREVENT_LICENSE_UPGRADE L"fPreventLicenseUpgrade"
  487. #define REG_POLICY_SECURE_LICENSING L"fSecureLicensing"
  488. /*
  489. * Dos values
  490. */
  491. #define CTXDOS_KBDIDLEDETECTPROBATIONCOUNT L"KbdIdleDetectProbationCount"
  492. #define CTXDOS_KBDIDLEDETECTPROBATIONCOUNT_A "KbdIdleDetectProbationCount"
  493. #define CTXDOS_KBDIDLEINPROBATIONCOUNT L"KbdIdleInProbationCount"
  494. #define CTXDOS_KBDIDLEINPROBATIONCOUNT_A "KbdIdleInProbationCount"
  495. #define CTXDOS_KBDIDLEDETECTABSOLUTE L"KbdIdleDetectAbsolute"
  496. #define CTXDOS_KBDIDLEDETECTABSOLUTE_A "KbdIdleDetectAbsolute"
  497. #define CTXDOS_KBDIDLEBUSYMSALLOWED L"KbdIdleBusymsAllowed"
  498. #define CTXDOS_KBDIDLEBUSYMSALLOWED_A "KbdIdleBusymsAllowed"
  499. #define CTXDOS_KBDIDLEMSALLOWED L"KbdIdlemsAllowed"
  500. #define CTXDOS_KBDIDLEMSALLOWED_A "KbdIdlemsAllowed"
  501. #define CTXDOS_KBDIDLEMSGOODPROBATIONEND L"KbdIdlemsGoodProbationEnd"
  502. #define CTXDOS_KBDIDLEMSGOODPROBATIONEND_A "KbdIdlemsGoodProbationEnd"
  503. #define CTXDOS_KBDIDLEMSPROBATIONTRAIL L"KbdIdlemsProbationTrial"
  504. #define CTXDOS_KBDIDLEMSPROBATIONTRAIL_A "KbdIdlemsProbationTrial"
  505. #define CTXDOS_KBDIDLEMSSLEEP L"KbdIdlemsSleep"
  506. #define CTXDOS_KBDIDLEMSSLEEP_A "KbdIdlemsSleep"
  507. #define CTXDOS_KBDIDLEDETECTIONINTERVAL L"KbdIdleDetectionInterval"
  508. #define CTXDOS_KBDIDLEDETECTIONINTERVAL_A "KbdIdleDetectionInterval"
  509. /*
  510. * AuthorizedApplications values
  511. */
  512. #define CTXAPPS_APPLICATIONLIST L"ApplicationList"
  513. #define CTXAPPS_APPLICATIONLIST_A "ApplicationList"
  514. #define CTXAPPS_ENABLED L"fEnabled"
  515. #define CTXAPPS_ENABLED_A "fEnabled"
  516. /*
  517. * Compatibility\Applications\<appname> values (some also appear as defaults
  518. * under REG_CONTROL_TSERVER)
  519. */
  520. #define COMPAT_MSGQBADAPPSLEEPTIMEINMILLISEC L"MsgQBadAppSleepTimeInMillisec"
  521. #define COMPAT_MSGQBADAPPSLEEPTIMEINMILLISEC_A "MsgQBadAppSleepTimeInMillisec"
  522. #define COMPAT_FIRSTCOUNTMSGQPEEKSSLEEPBADAPP L"FirstCountMsgQPeeksSleepBadApp"
  523. #define COMPAT_FIRSTCOUNTMSGQPEEKSSLEEPBADAPP_A "FirstCountMsgQPeeksSleepBadApp"
  524. #define COMPAT_NTHCOUNTMSGQPEEKSSLEEPBADAPP L"NthCountMsgQPeeksSleepBadApp"
  525. #define COMPAT_NTHCOUNTMSGQPEEKSSLEEPBADAPP_A "NthCountMsgQPeeksSleepBadApp"
  526. #define COMPAT_FLAGS L"Flags"
  527. #define COMPAT_FLAGS_A "Flags"
  528. #define COMPAT_CLIPBOARDFLAGS L"ClipboardFlags"
  529. #define COMPAT_CLIPBOARDFLAGS_A "ClipboardFlags"
  530. #define COMPAT_OPENCLIPBOARDRETRIES L"OpenClipboardRetries"
  531. #define COMPAT_OPENCLIPBOARDRETRIES_A "OpenClipboardRetries"
  532. #define COMPAT_OPENCLIPBOARDDELAYINMILLISECS L"OpenClipboardDelayInMilliSecs"
  533. #define COMPAT_OPENCLIPBOARDDELAYINMILLISECS_A "OpenClipboardDelayInMilliSecs"
  534. #define COMPAT_PHYSICALMEMORYLIMIT L"PhysicalMemoryLimit"
  535. #define COMPAT_PHYSICALMEMORYLIMIT_A "PhysicalMemoryLimit"
  536. /*
  537. * Compatibility\Applications\<appname>\ObjectRules and *\DllRules values
  538. */
  539. #define COMPAT_RULES_USER_GLOBAL_SEMAPHORES L"UserGlobalSemaphores"
  540. #define COMPAT_RULES_USER_GLOBAL_SEMAPHORES_A "UserGlobalSemaphores"
  541. #define COMPAT_RULES_USER_GLOBAL_EVENTS L"UserGlobalEvents"
  542. #define COMPAT_RULES_USER_GLOBAL_EVENTS_A "UserGlobalEvents"
  543. #define COMPAT_RULES_USER_GLOBAL_MUTEXES L"UserGlobalMutexes"
  544. #define COMPAT_RULES_USER_GLOBAL_MUTEXES_A "UserGlobalMutexes"
  545. #define COMPAT_RULES_USER_GLOBAL_SECTIONS L"UserGlobalSections"
  546. #define COMPAT_RULES_USER_GLOBAL_SECTIONS_A "UserGlobalSections"
  547. #define COMPAT_RULES_SYSTEM_GLOBAL_SEMAPHORES L"SystemGlobalSemaphores"
  548. #define COMPAT_RULES_SYSTEM_GLOBAL_SEMAPHORES_A "SystemGlobalSemaphores"
  549. #define COMPAT_RULES_SYSTEM_GLOBAL_EVENTS L"SystemGlobalEvents"
  550. #define COMPAT_RULES_SYSTEM_GLOBAL_EVENTS_A "SystemGlobalEvents"
  551. #define COMPAT_RULES_SYSTEM_GLOBAL_MUTEXES L"SystemGlobalMutexes"
  552. #define COMPAT_RULES_SYSTEM_GLOBAL_MUTEXES_A "SystemGlobalMutexes"
  553. #define COMPAT_RULES_SYSTEM_GLOBAL_SECTIONS L"SystemGlobalSections"
  554. #define COMPAT_RULES_SYSTEM_GLOBAL_SECTIONS_A "SystemGlobalSections"
  555. /*
  556. * Compatibility\Registry Entries system values
  557. */
  558. #define COMPAT_REGENTRIES_CLASSES L"Classes"
  559. #define COMPAT_REGENTRIES_CLASSES_A "Classes"
  560. /*
  561. * INIFILE_TIMES_REG_NAME system values
  562. */
  563. #define INIFILE_TIMES_LATESTREGISTRYKEY L"LatestRegistryKey"
  564. #define INIFILE_TIMES_LATESTREGISTRYKEY_A "LatestRegistryKey"
  565. /*
  566. * SECURITY_REG_NAME system values
  567. */
  568. #define CTXSECURITY_SECURITYLEVEL L"SecurityLevel"
  569. #define CTXSECURITY_SECURITYLEVEL_A "SecurityLevel"
  570. /*
  571. * WINDOWS_REG_NAME system values
  572. */
  573. #define CTXWINDOWS_USERDIRECTORYNAME L"UserDirectoryName"
  574. #define CTXWINDOWS_USERDIRECTORYNAME_A "UserDirectoryName"
  575. /*
  576. * CURRENT_USER\(REG_SOFTWARE_TSERVER) values
  577. */
  578. #define COMPAT_USER_LASTUSERINISYNCTIME L"LastUserIniSyncTime"
  579. #define COMPAT_USER_LASTUSERINISYNCTIME_A "LastUserIniSyncTime"
  580. /*
  581. * Windows NT build number information value (under BUILD_NUMBER_KEY)
  582. */
  583. #define BUILD_NUMBER_VALUE L"CurrentBuildNumber"
  584. #define BUILD_NUMBER_VALUE_A "CurrentBuildNumber"
  585. /*
  586. * KeepAlive Values
  587. */
  588. #define KEEP_ALIVE_ENABLE_KEY L"KeepAliveEnable"
  589. #define KEEP_ALIVE_ENABLE_KEY_A "KeepAliveEnable"
  590. #define KEEP_ALIVE_INTERVAL_KEY L"KeepAliveInterval"
  591. #define KEEP_ALIVE_INTERVAL_KEY_A "KeepAliveInterval"
  592. /*
  593. * MaxOutStandingConnect value
  594. */
  595. #define MAX_OUTSTD_CONNECT L"MaxOutStandingConnect"
  596. #define MAX_OUTSTD_CONNECT_A "MaxOutStandingConnect"
  597. /*
  598. * MaxSingleOutStandingConnect value
  599. */
  600. #define MAX_SINGLE_OUTSTD_CONNECT L"MaxSingleOutStandingConnect"
  601. #define MAX_SINGLE_OUTSTD_CONNECT_A "MaxSingleOutStandingConnect"
  602. /*
  603. * MaxFailedConnect value
  604. */
  605. #define MAX_FAILED_CONNECT L"MaxFailedConnect"
  606. #define MAX_FAILED_CONNECT_A "MaxFailedConnect"
  607. /*
  608. * TimeLimitForFailedConnect value
  609. */
  610. #define TIME_LIMIT_FAILED_CONNECT L"TimeLimitFailedConnect"
  611. #define TIME_LIMIT_FAILED_CONNECT_A "TimeLimitFailedConnect"
  612. /*
  613. * DosBlockTime value
  614. */
  615. #define DOS_BLOCK_TIME L"BlockTime"
  616. #define DOS_BLOCK_TIME_A "BlockTime"
  617. /*
  618. * Blacklisting policy for bad clients on or off
  619. */
  620. #define BLACK_LIST_POLICY L"BlackListPolicy"
  621. #define BLACK_LIST_POLICY_A "BlackListPolicy"
  622. /*
  623. * LogoffTimeout value
  624. */
  625. #define LOGOFF_TIMEOUT L"LogoffTimeout"
  626. #define LOGOFF_TIMEOUT_A "LogoffTimeout"
  627. /*
  628. * Channel throttling values.
  629. */
  630. #define REG_MOUSE_THROTTLE_SIZE L"MouseThrottleSize"
  631. #define REG_MOUSE_THROTTLE_SIZE_A "MouseThrottleSize"
  632. #define REG_KEYBOARD_THROTTLE_SIZE L"KeyboardThrottleSize"
  633. #define REG_KEYBOARD_THROTTLE_SIZE_A "KeyboardThrottleSize"
  634. /*
  635. * Device Redirection Values
  636. */
  637. #define DEVICERDR_SESSIONID L"TSSessionID"
  638. #define DEVICERDR_SESSIONID_A "TSSessionID"
  639. #define DEVICERDR_WAITFORSPOOLTIMEOUT L"WaitForSpoolerTimeOut"
  640. #define DEVICERDR_WAITFORSPOOLTIMEOUT_A "WaitForSpoolerTimeOut"
  641. /*
  642. * Various other defines that probably should live elsewhere
  643. */
  644. // Dll Oem and Product information DLL (this should be elsewhere)
  645. #define OEM_AND_PRODUCT_INFO_DLL L"SHELL32.DLL"
  646. // defines for Citrix error and status extensions (this should be elsewhere)
  647. #define WIN_EVENTLOGPATH L"%SystemRoot%\\System32\\cxstatus.dll;%SystemRoot%\\System32\\cxerror.dll"
  648. /*
  649. * Salem specific registry key
  650. */
  651. #define REG_CONTROL_SALEM L"Software\\Microsoft\\Remote Desktop"
  652. /*
  653. * Registry key to control Salem 'GetHelp'
  654. */
  655. #define REG_CONTROL_GETHELP REG_CONTROL_TSERVER
  656. /*
  657. * LSA key to store auto logon password, note Winstation Name will be appended
  658. */
  659. #define LSA_PSWD_KEYNAME L"L$_{F9E9F0B6-D323-488d-A416-FCD4AA817A89}_"
  660. #define LSA_PSWD_KEYNAME_T _T("L$_{F9E9F0B6-D323-488d-A416-FCD4AA817A89}_")
  661. #define OLD_PASSWORD_VALUE_NAME _T("Password")
  662. //
  663. // DWORD values that get stored in the registry to represent the
  664. // encryption level.
  665. //
  666. #define REG_FIPS_ENCRYPTION_LEVEL 0x00000004
  667. #define TS_FIPS_POLICY L"System\\CurrentControlSet\\Control\\LSA"
  668. #define FIPS_ALGORITH_POLICY L"FipsAlgorithmPolicy"
  669. #endif //__REGAPI_H__