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.

72 lines
2.6 KiB

  1. // Copyright (c) 1997-2001 Microsoft Corporation
  2. //
  3. // File: regkeys.h
  4. //
  5. // Synopsis: Declares all the registry keys used throughout CYS
  6. //
  7. // History: 02/13/2001 JeffJon Created
  8. #ifndef __CYS_REGKEYS_H
  9. #define __CYS_REGKEYS_H
  10. // Terminal Server
  11. #define CYS_SERVER_SIZE_REGKEY L"SYSTEM\\CurrentControlSet\\Services\\LanmanServer\\Parameters"
  12. #define CYS_SERVER_SIZE_VALUE L"Size"
  13. #define CYS_SERVER_CACHE_REGKEY L"SYSTEM\\CurrentControlSet\\Control\\Session Manager\\Memory Management"
  14. #define CYS_SERVER_CACHE_VALUE L"LargeSystemCache"
  15. #define CYS_APPLICATION_MODE_REGKEY L"SYSTEM\\CurrentControlSet\\Control\\Terminal Server"
  16. #define CYS_APPLICATION_MODE_VALUE L"TSAppCompat"
  17. #define CYS_APPLICATION_MODE_ON 1
  18. #define CYS_SERVER_SIZE_ON 3
  19. #define CYS_SERVER_CACHE_ON 0
  20. // DHCP
  21. #define CYS_DHCP_DOMAIN_IP_REGKEY L"Software\\Microsoft\\Windows NT\\CurrentVersion\\srvWiz"
  22. #define CYS_DHCP_DOMAIN_IP_VALUE L"DomainDNSIP"
  23. // DNS
  24. #define DNS_WIZARD_RESULT_REGKEY L"Software\\Microsoft\\Windows NT\\CurrentVersion\\srvWiz"
  25. #define DNS_WIZARD_RESULT_VALUE L"DnsWizResult"
  26. #define DNS_WIZARD_CONFIG_REGKEY L"System\\CurrentControlSet\\Services\\DNS\\Parameters"
  27. #define DNS_WIZARD_CONFIG_VALUE L"AdminConfigured"
  28. // Media Services
  29. #define REGKEY_NETSHOW L"SOFTWARE\\Microsoft\\NetShow"
  30. // RRAS
  31. #define CYS_RRAS_CONFIGURED_REGKEY L"SYSTEM\\CurrentControlSet\\Services\\RemoteAccess"
  32. #define CYS_RRAS_CONFIGURED_VALUE L"ConfigurationFlags"
  33. // Express Setup
  34. #define CYS_FIRST_DC_REGKEY L"Software\\Microsoft\\Windows NT\\CurrentVersion\\srvWiz"
  35. #define CYS_FIRST_DC_VALUE L"FirstDC"
  36. #define CYS_FIRST_DC_VALUE_SET 1
  37. #define CYS_FIRST_DC_VALUE_UNSET 0
  38. // CYS general
  39. #define CYS_HOME_REGKEY L"Software\\Microsoft\\Windows NT\\CurrentVersion\\srvWiz"
  40. #define CYS_HOME_VALUE L"home"
  41. #define CYS_HOME_REGKEY_TERMINAL_SERVER_VALUE L"terminalServer"
  42. #define CYS_HOME_REGKEY_TERMINAL_SERVER_OPTIMIZED L"terminalServerOptimize"
  43. #define CYS_HOME_REGKEY_DCPROMO_VALUE L"DCPROMO"
  44. #define CYS_HOME_REGKEY_FIRST_SERVER_VALUE L"FirstServer"
  45. #define CYS_HOME_REGKEY_DEFAULT_VALUE L"home"
  46. #define CYS_HOME_REGKEY_MUST_RUN L"CYSMustRun"
  47. #define CYS_HOME_RUN_KEY_DONT_RUN 0
  48. #define CYS_HOME_RUN_KEY_RUN_AGAIN 1
  49. #define CYS_HOME_REGKEY_DOMAINDNS L"DomainDNSName"
  50. #define CYS_HOME_REGKEY_DOMAINIP L"DomainDNSIP"
  51. // This isn't a regkey but this was a good place to put it
  52. #define CYS_LOGFILE_NAME L"cys"
  53. #endif // __CYS_REGKEYS_H