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.

108 lines
6.1 KiB

  1. //Copyright (c) 1998 - 1999 Microsoft Corporation
  2. // constants.cpp
  3. #include "stdafx.h"
  4. LPCTSTR TERMINAL_SERVER_THIS_VERSION = _T("5.1");
  5. LPCTSTR TERMINAL_SERVER_NO_VERSION = _T("0.0");
  6. #ifdef UNICODE
  7. LPCTSTR PRODUCT_SUITE_KEY = REG_CONTROL L"\\ProductOptions";
  8. LPCTSTR SYSTEM_RDPWD_KEY = WD_REG_NAME L"\\rdpwd";
  9. LPCTSTR TS_LANATABLE_KEY = REG_CONTROL_TSERVER L"\\LanaTable";
  10. #else
  11. LPCTSTR PRODUCT_SUITE_KEY = REG_CONTROL_A "\\ProductOptions";
  12. LPCTSTR SYSTEM_RDPWD_KEY = WD_REG_NAME_A "\\rdpwd";
  13. LPCTSTR TS_LANATABLE_KEY = REG_CONTROL_TSERVER_A "\\LanaTable";
  14. #endif
  15. LPCTSTR TS_VIDEO_KEY = _T("VIDEO");
  16. LPCTSTR PRODUCT_SUITE_VALUE = _T("ProductSuite");
  17. LPCTSTR TS_PRODUCT_SUITE_STRING = _T("Terminal Server");
  18. LPCTSTR TS_ENABLED_VALUE = _T("TSEnabled");
  19. LPCTSTR TS_APPCMP_VALUE = _T("TSAppCompat");
  20. LPCTSTR LOGFILE = _T("%SystemRoot%\\tsoc.log");
  21. LPCTSTR MODULENAME = _T("tsoc.dll");
  22. LPCTSTR BASE_COMPONENT_NAME = _T("TerminalServices");
  23. LPCTSTR APPSRV_COMPONENT_NAME = _T("TerminalServer");
  24. LPCTSTR REMOTE_ADMIN_SERVER_X86 = _T("RemoteAdmin.srv.x86");
  25. LPCTSTR APPSERVER_SERVER_X86 = _T("AppServer.srv.x86");
  26. LPCTSTR TSDISABLED_SERVER_X86 = _T("DisabledTS.srv.x86");
  27. LPCTSTR PERSONALTS_SERVER_X86 = _T("PersonalTS.srv.x86");
  28. LPCTSTR REMOTE_ADMIN_SERVER_IA64 = _T("RemoteAdmin.srv.ia64");
  29. LPCTSTR APPSERVER_SERVER_IA64 = _T("AppServer.srv.ia64");
  30. LPCTSTR TSDISABLED_SERVER_IA64 = _T("DisabledTS.srv.ia64");
  31. LPCTSTR PERSONALTS_SERVER_IA64 = _T("PersonalTS.srv.ia64");
  32. LPCTSTR UPGRADE_FROM_40_SERVER_X86 = _T("UpgradeFrom40Section.server.x86");
  33. LPCTSTR UPGRADE_FROM_50_SERVER_X86 = _T("UpgradeFrom50Section.server.x86");
  34. LPCTSTR UPGRADE_FROM_51_SERVER_X86 = _T("UpgradeFrom51Section.server.x86");
  35. LPCTSTR FRESH_INSTALL_SERVER_X86 = _T("FreshInstallSection.server.x86");
  36. LPCTSTR UPGRADE_FROM_40_SERVER_IA64 = _T("UpgradeFrom40Section.server.ia64");
  37. LPCTSTR UPGRADE_FROM_50_SERVER_IA64 = _T("UpgradeFrom50Section.server.ia64");
  38. LPCTSTR UPGRADE_FROM_51_SERVER_IA64 = _T("UpgradeFrom51Section.server.ia64");
  39. LPCTSTR FRESH_INSTALL_SERVER_IA64 = _T("FreshInstallSection.server.ia64");
  40. LPCTSTR REMOTE_ADMIN_PRO_X86 = _T("RemoteAdmin.pro.x86");
  41. LPCTSTR APPSERVER_PRO_X86 = _T("AppServer.pro.x86");
  42. LPCTSTR TSDISABLED_PRO_X86 = _T("DisabledTS.pro.x86");
  43. LPCTSTR PERSONALTS_PRO_X86 = _T("PersonalTS.pro.x86");
  44. LPCTSTR REMOTE_ADMIN_PRO_IA64 = _T("RemoteAdmin.pro.ia64");
  45. LPCTSTR APPSERVER_PRO_IA64 = _T("AppServer.pro.ia64");
  46. LPCTSTR TSDISABLED_PRO_IA64 = _T("DisabledTS.pro.ia64");
  47. LPCTSTR PERSONALTS_PRO_IA64 = _T("PersonalTS.pro.ia64");
  48. LPCTSTR UPGRADE_FROM_40_PRO_X86 = _T("UpgradeFrom40Section.pro.x86");
  49. LPCTSTR UPGRADE_FROM_50_PRO_X86 = _T("UpgradeFrom50Section.pro.x86");
  50. LPCTSTR UPGRADE_FROM_51_PRO_X86 = _T("UpgradeFrom51Section.pro.x86");
  51. LPCTSTR FRESH_INSTALL_PRO_X86 = _T("FreshInstallSection.pro.x86");
  52. LPCTSTR UPGRADE_FROM_40_PRO_IA64 = _T("UpgradeFrom40Section.pro.ia64");
  53. LPCTSTR UPGRADE_FROM_50_PRO_IA64 = _T("UpgradeFrom50Section.pro.ia64");
  54. LPCTSTR UPGRADE_FROM_51_PRO_IA64 = _T("UpgradeFrom51Section.pro.ia64");
  55. LPCTSTR FRESH_INSTALL_PRO_IA64 = _T("FreshInstallSection.pro.ia64");
  56. // LPCTSTR SECURITY_APPSRV_SECTION = _T("TerminalServices.AppSrvDefaultSecurity");
  57. // LPCTSTR SECURITY_REMADM_SECTION = _T("TerminalServices.RemAdmDefaultSecurity");
  58. // LPCTSTR SECURITY_PRO_SECTION = _T("TerminalServices.ProDefaultSecurity");
  59. LPCTSTR TSCLIENTS_INSTALL_SECTION_SERVER = _T("TSClientInstallSection.server");
  60. LPCTSTR TSCLIENTS_UNINSTALL_SECTION_SERVER = _T("TSClientUninstallSection.server");
  61. LPCTSTR TSCLIENTS_INSTALL_SECTION_PRO = _T("TSClientInstallSection.pro");
  62. LPCTSTR TSCLIENTS_UNINSTALL_SECTION_PRO = _T("TSClientUninstallSection.pro");
  63. LPCTSTR TS_UNATTEND_APPSRVKEY = _T("TerminalServer");
  64. LPCTSTR TS_UNATTEND_PERMKEY = _T("PermissionsSetting");
  65. LPCTSTR TSCLIENT_DIRECTORY = _T("%SystemRoot%\\system32\\clients\\tsclient");
  66. LPCTSTR TS_EVENT_SOURCE = _T("TermService");
  67. LPCTSTR TERMSRV_PACK_4_KEY = _T("Windows NT Terminal Server 4.0 Service Pack 4");
  68. LPCTSTR TERMSRV_PACK_5_KEY = _T("Windows NT Terminal Server 4.0 Service Pack 5");
  69. LPCTSTR TERMSRV_PACK_6_KEY = _T("Windows NT Terminal Server 4.0 Service Pack 6");
  70. LPCTSTR TERMSRV_PACK_7_KEY = _T("Windows NT Terminal Server 4.0 Service Pack 7");
  71. LPCTSTR TERMSRV_PACK_8_KEY = _T("Windows NT Terminal Server 4.0 Service Pack 8");
  72. LPCTSTR SOFTWARE_UNINSTALL_KEY = _T("SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall");
  73. LPCTSTR DENY_CONN_VALUE = _T("fDenyTSConnections");
  74. LPCTSTR TS_ALLOW_CON_ENTRY = _T("AllowConnections");
  75. LPCTSTR TS_ALLOW_CON_ENTRY_2 = _T("AllowConnection");
  76. LPCTSTR TS_LICENSING_MODE = _T("LicensingMode");
  77. LPCTSTR SVCHOSST_KEY = _T("SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Svchost");
  78. LPCTSTR TERMSVCS_VAL = _T("termsvcs");
  79. LPCTSTR NETSVCS_VAL = _T("netsvcs");
  80. LPCTSTR TERMSERVICE = _T("TermService");
  81. LPCTSTR TERMSERVICE_MULTISZ = _T("TermService\0");
  82. LPCTSTR TERMSVCS_PARMS = _T("CoInitializeSecurityParam");
  83. LPCTSTR TERMSVCS_STACK = _T("DefaultRpcStackSize");
  84. LPCTSTR SVCHOSST_TERMSRV_KEY = _T("SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Svchost\\termsvcs");