The OpenD Programming Language

1 /**
2  * Windows API header module
3  *
4  * Translated from MinGW Windows headers
5  *
6  * Authors: Stewart Gordon
7  * License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost License 1.0)
8  * Source: $(DRUNTIMESRC core/sys/windows/_ntldap.d)
9  */
10 module core.sys.windows.ntldap;
11 version (Windows):
12 
13 version (ANSI) {} else version = Unicode;
14 
15 /*  TOTHINKABOUT: These constants don't have ANSI/Unicode versioned
16  *  aliases.  Should we merge them anyway?
17  */
18 
19 const char[]
20     LDAP_SERVER_ASQ_OID                    = "1.2.840.113556.1.4.1504",
21     LDAP_SERVER_DIRSYNC_OID                = "1.2.840.113556.1.4.841",
22     LDAP_SERVER_SD_FLAGS_OID               = "1.2.840.113556.1.4.801",
23     LDAP_SERVER_FAST_BIND_OID              = "1.2.840.113556.1.4.1781",
24     LDAP_MATCHING_RULE_BIT_OR              = "1.2.840.113556.1.4.804",
25     LDAP_MATCHING_RULE_BIT_AND             = "1.2.840.113556.1.4.803",
26     LDAP_SERVER_EXTENDED_DN_OID            = "1.2.840.113556.1.4.529",
27     LDAP_SERVER_LAZY_COMMIT_OID            = "1.2.840.113556.1.4.619",
28     LDAP_SERVER_TREE_DELETE_OID            = "1.2.840.113556.1.4.805",
29     LDAP_SERVER_VERIFY_NAME_OID            = "1.2.840.113556.1.4.1338",
30     LDAP_SERVER_SHOW_DELETED_OID           = "1.2.840.113556.1.4.417",
31     LDAP_SERVER_NOTIFICATION_OID           = "1.2.840.113556.1.4.528",
32     LDAP_SERVER_DOMAIN_SCOPE_OID           = "1.2.840.113556.1.4.1339",
33     LDAP_CAP_ACTIVE_DIRECTORY_OID          = "1.2.840.113556.1.4.800",
34     LDAP_SERVER_SEARCH_OPTIONS_OID         = "1.2.840.113556.1.4.1340",
35     LDAP_CAP_ACTIVE_DIRECTORY_V51_OID      = "1.2.840.113556.1.4.1670",
36     LDAP_SERVER_PERMISSIVE_MODIFY_OID      = "1.2.840.113556.1.4.1413",
37     LDAP_SERVER_CROSSDOM_MOVE_TARGET_OID   = "1.2.840.113556.1.4.521";
38 
39 const wchar[]
40     LDAP_SERVER_ASQ_OID_W                  = "1.2.840.113556.1.4.1504",
41     LDAP_SERVER_DIRSYNC_OID_W              = "1.2.840.113556.1.4.841",
42     LDAP_SERVER_SD_FLAGS_OID_W             = "1.2.840.113556.1.4.801",
43     LDAP_SERVER_FAST_BIND_OID_W            = "1.2.840.113556.1.4.1781",
44     LDAP_MATCHING_RULE_BIT_OR_W            = "1.2.840.113556.1.4.804",
45     LDAP_MATCHING_RULE_BIT_AND_W           = "1.2.840.113556.1.4.803",
46     LDAP_SERVER_EXTENDED_DN_OID_W          = "1.2.840.113556.1.4.529",
47     LDAP_SERVER_LAZY_COMMIT_OID_W          = "1.2.840.113556.1.4.619",
48     LDAP_SERVER_TREE_DELETE_OID_W          = "1.2.840.113556.1.4.805",
49     LDAP_SERVER_VERIFY_NAME_OID_W          = "1.2.840.113556.1.4.1338",
50     LDAP_SERVER_SHOW_DELETED_OID_W         = "1.2.840.113556.1.4.417",
51     LDAP_SERVER_NOTIFICATION_OID_W         = "1.2.840.113556.1.4.528",
52     LDAP_SERVER_DOMAIN_SCOPE_OID_W         = "1.2.840.113556.1.4.1339",
53     LDAP_CAP_ACTIVE_DIRECTORY_OID_W        = "1.2.840.113556.1.4.800",
54     LDAP_SERVER_SEARCH_OPTIONS_OID_W       = "1.2.840.113556.1.4.1340",
55     LDAP_CAP_ACTIVE_DIRECTORY_V51_OID_W    = "1.2.840.113556.1.4.1670",
56     LDAP_SERVER_PERMISSIVE_MODIFY_OID_W    = "1.2.840.113556.1.4.1413",
57     LDAP_SERVER_CROSSDOM_MOVE_TARGET_OID_W = "1.2.840.113556.1.4.521";
58 
59 enum SERVER_SEARCH_FLAG_DOMAIN_SCOPE = 1;
60 enum SERVER_SEARCH_FLAG_PHANTOM_ROOT = 2;