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.

38 lines
1.1 KiB

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. //
  5. // Copyright (C) Microsoft Corporation, 1998 - 1998
  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_szEmpty, "")
  23. RTRLIB_STRING(c_szEthernetII, "/EthII")
  24. RTRLIB_STRING(c_szEthernetSNAP, "/SNAP")
  25. RTRLIB_STRING(c_szEthernet8022, "/802.2")
  26. RTRLIB_STRING(c_szEthernet8023, "/802.3")
  27. RTRLIB_STRING(c_szHexCharacters, "0123456789ABCDEF")
  28. RTRLIB_STRING(c_szInterfaceName, "InterfaceName")
  29. RTRLIB_STRING(c_szRouterInterfacesKey, "SYSTEM\\CurrentControlSet\\Services\\Router\\Interfaces")