Source code of Windows XP (NT5)
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.

174 lines
4.1 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. //
  16. // The command line executable name
  17. //
  18. extern PCWSTR g_pszDSCommandName;
  19. //
  20. // Object types as are typed on the command line
  21. //
  22. extern PCWSTR g_pszStar;
  23. extern PCWSTR g_pszOU;
  24. extern PCWSTR g_pszUser;
  25. extern PCWSTR g_pszContact;
  26. extern PCWSTR g_pszComputer;
  27. extern PCWSTR g_pszGroup;
  28. extern PCWSTR g_pszServer;
  29. extern PCWSTR g_pszSite;
  30. extern PCWSTR g_pszSubnet;
  31. //
  32. // Common switches
  33. //
  34. extern PCWSTR c_sz_arg1_com_debug;
  35. extern PCWSTR c_sz_arg1_com_help;
  36. extern PCWSTR c_sz_arg2_com_help;
  37. extern PCWSTR c_sz_arg1_com_server;
  38. extern PCWSTR c_sz_arg2_com_server;
  39. extern PCWSTR c_sz_arg1_com_domain;
  40. extern PCWSTR c_sz_arg2_com_domain;
  41. extern PCWSTR c_sz_arg1_com_username;
  42. extern PCWSTR c_sz_arg2_com_username;
  43. extern PCWSTR c_sz_arg1_com_password;
  44. extern PCWSTR c_sz_arg2_com_password;
  45. extern PCWSTR c_sz_arg1_com_quiet;
  46. extern PCWSTR c_sz_arg1_com_objecttype;
  47. extern PCWSTR c_sz_arg1_com_recurse;
  48. extern PCWSTR c_sz_arg1_com_gc;
  49. extern PCWSTR c_sz_arg1_com_output;
  50. extern PCWSTR c_sz_arg1_com_startnode;
  51. extern PCWSTR c_sz_arg1_com_limit;
  52. ;
  53. //;
  54. // Star switches;
  55. //
  56. extern PCWSTR g_pszArg1StarScope;
  57. extern PCWSTR g_pszArg1StarFilter;
  58. extern PCWSTR g_pszArg1StarAttr;
  59. extern PCWSTR g_pszArg1StarAttrsOnly;
  60. extern PCWSTR g_pszArg1StarList;
  61. //
  62. // User switches
  63. //
  64. extern PCWSTR g_pszArg1UserScope;
  65. extern PCWSTR g_pszArg1UserName;
  66. extern PCWSTR g_pszArg1UserDesc;
  67. extern PCWSTR g_pszArg1UserUpn;
  68. extern PCWSTR g_pszArg1UserSamid;
  69. extern PCWSTR g_pszArg1UserInactive;
  70. extern PCWSTR g_pszArg1UserDisabled;
  71. extern PCWSTR g_pszArg1UserStalepwd;
  72. //
  73. // Computer switches
  74. //
  75. extern PCWSTR g_pszArg1ComputerScope;
  76. extern PCWSTR g_pszArg1ComputerName;
  77. extern PCWSTR g_pszArg1ComputerDesc;
  78. extern PCWSTR g_pszArg1ComputerSamid;
  79. extern PCWSTR g_pszArg1ComputerInactive;
  80. extern PCWSTR g_pszArg1ComputerDisabled;
  81. extern PCWSTR g_pszArg1ComputerStalepwd;
  82. //
  83. // Group switches
  84. //
  85. extern PCWSTR g_pszArg1GroupScope;
  86. extern PCWSTR g_pszArg1GroupName;
  87. extern PCWSTR g_pszArg1GroupDesc;
  88. extern PCWSTR g_pszArg1GroupSamid;
  89. //
  90. // Ou switches
  91. //
  92. extern PCWSTR g_pszArg1OUScope;
  93. extern PCWSTR g_pszArg1OUName;
  94. extern PCWSTR g_pszArg1OUDesc;
  95. //
  96. // Server switches
  97. //
  98. extern PCWSTR g_pszArg1ServerForest;
  99. extern PCWSTR g_pszArg1ServerSite;
  100. extern PCWSTR g_pszArg1ServerName;
  101. extern PCWSTR g_pszArg1ServerDesc;
  102. extern PCWSTR g_pszArg1ServerHasFSMO;
  103. extern PCWSTR g_pszArg1ServerIsGC;
  104. //
  105. // Site switches
  106. //
  107. extern PCWSTR g_pszArg1SiteName;
  108. extern PCWSTR g_pszArg1SiteDesc;
  109. //
  110. // Subnet switches
  111. //
  112. extern PCWSTR g_pszArg1SubnetName;
  113. extern PCWSTR g_pszArg1SubnetDesc;
  114. extern PCWSTR g_pszArg1SubnetLoc;
  115. extern PCWSTR g_pszArg1SubnetSite;
  116. //
  117. // Valid Output formats{dn, rdn, upn, samid, ntlmid}
  118. //
  119. extern PCWSTR g_pszDN;
  120. extern PCWSTR g_pszRDN;
  121. extern PCWSTR g_pszUPN;
  122. extern PCWSTR g_pszSamId;
  123. extern PCWSTR g_pszNtlmId;
  124. //
  125. //Valid Scope Strings
  126. //
  127. extern PCWSTR g_pszSubTree;
  128. extern PCWSTR g_pszOneLevel;
  129. extern PCWSTR g_pszBase;
  130. //Default Filter and Prefix filter
  131. extern PCWSTR g_pszDefStarFilter;
  132. extern PCWSTR g_pszDefUserFilter;
  133. extern PCWSTR g_pszDefComputerFilter;
  134. extern PCWSTR g_pszDefGroupFilter;
  135. extern PCWSTR g_pszDefOUFilter;
  136. extern PCWSTR g_pszDefServerFilter;
  137. extern PCWSTR g_pszDefSiteFilter;
  138. extern PCWSTR g_pszDefSubnetFilter;
  139. extern PCWSTR g_pszDefContactFilter;
  140. //Valid start node values
  141. extern PCWSTR g_pszDomainRoot;
  142. extern PCWSTR g_pszForestRoot;
  143. extern PCWSTR g_pszSiteRoot;
  144. //Attributes to fetch
  145. extern PCWSTR g_szAttrDistinguishedName;
  146. extern PCWSTR g_szAttrUserPrincipalName;
  147. extern PCWSTR g_szAttrSamAccountName;
  148. extern PCWSTR g_szAttrRDN;
  149. extern PCWSTR g_szAttrServerReference;
  150. // FSMOs
  151. extern PCWSTR g_pszSchema;
  152. extern PCWSTR g_pszName;
  153. extern PCWSTR g_pszInfr;
  154. extern PCWSTR g_pszPDC;
  155. extern PCWSTR g_pszRID;
  156. #endif //_CSTRINGS_H_