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.

134 lines
2.1 KiB

  1. //+----------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1992 - 2001
  5. //
  6. // File: cmdtable.h
  7. //
  8. // Contents: Defines an enum for the index into the tables which contain the
  9. // command line arguments.
  10. //
  11. // History: 26-Mar-2001 EricB Created
  12. //
  13. //-----------------------------------------------------------------------------
  14. #ifndef _CMDTABLE_H_
  15. #define _CMDTABLE_H_
  16. typedef enum TAG_NETDOM_ARG_ENUM
  17. {
  18. eArgBegin = 0,
  19. //
  20. // Primary operation commands
  21. //
  22. ePriHelp = eArgBegin,
  23. ePriHelp2,
  24. ePriAdd,
  25. ePriCompName,
  26. ePriJoin,
  27. ePriMove,
  28. ePriQuery,
  29. ePriRemove,
  30. ePriRename,
  31. ePriRenameComputer,
  32. ePriReset,
  33. ePriResetPwd,
  34. ePriTrust,
  35. ePriVerify,
  36. ePriTime,
  37. ePriEnd = ePriTime,
  38. //
  39. // Object argument.
  40. //
  41. eObject = eArgBegin,
  42. //
  43. // Query sub-commands.
  44. //
  45. eQueryBegin,
  46. eQueryPDC = eQueryBegin,
  47. eQueryServer,
  48. eQueryWksta,
  49. eQueryDC,
  50. eQueryOU,
  51. eQueryFSMO,
  52. eQueryTrust,
  53. eQueryEnd = eQueryTrust,
  54. //
  55. // Common switches
  56. //
  57. eCommHelp,
  58. eCommQHelp,
  59. eCommUserNameO,
  60. eCommPasswordO,
  61. eCommUserNameD,
  62. eCommPasswordD,
  63. eCommDomain,
  64. eCommOU,
  65. eCommVerify,
  66. eCommVerbose,
  67. eCommServer,
  68. eCommReset,
  69. eCommRestart,
  70. eCommForce,
  71. //
  72. // Help switch
  73. //
  74. eHelpSyntax,
  75. //
  76. // Add switch
  77. //
  78. eAddDC,
  79. //
  80. // Move switches
  81. //
  82. eMoveUserNameF,
  83. eMovePasswordF,
  84. //
  85. // Query switch
  86. //
  87. eQueryDirect,
  88. //
  89. // Rename Computer switch
  90. //
  91. eRenCompNewName,
  92. //
  93. // Trust switches (add and remove also used by CompName)
  94. //
  95. eTrustRealm,
  96. eTrustPasswordT,
  97. eCommAdd,
  98. eCommRemove,
  99. eTrustTwoWay,
  100. eTrustKerberos,
  101. eTrustTransitive,
  102. eTrustOneSide,
  103. eTrustNameSuffixes,
  104. eTrustToggleSuffixes,
  105. eTrustFilterSIDs,
  106. //
  107. // ComputerName switches.
  108. //
  109. eCompNameMakePri,
  110. eCompNameEnum,
  111. eArgEnd,
  112. eArgError,
  113. eArgNull
  114. } NETDOM_ARG_ENUM;
  115. //
  116. // The parser tables
  117. //
  118. extern ARG_RECORD rgNetDomPriArgs[];
  119. extern ARG_RECORD rgNetDomArgs[];
  120. #endif //_CMDTABLE_H_