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.

34 lines
975 B

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. //
  5. // Copyright (C) Microsoft Corporation, 1997 - 1999
  6. //
  7. // File: strings.h
  8. //
  9. //--------------------------------------------------------------------------
  10. #undef IPXSNAP_CONST_STRING
  11. #undef IPXSNAP_CONST_STRINGA
  12. #undef IPXSNAP_CONST_STRINGW
  13. #ifdef _IPXSNAP_STRINGS_DEFINE_STRINGS
  14. #define IPXSNAP_CONST_STRING(rg,s) const TCHAR rg[] = TEXT(s);
  15. #define IPXSNAP_CONST_STRINGA(rg,s) const char rg[] = s;
  16. #define IPXSNAP_CONST_STRINGW(rg,s) const WCHAR rg[] = s;
  17. #else
  18. #define IPXSNAP_CONST_STRING(rg,s) extern const TCHAR rg[];
  19. #define IPXSNAP_CONST_STRINGA(rg,s) extern const char rg[];
  20. #define IPXSNAP_CONST_STRINGW(rg,s) extern const WCHAR rg[];
  21. #endif
  22. IPXSNAP_CONST_STRING(c_szRouter, "Router")
  23. IPXSNAP_CONST_STRINGA(c_sazIPXSnapHelpFile, "mprsnap.chm")
  24. IPXSNAP_CONST_STRING(c_szIPXSnapHelpFile, "mprsnap.chm")