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.

38 lines
1.5 KiB

  1. // --------------------------------------------------------------------------
  2. // Copyright (c)1993-1995 Microsoft Corporation, All Rights Reserved
  3. // --------------------------------------------------------------------------
  4. #ifndef _STRCONST_H
  5. #define _STRCONST_H
  6. // --------------------------------------------------------------------------
  7. // String Const Def Macros
  8. // --------------------------------------------------------------------------
  9. #ifdef __cplusplus
  10. #define EXTERN_C extern "C"
  11. #else
  12. #define EXTERN_C extern
  13. #endif
  14. #ifdef DEFINE_STRCONST
  15. #define STRCONSTA(x,y) EXTERN_C const char x[] = y
  16. #define STRCONSTW(x,y) EXTERN_C const WCHAR x[] = L##y
  17. #else
  18. #define STRCONSTA(x,y) EXTERN_C const char x[]
  19. #define STRCONSTW(x,y) EXTERN_C const WCHAR x[]
  20. #endif
  21. // --------------------------------------------------------------------------
  22. // Const Strings
  23. // --------------------------------------------------------------------------
  24. STRCONSTA(c_szEmpty, "");
  25. STRCONSTA(c_szDotDat, ".dat");
  26. STRCONSTA(c_szAppPaths, "Software\\Microsoft\\Windows\\CurrentVersion\\App Paths");
  27. STRCONSTA(c_szRegPath, "Path");
  28. STRCONSTA(c_szPathFileFmt, "%s\\%s");
  29. STRCONSTA(g_szEllipsis, "...");
  30. STRCONSTW(c_szLnkExt, ".lnk");
  31. STRCONSTA(c_szInternetSettingsPath, "Software\\Microsoft\\Windows\\CurrentVersion\\Internet Settings");
  32. STRCONSTA(c_szUrlEncoding, "UrlEncoding");
  33. #endif // _STRCONST_H