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.

75 lines
3.3 KiB

  1. /*----------------------------------------------------------------------------
  2. strconst.h
  3. Non-localizable String constant definitions
  4. ----------------------------------------------------------------------------*/
  5. #ifndef _STRCONST_H
  6. #define _STRCONST_H
  7. #ifndef WIN16
  8. #ifdef DEFINE_STRING_CONSTANTS
  9. #define STR_GLOBAL(x,y) extern "C" CDECL const TCHAR x[] = TEXT(y)
  10. #define STR_GLOBAL_ANSI(x,y) extern "C" CDECL const char x[] = y
  11. #define STR_GLOBAL_WIDE(x,y) extern "C" CDECL const WCHAR x[] = L##y
  12. #else
  13. #define STR_GLOBAL(x,y) extern "C" CDECL const TCHAR x[]
  14. #define STR_GLOBAL_ANSI(x,y) extern "C" CDECL const char x[]
  15. #define STR_GLOBAL_WIDE(x,y) extern "C" CDECL const WCHAR x[]
  16. #endif
  17. #else // !WIN16
  18. #ifdef DEFINE_STRING_CONSTANTS
  19. #ifdef __WATCOMC__
  20. #define STR_GLOBAL(x,y) extern "C" const TCHAR CDECL x[] = TEXT(y)
  21. #define STR_GLOBAL_ANSI(x,y) extern "C" const char CDECL x[] = y
  22. #define STR_GLOBAL_WIDE(x,y) extern "C" const WCHAR CDECL x[] = y
  23. #else // __WATCOMC__
  24. #define STR_GLOBAL(x,y) extern "C" CDECL const TCHAR x[] = TEXT(y)
  25. #define STR_GLOBAL_ANSI(x,y) extern "C" CDECL const char x[] = y
  26. #define STR_GLOBAL_WIDE(x,y) extern "C" CDECL const WCHAR x[] = L##y
  27. #endif // __WATCOMC__
  28. #else
  29. #ifdef __WATCOMC__
  30. #define STR_GLOBAL(x,y) extern "C" const TCHAR CDECL x[]
  31. #define STR_GLOBAL_ANSI(x,y) extern "C" const char CDECL x[]
  32. #define STR_GLOBAL_WIDE(x,y) extern "C" const WCHAR CDECL x[]
  33. #else // __WATCOMC__
  34. #define STR_GLOBAL(x,y) extern "C" CDECL const TCHAR x[]
  35. #define STR_GLOBAL_ANSI(x,y) extern "C" CDECL const char x[]
  36. #define STR_GLOBAL_WIDE(x,y) extern "C" CDECL const WCHAR x[]
  37. #endif // __WATCOMC__
  38. #endif
  39. #endif // !WIN16
  40. #define STR_REG_PATH_ROOT "Identities"
  41. // --------------------------------------------------------------------------
  42. // MultiUser
  43. // --------------------------------------------------------------------------
  44. STR_GLOBAL(c_szRegRoot, STR_REG_PATH_ROOT);
  45. STR_GLOBAL(c_szUserDirPath, "Application Data\\Identities\\");
  46. STR_GLOBAL(c_szUsername, "Username");
  47. STR_GLOBAL(c_szUserID, "User ID");
  48. STR_GLOBAL(c_szDirName, "Directory Name");
  49. STR_GLOBAL(c_szUsePassword, "Use Password");
  50. STR_GLOBAL(c_szPassword, "Password");
  51. STR_GLOBAL(c_szLastUserID, "Last User ID");
  52. STR_GLOBAL(c_szLastUserName, "Last Username");
  53. STR_GLOBAL(c_szDefaultUserID, "Default User ID");
  54. STR_GLOBAL(c_szDefaultUserName, "Default Username");
  55. STR_GLOBAL(c_szPolicyKey, "Locked Down");
  56. STR_GLOBAL(c_szLoginAs, "Start As");
  57. STR_GLOBAL(c_szRegFolders, "Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Shell Folders");
  58. STR_GLOBAL(c_szValueAppData, "AppData");
  59. STR_GLOBAL(c_szNotifyWindowClass, "Identity Mgr Notify");
  60. STR_GLOBAL(c_szCtxHelpFile, "ident.hlp");
  61. STR_GLOBAL(c_szIdentitiesFolderName,"Identities");
  62. STR_GLOBAL(c_szEnableDCPolicyKey, "DCPresent Enable");
  63. STR_GLOBAL(c_szMigrated5, "Migrated5");
  64. STR_GLOBAL(c_szIdentityOrdinal, "Identity Ordinal");
  65. STR_GLOBAL(c_szOutgoingID, "OutgoingID");
  66. STR_GLOBAL(c_szIncomingID, "IncomingID");
  67. STR_GLOBAL(c_szChanging, "Changing");
  68. #endif //_STRCONST_H