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.

123 lines
3.0 KiB

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. //
  5. // Copyright (C) Microsoft Corporation, 1997 - 1999
  6. //
  7. // File: gsz.h
  8. //
  9. //--------------------------------------------------------------------------
  10. /////////////////////////////////////////////////////////////////////
  11. // gsz.h - Constant global strings used everywhere in the project.
  12. //
  13. // The purpose of this file is to avoid typos and string duplicates.
  14. //
  15. // HISTORY
  16. // 26-Aug-97 Dan Morin Creation.
  17. /////////////////////////////////////////////////////////////////////
  18. #ifndef __GSZ_H_INCLUDED__
  19. #define __GSZ_H_INCLUDED__
  20. /////////////////////////////////////////////////////////////////////
  21. // Each variable has the following pattern gsz_<stringcontent>
  22. // with EXACT matching case of its content.
  23. //
  24. // The preferred Hungarian type would be g_sz followed by an
  25. // uppercase, however gsz_ followed by the string itself makes
  26. // it easier to know the content of the string.
  27. //
  28. // EXAMPLES
  29. // const TCHAR gsz_cn[] = _T("cn");
  30. // const TCHAR gsz_lastName[] = _T("lastName");
  31. // const TCHAR gsz_uNCName[] = _T("uNCName");
  32. //
  33. // SEE ALSO
  34. // Use the macro DEFINE_GSZ() to declare a new variable. It will
  35. // save you some typing.
  36. /////////////////////////////////////////////////////////////////////
  37. #define DEFINE_GSZ(sz) const TCHAR gsz_##sz[] = _T(#sz)
  38. DEFINE_GSZ(cn);
  39. ///////////////////////////////////////
  40. DEFINE_GSZ(user);
  41. #ifdef INETORGPERSON
  42. DEFINE_GSZ(inetOrgPerson);
  43. #endif
  44. DEFINE_GSZ(sn); // Surname
  45. DEFINE_GSZ(lastName);
  46. DEFINE_GSZ(samAccountName);
  47. ///////////////////////////////////////
  48. DEFINE_GSZ(group);
  49. DEFINE_GSZ(groupType);
  50. ///////////////////////////////////////
  51. DEFINE_GSZ(contact);
  52. ///////////////////////////////////////
  53. DEFINE_GSZ(volume);
  54. DEFINE_GSZ(printQueue);
  55. DEFINE_GSZ(uNCName);
  56. ///////////////////////////////////////
  57. DEFINE_GSZ(computer);
  58. DEFINE_GSZ(networkAddress);
  59. DEFINE_GSZ(userAccountControl);
  60. ///////////////////////////////////////
  61. DEFINE_GSZ(nTDSConnection);
  62. DEFINE_GSZ(nTDSSiteSettings);
  63. DEFINE_GSZ(serversContainer);
  64. DEFINE_GSZ(licensingSiteSettings);
  65. DEFINE_GSZ(siteLink);
  66. DEFINE_GSZ(siteList);
  67. DEFINE_GSZ(siteLinkBridge);
  68. DEFINE_GSZ(siteLinkList);
  69. ///////////////////////////////////////
  70. DEFINE_GSZ(server);
  71. DEFINE_GSZ(site);
  72. DEFINE_GSZ(subnet);
  73. DEFINE_GSZ(siteObject);
  74. #ifdef FRS_CREATE
  75. ///////////////////////////////////////
  76. DEFINE_GSZ(nTFRSSettings);
  77. DEFINE_GSZ(nTFRSReplicaSet);
  78. DEFINE_GSZ(nTFRSMember);
  79. DEFINE_GSZ(nTFRSSubscriptions);
  80. DEFINE_GSZ(nTFRSSubscriber);
  81. DEFINE_GSZ(fRSRootPath);
  82. DEFINE_GSZ(fRSStagingPath);
  83. #endif // FRS_CREATE
  84. ///////////////////////////////////////
  85. DEFINE_GSZ(organizationalUnit);
  86. //////////////////////////////////////
  87. //-----------------------------------
  88. DEFINE_GSZ(objectClass);
  89. DEFINE_GSZ(nTSecurityDescriptor);
  90. DEFINE_GSZ(instanceType);
  91. DEFINE_GSZ(objectSid);
  92. DEFINE_GSZ(objectCategory);
  93. #endif // ~__GSZ_H_INCLUDED__