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.

140 lines
4.4 KiB

  1. //Copyright (c) 1998 - 1999 Microsoft Corporation
  2. // constants.cpp
  3. #include "stdafx.h"
  4. #ifndef __TSOC_CONSTANTS_H__
  5. #define __TSOC_CONSTANTS_H__
  6. extern LPCTSTR TERMINAL_SERVER_THIS_VERSION;
  7. extern LPCTSTR TERMINAL_SERVER_NO_VERSION;
  8. extern LPCTSTR PRODUCT_SUITE_KEY;
  9. extern LPCTSTR SYSTEM_RDPWD_KEY;
  10. extern LPCTSTR TS_LANATABLE_KEY;
  11. extern LPCTSTR TS_VIDEO_KEY;
  12. extern LPCTSTR PRODUCT_SUITE_VALUE;
  13. extern LPCTSTR TS_PRODUCT_SUITE_STRING;
  14. extern LPCTSTR TS_ENABLED_VALUE;
  15. extern LPCTSTR TS_APPCMP_VALUE;
  16. extern LPCTSTR LOGFILE;
  17. extern LPCTSTR MODULENAME;
  18. extern LPCTSTR BASE_COMPONENT_NAME;
  19. extern LPCTSTR APPSRV_COMPONENT_NAME;
  20. extern LPCTSTR REMOTE_ADMIN_SERVER_X86;
  21. extern LPCTSTR APPSERVER_SERVER_X86;
  22. extern LPCTSTR TSDISABLED_SERVER_X86;
  23. extern LPCTSTR PERSONALTS_SERVER_X86;
  24. extern LPCTSTR REMOTE_ADMIN_SERVER_IA64;
  25. extern LPCTSTR APPSERVER_SERVER_IA64;
  26. extern LPCTSTR TSDISABLED_SERVER_IA64;
  27. extern LPCTSTR PERSONALTS_SERVER_IA64;
  28. extern LPCTSTR UPGRADE_FROM_40_SERVER_X86;
  29. extern LPCTSTR UPGRADE_FROM_50_SERVER_X86;
  30. extern LPCTSTR UPGRADE_FROM_50_SERVER_X86;
  31. extern LPCTSTR FRESH_INSTALL_SERVER_X86;
  32. extern LPCTSTR UPGRADE_FROM_51_SERVER_X86;
  33. extern LPCTSTR UPGRADE_FROM_40_SERVER_IA64;
  34. extern LPCTSTR UPGRADE_FROM_50_SERVER_IA64;
  35. extern LPCTSTR UPGRADE_FROM_50_SERVER_IA64;
  36. extern LPCTSTR FRESH_INSTALL_SERVER_IA64;
  37. extern LPCTSTR UPGRADE_FROM_51_SERVER_IA64;
  38. extern LPCTSTR REMOTE_ADMIN_PRO_X86;
  39. extern LPCTSTR APPSERVER_PRO_X86;
  40. extern LPCTSTR TSDISABLED_PRO_X86;
  41. extern LPCTSTR PERSONALTS_PRO_X86;
  42. extern LPCTSTR REMOTE_ADMIN_PRO_IA64;
  43. extern LPCTSTR APPSERVER_PRO_IA64;
  44. extern LPCTSTR TSDISABLED_PRO_IA64;
  45. extern LPCTSTR PERSONALTS_PRO_IA64;
  46. // extern LPCTSTR TOGGLE_ON_SECTION_PRO;
  47. // extern LPCTSTR TOGGLE_OFF_SECTION_PRO;
  48. extern LPCTSTR UPGRADE_FROM_40_PRO_X86;
  49. extern LPCTSTR UPGRADE_FROM_50_PRO_X86;
  50. extern LPCTSTR UPGRADE_FROM_51_PRO_X86;
  51. extern LPCTSTR FRESH_INSTALL_PRO_X86;
  52. extern LPCTSTR UPGRADE_FROM_40_PRO_IA64;
  53. extern LPCTSTR UPGRADE_FROM_50_PRO_IA64;
  54. extern LPCTSTR UPGRADE_FROM_51_PRO_IA64;
  55. extern LPCTSTR FRESH_INSTALL_PRO_IA64;
  56. // extern LPCTSTR SECURITY_APPSRV_SECTION;
  57. // extern LPCTSTR SECURITY_REMADM_SECTION;
  58. // extern LPCTSTR SECURITY_PRO_SECTION;
  59. extern LPCTSTR TSCLIENTS_INSTALL_SECTION_SERVER;
  60. extern LPCTSTR TSCLIENTS_UNINSTALL_SECTION_SERVER;
  61. extern LPCTSTR TSCLIENTS_INSTALL_SECTION_PRO;
  62. extern LPCTSTR TSCLIENTS_UNINSTALL_SECTION_PRO;
  63. extern LPCTSTR TSCLIENT_DIRECTORY;
  64. extern LPCTSTR TS_EVENT_SOURCE;
  65. #define TS_UNATTEND_SECTION BASE_COMPONENT_NAME
  66. extern LPCTSTR TS_UNATTEND_APPSRVKEY;
  67. extern LPCTSTR TS_UNATTEND_PERMKEY;
  68. extern LPCTSTR TERMSRV_PACK_4_KEY;
  69. extern LPCTSTR TERMSRV_PACK_5_KEY;
  70. extern LPCTSTR TERMSRV_PACK_6_KEY;
  71. extern LPCTSTR TERMSRV_PACK_7_KEY;
  72. extern LPCTSTR TERMSRV_PACK_8_KEY;
  73. extern LPCTSTR SOFTWARE_UNINSTALL_KEY;
  74. extern LPCTSTR DENY_CONN_VALUE;
  75. extern LPCTSTR TS_ALLOW_CON_ENTRY;
  76. extern LPCTSTR TS_ALLOW_CON_ENTRY_2;
  77. extern LPCTSTR TS_LICENSING_MODE;
  78. extern LPCTSTR SVCHOSST_KEY;
  79. extern LPCTSTR NETSVCS_VAL;
  80. extern LPCTSTR TERMSERVICE;
  81. extern LPCTSTR TERMSVCS_VAL;
  82. extern LPCTSTR TERMSVCS_PARMS;
  83. extern LPCTSTR TERMSVCS_STACK;
  84. extern LPCTSTR SVCHOSST_TERMSRV_KEY;
  85. extern LPCTSTR TERMSERVICE_MULTISZ;
  86. //
  87. // REGAPI.H creates a wide and an ansi version, instead of #ifdef'ing as
  88. // necessary.
  89. //
  90. #ifdef UNICODE
  91. #define REG_CHGUSR_OPTION_KEY CHANGEUSER_OPTION_REG_NAME
  92. #define REG_CONTROL_TS_KEY REG_CONTROL_TSERVER
  93. #define REG_PRODUCT_VER_KEY REG_CITRIX_PRODUCTVERSION
  94. #define REG_SECURITY_VALUE REG_SECURITY
  95. #define REG_WINSTATION_KEY WINSTATION_REG_NAME
  96. #else
  97. #define REG_CHGUSR_OPTION_KEY CHANGEUSER_OPTION_REG_NAME_A
  98. #define REG_CONTROL_TS_KEY REG_CONTROL_TSERVER_A
  99. #define REG_PRODUCT_VER_KEY REG_CITRIX_PRODUCTVERSION_A
  100. #define REG_SECURITY_VALUE REG_SECURITY_A
  101. #define REG_WINSTATION_KEY WINSTATION_REG_NAME_A
  102. #endif
  103. #define REG_CONTROL_TS_LICENSING_KEY TEXT("System\\CurrentControlSet\\Control\\Terminal Server\\Licensing Core")
  104. #define REG_LICENSING_MODE_AC_ON TEXT("PolicyAcOn")
  105. #define REG_LICENSING_MODE_AC_OFF TEXT("PolicyAcOff")
  106. #endif