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.

165 lines
2.8 KiB

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1992 - 2000
  5. //
  6. // File: modtable.h
  7. //
  8. // Contents: Declares a table which contains the object types on which
  9. // a modification can occur and the attributes that can be changed
  10. //
  11. // History: 07-Sep-2000 JeffJon Created
  12. //
  13. //--------------------------------------------------------------------------
  14. #ifndef _MODTABLE_H_
  15. #define _MODTABLE_H_
  16. typedef enum COMMON_COMMAND
  17. {
  18. //
  19. // Common switches
  20. //
  21. #ifdef DBG
  22. eCommDebug,
  23. #endif
  24. eCommHelp,
  25. eCommServer,
  26. eCommDomain,
  27. eCommUserName,
  28. eCommPassword,
  29. eCommQuiet,
  30. eCommContinue,
  31. eCommObjectType,
  32. eCommObjectDNorName,
  33. eCommDescription,
  34. eTerminator,
  35. //
  36. // User and Contact switches
  37. //
  38. eUserUpn = eTerminator,
  39. eUserFn,
  40. eUserMi,
  41. eUserLn,
  42. eUserDisplay,
  43. eUserEmpID,
  44. eUserPwd,
  45. eUserOffice,
  46. eUserTel,
  47. eUserEmail,
  48. eUserHometel,
  49. eUserPager,
  50. eUserMobile,
  51. eUserFax,
  52. eUserIPPhone,
  53. eUserWebPage,
  54. eUserTitle,
  55. eUserDept,
  56. eUserCompany,
  57. eUserManager,
  58. eUserHomeDir,
  59. eUserHomeDrive,
  60. eUserProfilePath,
  61. eUserScriptPath,
  62. eUserMustchpwd,
  63. eUserCanchpwd,
  64. eUserReversiblePwd,
  65. eUserPwdneverexpires,
  66. eUserAcctexpires,
  67. eUserDisabled,
  68. //
  69. // Contact switches
  70. //
  71. eContactFn = eTerminator,
  72. eContactMi,
  73. eContactLn,
  74. eContactDisplay,
  75. eContactOffice,
  76. eContactTel,
  77. eContactEmail,
  78. eContactHometel,
  79. eContactPager,
  80. eContactMobile,
  81. eContactFax,
  82. eContactTitle,
  83. eContactDept,
  84. eContactCompany,
  85. //
  86. // Computer switches
  87. //
  88. eComputerLocation = eTerminator,
  89. eComputerDisabled,
  90. eComputerReset,
  91. //
  92. // Group switches
  93. //
  94. eGroupSamname = eTerminator,
  95. eGroupSecgrp,
  96. eGroupScope,
  97. eGroupAddMember,
  98. eGroupRemoveMember,
  99. eGroupChangeMember,
  100. //
  101. // OU doesn't have any additional switches
  102. //
  103. //
  104. // Subnet switches
  105. //
  106. eSubnetSite = eTerminator,
  107. //
  108. // Site switches
  109. //
  110. eSiteAutotopology = eTerminator,
  111. //
  112. // Site Link switches
  113. //
  114. eSLinkIp = eTerminator,
  115. eSLinkSmtp,
  116. eSLinkAddsite,
  117. eSLinkRmsite,
  118. eSLinkCost,
  119. eSLinkRepint,
  120. eSLinkAutobacksync,
  121. eSLinkNotify,
  122. //
  123. // Site Link Bridge switches
  124. //
  125. eSLinkBrIp = eTerminator,
  126. eSLinkBrSmtp,
  127. eSLinkBrAddslink,
  128. eSLinkBrRmslink,
  129. //
  130. // Replication Connection switches
  131. //
  132. eConnTransport = eTerminator,
  133. eConnEnabled,
  134. eConnManual,
  135. eConnAutobacksync,
  136. eConnNotify,
  137. //
  138. // Server switches
  139. //
  140. eServerIsGC = eTerminator,
  141. };
  142. //
  143. // The parser table
  144. //
  145. extern ARG_RECORD DSMOD_COMMON_COMMANDS[];
  146. //
  147. // The table of supported objects
  148. //
  149. extern PDSOBJECTTABLEENTRY g_DSObjectTable[];
  150. #endif //_MODTABLE_H_