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.

51 lines
1.8 KiB

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. //
  5. // Copyright (C) Microsoft Corporation, 1997 - 1999
  6. //
  7. // File: rtrstr.h
  8. //
  9. //--------------------------------------------------------------------------
  10. #undef RTRLIB_STRING
  11. #undef RTRLIB_STRINGA
  12. #undef RTRLIB_STRINGW
  13. #ifdef _RTRLIB_STRINGS_DEFINE_STRINGS
  14. #define RTRLIB_STRING(rg,s) const TCHAR rg[] = TEXT(s);
  15. #define RTRLIB_STRINGA(rg,s) const char rg[] = s;
  16. #define RTRLIB_STRINGW(rg,s) const WCHAR rg[] = s;
  17. #else
  18. #define RTRLIB_STRING(rg,s) extern const TCHAR rg[];
  19. #define RTRLIB_STRINGA(rg,s) extern const char rg[];
  20. #define RTRLIB_STRINGW(rg,s) extern const WCHAR rg[];
  21. #endif
  22. RTRLIB_STRING(c_szDhcpIpAddress, "DhcpIpAddress")
  23. RTRLIB_STRING(c_szDhcpSubnetMask, "DhcpSubnetMask")
  24. RTRLIB_STRING(c_szEmpty, "")
  25. RTRLIB_STRING(c_szEnableDHCP, "EnableDHCP")
  26. RTRLIB_STRING(c_szEthernetII, "/EthII")
  27. RTRLIB_STRING(c_szEthernetSNAP, "/SNAP")
  28. RTRLIB_STRING(c_szEthernet8022, "/802.2")
  29. RTRLIB_STRING(c_szEthernet8023, "/802.3")
  30. RTRLIB_STRING(c_szHexCharacters, "0123456789ABCDEF")
  31. RTRLIB_STRING(c_szInterfaceName, "InterfaceName")
  32. RTRLIB_STRING(c_szInterfaces, "Interfaces")
  33. RTRLIB_STRING(c_szIPAddress, "IPAddress")
  34. RTRLIB_STRING(c_szParameters, "Parameters")
  35. RTRLIB_STRING(c_szRegValDhcpNameServer, "DhcpNameServer")
  36. RTRLIB_STRING(c_szRegValDhcpServer, "DhcpServer")
  37. RTRLIB_STRING(c_szRegValNameServer, "NameServer")
  38. RTRLIB_STRING(c_szRouterInterfacesKey, "SYSTEM\\CurrentControlSet\\Services\\Router\\Interfaces")
  39. RTRLIB_STRING(c_szSharedAccessService, "SharedAccess")
  40. RTRLIB_STRING(c_szSubnetMask, "SubnetMask")
  41. RTRLIB_STRING(c_szSystemCCSServices, "SYSTEM\\CurrentControlSet\\Services")
  42. RTRLIB_STRING(c_szTcpip, "Tcpip")