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.

50 lines
1.7 KiB

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. //
  5. // Copyright (C) Microsoft Corporation, 1998 - 1999
  6. //
  7. // File: strings.h
  8. //
  9. //--------------------------------------------------------------------------
  10. #undef CONST_STRING
  11. #undef CONST_STRINGA
  12. #undef CONST_STRINGW
  13. #ifdef _STRINGS_DEFINE_STRINGS
  14. #define CONST_STRING(rg,s) const TCHAR rg[] = TEXT(s);
  15. #define CONST_STRINGA(rg,s) const char rg[] = s;
  16. #define CONST_STRINGW(rg,s) const WCHAR rg[] = s;
  17. #else
  18. #define CONST_STRING(rg,s) extern const TCHAR rg[];
  19. #define CONST_STRINGA(rg,s) extern const char rg[];
  20. #define CONST_STRINGW(rg,s) extern const WCHAR rg[];
  21. #endif
  22. CONST_STRING(c_szRegKeyControlProductOptions, "System\\CurrentControlSet\\Control\\ProductOptions")
  23. CONST_STRING(c_szRegKeyHotFix, "Software\\Microsoft\\Windows NT\\CurrentVersion\\Hotfix")
  24. CONST_STRING(c_szRegKeyTcpIpParamsInterfaces, "Tcpip\\Parameters\\Interfaces\\")
  25. CONST_STRING(c_szRegKeyWindowsNTCurrentVersion, "Software\\Microsoft\\Windows NT\\CurrentVersion")
  26. CONST_STRING(c_szRegAddressType, "AddressType")
  27. CONST_STRING(c_szRegCurrentBuild, "CurrentBuild")
  28. CONST_STRING(c_szRegCurrentBuildNumber, "CurrentBuildNumber")
  29. CONST_STRING(c_szRegCurrentType, "CurrentType")
  30. CONST_STRING(c_szRegCurrentVersion, "CurrentVersion")
  31. CONST_STRING(c_szRegDhcpClassID, "DhcpClassID")
  32. CONST_STRING(c_szRegDhcpNameServer, "DhcpNameServer")
  33. CONST_STRING(c_szRegInstalled, "Installed")
  34. CONST_STRING(c_szRegIPAutoconfigurationEnabled, "IPAutoconfigurationEnabled")
  35. CONST_STRING(c_szRegNameServer, "NameServer")
  36. CONST_STRING(c_szRegNetLogonParams, "System\\CurrentControlSet\\Services\\Netlogon\\Parameters")
  37. CONST_STRING(c_szRegSysVolReady, "SysVolReady")