adsicon.py 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336
  1. ADS_ATTR_CLEAR = ( 1 )
  2. ADS_ATTR_UPDATE = ( 2 )
  3. ADS_ATTR_APPEND = ( 3 )
  4. ADS_ATTR_DELETE = ( 4 )
  5. ADS_EXT_MINEXTDISPID = ( 1 )
  6. ADS_EXT_MAXEXTDISPID = ( 16777215 )
  7. ADS_EXT_INITCREDENTIALS = ( 1 )
  8. ADS_EXT_INITIALIZE_COMPLETE = ( 2 )
  9. ADS_SEARCHPREF_ASYNCHRONOUS = 0
  10. ADS_SEARCHPREF_DEREF_ALIASES = 1
  11. ADS_SEARCHPREF_SIZE_LIMIT = 2
  12. ADS_SEARCHPREF_TIME_LIMIT = 3
  13. ADS_SEARCHPREF_ATTRIBTYPES_ONLY = 4
  14. ADS_SEARCHPREF_SEARCH_SCOPE = 5
  15. ADS_SEARCHPREF_TIMEOUT = 6
  16. ADS_SEARCHPREF_PAGESIZE = 7
  17. ADS_SEARCHPREF_PAGED_TIME_LIMIT = 8
  18. ADS_SEARCHPREF_CHASE_REFERRALS = 9
  19. ADS_SEARCHPREF_SORT_ON = 10
  20. ADS_SEARCHPREF_CACHE_RESULTS = 11
  21. ADS_SEARCHPREF_DIRSYNC = 12
  22. ADS_SEARCHPREF_TOMBSTONE = 13
  23. ADS_SCOPE_BASE = 0
  24. ADS_SCOPE_ONELEVEL = 1
  25. ADS_SCOPE_SUBTREE = 2
  26. ADS_SECURE_AUTHENTICATION = 0x1
  27. ADS_USE_ENCRYPTION = 0x2
  28. ADS_USE_SSL = 0x2
  29. ADS_READONLY_SERVER = 0x4
  30. ADS_PROMPT_CREDENTIALS = 0x8
  31. ADS_NO_AUTHENTICATION = 0x10
  32. ADS_FAST_BIND = 0x20
  33. ADS_USE_SIGNING = 0x40
  34. ADS_USE_SEALING = 0x80
  35. ADS_USE_DELEGATION = 0x100
  36. ADS_SERVER_BIND = 0x200
  37. ADSTYPE_INVALID = 0
  38. ADSTYPE_DN_STRING = ADSTYPE_INVALID + 1
  39. ADSTYPE_CASE_EXACT_STRING = ADSTYPE_DN_STRING + 1
  40. ADSTYPE_CASE_IGNORE_STRING = ADSTYPE_CASE_EXACT_STRING + 1
  41. ADSTYPE_PRINTABLE_STRING = ADSTYPE_CASE_IGNORE_STRING + 1
  42. ADSTYPE_NUMERIC_STRING = ADSTYPE_PRINTABLE_STRING + 1
  43. ADSTYPE_BOOLEAN = ADSTYPE_NUMERIC_STRING + 1
  44. ADSTYPE_INTEGER = ADSTYPE_BOOLEAN + 1
  45. ADSTYPE_OCTET_STRING = ADSTYPE_INTEGER + 1
  46. ADSTYPE_UTC_TIME = ADSTYPE_OCTET_STRING + 1
  47. ADSTYPE_LARGE_INTEGER = ADSTYPE_UTC_TIME + 1
  48. ADSTYPE_PROV_SPECIFIC = ADSTYPE_LARGE_INTEGER + 1
  49. ADSTYPE_OBJECT_CLASS = ADSTYPE_PROV_SPECIFIC + 1
  50. ADSTYPE_CASEIGNORE_LIST = ADSTYPE_OBJECT_CLASS + 1
  51. ADSTYPE_OCTET_LIST = ADSTYPE_CASEIGNORE_LIST + 1
  52. ADSTYPE_PATH = ADSTYPE_OCTET_LIST + 1
  53. ADSTYPE_POSTALADDRESS = ADSTYPE_PATH + 1
  54. ADSTYPE_TIMESTAMP = ADSTYPE_POSTALADDRESS + 1
  55. ADSTYPE_BACKLINK = ADSTYPE_TIMESTAMP + 1
  56. ADSTYPE_TYPEDNAME = ADSTYPE_BACKLINK + 1
  57. ADSTYPE_HOLD = ADSTYPE_TYPEDNAME + 1
  58. ADSTYPE_NETADDRESS = ADSTYPE_HOLD + 1
  59. ADSTYPE_REPLICAPOINTER = ADSTYPE_NETADDRESS + 1
  60. ADSTYPE_FAXNUMBER = ADSTYPE_REPLICAPOINTER + 1
  61. ADSTYPE_EMAIL = ADSTYPE_FAXNUMBER + 1
  62. ADSTYPE_NT_SECURITY_DESCRIPTOR = ADSTYPE_EMAIL + 1
  63. ADSTYPE_UNKNOWN = ADSTYPE_NT_SECURITY_DESCRIPTOR + 1
  64. ADSTYPE_DN_WITH_BINARY = ADSTYPE_UNKNOWN + 1
  65. ADSTYPE_DN_WITH_STRING = ADSTYPE_DN_WITH_BINARY + 1
  66. ADS_PROPERTY_CLEAR = 1
  67. ADS_PROPERTY_UPDATE = 2
  68. ADS_PROPERTY_APPEND = 3
  69. ADS_PROPERTY_DELETE = 4
  70. ADS_SYSTEMFLAG_DISALLOW_DELETE = -2147483648
  71. ADS_SYSTEMFLAG_CONFIG_ALLOW_RENAME = 0x40000000
  72. ADS_SYSTEMFLAG_CONFIG_ALLOW_MOVE = 0x20000000
  73. ADS_SYSTEMFLAG_CONFIG_ALLOW_LIMITED_MOVE = 0x10000000
  74. ADS_SYSTEMFLAG_DOMAIN_DISALLOW_RENAME = -2147483648
  75. ADS_SYSTEMFLAG_DOMAIN_DISALLOW_MOVE = 0x4000000
  76. ADS_SYSTEMFLAG_CR_NTDS_NC = 0x1
  77. ADS_SYSTEMFLAG_CR_NTDS_DOMAIN = 0x2
  78. ADS_SYSTEMFLAG_ATTR_NOT_REPLICATED = 0x1
  79. ADS_SYSTEMFLAG_ATTR_IS_CONSTRUCTED = 0x4
  80. ADS_GROUP_TYPE_GLOBAL_GROUP = 0x2
  81. ADS_GROUP_TYPE_DOMAIN_LOCAL_GROUP = 0x4
  82. ADS_GROUP_TYPE_LOCAL_GROUP = 0x4
  83. ADS_GROUP_TYPE_UNIVERSAL_GROUP = 0x8
  84. ADS_GROUP_TYPE_SECURITY_ENABLED = -2147483648
  85. ADS_UF_SCRIPT = 0x1
  86. ADS_UF_ACCOUNTDISABLE = 0x2
  87. ADS_UF_HOMEDIR_REQUIRED = 0x8
  88. ADS_UF_LOCKOUT = 0x10
  89. ADS_UF_PASSWD_NOTREQD = 0x20
  90. ADS_UF_PASSWD_CANT_CHANGE = 0x40
  91. ADS_UF_ENCRYPTED_TEXT_PASSWORD_ALLOWED = 0x80
  92. ADS_UF_TEMP_DUPLICATE_ACCOUNT = 0x100
  93. ADS_UF_NORMAL_ACCOUNT = 0x200
  94. ADS_UF_INTERDOMAIN_TRUST_ACCOUNT = 0x800
  95. ADS_UF_WORKSTATION_TRUST_ACCOUNT = 0x1000
  96. ADS_UF_SERVER_TRUST_ACCOUNT = 0x2000
  97. ADS_UF_DONT_EXPIRE_PASSWD = 0x10000
  98. ADS_UF_MNS_LOGON_ACCOUNT = 0x20000
  99. ADS_UF_SMARTCARD_REQUIRED = 0x40000
  100. ADS_UF_TRUSTED_FOR_DELEGATION = 0x80000
  101. ADS_UF_NOT_DELEGATED = 0x100000
  102. ADS_UF_USE_DES_KEY_ONLY = 0x200000
  103. ADS_UF_DONT_REQUIRE_PREAUTH = 0x400000
  104. ADS_UF_PASSWORD_EXPIRED = 0x800000
  105. ADS_UF_TRUSTED_TO_AUTHENTICATE_FOR_DELEGATION = 0x1000000
  106. ADS_RIGHT_DELETE = 0x10000
  107. ADS_RIGHT_READ_CONTROL = 0x20000
  108. ADS_RIGHT_WRITE_DAC = 0x40000
  109. ADS_RIGHT_WRITE_OWNER = 0x80000
  110. ADS_RIGHT_SYNCHRONIZE = 0x100000
  111. ADS_RIGHT_ACCESS_SYSTEM_SECURITY = 0x1000000
  112. ADS_RIGHT_GENERIC_READ = -2147483648
  113. ADS_RIGHT_GENERIC_WRITE = 0x40000000
  114. ADS_RIGHT_GENERIC_EXECUTE = 0x20000000
  115. ADS_RIGHT_GENERIC_ALL = 0x10000000
  116. ADS_RIGHT_DS_CREATE_CHILD = 0x1
  117. ADS_RIGHT_DS_DELETE_CHILD = 0x2
  118. ADS_RIGHT_ACTRL_DS_LIST = 0x4
  119. ADS_RIGHT_DS_SELF = 0x8
  120. ADS_RIGHT_DS_READ_PROP = 0x10
  121. ADS_RIGHT_DS_WRITE_PROP = 0x20
  122. ADS_RIGHT_DS_DELETE_TREE = 0x40
  123. ADS_RIGHT_DS_LIST_OBJECT = 0x80
  124. ADS_RIGHT_DS_CONTROL_ACCESS = 0x100
  125. ADS_ACETYPE_ACCESS_ALLOWED = 0
  126. ADS_ACETYPE_ACCESS_DENIED = 0x1
  127. ADS_ACETYPE_SYSTEM_AUDIT = 0x2
  128. ADS_ACETYPE_ACCESS_ALLOWED_OBJECT = 0x5
  129. ADS_ACETYPE_ACCESS_DENIED_OBJECT = 0x6
  130. ADS_ACETYPE_SYSTEM_AUDIT_OBJECT = 0x7
  131. ADS_ACETYPE_SYSTEM_ALARM_OBJECT = 0x8
  132. ADS_ACETYPE_ACCESS_ALLOWED_CALLBACK = 0x9
  133. ADS_ACETYPE_ACCESS_DENIED_CALLBACK = 0xa
  134. ADS_ACETYPE_ACCESS_ALLOWED_CALLBACK_OBJECT = 0xb
  135. ADS_ACETYPE_ACCESS_DENIED_CALLBACK_OBJECT = 0xc
  136. ADS_ACETYPE_SYSTEM_AUDIT_CALLBACK = 0xd
  137. ADS_ACETYPE_SYSTEM_ALARM_CALLBACK = 0xe
  138. ADS_ACETYPE_SYSTEM_AUDIT_CALLBACK_OBJECT = 0xf
  139. ADS_ACETYPE_SYSTEM_ALARM_CALLBACK_OBJECT = 0x10
  140. ADS_ACEFLAG_INHERIT_ACE = 0x2
  141. ADS_ACEFLAG_NO_PROPAGATE_INHERIT_ACE = 0x4
  142. ADS_ACEFLAG_INHERIT_ONLY_ACE = 0x8
  143. ADS_ACEFLAG_INHERITED_ACE = 0x10
  144. ADS_ACEFLAG_VALID_INHERIT_FLAGS = 0x1f
  145. ADS_ACEFLAG_SUCCESSFUL_ACCESS = 0x40
  146. ADS_ACEFLAG_FAILED_ACCESS = 0x80
  147. ADS_FLAG_OBJECT_TYPE_PRESENT = 0x1
  148. ADS_FLAG_INHERITED_OBJECT_TYPE_PRESENT = 0x2
  149. ADS_SD_CONTROL_SE_OWNER_DEFAULTED = 0x1
  150. ADS_SD_CONTROL_SE_GROUP_DEFAULTED = 0x2
  151. ADS_SD_CONTROL_SE_DACL_PRESENT = 0x4
  152. ADS_SD_CONTROL_SE_DACL_DEFAULTED = 0x8
  153. ADS_SD_CONTROL_SE_SACL_PRESENT = 0x10
  154. ADS_SD_CONTROL_SE_SACL_DEFAULTED = 0x20
  155. ADS_SD_CONTROL_SE_DACL_AUTO_INHERIT_REQ = 0x100
  156. ADS_SD_CONTROL_SE_SACL_AUTO_INHERIT_REQ = 0x200
  157. ADS_SD_CONTROL_SE_DACL_AUTO_INHERITED = 0x400
  158. ADS_SD_CONTROL_SE_SACL_AUTO_INHERITED = 0x800
  159. ADS_SD_CONTROL_SE_DACL_PROTECTED = 0x1000
  160. ADS_SD_CONTROL_SE_SACL_PROTECTED = 0x2000
  161. ADS_SD_CONTROL_SE_SELF_RELATIVE = 0x8000
  162. ADS_SD_REVISION_DS = 4
  163. ADS_NAME_TYPE_1779 = 1
  164. ADS_NAME_TYPE_CANONICAL = 2
  165. ADS_NAME_TYPE_NT4 = 3
  166. ADS_NAME_TYPE_DISPLAY = 4
  167. ADS_NAME_TYPE_DOMAIN_SIMPLE = 5
  168. ADS_NAME_TYPE_ENTERPRISE_SIMPLE = 6
  169. ADS_NAME_TYPE_GUID = 7
  170. ADS_NAME_TYPE_UNKNOWN = 8
  171. ADS_NAME_TYPE_USER_PRINCIPAL_NAME = 9
  172. ADS_NAME_TYPE_CANONICAL_EX = 10
  173. ADS_NAME_TYPE_SERVICE_PRINCIPAL_NAME = 11
  174. ADS_NAME_TYPE_SID_OR_SID_HISTORY_NAME = 12
  175. ADS_NAME_INITTYPE_DOMAIN = 1
  176. ADS_NAME_INITTYPE_SERVER = 2
  177. ADS_NAME_INITTYPE_GC = 3
  178. ADS_OPTION_SERVERNAME = 0
  179. ADS_OPTION_REFERRALS = ADS_OPTION_SERVERNAME + 1
  180. ADS_OPTION_PAGE_SIZE = ADS_OPTION_REFERRALS + 1
  181. ADS_OPTION_SECURITY_MASK = ADS_OPTION_PAGE_SIZE + 1
  182. ADS_OPTION_MUTUAL_AUTH_STATUS = ADS_OPTION_SECURITY_MASK + 1
  183. ADS_OPTION_QUOTA = ADS_OPTION_MUTUAL_AUTH_STATUS + 1
  184. ADS_OPTION_PASSWORD_PORTNUMBER = ADS_OPTION_QUOTA + 1
  185. ADS_OPTION_PASSWORD_METHOD = ADS_OPTION_PASSWORD_PORTNUMBER + 1
  186. ADS_SECURITY_INFO_OWNER = 0x1
  187. ADS_SECURITY_INFO_GROUP = 0x2
  188. ADS_SECURITY_INFO_DACL = 0x4
  189. ADS_SECURITY_INFO_SACL = 0x8
  190. ADS_SETTYPE_FULL = 1
  191. ADS_SETTYPE_PROVIDER = 2
  192. ADS_SETTYPE_SERVER = 3
  193. ADS_SETTYPE_DN = 4
  194. ADS_FORMAT_WINDOWS = 1
  195. ADS_FORMAT_WINDOWS_NO_SERVER = 2
  196. ADS_FORMAT_WINDOWS_DN = 3
  197. ADS_FORMAT_WINDOWS_PARENT = 4
  198. ADS_FORMAT_X500 = 5
  199. ADS_FORMAT_X500_NO_SERVER = 6
  200. ADS_FORMAT_X500_DN = 7
  201. ADS_FORMAT_X500_PARENT = 8
  202. ADS_FORMAT_SERVER = 9
  203. ADS_FORMAT_PROVIDER = 10
  204. ADS_FORMAT_LEAF = 11
  205. ADS_DISPLAY_FULL = 1
  206. ADS_DISPLAY_VALUE_ONLY = 2
  207. ADS_ESCAPEDMODE_DEFAULT = 1
  208. ADS_ESCAPEDMODE_ON = 2
  209. ADS_ESCAPEDMODE_OFF = 3
  210. ADS_ESCAPEDMODE_OFF_EX = 4
  211. ADS_PATH_FILE = 1
  212. ADS_PATH_FILESHARE = 2
  213. ADS_PATH_REGISTRY = 3
  214. ADS_SD_FORMAT_IID = 1
  215. ADS_SD_FORMAT_RAW = 2
  216. ADS_SD_FORMAT_HEXSTRING = 3
  217. # Generated by h2py from AdsErr.h
  218. def _HRESULT_TYPEDEF_(_sc): return _sc
  219. E_ADS_BAD_PATHNAME = _HRESULT_TYPEDEF_((-2147463168))
  220. E_ADS_INVALID_DOMAIN_OBJECT = _HRESULT_TYPEDEF_((-2147463167))
  221. E_ADS_INVALID_USER_OBJECT = _HRESULT_TYPEDEF_((-2147463166))
  222. E_ADS_INVALID_COMPUTER_OBJECT = _HRESULT_TYPEDEF_((-2147463165))
  223. E_ADS_UNKNOWN_OBJECT = _HRESULT_TYPEDEF_((-2147463164))
  224. E_ADS_PROPERTY_NOT_SET = _HRESULT_TYPEDEF_((-2147463163))
  225. E_ADS_PROPERTY_NOT_SUPPORTED = _HRESULT_TYPEDEF_((-2147463162))
  226. E_ADS_PROPERTY_INVALID = _HRESULT_TYPEDEF_((-2147463161))
  227. E_ADS_BAD_PARAMETER = _HRESULT_TYPEDEF_((-2147463160))
  228. E_ADS_OBJECT_UNBOUND = _HRESULT_TYPEDEF_((-2147463159))
  229. E_ADS_PROPERTY_NOT_MODIFIED = _HRESULT_TYPEDEF_((-2147463158))
  230. E_ADS_PROPERTY_MODIFIED = _HRESULT_TYPEDEF_((-2147463157))
  231. E_ADS_CANT_CONVERT_DATATYPE = _HRESULT_TYPEDEF_((-2147463156))
  232. E_ADS_PROPERTY_NOT_FOUND = _HRESULT_TYPEDEF_((-2147463155))
  233. E_ADS_OBJECT_EXISTS = _HRESULT_TYPEDEF_((-2147463154))
  234. E_ADS_SCHEMA_VIOLATION = _HRESULT_TYPEDEF_((-2147463153))
  235. E_ADS_COLUMN_NOT_SET = _HRESULT_TYPEDEF_((-2147463152))
  236. S_ADS_ERRORSOCCURRED = _HRESULT_TYPEDEF_(0x00005011)
  237. S_ADS_NOMORE_ROWS = _HRESULT_TYPEDEF_(0x00005012)
  238. S_ADS_NOMORE_COLUMNS = _HRESULT_TYPEDEF_(0x00005013)
  239. E_ADS_INVALID_FILTER = _HRESULT_TYPEDEF_((-2147463148))
  240. # ADS_DEREFENUM enum
  241. ADS_DEREF_NEVER = 0
  242. ADS_DEREF_SEARCHING = 1
  243. ADS_DEREF_FINDING = 2
  244. ADS_DEREF_ALWAYS = 3
  245. # ADS_PREFERENCES_ENUM
  246. ADSIPROP_ASYNCHRONOUS = 0
  247. ADSIPROP_DEREF_ALIASES = 0x1
  248. ADSIPROP_SIZE_LIMIT = 0x2
  249. ADSIPROP_TIME_LIMIT = 0x3
  250. ADSIPROP_ATTRIBTYPES_ONLY = 0x4
  251. ADSIPROP_SEARCH_SCOPE = 0x5
  252. ADSIPROP_TIMEOUT = 0x6
  253. ADSIPROP_PAGESIZE = 0x7
  254. ADSIPROP_PAGED_TIME_LIMIT = 0x8
  255. ADSIPROP_CHASE_REFERRALS = 0x9
  256. ADSIPROP_SORT_ON = 0xa
  257. ADSIPROP_CACHE_RESULTS = 0xb
  258. ADSIPROP_ADSIFLAG = 0xc
  259. # ADSI_DIALECT_ENUM
  260. ADSI_DIALECT_LDAP = 0
  261. ADSI_DIALECT_SQL = 0x1
  262. # ADS_CHASE_REFERRALS_ENUM
  263. ADS_CHASE_REFERRALS_NEVER = 0
  264. ADS_CHASE_REFERRALS_SUBORDINATE = 0x20
  265. ADS_CHASE_REFERRALS_EXTERNAL = 0x40
  266. ADS_CHASE_REFERRALS_ALWAYS = ADS_CHASE_REFERRALS_SUBORDINATE | ADS_CHASE_REFERRALS_EXTERNAL
  267. # Generated by h2py from ObjSel.h
  268. DSOP_SCOPE_TYPE_TARGET_COMPUTER = 0x00000001
  269. DSOP_SCOPE_TYPE_UPLEVEL_JOINED_DOMAIN = 0x00000002
  270. DSOP_SCOPE_TYPE_DOWNLEVEL_JOINED_DOMAIN = 0x00000004
  271. DSOP_SCOPE_TYPE_ENTERPRISE_DOMAIN = 0x00000008
  272. DSOP_SCOPE_TYPE_GLOBAL_CATALOG = 0x00000010
  273. DSOP_SCOPE_TYPE_EXTERNAL_UPLEVEL_DOMAIN = 0x00000020
  274. DSOP_SCOPE_TYPE_EXTERNAL_DOWNLEVEL_DOMAIN = 0x00000040
  275. DSOP_SCOPE_TYPE_WORKGROUP = 0x00000080
  276. DSOP_SCOPE_TYPE_USER_ENTERED_UPLEVEL_SCOPE = 0x00000100
  277. DSOP_SCOPE_TYPE_USER_ENTERED_DOWNLEVEL_SCOPE = 0x00000200
  278. DSOP_SCOPE_FLAG_STARTING_SCOPE = 0x00000001
  279. DSOP_SCOPE_FLAG_WANT_PROVIDER_WINNT = 0x00000002
  280. DSOP_SCOPE_FLAG_WANT_PROVIDER_LDAP = 0x00000004
  281. DSOP_SCOPE_FLAG_WANT_PROVIDER_GC = 0x00000008
  282. DSOP_SCOPE_FLAG_WANT_SID_PATH = 0x00000010
  283. DSOP_SCOPE_FLAG_WANT_DOWNLEVEL_BUILTIN_PATH = 0x00000020
  284. DSOP_SCOPE_FLAG_DEFAULT_FILTER_USERS = 0x00000040
  285. DSOP_SCOPE_FLAG_DEFAULT_FILTER_GROUPS = 0x00000080
  286. DSOP_SCOPE_FLAG_DEFAULT_FILTER_COMPUTERS = 0x00000100
  287. DSOP_SCOPE_FLAG_DEFAULT_FILTER_CONTACTS = 0x00000200
  288. DSOP_FILTER_INCLUDE_ADVANCED_VIEW = 0x00000001
  289. DSOP_FILTER_USERS = 0x00000002
  290. DSOP_FILTER_BUILTIN_GROUPS = 0x00000004
  291. DSOP_FILTER_WELL_KNOWN_PRINCIPALS = 0x00000008
  292. DSOP_FILTER_UNIVERSAL_GROUPS_DL = 0x00000010
  293. DSOP_FILTER_UNIVERSAL_GROUPS_SE = 0x00000020
  294. DSOP_FILTER_GLOBAL_GROUPS_DL = 0x00000040
  295. DSOP_FILTER_GLOBAL_GROUPS_SE = 0x00000080
  296. DSOP_FILTER_DOMAIN_LOCAL_GROUPS_DL = 0x00000100
  297. DSOP_FILTER_DOMAIN_LOCAL_GROUPS_SE = 0x00000200
  298. DSOP_FILTER_CONTACTS = 0x00000400
  299. DSOP_FILTER_COMPUTERS = 0x00000800
  300. DSOP_DOWNLEVEL_FILTER_USERS = (-2147483647)
  301. DSOP_DOWNLEVEL_FILTER_LOCAL_GROUPS = (-2147483646)
  302. DSOP_DOWNLEVEL_FILTER_GLOBAL_GROUPS = (-2147483644)
  303. DSOP_DOWNLEVEL_FILTER_COMPUTERS = (-2147483640)
  304. DSOP_DOWNLEVEL_FILTER_WORLD = (-2147483632)
  305. DSOP_DOWNLEVEL_FILTER_AUTHENTICATED_USER = (-2147483616)
  306. DSOP_DOWNLEVEL_FILTER_ANONYMOUS = (-2147483584)
  307. DSOP_DOWNLEVEL_FILTER_BATCH = (-2147483520)
  308. DSOP_DOWNLEVEL_FILTER_CREATOR_OWNER = (-2147483392)
  309. DSOP_DOWNLEVEL_FILTER_CREATOR_GROUP = (-2147483136)
  310. DSOP_DOWNLEVEL_FILTER_DIALUP = (-2147482624)
  311. DSOP_DOWNLEVEL_FILTER_INTERACTIVE = (-2147481600)
  312. DSOP_DOWNLEVEL_FILTER_NETWORK = (-2147479552)
  313. DSOP_DOWNLEVEL_FILTER_SERVICE = (-2147475456)
  314. DSOP_DOWNLEVEL_FILTER_SYSTEM = (-2147467264)
  315. DSOP_DOWNLEVEL_FILTER_EXCLUDE_BUILTIN_GROUPS = (-2147450880)
  316. DSOP_DOWNLEVEL_FILTER_TERMINAL_SERVER = (-2147418112)
  317. DSOP_DOWNLEVEL_FILTER_ALL_WELLKNOWN_SIDS = (-2147352576)
  318. DSOP_DOWNLEVEL_FILTER_LOCAL_SERVICE = (-2147221504)
  319. DSOP_DOWNLEVEL_FILTER_NETWORK_SERVICE = (-2146959360)
  320. DSOP_DOWNLEVEL_FILTER_REMOTE_LOGON = (-2146435072)
  321. DSOP_FLAG_MULTISELECT = 0x00000001
  322. DSOP_FLAG_SKIP_TARGET_COMPUTER_DC_CHECK = 0x00000002
  323. CFSTR_DSOP_DS_SELECTION_LIST = "CFSTR_DSOP_DS_SELECTION_LIST"