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.

72 lines
2.6 KiB

  1. /*
  2. * strconst.h
  3. *
  4. * History:
  5. * Feb '98: Created.
  6. *
  7. * Copyright (C) Microsoft Corp. 1998
  8. *
  9. * Non-localizeable strings for use by the importer
  10. */
  11. #ifndef _STRCONST_H
  12. #define _STRCONST_H
  13. #ifndef WIN16
  14. #ifdef DEFINE_STRING_CONSTANTS
  15. #define STR_GLOBAL(x,y) extern "C" CDECL const TCHAR x[] = TEXT(y)
  16. #define STR_GLOBAL_ANSI(x,y) extern "C" CDECL const char x[] = y
  17. #define STR_GLOBAL_WIDE(x,y) extern "C" CDECL const WCHAR x[] = L##y
  18. #else
  19. #define STR_GLOBAL(x,y) extern "C" CDECL const TCHAR x[]
  20. #define STR_GLOBAL_ANSI(x,y) extern "C" CDECL const char x[]
  21. #define STR_GLOBAL_WIDE(x,y) extern "C" CDECL const WCHAR x[]
  22. #endif
  23. #endif
  24. // ----------------------------------- FILES ------------------------------------
  25. // ********* DLLS
  26. STR_GLOBAL(szImportDll, "wabimp.dll");
  27. STR_GLOBAL(c_szMainDll, "msoe.dll");
  28. // ********* Program specific Reg, INI and File info
  29. // -- OE
  30. STR_GLOBAL(c_szRegImport, "Software\\Microsoft\\Outlook Express\\Import");
  31. // -- WAB
  32. STR_GLOBAL(lpszWABDLLRegPathKey, "Software\\Microsoft\\WAB\\DLLPath");
  33. // -- Navigator
  34. STR_GLOBAL(c_szNetscapeKey, "SOFTWARE\\Netscape\\Netscape Navigator\\Mail");
  35. STR_GLOBAL(c_szMailDirectory, "Mail Directory");
  36. STR_GLOBAL(c_szSnmExt, "*.snm");
  37. STR_GLOBAL(c_szNetscape, "Netscape");
  38. STR_GLOBAL(c_szIni, "ini");
  39. STR_GLOBAL(c_szMail, "Mail");
  40. STR_GLOBAL(c_szScriptFile, "\\prefs.js");
  41. STR_GLOBAL(c_szUserPref, "user_pref(\"mail.directory\"");
  42. // -- Eudora
  43. STR_GLOBAL(c_szEudoraKey, "SOFTWARE\\Microsoft\\windows\\CurrentVersion\\App Paths\\Eudora.exe");
  44. STR_GLOBAL(c_szEudoraCommand, "SOFTWARE\\Qualcomm\\Eudora\\CommandLine");
  45. STR_GLOBAL(c_szCurrent, "current");
  46. STR_GLOBAL(c_szDescmapPce, "descmap.pce");
  47. // -- function names
  48. STR_GLOBAL(szWabOpen, "WABOpen");
  49. STR_GLOBAL(szNetscapeImportEntryPt, "NetscapeImport");
  50. STR_GLOBAL(szEudoraImportEntryPt, "EudoraImport");
  51. STR_GLOBAL(szPABImportEntryPt, "PABImport");
  52. STR_GLOBAL(szMessengerImportEntryPt, "MessengerImport");
  53. // ********* General Strings
  54. STR_GLOBAL(c_szSpace, " ");
  55. STR_GLOBAL(c_szEmpty, "");
  56. STR_GLOBAL(c_szNewline, "\n");
  57. STR_GLOBAL(c_szDispFmt, "Display%1d");
  58. STR_GLOBAL(c_szMicrosoftOutlook, "Microsoft Outlook");
  59. STR_GLOBAL(c_szRegOutlook, "Software\\Clients\\Mail\\Microsoft Outlook");
  60. STR_GLOBAL(c_szRegMail, "Software\\Clients\\Mail");
  61. #endif