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.

180 lines
4.2 KiB

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1992 - 2000
  5. //
  6. // File: cstrings.h
  7. //
  8. // Contents: Declares the global strings that are used in the parser
  9. //
  10. // History: 24-Sep-2000 hiteshr Created
  11. //
  12. //--------------------------------------------------------------------------
  13. #ifndef _CSTRINGS_H_
  14. #define _CSTRINGS_H_
  15. #include "commonstrings.h"
  16. //
  17. // The command line executable name
  18. //
  19. extern PCWSTR g_pszDSCommandName;
  20. //
  21. // Object types as are typed on the command line
  22. //
  23. extern PCWSTR g_pszStar;
  24. extern PCWSTR g_pszOU;
  25. extern PCWSTR g_pszUser;
  26. extern PCWSTR g_pszContact;
  27. extern PCWSTR g_pszComputer;
  28. extern PCWSTR g_pszGroup;
  29. extern PCWSTR g_pszServer;
  30. extern PCWSTR g_pszSite;
  31. extern PCWSTR g_pszSubnet;
  32. extern PCWSTR g_pszQuota;
  33. extern PCWSTR g_pszPartition;
  34. extern PCWSTR c_sz_arg1_com_objecttype;
  35. extern PCWSTR c_sz_arg1_com_recurse;
  36. extern PCWSTR c_sz_arg1_com_gc;
  37. extern PCWSTR c_sz_arg1_com_output;
  38. extern PCWSTR c_sz_arg1_com_startnode;
  39. extern PCWSTR c_sz_arg1_com_limit;
  40. ;
  41. //;
  42. // Star switches;
  43. //
  44. extern PCWSTR g_pszArg1StarScope;
  45. extern PCWSTR g_pszArg1StarFilter;
  46. extern PCWSTR g_pszArg1StarAttr;
  47. extern PCWSTR g_pszArg1StarAttrsOnly;
  48. extern PCWSTR g_pszArg1StarList;
  49. //
  50. // User switches
  51. //
  52. extern PCWSTR g_pszArg1UserScope;
  53. extern PCWSTR g_pszArg1UserName;
  54. extern PCWSTR g_pszArg1UserDesc;
  55. extern PCWSTR g_pszArg1UserUpn;
  56. extern PCWSTR g_pszArg1UserSamid;
  57. extern PCWSTR g_pszArg1UserInactive;
  58. extern PCWSTR g_pszArg1UserDisabled;
  59. extern PCWSTR g_pszArg1UserStalepwd;
  60. //
  61. // Computer switches
  62. //
  63. extern PCWSTR g_pszArg1ComputerScope;
  64. extern PCWSTR g_pszArg1ComputerName;
  65. extern PCWSTR g_pszArg1ComputerDesc;
  66. extern PCWSTR g_pszArg1ComputerSamid;
  67. extern PCWSTR g_pszArg1ComputerInactive;
  68. extern PCWSTR g_pszArg1ComputerDisabled;
  69. extern PCWSTR g_pszArg1ComputerStalepwd;
  70. //
  71. // Group switches
  72. //
  73. extern PCWSTR g_pszArg1GroupScope;
  74. extern PCWSTR g_pszArg1GroupName;
  75. extern PCWSTR g_pszArg1GroupDesc;
  76. extern PCWSTR g_pszArg1GroupSamid;
  77. //
  78. // Ou switches
  79. //
  80. extern PCWSTR g_pszArg1OUScope;
  81. extern PCWSTR g_pszArg1OUName;
  82. extern PCWSTR g_pszArg1OUDesc;
  83. //
  84. // Server switches
  85. //
  86. extern PCWSTR g_pszArg1ServerForest;
  87. extern PCWSTR g_pszArg1ServerSite;
  88. extern PCWSTR g_pszArg1ServerName;
  89. extern PCWSTR g_pszArg1ServerDesc;
  90. extern PCWSTR g_pszArg1ServerHasFSMO;
  91. extern PCWSTR g_pszArg1ServerIsGC;
  92. //
  93. // Site switches
  94. //
  95. extern PCWSTR g_pszArg1SiteName;
  96. extern PCWSTR g_pszArg1SiteDesc;
  97. //
  98. // Subnet switches
  99. //
  100. extern PCWSTR g_pszArg1SubnetName;
  101. extern PCWSTR g_pszArg1SubnetDesc;
  102. extern PCWSTR g_pszArg1SubnetLoc;
  103. extern PCWSTR g_pszArg1SubnetSite;
  104. //
  105. // Quota switches
  106. //
  107. extern PCWSTR g_pszArg1QuotaAcct;
  108. extern PCWSTR g_pszArg1QuotaQLimit;
  109. extern PCWSTR g_pszArg1QuotaDesc;
  110. //
  111. // Partition switches
  112. //
  113. extern PCWSTR g_pszArg1PartitionPart;
  114. extern PCWSTR g_pszArg1PartitionDesc;
  115. //
  116. // Valid Output formats{dn, rdn, upn, samid, ntlmid}
  117. //
  118. extern PCWSTR g_pszDN;
  119. extern PCWSTR g_pszRDN;
  120. extern PCWSTR g_pszUPN;
  121. extern PCWSTR g_pszSamId;
  122. extern PCWSTR g_pszNtlmId;
  123. //
  124. //Valid Scope Strings
  125. //
  126. extern PCWSTR g_pszSubTree;
  127. extern PCWSTR g_pszOneLevel;
  128. extern PCWSTR g_pszBase;
  129. //Default Filter and Prefix filter
  130. extern PCWSTR g_pszDefStarFilter;
  131. extern PCWSTR g_pszDefUserFilter;
  132. extern PCWSTR g_pszDefComputerFilter;
  133. extern PCWSTR g_pszDefGroupFilter;
  134. extern PCWSTR g_pszDefOUFilter;
  135. extern PCWSTR g_pszDefServerFilter;
  136. extern PCWSTR g_pszDefSiteFilter;
  137. extern PCWSTR g_pszDefSubnetFilter;
  138. extern PCWSTR g_pszDefContactFilter;
  139. extern PCWSTR g_pszDefQuotaFilter;
  140. extern PCWSTR g_pszDefPartitionFilter;
  141. //Valid start node values
  142. extern PCWSTR g_pszDomainRoot;
  143. extern PCWSTR g_pszForestRoot;
  144. extern PCWSTR g_pszSiteRoot;
  145. //Attributes to fetch
  146. extern PCWSTR g_szAttrDistinguishedName;
  147. extern PCWSTR g_szAttrUserPrincipalName;
  148. extern PCWSTR g_szAttrSamAccountName;
  149. extern PCWSTR g_szAttrRDN;
  150. extern PCWSTR g_szAttrServerReference;
  151. extern PCWSTR g_szAttrNCName;
  152. // FSMOs
  153. extern PCWSTR g_pszSchema;
  154. extern PCWSTR g_pszName;
  155. extern PCWSTR g_pszInfr;
  156. extern PCWSTR g_pszPDC;
  157. extern PCWSTR g_pszRID;
  158. #endif //_CSTRINGS_H_