Debian Codegraph @

.cargo/vendor/windows-sys/src/Windows/Win32/Networking/Ldap/mod.rs

raw
1 ::windows_targets::link!("wldap32.dll" "cdecl" fn LdapGetLastError() -> u32);
2 #[cfg(feature = "Win32_Foundation")]
3 ::windows_targets::link!("wldap32.dll" "cdecl" #[doc = "Required features: `\"Win32_Foundation\"`"] fn LdapMapErrorToWin32(ldaperror : u32) -> super::super::Foundation:: WIN32_ERROR);
4 ::windows_targets::link!("wldap32.dll" "cdecl" fn LdapUTF8ToUnicode(lpsrcstr : ::windows_sys::core::PCSTR, cchsrc : i32, lpdeststr : ::windows_sys::core::PWSTR, cchdest : i32) -> i32);
5 ::windows_targets::link!("wldap32.dll" "cdecl" fn LdapUnicodeToUTF8(lpsrcstr : ::windows_sys::core::PCWSTR, cchsrc : i32, lpdeststr : ::windows_sys::core::PSTR, cchdest : i32) -> i32);
6 ::windows_targets::link!("wldap32.dll" "cdecl" fn ber_alloc_t(options : i32) -> *mut BerElement);
7 ::windows_targets::link!("wldap32.dll" "cdecl" fn ber_bvdup(pberval : *mut LDAP_BERVAL) -> *mut LDAP_BERVAL);
8 ::windows_targets::link!("wldap32.dll" "cdecl" fn ber_bvecfree(pberval : *mut *mut LDAP_BERVAL) -> ());
9 ::windows_targets::link!("wldap32.dll" "cdecl" fn ber_bvfree(bv : *mut LDAP_BERVAL) -> ());
10 ::windows_targets::link!("wldap32.dll" "cdecl" fn ber_first_element(pberelement : *mut BerElement, plen : *mut u32, ppopaque : *mut *mut u8) -> u32);
11 ::windows_targets::link!("wldap32.dll" "cdecl" fn ber_flatten(pberelement : *mut BerElement, pberval : *mut *mut LDAP_BERVAL) -> i32);
12 ::windows_targets::link!("wldap32.dll" "cdecl" fn ber_free(pberelement : *mut BerElement, fbuf : i32) -> ());
13 ::windows_targets::link!("wldap32.dll" "cdecl" fn ber_init(pberval : *mut LDAP_BERVAL) -> *mut BerElement);
14 ::windows_targets::link!("wldap32.dll" "cdecl" fn ber_next_element(pberelement : *mut BerElement, plen : *mut u32, opaque : ::windows_sys::core::PCSTR) -> u32);
15 ::windows_targets::link!("wldap32.dll" "cdecl" fn ber_peek_tag(pberelement : *mut BerElement, plen : *mut u32) -> u32);
16 ::windows_targets::link!("wldap32.dll" "cdecl" fn ber_printf(pberelement : *mut BerElement, fmt : ::windows_sys::core::PCSTR, ...) -> i32);
17 ::windows_targets::link!("wldap32.dll" "cdecl" fn ber_scanf(pberelement : *mut BerElement, fmt : ::windows_sys::core::PCSTR, ...) -> u32);
18 ::windows_targets::link!("wldap32.dll" "cdecl" fn ber_skip_tag(pberelement : *mut BerElement, plen : *mut u32) -> u32);
19 ::windows_targets::link!("wldap32.dll" "cdecl" fn cldap_open(hostname : ::windows_sys::core::PCSTR, portnumber : u32) -> *mut LDAP);
20 ::windows_targets::link!("wldap32.dll" "cdecl" fn cldap_openA(hostname : ::windows_sys::core::PCSTR, portnumber : u32) -> *mut LDAP);
21 ::windows_targets::link!("wldap32.dll" "cdecl" fn cldap_openW(hostname : ::windows_sys::core::PCWSTR, portnumber : u32) -> *mut LDAP);
22 ::windows_targets::link!("wldap32.dll" "cdecl" fn ldap_abandon(ld : *mut LDAP, msgid : u32) -> u32);
23 ::windows_targets::link!("wldap32.dll" "cdecl" fn ldap_add(ld : *mut LDAP, dn : ::windows_sys::core::PCSTR, attrs : *mut *mut LDAPModA) -> u32);
24 ::windows_targets::link!("wldap32.dll" "cdecl" fn ldap_addA(ld : *mut LDAP, dn : ::windows_sys::core::PCSTR, attrs : *mut *mut LDAPModA) -> u32);
25 ::windows_targets::link!("wldap32.dll" "cdecl" fn ldap_addW(ld : *mut LDAP, dn : ::windows_sys::core::PCWSTR, attrs : *mut *mut LDAPModW) -> u32);
26 #[cfg(feature = "Win32_Foundation")]
27 ::windows_targets::link!("wldap32.dll" "cdecl" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ldap_add_ext(ld : *mut LDAP, dn : ::windows_sys::core::PCSTR, attrs : *mut *mut LDAPModA, servercontrols : *mut *mut LDAPControlA, clientcontrols : *mut *mut LDAPControlA, messagenumber : *mut u32) -> u32);
28 #[cfg(feature = "Win32_Foundation")]
29 ::windows_targets::link!("wldap32.dll" "cdecl" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ldap_add_extA(ld : *mut LDAP, dn : ::windows_sys::core::PCSTR, attrs : *mut *mut LDAPModA, servercontrols : *mut *mut LDAPControlA, clientcontrols : *mut *mut LDAPControlA, messagenumber : *mut u32) -> u32);
30 #[cfg(feature = "Win32_Foundation")]
31 ::windows_targets::link!("wldap32.dll" "cdecl" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ldap_add_extW(ld : *mut LDAP, dn : ::windows_sys::core::PCWSTR, attrs : *mut *mut LDAPModW, servercontrols : *mut *mut LDAPControlW, clientcontrols : *mut *mut LDAPControlW, messagenumber : *mut u32) -> u32);
32 #[cfg(feature = "Win32_Foundation")]
33 ::windows_targets::link!("wldap32.dll" "cdecl" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ldap_add_ext_s(ld : *mut LDAP, dn : ::windows_sys::core::PCSTR, attrs : *mut *mut LDAPModA, servercontrols : *mut *mut LDAPControlA, clientcontrols : *mut *mut LDAPControlA) -> u32);
34 #[cfg(feature = "Win32_Foundation")]
35 ::windows_targets::link!("wldap32.dll" "cdecl" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ldap_add_ext_sA(ld : *mut LDAP, dn : ::windows_sys::core::PCSTR, attrs : *mut *mut LDAPModA, servercontrols : *mut *mut LDAPControlA, clientcontrols : *mut *mut LDAPControlA) -> u32);
36 #[cfg(feature = "Win32_Foundation")]
37 ::windows_targets::link!("wldap32.dll" "cdecl" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ldap_add_ext_sW(ld : *mut LDAP, dn : ::windows_sys::core::PCWSTR, attrs : *mut *mut LDAPModW, servercontrols : *mut *mut LDAPControlW, clientcontrols : *mut *mut LDAPControlW) -> u32);
38 ::windows_targets::link!("wldap32.dll" "cdecl" fn ldap_add_s(ld : *mut LDAP, dn : ::windows_sys::core::PCSTR, attrs : *mut *mut LDAPModA) -> u32);
39 ::windows_targets::link!("wldap32.dll" "cdecl" fn ldap_add_sA(ld : *mut LDAP, dn : ::windows_sys::core::PCSTR, attrs : *mut *mut LDAPModA) -> u32);
40 ::windows_targets::link!("wldap32.dll" "cdecl" fn ldap_add_sW(ld : *mut LDAP, dn : ::windows_sys::core::PCWSTR, attrs : *mut *mut LDAPModW) -> u32);
41 ::windows_targets::link!("wldap32.dll" "cdecl" fn ldap_bind(ld : *mut LDAP, dn : ::windows_sys::core::PCSTR, cred : ::windows_sys::core::PCSTR, method : u32) -> u32);
42 ::windows_targets::link!("wldap32.dll" "cdecl" fn ldap_bindA(ld : *mut LDAP, dn : ::windows_sys::core::PCSTR, cred : ::windows_sys::core::PCSTR, method : u32) -> u32);
43 ::windows_targets::link!("wldap32.dll" "cdecl" fn ldap_bindW(ld : *mut LDAP, dn : ::windows_sys::core::PCWSTR, cred : ::windows_sys::core::PCWSTR, method : u32) -> u32);
44 ::windows_targets::link!("wldap32.dll" "cdecl" fn ldap_bind_s(ld : *mut LDAP, dn : ::windows_sys::core::PCSTR, cred : ::windows_sys::core::PCSTR, method : u32) -> u32);
45 ::windows_targets::link!("wldap32.dll" "cdecl" fn ldap_bind_sA(ld : *mut LDAP, dn : ::windows_sys::core::PCSTR, cred : ::windows_sys::core::PCSTR, method : u32) -> u32);
46 ::windows_targets::link!("wldap32.dll" "cdecl" fn ldap_bind_sW(ld : *mut LDAP, dn : ::windows_sys::core::PCWSTR, cred : ::windows_sys::core::PCWSTR, method : u32) -> u32);
47 ::windows_targets::link!("wldap32.dll" "cdecl" fn ldap_check_filterA(ld : *mut LDAP, searchfilter : ::windows_sys::core::PCSTR) -> u32);
48 ::windows_targets::link!("wldap32.dll" "cdecl" fn ldap_check_filterW(ld : *mut LDAP, searchfilter : ::windows_sys::core::PCWSTR) -> u32);
49 #[cfg(feature = "Win32_Foundation")]
50 ::windows_targets::link!("wldap32.dll" "cdecl" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ldap_cleanup(hinstance : super::super::Foundation:: HANDLE) -> u32);
51 ::windows_targets::link!("wldap32.dll" "cdecl" fn ldap_close_extended_op(ld : *mut LDAP, messagenumber : u32) -> u32);
52 ::windows_targets::link!("wldap32.dll" "cdecl" fn ldap_compare(ld : *mut LDAP, dn : ::windows_sys::core::PCSTR, attr : ::windows_sys::core::PCSTR, value : ::windows_sys::core::PCSTR) -> u32);
53 ::windows_targets::link!("wldap32.dll" "cdecl" fn ldap_compareA(ld : *mut LDAP, dn : ::windows_sys::core::PCSTR, attr : ::windows_sys::core::PCSTR, value : ::windows_sys::core::PCSTR) -> u32);
54 ::windows_targets::link!("wldap32.dll" "cdecl" fn ldap_compareW(ld : *mut LDAP, dn : ::windows_sys::core::PCWSTR, attr : ::windows_sys::core::PCWSTR, value : ::windows_sys::core::PCWSTR) -> u32);
55 #[cfg(feature = "Win32_Foundation")]
56 ::windows_targets::link!("wldap32.dll" "cdecl" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ldap_compare_ext(ld : *mut LDAP, dn : ::windows_sys::core::PCSTR, attr : ::windows_sys::core::PCSTR, value : ::windows_sys::core::PCSTR, data : *mut LDAP_BERVAL, servercontrols : *mut *mut LDAPControlA, clientcontrols : *mut *mut LDAPControlA, messagenumber : *mut u32) -> u32);
57 #[cfg(feature = "Win32_Foundation")]
58 ::windows_targets::link!("wldap32.dll" "cdecl" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ldap_compare_extA(ld : *mut LDAP, dn : ::windows_sys::core::PCSTR, attr : ::windows_sys::core::PCSTR, value : ::windows_sys::core::PCSTR, data : *const LDAP_BERVAL, servercontrols : *mut *mut LDAPControlA, clientcontrols : *mut *mut LDAPControlA, messagenumber : *mut u32) -> u32);
59 #[cfg(feature = "Win32_Foundation")]
60 ::windows_targets::link!("wldap32.dll" "cdecl" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ldap_compare_extW(ld : *mut LDAP, dn : ::windows_sys::core::PCWSTR, attr : ::windows_sys::core::PCWSTR, value : ::windows_sys::core::PCWSTR, data : *const LDAP_BERVAL, servercontrols : *mut *mut LDAPControlW, clientcontrols : *mut *mut LDAPControlW, messagenumber : *mut u32) -> u32);
61 #[cfg(feature = "Win32_Foundation")]
62 ::windows_targets::link!("wldap32.dll" "cdecl" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ldap_compare_ext_s(ld : *mut LDAP, dn : ::windows_sys::core::PCSTR, attr : ::windows_sys::core::PCSTR, value : ::windows_sys::core::PCSTR, data : *mut LDAP_BERVAL, servercontrols : *mut *mut LDAPControlA, clientcontrols : *mut *mut LDAPControlA) -> u32);
63 #[cfg(feature = "Win32_Foundation")]
64 ::windows_targets::link!("wldap32.dll" "cdecl" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ldap_compare_ext_sA(ld : *mut LDAP, dn : ::windows_sys::core::PCSTR, attr : ::windows_sys::core::PCSTR, value : ::windows_sys::core::PCSTR, data : *const LDAP_BERVAL, servercontrols : *mut *mut LDAPControlA, clientcontrols : *mut *mut LDAPControlA) -> u32);
65 #[cfg(feature = "Win32_Foundation")]
66 ::windows_targets::link!("wldap32.dll" "cdecl" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ldap_compare_ext_sW(ld : *mut LDAP, dn : ::windows_sys::core::PCWSTR, attr : ::windows_sys::core::PCWSTR, value : ::windows_sys::core::PCWSTR, data : *const LDAP_BERVAL, servercontrols : *mut *mut LDAPControlW, clientcontrols : *mut *mut LDAPControlW) -> u32);
67 ::windows_targets::link!("wldap32.dll" "cdecl" fn ldap_compare_s(ld : *mut LDAP, dn : ::windows_sys::core::PCSTR, attr : ::windows_sys::core::PCSTR, value : ::windows_sys::core::PCSTR) -> u32);
68 ::windows_targets::link!("wldap32.dll" "cdecl" fn ldap_compare_sA(ld : *mut LDAP, dn : ::windows_sys::core::PCSTR, attr : ::windows_sys::core::PCSTR, value : ::windows_sys::core::PCSTR) -> u32);
69 ::windows_targets::link!("wldap32.dll" "cdecl" fn ldap_compare_sW(ld : *mut LDAP, dn : ::windows_sys::core::PCWSTR, attr : ::windows_sys::core::PCWSTR, value : ::windows_sys::core::PCWSTR) -> u32);
70 #[cfg(feature = "Win32_Foundation")]
71 ::windows_targets::link!("wldap32.dll" "cdecl" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ldap_conn_from_msg(primaryconn : *mut LDAP, res : *mut LDAPMessage) -> *mut LDAP);
72 ::windows_targets::link!("wldap32.dll" "cdecl" fn ldap_connect(ld : *mut LDAP, timeout : *mut LDAP_TIMEVAL) -> u32);
73 #[cfg(feature = "Win32_Foundation")]
74 ::windows_targets::link!("wldap32.dll" "cdecl" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ldap_control_free(control : *mut LDAPControlA) -> u32);
75 #[cfg(feature = "Win32_Foundation")]
76 ::windows_targets::link!("wldap32.dll" "cdecl" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ldap_control_freeA(controls : *mut LDAPControlA) -> u32);
77 #[cfg(feature = "Win32_Foundation")]
78 ::windows_targets::link!("wldap32.dll" "cdecl" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ldap_control_freeW(control : *mut LDAPControlW) -> u32);
79 #[cfg(feature = "Win32_Foundation")]
80 ::windows_targets::link!("wldap32.dll" "cdecl" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ldap_controls_free(controls : *mut *mut LDAPControlA) -> u32);
81 #[cfg(feature = "Win32_Foundation")]
82 ::windows_targets::link!("wldap32.dll" "cdecl" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ldap_controls_freeA(controls : *mut *mut LDAPControlA) -> u32);
83 #[cfg(feature = "Win32_Foundation")]
84 ::windows_targets::link!("wldap32.dll" "cdecl" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ldap_controls_freeW(control : *mut *mut LDAPControlW) -> u32);
85 #[cfg(feature = "Win32_Foundation")]
86 ::windows_targets::link!("wldap32.dll" "cdecl" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ldap_count_entries(ld : *mut LDAP, res : *mut LDAPMessage) -> u32);
87 #[cfg(feature = "Win32_Foundation")]
88 ::windows_targets::link!("wldap32.dll" "cdecl" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ldap_count_references(ld : *mut LDAP, res : *mut LDAPMessage) -> u32);
89 ::windows_targets::link!("wldap32.dll" "cdecl" fn ldap_count_values(vals : *const ::windows_sys::core::PCSTR) -> u32);
90 ::windows_targets::link!("wldap32.dll" "cdecl" fn ldap_count_valuesA(vals : *const ::windows_sys::core::PCSTR) -> u32);
91 ::windows_targets::link!("wldap32.dll" "cdecl" fn ldap_count_valuesW(vals : *const ::windows_sys::core::PCWSTR) -> u32);
92 ::windows_targets::link!("wldap32.dll" "cdecl" fn ldap_count_values_len(vals : *mut *mut LDAP_BERVAL) -> u32);
93 #[cfg(feature = "Win32_Foundation")]
94 ::windows_targets::link!("wldap32.dll" "cdecl" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ldap_create_page_control(externalhandle : *mut LDAP, pagesize : u32, cookie : *mut LDAP_BERVAL, iscritical : u8, control : *mut *mut LDAPControlA) -> u32);
95 #[cfg(feature = "Win32_Foundation")]
96 ::windows_targets::link!("wldap32.dll" "cdecl" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ldap_create_page_controlA(externalhandle : *mut LDAP, pagesize : u32, cookie : *mut LDAP_BERVAL, iscritical : u8, control : *mut *mut LDAPControlA) -> u32);
97 #[cfg(feature = "Win32_Foundation")]
98 ::windows_targets::link!("wldap32.dll" "cdecl" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ldap_create_page_controlW(externalhandle : *mut LDAP, pagesize : u32, cookie : *mut LDAP_BERVAL, iscritical : u8, control : *mut *mut LDAPControlW) -> u32);
99 #[cfg(feature = "Win32_Foundation")]
100 ::windows_targets::link!("wldap32.dll" "cdecl" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ldap_create_sort_control(externalhandle : *mut LDAP, sortkeys : *mut *mut LDAPSortKeyA, iscritical : u8, control : *mut *mut LDAPControlA) -> u32);
101 #[cfg(feature = "Win32_Foundation")]
102 ::windows_targets::link!("wldap32.dll" "cdecl" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ldap_create_sort_controlA(externalhandle : *mut LDAP, sortkeys : *mut *mut LDAPSortKeyA, iscritical : u8, control : *mut *mut LDAPControlA) -> u32);
103 #[cfg(feature = "Win32_Foundation")]
104 ::windows_targets::link!("wldap32.dll" "cdecl" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ldap_create_sort_controlW(externalhandle : *mut LDAP, sortkeys : *mut *mut LDAPSortKeyW, iscritical : u8, control : *mut *mut LDAPControlW) -> u32);
105 #[cfg(feature = "Win32_Foundation")]
106 ::windows_targets::link!("wldap32.dll" "cdecl" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ldap_create_vlv_controlA(externalhandle : *mut LDAP, vlvinfo : *mut LDAPVLVInfo, iscritical : u8, control : *mut *mut LDAPControlA) -> i32);
107 #[cfg(feature = "Win32_Foundation")]
108 ::windows_targets::link!("wldap32.dll" "cdecl" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ldap_create_vlv_controlW(externalhandle : *mut LDAP, vlvinfo : *mut LDAPVLVInfo, iscritical : u8, control : *mut *mut LDAPControlW) -> i32);
109 ::windows_targets::link!("wldap32.dll" "cdecl" fn ldap_delete(ld : *mut LDAP, dn : ::windows_sys::core::PCSTR) -> u32);
110 ::windows_targets::link!("wldap32.dll" "cdecl" fn ldap_deleteA(ld : *mut LDAP, dn : ::windows_sys::core::PCSTR) -> u32);
111 ::windows_targets::link!("wldap32.dll" "cdecl" fn ldap_deleteW(ld : *mut LDAP, dn : ::windows_sys::core::PCWSTR) -> u32);
112 #[cfg(feature = "Win32_Foundation")]
113 ::windows_targets::link!("wldap32.dll" "cdecl" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ldap_delete_ext(ld : *mut LDAP, dn : ::windows_sys::core::PCSTR, servercontrols : *mut *mut LDAPControlA, clientcontrols : *mut *mut LDAPControlA, messagenumber : *mut u32) -> u32);
114 #[cfg(feature = "Win32_Foundation")]
115 ::windows_targets::link!("wldap32.dll" "cdecl" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ldap_delete_extA(ld : *mut LDAP, dn : ::windows_sys::core::PCSTR, servercontrols : *mut *mut LDAPControlA, clientcontrols : *mut *mut LDAPControlA, messagenumber : *mut u32) -> u32);
116 #[cfg(feature = "Win32_Foundation")]
117 ::windows_targets::link!("wldap32.dll" "cdecl" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ldap_delete_extW(ld : *mut LDAP, dn : ::windows_sys::core::PCWSTR, servercontrols : *mut *mut LDAPControlW, clientcontrols : *mut *mut LDAPControlW, messagenumber : *mut u32) -> u32);
118 #[cfg(feature = "Win32_Foundation")]
119 ::windows_targets::link!("wldap32.dll" "cdecl" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ldap_delete_ext_s(ld : *mut LDAP, dn : ::windows_sys::core::PCSTR, servercontrols : *mut *mut LDAPControlA, clientcontrols : *mut *mut LDAPControlA) -> u32);
120 #[cfg(feature = "Win32_Foundation")]
121 ::windows_targets::link!("wldap32.dll" "cdecl" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ldap_delete_ext_sA(ld : *mut LDAP, dn : ::windows_sys::core::PCSTR, servercontrols : *mut *mut LDAPControlA, clientcontrols : *mut *mut LDAPControlA) -> u32);
122 #[cfg(feature = "Win32_Foundation")]
123 ::windows_targets::link!("wldap32.dll" "cdecl" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ldap_delete_ext_sW(ld : *mut LDAP, dn : ::windows_sys::core::PCWSTR, servercontrols : *mut *mut LDAPControlW, clientcontrols : *mut *mut LDAPControlW) -> u32);
124 ::windows_targets::link!("wldap32.dll" "cdecl" fn ldap_delete_s(ld : *mut LDAP, dn : ::windows_sys::core::PCSTR) -> u32);
125 ::windows_targets::link!("wldap32.dll" "cdecl" fn ldap_delete_sA(ld : *mut LDAP, dn : ::windows_sys::core::PCSTR) -> u32);
126 ::windows_targets::link!("wldap32.dll" "cdecl" fn ldap_delete_sW(ld : *mut LDAP, dn : ::windows_sys::core::PCWSTR) -> u32);
127 ::windows_targets::link!("wldap32.dll" "cdecl" fn ldap_dn2ufn(dn : ::windows_sys::core::PCSTR) -> ::windows_sys::core::PSTR);
128 ::windows_targets::link!("wldap32.dll" "cdecl" fn ldap_dn2ufnA(dn : ::windows_sys::core::PCSTR) -> ::windows_sys::core::PSTR);
129 ::windows_targets::link!("wldap32.dll" "cdecl" fn ldap_dn2ufnW(dn : ::windows_sys::core::PCWSTR) -> ::windows_sys::core::PWSTR);
130 #[cfg(feature = "Win32_Foundation")]
131 ::windows_targets::link!("wldap32.dll" "cdecl" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ldap_encode_sort_controlA(externalhandle : *mut LDAP, sortkeys : *mut *mut LDAPSortKeyA, control : *mut LDAPControlA, criticality : super::super::Foundation:: BOOLEAN) -> u32);
132 #[cfg(feature = "Win32_Foundation")]
133 ::windows_targets::link!("wldap32.dll" "cdecl" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ldap_encode_sort_controlW(externalhandle : *mut LDAP, sortkeys : *mut *mut LDAPSortKeyW, control : *mut LDAPControlW, criticality : super::super::Foundation:: BOOLEAN) -> u32);
134 ::windows_targets::link!("wldap32.dll" "cdecl" fn ldap_err2string(err : u32) -> ::windows_sys::core::PSTR);
135 ::windows_targets::link!("wldap32.dll" "cdecl" fn ldap_err2stringA(err : u32) -> ::windows_sys::core::PSTR);
136 ::windows_targets::link!("wldap32.dll" "cdecl" fn ldap_err2stringW(err : u32) -> ::windows_sys::core::PWSTR);
137 ::windows_targets::link!("wldap32.dll" "cdecl" fn ldap_escape_filter_element(sourcefilterelement : ::windows_sys::core::PCSTR, sourcelength : u32, destfilterelement : ::windows_sys::core::PSTR, destlength : u32) -> u32);
138 ::windows_targets::link!("wldap32.dll" "cdecl" fn ldap_escape_filter_elementA(sourcefilterelement : ::windows_sys::core::PCSTR, sourcelength : u32, destfilterelement : ::windows_sys::core::PSTR, destlength : u32) -> u32);
139 ::windows_targets::link!("wldap32.dll" "cdecl" fn ldap_escape_filter_elementW(sourcefilterelement : ::windows_sys::core::PCSTR, sourcelength : u32, destfilterelement : ::windows_sys::core::PWSTR, destlength : u32) -> u32);
140 ::windows_targets::link!("wldap32.dll" "cdecl" fn ldap_explode_dn(dn : ::windows_sys::core::PCSTR, notypes : u32) -> *mut ::windows_sys::core::PSTR);
141 ::windows_targets::link!("wldap32.dll" "cdecl" fn ldap_explode_dnA(dn : ::windows_sys::core::PCSTR, notypes : u32) -> *mut ::windows_sys::core::PSTR);
142 ::windows_targets::link!("wldap32.dll" "cdecl" fn ldap_explode_dnW(dn : ::windows_sys::core::PCWSTR, notypes : u32) -> *mut ::windows_sys::core::PWSTR);
143 #[cfg(feature = "Win32_Foundation")]
144 ::windows_targets::link!("wldap32.dll" "cdecl" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ldap_extended_operation(ld : *mut LDAP, oid : ::windows_sys::core::PCSTR, data : *mut LDAP_BERVAL, servercontrols : *mut *mut LDAPControlA, clientcontrols : *mut *mut LDAPControlA, messagenumber : *mut u32) -> u32);
145 #[cfg(feature = "Win32_Foundation")]
146 ::windows_targets::link!("wldap32.dll" "cdecl" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ldap_extended_operationA(ld : *mut LDAP, oid : ::windows_sys::core::PCSTR, data : *mut LDAP_BERVAL, servercontrols : *mut *mut LDAPControlA, clientcontrols : *mut *mut LDAPControlA, messagenumber : *mut u32) -> u32);
147 #[cfg(feature = "Win32_Foundation")]
148 ::windows_targets::link!("wldap32.dll" "cdecl" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ldap_extended_operationW(ld : *mut LDAP, oid : ::windows_sys::core::PCWSTR, data : *mut LDAP_BERVAL, servercontrols : *mut *mut LDAPControlW, clientcontrols : *mut *mut LDAPControlW, messagenumber : *mut u32) -> u32);
149 #[cfg(feature = "Win32_Foundation")]
150 ::windows_targets::link!("wldap32.dll" "cdecl" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ldap_extended_operation_sA(externalhandle : *mut LDAP, oid : ::windows_sys::core::PCSTR, data : *mut LDAP_BERVAL, servercontrols : *mut *mut LDAPControlA, clientcontrols : *mut *mut LDAPControlA, returnedoid : *mut ::windows_sys::core::PSTR, returneddata : *mut *mut LDAP_BERVAL) -> u32);
151 #[cfg(feature = "Win32_Foundation")]
152 ::windows_targets::link!("wldap32.dll" "cdecl" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ldap_extended_operation_sW(externalhandle : *mut LDAP, oid : ::windows_sys::core::PCWSTR, data : *mut LDAP_BERVAL, servercontrols : *mut *mut LDAPControlW, clientcontrols : *mut *mut LDAPControlW, returnedoid : *mut ::windows_sys::core::PWSTR, returneddata : *mut *mut LDAP_BERVAL) -> u32);
153 #[cfg(feature = "Win32_Foundation")]
154 ::windows_targets::link!("wldap32.dll" "cdecl" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ldap_first_attribute(ld : *mut LDAP, entry : *mut LDAPMessage, ptr : *mut *mut BerElement) -> ::windows_sys::core::PSTR);
155 #[cfg(feature = "Win32_Foundation")]
156 ::windows_targets::link!("wldap32.dll" "cdecl" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ldap_first_attributeA(ld : *mut LDAP, entry : *mut LDAPMessage, ptr : *mut *mut BerElement) -> ::windows_sys::core::PSTR);
157 #[cfg(feature = "Win32_Foundation")]
158 ::windows_targets::link!("wldap32.dll" "cdecl" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ldap_first_attributeW(ld : *mut LDAP, entry : *mut LDAPMessage, ptr : *mut *mut BerElement) -> ::windows_sys::core::PWSTR);
159 #[cfg(feature = "Win32_Foundation")]
160 ::windows_targets::link!("wldap32.dll" "cdecl" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ldap_first_entry(ld : *mut LDAP, res : *mut LDAPMessage) -> *mut LDAPMessage);
161 #[cfg(feature = "Win32_Foundation")]
162 ::windows_targets::link!("wldap32.dll" "cdecl" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ldap_first_reference(ld : *mut LDAP, res : *mut LDAPMessage) -> *mut LDAPMessage);
163 #[cfg(feature = "Win32_Foundation")]
164 ::windows_targets::link!("wldap32.dll" "cdecl" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ldap_free_controls(controls : *mut *mut LDAPControlA) -> u32);
165 #[cfg(feature = "Win32_Foundation")]
166 ::windows_targets::link!("wldap32.dll" "cdecl" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ldap_free_controlsA(controls : *mut *mut LDAPControlA) -> u32);
167 #[cfg(feature = "Win32_Foundation")]
168 ::windows_targets::link!("wldap32.dll" "cdecl" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ldap_free_controlsW(controls : *mut *mut LDAPControlW) -> u32);
169 #[cfg(feature = "Win32_Foundation")]
170 ::windows_targets::link!("wldap32.dll" "cdecl" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ldap_get_dn(ld : *mut LDAP, entry : *mut LDAPMessage) -> ::windows_sys::core::PSTR);
171 #[cfg(feature = "Win32_Foundation")]
172 ::windows_targets::link!("wldap32.dll" "cdecl" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ldap_get_dnA(ld : *mut LDAP, entry : *mut LDAPMessage) -> ::windows_sys::core::PSTR);
173 #[cfg(feature = "Win32_Foundation")]
174 ::windows_targets::link!("wldap32.dll" "cdecl" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ldap_get_dnW(ld : *mut LDAP, entry : *mut LDAPMessage) -> ::windows_sys::core::PWSTR);
175 ::windows_targets::link!("wldap32.dll" "cdecl" fn ldap_get_next_page(externalhandle : *mut LDAP, searchhandle : PLDAPSearch, pagesize : u32, messagenumber : *mut u32) -> u32);
176 #[cfg(feature = "Win32_Foundation")]
177 ::windows_targets::link!("wldap32.dll" "cdecl" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ldap_get_next_page_s(externalhandle : *mut LDAP, searchhandle : PLDAPSearch, timeout : *mut LDAP_TIMEVAL, pagesize : u32, totalcount : *mut u32, results : *mut *mut LDAPMessage) -> u32);
178 ::windows_targets::link!("wldap32.dll" "cdecl" fn ldap_get_option(ld : *mut LDAP, option : i32, outvalue : *mut ::core::ffi::c_void) -> u32);
179 ::windows_targets::link!("wldap32.dll" "cdecl" fn ldap_get_optionW(ld : *mut LDAP, option : i32, outvalue : *mut ::core::ffi::c_void) -> u32);
180 #[cfg(feature = "Win32_Foundation")]
181 ::windows_targets::link!("wldap32.dll" "cdecl" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ldap_get_paged_count(externalhandle : *mut LDAP, searchblock : PLDAPSearch, totalcount : *mut u32, results : *mut LDAPMessage) -> u32);
182 #[cfg(feature = "Win32_Foundation")]
183 ::windows_targets::link!("wldap32.dll" "cdecl" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ldap_get_values(ld : *mut LDAP, entry : *mut LDAPMessage, attr : ::windows_sys::core::PCSTR) -> *mut ::windows_sys::core::PSTR);
184 #[cfg(feature = "Win32_Foundation")]
185 ::windows_targets::link!("wldap32.dll" "cdecl" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ldap_get_valuesA(ld : *mut LDAP, entry : *mut LDAPMessage, attr : ::windows_sys::core::PCSTR) -> *mut ::windows_sys::core::PSTR);
186 #[cfg(feature = "Win32_Foundation")]
187 ::windows_targets::link!("wldap32.dll" "cdecl" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ldap_get_valuesW(ld : *mut LDAP, entry : *mut LDAPMessage, attr : ::windows_sys::core::PCWSTR) -> *mut ::windows_sys::core::PWSTR);
188 #[cfg(feature = "Win32_Foundation")]
189 ::windows_targets::link!("wldap32.dll" "cdecl" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ldap_get_values_len(externalhandle : *mut LDAP, message : *mut LDAPMessage, attr : ::windows_sys::core::PCSTR) -> *mut *mut LDAP_BERVAL);
190 #[cfg(feature = "Win32_Foundation")]
191 ::windows_targets::link!("wldap32.dll" "cdecl" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ldap_get_values_lenA(externalhandle : *mut LDAP, message : *mut LDAPMessage, attr : ::windows_sys::core::PCSTR) -> *mut *mut LDAP_BERVAL);
192 #[cfg(feature = "Win32_Foundation")]
193 ::windows_targets::link!("wldap32.dll" "cdecl" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ldap_get_values_lenW(externalhandle : *mut LDAP, message : *mut LDAPMessage, attr : ::windows_sys::core::PCWSTR) -> *mut *mut LDAP_BERVAL);
194 ::windows_targets::link!("wldap32.dll" "cdecl" fn ldap_init(hostname : ::windows_sys::core::PCSTR, portnumber : u32) -> *mut LDAP);
195 ::windows_targets::link!("wldap32.dll" "cdecl" fn ldap_initA(hostname : ::windows_sys::core::PCSTR, portnumber : u32) -> *mut LDAP);
196 ::windows_targets::link!("wldap32.dll" "cdecl" fn ldap_initW(hostname : ::windows_sys::core::PCWSTR, portnumber : u32) -> *mut LDAP);
197 ::windows_targets::link!("wldap32.dll" "cdecl" fn ldap_memfree(block : ::windows_sys::core::PCSTR) -> ());
198 ::windows_targets::link!("wldap32.dll" "cdecl" fn ldap_memfreeA(block : ::windows_sys::core::PCSTR) -> ());
199 ::windows_targets::link!("wldap32.dll" "cdecl" fn ldap_memfreeW(block : ::windows_sys::core::PCWSTR) -> ());
200 ::windows_targets::link!("wldap32.dll" "cdecl" fn ldap_modify(ld : *mut LDAP, dn : ::windows_sys::core::PCSTR, mods : *mut *mut LDAPModA) -> u32);
201 ::windows_targets::link!("wldap32.dll" "cdecl" fn ldap_modifyA(ld : *mut LDAP, dn : ::windows_sys::core::PCSTR, mods : *mut *mut LDAPModA) -> u32);
202 ::windows_targets::link!("wldap32.dll" "cdecl" fn ldap_modifyW(ld : *mut LDAP, dn : ::windows_sys::core::PCWSTR, mods : *mut *mut LDAPModW) -> u32);
203 #[cfg(feature = "Win32_Foundation")]
204 ::windows_targets::link!("wldap32.dll" "cdecl" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ldap_modify_ext(ld : *mut LDAP, dn : ::windows_sys::core::PCSTR, mods : *mut *mut LDAPModA, servercontrols : *mut *mut LDAPControlA, clientcontrols : *mut *mut LDAPControlA, messagenumber : *mut u32) -> u32);
205 #[cfg(feature = "Win32_Foundation")]
206 ::windows_targets::link!("wldap32.dll" "cdecl" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ldap_modify_extA(ld : *mut LDAP, dn : ::windows_sys::core::PCSTR, mods : *mut *mut LDAPModA, servercontrols : *mut *mut LDAPControlA, clientcontrols : *mut *mut LDAPControlA, messagenumber : *mut u32) -> u32);
207 #[cfg(feature = "Win32_Foundation")]
208 ::windows_targets::link!("wldap32.dll" "cdecl" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ldap_modify_extW(ld : *mut LDAP, dn : ::windows_sys::core::PCWSTR, mods : *mut *mut LDAPModW, servercontrols : *mut *mut LDAPControlW, clientcontrols : *mut *mut LDAPControlW, messagenumber : *mut u32) -> u32);
209 #[cfg(feature = "Win32_Foundation")]
210 ::windows_targets::link!("wldap32.dll" "cdecl" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ldap_modify_ext_s(ld : *mut LDAP, dn : ::windows_sys::core::PCSTR, mods : *mut *mut LDAPModA, servercontrols : *mut *mut LDAPControlA, clientcontrols : *mut *mut LDAPControlA) -> u32);
211 #[cfg(feature = "Win32_Foundation")]
212 ::windows_targets::link!("wldap32.dll" "cdecl" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ldap_modify_ext_sA(ld : *mut LDAP, dn : ::windows_sys::core::PCSTR, mods : *mut *mut LDAPModA, servercontrols : *mut *mut LDAPControlA, clientcontrols : *mut *mut LDAPControlA) -> u32);
213 #[cfg(feature = "Win32_Foundation")]
214 ::windows_targets::link!("wldap32.dll" "cdecl" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ldap_modify_ext_sW(ld : *mut LDAP, dn : ::windows_sys::core::PCWSTR, mods : *mut *mut LDAPModW, servercontrols : *mut *mut LDAPControlW, clientcontrols : *mut *mut LDAPControlW) -> u32);
215 ::windows_targets::link!("wldap32.dll" "cdecl" fn ldap_modify_s(ld : *mut LDAP, dn : ::windows_sys::core::PCSTR, mods : *mut *mut LDAPModA) -> u32);
216 ::windows_targets::link!("wldap32.dll" "cdecl" fn ldap_modify_sA(ld : *mut LDAP, dn : ::windows_sys::core::PCSTR, mods : *mut *mut LDAPModA) -> u32);
217 ::windows_targets::link!("wldap32.dll" "cdecl" fn ldap_modify_sW(ld : *mut LDAP, dn : ::windows_sys::core::PCWSTR, mods : *mut *mut LDAPModW) -> u32);
218 ::windows_targets::link!("wldap32.dll" "cdecl" fn ldap_modrdn(externalhandle : *mut LDAP, distinguishedname : ::windows_sys::core::PCSTR, newdistinguishedname : ::windows_sys::core::PCSTR) -> u32);
219 ::windows_targets::link!("wldap32.dll" "cdecl" fn ldap_modrdn2(externalhandle : *mut LDAP, distinguishedname : ::windows_sys::core::PCSTR, newdistinguishedname : ::windows_sys::core::PCSTR, deleteoldrdn : i32) -> u32);
220 ::windows_targets::link!("wldap32.dll" "cdecl" fn ldap_modrdn2A(externalhandle : *mut LDAP, distinguishedname : ::windows_sys::core::PCSTR, newdistinguishedname : ::windows_sys::core::PCSTR, deleteoldrdn : i32) -> u32);
221 ::windows_targets::link!("wldap32.dll" "cdecl" fn ldap_modrdn2W(externalhandle : *mut LDAP, distinguishedname : ::windows_sys::core::PCWSTR, newdistinguishedname : ::windows_sys::core::PCWSTR, deleteoldrdn : i32) -> u32);
222 ::windows_targets::link!("wldap32.dll" "cdecl" fn ldap_modrdn2_s(externalhandle : *mut LDAP, distinguishedname : ::windows_sys::core::PCSTR, newdistinguishedname : ::windows_sys::core::PCSTR, deleteoldrdn : i32) -> u32);
223 ::windows_targets::link!("wldap32.dll" "cdecl" fn ldap_modrdn2_sA(externalhandle : *mut LDAP, distinguishedname : ::windows_sys::core::PCSTR, newdistinguishedname : ::windows_sys::core::PCSTR, deleteoldrdn : i32) -> u32);
224 ::windows_targets::link!("wldap32.dll" "cdecl" fn ldap_modrdn2_sW(externalhandle : *mut LDAP, distinguishedname : ::windows_sys::core::PCWSTR, newdistinguishedname : ::windows_sys::core::PCWSTR, deleteoldrdn : i32) -> u32);
225 ::windows_targets::link!("wldap32.dll" "cdecl" fn ldap_modrdnA(externalhandle : *mut LDAP, distinguishedname : ::windows_sys::core::PCSTR, newdistinguishedname : ::windows_sys::core::PCSTR) -> u32);
226 ::windows_targets::link!("wldap32.dll" "cdecl" fn ldap_modrdnW(externalhandle : *mut LDAP, distinguishedname : ::windows_sys::core::PCWSTR, newdistinguishedname : ::windows_sys::core::PCWSTR) -> u32);
227 ::windows_targets::link!("wldap32.dll" "cdecl" fn ldap_modrdn_s(externalhandle : *mut LDAP, distinguishedname : ::windows_sys::core::PCSTR, newdistinguishedname : ::windows_sys::core::PCSTR) -> u32);
228 ::windows_targets::link!("wldap32.dll" "cdecl" fn ldap_modrdn_sA(externalhandle : *mut LDAP, distinguishedname : ::windows_sys::core::PCSTR, newdistinguishedname : ::windows_sys::core::PCSTR) -> u32);
229 ::windows_targets::link!("wldap32.dll" "cdecl" fn ldap_modrdn_sW(externalhandle : *mut LDAP, distinguishedname : ::windows_sys::core::PCWSTR, newdistinguishedname : ::windows_sys::core::PCWSTR) -> u32);
230 #[cfg(feature = "Win32_Foundation")]
231 ::windows_targets::link!("wldap32.dll" "cdecl" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ldap_msgfree(res : *mut LDAPMessage) -> u32);
232 #[cfg(feature = "Win32_Foundation")]
233 ::windows_targets::link!("wldap32.dll" "cdecl" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ldap_next_attribute(ld : *mut LDAP, entry : *mut LDAPMessage, ptr : *mut BerElement) -> ::windows_sys::core::PSTR);
234 #[cfg(feature = "Win32_Foundation")]
235 ::windows_targets::link!("wldap32.dll" "cdecl" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ldap_next_attributeA(ld : *mut LDAP, entry : *mut LDAPMessage, ptr : *mut BerElement) -> ::windows_sys::core::PSTR);
236 #[cfg(feature = "Win32_Foundation")]
237 ::windows_targets::link!("wldap32.dll" "cdecl" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ldap_next_attributeW(ld : *mut LDAP, entry : *mut LDAPMessage, ptr : *mut BerElement) -> ::windows_sys::core::PWSTR);
238 #[cfg(feature = "Win32_Foundation")]
239 ::windows_targets::link!("wldap32.dll" "cdecl" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ldap_next_entry(ld : *mut LDAP, entry : *mut LDAPMessage) -> *mut LDAPMessage);
240 #[cfg(feature = "Win32_Foundation")]
241 ::windows_targets::link!("wldap32.dll" "cdecl" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ldap_next_reference(ld : *mut LDAP, entry : *mut LDAPMessage) -> *mut LDAPMessage);
242 ::windows_targets::link!("wldap32.dll" "cdecl" fn ldap_open(hostname : ::windows_sys::core::PCSTR, portnumber : u32) -> *mut LDAP);
243 ::windows_targets::link!("wldap32.dll" "cdecl" fn ldap_openA(hostname : ::windows_sys::core::PCSTR, portnumber : u32) -> *mut LDAP);
244 ::windows_targets::link!("wldap32.dll" "cdecl" fn ldap_openW(hostname : ::windows_sys::core::PCWSTR, portnumber : u32) -> *mut LDAP);
245 #[cfg(feature = "Win32_Foundation")]
246 ::windows_targets::link!("wldap32.dll" "cdecl" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ldap_parse_extended_resultA(connection : *mut LDAP, resultmessage : *mut LDAPMessage, resultoid : *mut ::windows_sys::core::PSTR, resultdata : *mut *mut LDAP_BERVAL, freeit : super::super::Foundation:: BOOLEAN) -> u32);
247 #[cfg(feature = "Win32_Foundation")]
248 ::windows_targets::link!("wldap32.dll" "cdecl" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ldap_parse_extended_resultW(connection : *mut LDAP, resultmessage : *mut LDAPMessage, resultoid : *mut ::windows_sys::core::PWSTR, resultdata : *mut *mut LDAP_BERVAL, freeit : super::super::Foundation:: BOOLEAN) -> u32);
249 #[cfg(feature = "Win32_Foundation")]
250 ::windows_targets::link!("wldap32.dll" "cdecl" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ldap_parse_page_control(externalhandle : *mut LDAP, servercontrols : *mut *mut LDAPControlA, totalcount : *mut u32, cookie : *mut *mut LDAP_BERVAL) -> u32);
251 #[cfg(feature = "Win32_Foundation")]
252 ::windows_targets::link!("wldap32.dll" "cdecl" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ldap_parse_page_controlA(externalhandle : *mut LDAP, servercontrols : *mut *mut LDAPControlA, totalcount : *mut u32, cookie : *mut *mut LDAP_BERVAL) -> u32);
253 #[cfg(feature = "Win32_Foundation")]
254 ::windows_targets::link!("wldap32.dll" "cdecl" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ldap_parse_page_controlW(externalhandle : *mut LDAP, servercontrols : *mut *mut LDAPControlW, totalcount : *mut u32, cookie : *mut *mut LDAP_BERVAL) -> u32);
255 #[cfg(feature = "Win32_Foundation")]
256 ::windows_targets::link!("wldap32.dll" "cdecl" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ldap_parse_reference(connection : *mut LDAP, resultmessage : *mut LDAPMessage, referrals : *mut *mut ::windows_sys::core::PSTR) -> u32);
257 #[cfg(feature = "Win32_Foundation")]
258 ::windows_targets::link!("wldap32.dll" "cdecl" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ldap_parse_referenceA(connection : *mut LDAP, resultmessage : *mut LDAPMessage, referrals : *mut *mut ::windows_sys::core::PSTR) -> u32);
259 #[cfg(feature = "Win32_Foundation")]
260 ::windows_targets::link!("wldap32.dll" "cdecl" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ldap_parse_referenceW(connection : *mut LDAP, resultmessage : *mut LDAPMessage, referrals : *mut *mut ::windows_sys::core::PWSTR) -> u32);
261 #[cfg(feature = "Win32_Foundation")]
262 ::windows_targets::link!("wldap32.dll" "cdecl" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ldap_parse_result(connection : *mut LDAP, resultmessage : *mut LDAPMessage, returncode : *mut u32, matcheddns : *mut ::windows_sys::core::PSTR, errormessage : *mut ::windows_sys::core::PSTR, referrals : *mut *mut ::windows_sys::core::PSTR, servercontrols : *mut *mut *mut LDAPControlA, freeit : super::super::Foundation:: BOOLEAN) -> u32);
263 #[cfg(feature = "Win32_Foundation")]
264 ::windows_targets::link!("wldap32.dll" "cdecl" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ldap_parse_resultA(connection : *mut LDAP, resultmessage : *mut LDAPMessage, returncode : *mut u32, matcheddns : *mut ::windows_sys::core::PSTR, errormessage : *mut ::windows_sys::core::PSTR, referrals : *mut *mut *mut i8, servercontrols : *mut *mut *mut LDAPControlA, freeit : super::super::Foundation:: BOOLEAN) -> u32);
265 #[cfg(feature = "Win32_Foundation")]
266 ::windows_targets::link!("wldap32.dll" "cdecl" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ldap_parse_resultW(connection : *mut LDAP, resultmessage : *mut LDAPMessage, returncode : *mut u32, matcheddns : *mut ::windows_sys::core::PWSTR, errormessage : *mut ::windows_sys::core::PWSTR, referrals : *mut *mut *mut u16, servercontrols : *mut *mut *mut LDAPControlW, freeit : super::super::Foundation:: BOOLEAN) -> u32);
267 #[cfg(feature = "Win32_Foundation")]
268 ::windows_targets::link!("wldap32.dll" "cdecl" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ldap_parse_sort_control(externalhandle : *mut LDAP, control : *mut *mut LDAPControlA, result : *mut u32, attribute : *mut ::windows_sys::core::PSTR) -> u32);
269 #[cfg(feature = "Win32_Foundation")]
270 ::windows_targets::link!("wldap32.dll" "cdecl" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ldap_parse_sort_controlA(externalhandle : *mut LDAP, control : *mut *mut LDAPControlA, result : *mut u32, attribute : *mut ::windows_sys::core::PSTR) -> u32);
271 #[cfg(feature = "Win32_Foundation")]
272 ::windows_targets::link!("wldap32.dll" "cdecl" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ldap_parse_sort_controlW(externalhandle : *mut LDAP, control : *mut *mut LDAPControlW, result : *mut u32, attribute : *mut ::windows_sys::core::PWSTR) -> u32);
273 #[cfg(feature = "Win32_Foundation")]
274 ::windows_targets::link!("wldap32.dll" "cdecl" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ldap_parse_vlv_controlA(externalhandle : *mut LDAP, control : *mut *mut LDAPControlA, targetpos : *mut u32, listcount : *mut u32, context : *mut *mut LDAP_BERVAL, errcode : *mut i32) -> i32);
275 #[cfg(feature = "Win32_Foundation")]
276 ::windows_targets::link!("wldap32.dll" "cdecl" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ldap_parse_vlv_controlW(externalhandle : *mut LDAP, control : *mut *mut LDAPControlW, targetpos : *mut u32, listcount : *mut u32, context : *mut *mut LDAP_BERVAL, errcode : *mut i32) -> i32);
277 ::windows_targets::link!("wldap32.dll" "cdecl" fn ldap_perror(ld : *mut LDAP, msg : ::windows_sys::core::PCSTR) -> ());
278 #[cfg(feature = "Win32_Foundation")]
279 ::windows_targets::link!("wldap32.dll" "cdecl" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ldap_rename_ext(ld : *mut LDAP, dn : ::windows_sys::core::PCSTR, newrdn : ::windows_sys::core::PCSTR, newparent : ::windows_sys::core::PCSTR, deleteoldrdn : i32, servercontrols : *mut *mut LDAPControlA, clientcontrols : *mut *mut LDAPControlA, messagenumber : *mut u32) -> u32);
280 #[cfg(feature = "Win32_Foundation")]
281 ::windows_targets::link!("wldap32.dll" "cdecl" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ldap_rename_extA(ld : *mut LDAP, dn : ::windows_sys::core::PCSTR, newrdn : ::windows_sys::core::PCSTR, newparent : ::windows_sys::core::PCSTR, deleteoldrdn : i32, servercontrols : *mut *mut LDAPControlA, clientcontrols : *mut *mut LDAPControlA, messagenumber : *mut u32) -> u32);
282 #[cfg(feature = "Win32_Foundation")]
283 ::windows_targets::link!("wldap32.dll" "cdecl" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ldap_rename_extW(ld : *mut LDAP, dn : ::windows_sys::core::PCWSTR, newrdn : ::windows_sys::core::PCWSTR, newparent : ::windows_sys::core::PCWSTR, deleteoldrdn : i32, servercontrols : *mut *mut LDAPControlW, clientcontrols : *mut *mut LDAPControlW, messagenumber : *mut u32) -> u32);
284 #[cfg(feature = "Win32_Foundation")]
285 ::windows_targets::link!("wldap32.dll" "cdecl" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ldap_rename_ext_s(ld : *mut LDAP, dn : ::windows_sys::core::PCSTR, newrdn : ::windows_sys::core::PCSTR, newparent : ::windows_sys::core::PCSTR, deleteoldrdn : i32, servercontrols : *mut *mut LDAPControlA, clientcontrols : *mut *mut LDAPControlA) -> u32);
286 #[cfg(feature = "Win32_Foundation")]
287 ::windows_targets::link!("wldap32.dll" "cdecl" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ldap_rename_ext_sA(ld : *mut LDAP, dn : ::windows_sys::core::PCSTR, newrdn : ::windows_sys::core::PCSTR, newparent : ::windows_sys::core::PCSTR, deleteoldrdn : i32, servercontrols : *mut *mut LDAPControlA, clientcontrols : *mut *mut LDAPControlA) -> u32);
288 #[cfg(feature = "Win32_Foundation")]
289 ::windows_targets::link!("wldap32.dll" "cdecl" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ldap_rename_ext_sW(ld : *mut LDAP, dn : ::windows_sys::core::PCWSTR, newrdn : ::windows_sys::core::PCWSTR, newparent : ::windows_sys::core::PCWSTR, deleteoldrdn : i32, servercontrols : *mut *mut LDAPControlW, clientcontrols : *mut *mut LDAPControlW) -> u32);
290 #[cfg(feature = "Win32_Foundation")]
291 ::windows_targets::link!("wldap32.dll" "cdecl" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ldap_result(ld : *mut LDAP, msgid : u32, all : u32, timeout : *const LDAP_TIMEVAL, res : *mut *mut LDAPMessage) -> u32);
292 #[cfg(feature = "Win32_Foundation")]
293 ::windows_targets::link!("wldap32.dll" "cdecl" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ldap_result2error(ld : *mut LDAP, res : *mut LDAPMessage, freeit : u32) -> u32);
294 #[cfg(feature = "Win32_Foundation")]
295 ::windows_targets::link!("wldap32.dll" "cdecl" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ldap_sasl_bindA(externalhandle : *mut LDAP, distname : ::windows_sys::core::PCSTR, authmechanism : ::windows_sys::core::PCSTR, cred : *const LDAP_BERVAL, serverctrls : *mut *mut LDAPControlA, clientctrls : *mut *mut LDAPControlA, messagenumber : *mut i32) -> i32);
296 #[cfg(feature = "Win32_Foundation")]
297 ::windows_targets::link!("wldap32.dll" "cdecl" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ldap_sasl_bindW(externalhandle : *mut LDAP, distname : ::windows_sys::core::PCWSTR, authmechanism : ::windows_sys::core::PCWSTR, cred : *const LDAP_BERVAL, serverctrls : *mut *mut LDAPControlW, clientctrls : *mut *mut LDAPControlW, messagenumber : *mut i32) -> i32);
298 #[cfg(feature = "Win32_Foundation")]
299 ::windows_targets::link!("wldap32.dll" "cdecl" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ldap_sasl_bind_sA(externalhandle : *mut LDAP, distname : ::windows_sys::core::PCSTR, authmechanism : ::windows_sys::core::PCSTR, cred : *const LDAP_BERVAL, serverctrls : *mut *mut LDAPControlA, clientctrls : *mut *mut LDAPControlA, serverdata : *mut *mut LDAP_BERVAL) -> i32);
300 #[cfg(feature = "Win32_Foundation")]
301 ::windows_targets::link!("wldap32.dll" "cdecl" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ldap_sasl_bind_sW(externalhandle : *mut LDAP, distname : ::windows_sys::core::PCWSTR, authmechanism : ::windows_sys::core::PCWSTR, cred : *const LDAP_BERVAL, serverctrls : *mut *mut LDAPControlW, clientctrls : *mut *mut LDAPControlW, serverdata : *mut *mut LDAP_BERVAL) -> i32);
302 ::windows_targets::link!("wldap32.dll" "cdecl" fn ldap_search(ld : *mut LDAP, base : ::windows_sys::core::PCSTR, scope : u32, filter : ::windows_sys::core::PCSTR, attrs : *const *const i8, attrsonly : u32) -> u32);
303 ::windows_targets::link!("wldap32.dll" "cdecl" fn ldap_searchA(ld : *mut LDAP, base : ::windows_sys::core::PCSTR, scope : u32, filter : ::windows_sys::core::PCSTR, attrs : *const *const i8, attrsonly : u32) -> u32);
304 ::windows_targets::link!("wldap32.dll" "cdecl" fn ldap_searchW(ld : *mut LDAP, base : ::windows_sys::core::PCWSTR, scope : u32, filter : ::windows_sys::core::PCWSTR, attrs : *const *const u16, attrsonly : u32) -> u32);
305 ::windows_targets::link!("wldap32.dll" "cdecl" fn ldap_search_abandon_page(externalhandle : *mut LDAP, searchblock : PLDAPSearch) -> u32);
306 #[cfg(feature = "Win32_Foundation")]
307 ::windows_targets::link!("wldap32.dll" "cdecl" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ldap_search_ext(ld : *mut LDAP, base : ::windows_sys::core::PCSTR, scope : u32, filter : ::windows_sys::core::PCSTR, attrs : *const *const i8, attrsonly : u32, servercontrols : *const *const LDAPControlA, clientcontrols : *const *const LDAPControlA, timelimit : u32, sizelimit : u32, messagenumber : *mut u32) -> u32);
308 #[cfg(feature = "Win32_Foundation")]
309 ::windows_targets::link!("wldap32.dll" "cdecl" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ldap_search_extA(ld : *mut LDAP, base : ::windows_sys::core::PCSTR, scope : u32, filter : ::windows_sys::core::PCSTR, attrs : *const *const i8, attrsonly : u32, servercontrols : *const *const LDAPControlA, clientcontrols : *const *const LDAPControlA, timelimit : u32, sizelimit : u32, messagenumber : *mut u32) -> u32);
310 #[cfg(feature = "Win32_Foundation")]
311 ::windows_targets::link!("wldap32.dll" "cdecl" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ldap_search_extW(ld : *mut LDAP, base : ::windows_sys::core::PCWSTR, scope : u32, filter : ::windows_sys::core::PCWSTR, attrs : *const *const u16, attrsonly : u32, servercontrols : *const *const LDAPControlW, clientcontrols : *const *const LDAPControlW, timelimit : u32, sizelimit : u32, messagenumber : *mut u32) -> u32);
312 #[cfg(feature = "Win32_Foundation")]
313 ::windows_targets::link!("wldap32.dll" "cdecl" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ldap_search_ext_s(ld : *mut LDAP, base : ::windows_sys::core::PCSTR, scope : u32, filter : ::windows_sys::core::PCSTR, attrs : *const *const i8, attrsonly : u32, servercontrols : *const *const LDAPControlA, clientcontrols : *const *const LDAPControlA, timeout : *mut LDAP_TIMEVAL, sizelimit : u32, res : *mut *mut LDAPMessage) -> u32);
314 #[cfg(feature = "Win32_Foundation")]
315 ::windows_targets::link!("wldap32.dll" "cdecl" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ldap_search_ext_sA(ld : *mut LDAP, base : ::windows_sys::core::PCSTR, scope : u32, filter : ::windows_sys::core::PCSTR, attrs : *const *const i8, attrsonly : u32, servercontrols : *const *const LDAPControlA, clientcontrols : *const *const LDAPControlA, timeout : *mut LDAP_TIMEVAL, sizelimit : u32, res : *mut *mut LDAPMessage) -> u32);
316 #[cfg(feature = "Win32_Foundation")]
317 ::windows_targets::link!("wldap32.dll" "cdecl" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ldap_search_ext_sW(ld : *mut LDAP, base : ::windows_sys::core::PCWSTR, scope : u32, filter : ::windows_sys::core::PCWSTR, attrs : *const *const u16, attrsonly : u32, servercontrols : *const *const LDAPControlW, clientcontrols : *const *const LDAPControlW, timeout : *mut LDAP_TIMEVAL, sizelimit : u32, res : *mut *mut LDAPMessage) -> u32);
318 #[cfg(feature = "Win32_Foundation")]
319 ::windows_targets::link!("wldap32.dll" "cdecl" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ldap_search_init_page(externalhandle : *mut LDAP, distinguishedname : ::windows_sys::core::PCSTR, scopeofsearch : u32, searchfilter : ::windows_sys::core::PCSTR, attributelist : *mut *mut i8, attributesonly : u32, servercontrols : *mut *mut LDAPControlA, clientcontrols : *mut *mut LDAPControlA, pagetimelimit : u32, totalsizelimit : u32, sortkeys : *mut *mut LDAPSortKeyA) -> PLDAPSearch);
320 #[cfg(feature = "Win32_Foundation")]
321 ::windows_targets::link!("wldap32.dll" "cdecl" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ldap_search_init_pageA(externalhandle : *mut LDAP, distinguishedname : ::windows_sys::core::PCSTR, scopeofsearch : u32, searchfilter : ::windows_sys::core::PCSTR, attributelist : *const *const i8, attributesonly : u32, servercontrols : *mut *mut LDAPControlA, clientcontrols : *mut *mut LDAPControlA, pagetimelimit : u32, totalsizelimit : u32, sortkeys : *mut *mut LDAPSortKeyA) -> PLDAPSearch);
322 #[cfg(feature = "Win32_Foundation")]
323 ::windows_targets::link!("wldap32.dll" "cdecl" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ldap_search_init_pageW(externalhandle : *mut LDAP, distinguishedname : ::windows_sys::core::PCWSTR, scopeofsearch : u32, searchfilter : ::windows_sys::core::PCWSTR, attributelist : *const *const u16, attributesonly : u32, servercontrols : *mut *mut LDAPControlW, clientcontrols : *mut *mut LDAPControlW, pagetimelimit : u32, totalsizelimit : u32, sortkeys : *mut *mut LDAPSortKeyW) -> PLDAPSearch);
324 #[cfg(feature = "Win32_Foundation")]
325 ::windows_targets::link!("wldap32.dll" "cdecl" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ldap_search_s(ld : *mut LDAP, base : ::windows_sys::core::PCSTR, scope : u32, filter : ::windows_sys::core::PCSTR, attrs : *const *const i8, attrsonly : u32, res : *mut *mut LDAPMessage) -> u32);
326 #[cfg(feature = "Win32_Foundation")]
327 ::windows_targets::link!("wldap32.dll" "cdecl" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ldap_search_sA(ld : *mut LDAP, base : ::windows_sys::core::PCSTR, scope : u32, filter : ::windows_sys::core::PCSTR, attrs : *const *const i8, attrsonly : u32, res : *mut *mut LDAPMessage) -> u32);
328 #[cfg(feature = "Win32_Foundation")]
329 ::windows_targets::link!("wldap32.dll" "cdecl" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ldap_search_sW(ld : *mut LDAP, base : ::windows_sys::core::PCWSTR, scope : u32, filter : ::windows_sys::core::PCWSTR, attrs : *const *const u16, attrsonly : u32, res : *mut *mut LDAPMessage) -> u32);
330 #[cfg(feature = "Win32_Foundation")]
331 ::windows_targets::link!("wldap32.dll" "cdecl" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ldap_search_st(ld : *mut LDAP, base : ::windows_sys::core::PCSTR, scope : u32, filter : ::windows_sys::core::PCSTR, attrs : *const *const i8, attrsonly : u32, timeout : *mut LDAP_TIMEVAL, res : *mut *mut LDAPMessage) -> u32);
332 #[cfg(feature = "Win32_Foundation")]
333 ::windows_targets::link!("wldap32.dll" "cdecl" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ldap_search_stA(ld : *mut LDAP, base : ::windows_sys::core::PCSTR, scope : u32, filter : ::windows_sys::core::PCSTR, attrs : *const *const i8, attrsonly : u32, timeout : *mut LDAP_TIMEVAL, res : *mut *mut LDAPMessage) -> u32);
334 #[cfg(feature = "Win32_Foundation")]
335 ::windows_targets::link!("wldap32.dll" "cdecl" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ldap_search_stW(ld : *mut LDAP, base : ::windows_sys::core::PCWSTR, scope : u32, filter : ::windows_sys::core::PCWSTR, attrs : *const *const u16, attrsonly : u32, timeout : *mut LDAP_TIMEVAL, res : *mut *mut LDAPMessage) -> u32);
336 ::windows_targets::link!("wldap32.dll" "cdecl" fn ldap_set_dbg_flags(newflags : u32) -> u32);
337 ::windows_targets::link!("wldap32.dll" "cdecl" fn ldap_set_dbg_routine(debugprintroutine : DBGPRINT) -> ());
338 ::windows_targets::link!("wldap32.dll" "cdecl" fn ldap_set_option(ld : *mut LDAP, option : i32, invalue : *const ::core::ffi::c_void) -> u32);
339 ::windows_targets::link!("wldap32.dll" "cdecl" fn ldap_set_optionW(ld : *mut LDAP, option : i32, invalue : *const ::core::ffi::c_void) -> u32);
340 ::windows_targets::link!("wldap32.dll" "cdecl" fn ldap_simple_bind(ld : *mut LDAP, dn : ::windows_sys::core::PCSTR, passwd : ::windows_sys::core::PCSTR) -> u32);
341 ::windows_targets::link!("wldap32.dll" "cdecl" fn ldap_simple_bindA(ld : *mut LDAP, dn : ::windows_sys::core::PCSTR, passwd : ::windows_sys::core::PCSTR) -> u32);
342 ::windows_targets::link!("wldap32.dll" "cdecl" fn ldap_simple_bindW(ld : *mut LDAP, dn : ::windows_sys::core::PCWSTR, passwd : ::windows_sys::core::PCWSTR) -> u32);
343 ::windows_targets::link!("wldap32.dll" "cdecl" fn ldap_simple_bind_s(ld : *mut LDAP, dn : ::windows_sys::core::PCSTR, passwd : ::windows_sys::core::PCSTR) -> u32);
344 ::windows_targets::link!("wldap32.dll" "cdecl" fn ldap_simple_bind_sA(ld : *mut LDAP, dn : ::windows_sys::core::PCSTR, passwd : ::windows_sys::core::PCSTR) -> u32);
345 ::windows_targets::link!("wldap32.dll" "cdecl" fn ldap_simple_bind_sW(ld : *mut LDAP, dn : ::windows_sys::core::PCWSTR, passwd : ::windows_sys::core::PCWSTR) -> u32);
346 ::windows_targets::link!("wldap32.dll" "cdecl" fn ldap_sslinit(hostname : ::windows_sys::core::PCSTR, portnumber : u32, secure : i32) -> *mut LDAP);
347 ::windows_targets::link!("wldap32.dll" "cdecl" fn ldap_sslinitA(hostname : ::windows_sys::core::PCSTR, portnumber : u32, secure : i32) -> *mut LDAP);
348 ::windows_targets::link!("wldap32.dll" "cdecl" fn ldap_sslinitW(hostname : ::windows_sys::core::PCWSTR, portnumber : u32, secure : i32) -> *mut LDAP);
349 #[cfg(feature = "Win32_Foundation")]
350 ::windows_targets::link!("wldap32.dll" "cdecl" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ldap_start_tls_sA(externalhandle : *mut LDAP, serverreturnvalue : *mut u32, result : *mut *mut LDAPMessage, servercontrols : *mut *mut LDAPControlA, clientcontrols : *mut *mut LDAPControlA) -> u32);
351 #[cfg(feature = "Win32_Foundation")]
352 ::windows_targets::link!("wldap32.dll" "cdecl" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ldap_start_tls_sW(externalhandle : *mut LDAP, serverreturnvalue : *mut u32, result : *mut *mut LDAPMessage, servercontrols : *mut *mut LDAPControlW, clientcontrols : *mut *mut LDAPControlW) -> u32);
353 #[cfg(feature = "Win32_Foundation")]
354 ::windows_targets::link!("wldap32.dll" "cdecl" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ldap_startup(version : *mut LDAP_VERSION_INFO, instance : *mut super::super::Foundation:: HANDLE) -> u32);
355 #[cfg(feature = "Win32_Foundation")]
356 ::windows_targets::link!("wldap32.dll" "cdecl" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ldap_stop_tls_s(externalhandle : *mut LDAP) -> super::super::Foundation:: BOOLEAN);
357 ::windows_targets::link!("wldap32.dll" "cdecl" fn ldap_ufn2dn(ufn : ::windows_sys::core::PCSTR, pdn : *mut ::windows_sys::core::PSTR) -> u32);
358 ::windows_targets::link!("wldap32.dll" "cdecl" fn ldap_ufn2dnA(ufn : ::windows_sys::core::PCSTR, pdn : *mut ::windows_sys::core::PSTR) -> u32);
359 ::windows_targets::link!("wldap32.dll" "cdecl" fn ldap_ufn2dnW(ufn : ::windows_sys::core::PCWSTR, pdn : *mut ::windows_sys::core::PWSTR) -> u32);
360 ::windows_targets::link!("wldap32.dll" "cdecl" fn ldap_unbind(ld : *mut LDAP) -> u32);
361 ::windows_targets::link!("wldap32.dll" "cdecl" fn ldap_unbind_s(ld : *mut LDAP) -> u32);
362 ::windows_targets::link!("wldap32.dll" "cdecl" fn ldap_value_free(vals : *const ::windows_sys::core::PCSTR) -> u32);
363 ::windows_targets::link!("wldap32.dll" "cdecl" fn ldap_value_freeA(vals : *const ::windows_sys::core::PCSTR) -> u32);
364 ::windows_targets::link!("wldap32.dll" "cdecl" fn ldap_value_freeW(vals : *const ::windows_sys::core::PCWSTR) -> u32);
365 ::windows_targets::link!("wldap32.dll" "cdecl" fn ldap_value_free_len(vals : *mut *mut LDAP_BERVAL) -> u32);
366 pub const LAPI_MAJOR_VER1: u32 = 1u32;
367 pub const LAPI_MINOR_VER1: u32 = 1u32;
368 pub const LBER_DEFAULT: i32 = -1i32;
369 pub const LBER_ERROR: i32 = -1i32;
370 pub const LBER_TRANSLATE_STRINGS: u32 = 4u32;
371 pub const LBER_USE_DER: u32 = 1u32;
372 pub const LBER_USE_INDEFINITE_LEN: u32 = 2u32;
373 pub const LDAP_ABANDON_CMD: i32 = 80i32;
374 pub const LDAP_ADD_CMD: i32 = 104i32;
375 pub const LDAP_ADMIN_LIMIT_EXCEEDED: LDAP_RETCODE = 11i32;
376 pub const LDAP_AFFECTS_MULTIPLE_DSAS: LDAP_RETCODE = 71i32;
377 pub const LDAP_ALIAS_DEREF_PROBLEM: LDAP_RETCODE = 36i32;
378 pub const LDAP_ALIAS_PROBLEM: LDAP_RETCODE = 33i32;
379 pub const LDAP_ALREADY_EXISTS: LDAP_RETCODE = 68i32;
380 pub const LDAP_API_FEATURE_VIRTUAL_LIST_VIEW: u32 = 1001u32;
381 pub const LDAP_API_INFO_VERSION: u32 = 1u32;
382 pub const LDAP_API_VERSION: u32 = 2004u32;
383 pub const LDAP_ATTRIBUTE_OR_VALUE_EXISTS: LDAP_RETCODE = 20i32;
384 pub const LDAP_AUTH_METHOD_NOT_SUPPORTED: LDAP_RETCODE = 7i32;
385 pub const LDAP_AUTH_OTHERKIND: i32 = 134i32;
386 pub const LDAP_AUTH_SASL: i32 = 131i32;
387 pub const LDAP_AUTH_SIMPLE: i32 = 128i32;
388 pub const LDAP_AUTH_UNKNOWN: LDAP_RETCODE = 86i32;
389 pub const LDAP_BIND_CMD: i32 = 96i32;
390 pub const LDAP_BUSY: LDAP_RETCODE = 51i32;
391 pub const LDAP_CAP_ACTIVE_DIRECTORY_ADAM_OID: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113556.1.4.1851");
392 pub const LDAP_CAP_ACTIVE_DIRECTORY_ADAM_OID_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("1.2.840.113556.1.4.1851");
393 pub const LDAP_CAP_ACTIVE_DIRECTORY_LDAP_INTEG_OID: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113556.1.4.1791");
394 pub const LDAP_CAP_ACTIVE_DIRECTORY_LDAP_INTEG_OID_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("1.2.840.113556.1.4.1791");
395 pub const LDAP_CAP_ACTIVE_DIRECTORY_OID: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113556.1.4.800");
396 pub const LDAP_CAP_ACTIVE_DIRECTORY_OID_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("1.2.840.113556.1.4.800");
397 pub const LDAP_CAP_ACTIVE_DIRECTORY_PARTIAL_SECRETS_OID: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113556.1.4.1920");
398 pub const LDAP_CAP_ACTIVE_DIRECTORY_PARTIAL_SECRETS_OID_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("1.2.840.113556.1.4.1920");
399 pub const LDAP_CAP_ACTIVE_DIRECTORY_V51_OID: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113556.1.4.1670");
400 pub const LDAP_CAP_ACTIVE_DIRECTORY_V51_OID_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("1.2.840.113556.1.4.1670");
401 pub const LDAP_CAP_ACTIVE_DIRECTORY_V60_OID: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113556.1.4.1935");
402 pub const LDAP_CAP_ACTIVE_DIRECTORY_V60_OID_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("1.2.840.113556.1.4.1935");
403 pub const LDAP_CAP_ACTIVE_DIRECTORY_V61_OID: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("1.2.840.113556.1.4.1935");
404 pub const LDAP_CAP_ACTIVE_DIRECTORY_V61_OID_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("1.2.840.113556.1.4.1935");
405 pub const LDAP_CAP_ACTIVE_DIRECTORY_V61_R2_OID: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113556.1.4.2080");
406 pub const LDAP_CAP_ACTIVE_DIRECTORY_V61_R2_OID_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("1.2.840.113556.1.4.2080");
407 pub const LDAP_CAP_ACTIVE_DIRECTORY_W8_OID: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113556.1.4.2237");
408 pub const LDAP_CAP_ACTIVE_DIRECTORY_W8_OID_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("1.2.840.113556.1.4.2237");
409 pub const LDAP_CHASE_EXTERNAL_REFERRALS: u32 = 64u32;
410 pub const LDAP_CHASE_SUBORDINATE_REFERRALS: u32 = 32u32;
411 pub const LDAP_CLIENT_LOOP: LDAP_RETCODE = 96i32;
412 pub const LDAP_COMPARE_CMD: i32 = 110i32;
413 pub const LDAP_COMPARE_FALSE: LDAP_RETCODE = 5i32;
414 pub const LDAP_COMPARE_TRUE: LDAP_RETCODE = 6i32;
415 pub const LDAP_CONFIDENTIALITY_REQUIRED: LDAP_RETCODE = 13i32;
416 pub const LDAP_CONNECT_ERROR: LDAP_RETCODE = 91i32;
417 pub const LDAP_CONSTRAINT_VIOLATION: LDAP_RETCODE = 19i32;
418 pub const LDAP_CONTROL_NOT_FOUND: LDAP_RETCODE = 93i32;
419 pub const LDAP_CONTROL_REFERRALS: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113556.1.4.616");
420 pub const LDAP_CONTROL_REFERRALS_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("1.2.840.113556.1.4.616");
421 pub const LDAP_CONTROL_VLVREQUEST: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.16.840.1.113730.3.4.9");
422 pub const LDAP_CONTROL_VLVREQUEST_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("2.16.840.1.113730.3.4.9");
423 pub const LDAP_CONTROL_VLVRESPONSE: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.16.840.1.113730.3.4.10");
424 pub const LDAP_CONTROL_VLVRESPONSE_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("2.16.840.1.113730.3.4.10");
425 pub const LDAP_DECODING_ERROR: LDAP_RETCODE = 84i32;
426 pub const LDAP_DELETE_CMD: i32 = 74i32;
427 pub const LDAP_DEREF_ALWAYS: u32 = 3u32;
428 pub const LDAP_DEREF_FINDING: u32 = 2u32;
429 pub const LDAP_DEREF_NEVER: u32 = 0u32;
430 pub const LDAP_DEREF_SEARCHING: u32 = 1u32;
431 pub const LDAP_DIRSYNC_ANCESTORS_FIRST_ORDER: u32 = 2048u32;
432 pub const LDAP_DIRSYNC_INCREMENTAL_VALUES: u32 = 2147483648u32;
433 pub const LDAP_DIRSYNC_OBJECT_SECURITY: u32 = 1u32;
434 pub const LDAP_DIRSYNC_PUBLIC_DATA_ONLY: u32 = 8192u32;
435 pub const LDAP_DIRSYNC_ROPAS_DATA_ONLY: u32 = 1073741824u32;
436 pub const LDAP_ENCODING_ERROR: LDAP_RETCODE = 83i32;
437 pub const LDAP_EXTENDED_CMD: i32 = 119i32;
438 pub const LDAP_FEATURE_INFO_VERSION: u32 = 1u32;
439 pub const LDAP_FILTER_AND: u32 = 160u32;
440 pub const LDAP_FILTER_APPROX: u32 = 168u32;
441 pub const LDAP_FILTER_EQUALITY: u32 = 163u32;
442 pub const LDAP_FILTER_ERROR: LDAP_RETCODE = 87i32;
443 pub const LDAP_FILTER_EXTENSIBLE: u32 = 169u32;
444 pub const LDAP_FILTER_GE: u32 = 165u32;
445 pub const LDAP_FILTER_LE: u32 = 166u32;
446 pub const LDAP_FILTER_NOT: u32 = 162u32;
447 pub const LDAP_FILTER_OR: u32 = 161u32;
448 pub const LDAP_FILTER_PRESENT: u32 = 135u32;
449 pub const LDAP_FILTER_SUBSTRINGS: u32 = 164u32;
450 pub const LDAP_GC_PORT: u32 = 3268u32;
451 pub const LDAP_INAPPROPRIATE_AUTH: LDAP_RETCODE = 48i32;
452 pub const LDAP_INAPPROPRIATE_MATCHING: LDAP_RETCODE = 18i32;
453 pub const LDAP_INSUFFICIENT_RIGHTS: LDAP_RETCODE = 50i32;
454 pub const LDAP_INVALID_CMD: u32 = 255u32;
455 pub const LDAP_INVALID_CREDENTIALS: LDAP_RETCODE = 49i32;
456 pub const LDAP_INVALID_DN_SYNTAX: LDAP_RETCODE = 34i32;
457 pub const LDAP_INVALID_RES: u32 = 255u32;
458 pub const LDAP_INVALID_SYNTAX: LDAP_RETCODE = 21i32;
459 pub const LDAP_IS_LEAF: LDAP_RETCODE = 35i32;
460 pub const LDAP_LOCAL_ERROR: LDAP_RETCODE = 82i32;
461 pub const LDAP_LOOP_DETECT: LDAP_RETCODE = 54i32;
462 pub const LDAP_MATCHING_RULE_BIT_AND: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113556.1.4.803");
463 pub const LDAP_MATCHING_RULE_BIT_AND_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("1.2.840.113556.1.4.803");
464 pub const LDAP_MATCHING_RULE_BIT_OR: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113556.1.4.804");
465 pub const LDAP_MATCHING_RULE_BIT_OR_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("1.2.840.113556.1.4.804");
466 pub const LDAP_MATCHING_RULE_DN_BINARY_COMPLEX: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113556.1.4.2253");
467 pub const LDAP_MATCHING_RULE_DN_BINARY_COMPLEX_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("1.2.840.113556.1.4.2253");
468 pub const LDAP_MATCHING_RULE_TRANSITIVE_EVALUATION: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113556.1.4.1941");
469 pub const LDAP_MATCHING_RULE_TRANSITIVE_EVALUATION_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("1.2.840.113556.1.4.1941");
470 pub const LDAP_MODIFY_CMD: i32 = 102i32;
471 pub const LDAP_MODRDN_CMD: i32 = 108i32;
472 pub const LDAP_MOD_ADD: u32 = 0u32;
473 pub const LDAP_MOD_BVALUES: u32 = 128u32;
474 pub const LDAP_MOD_DELETE: u32 = 1u32;
475 pub const LDAP_MOD_REPLACE: u32 = 2u32;
476 pub const LDAP_MORE_RESULTS_TO_RETURN: LDAP_RETCODE = 95i32;
477 pub const LDAP_MSG_ALL: u32 = 1u32;
478 pub const LDAP_MSG_ONE: u32 = 0u32;
479 pub const LDAP_MSG_RECEIVED: u32 = 2u32;
480 pub const LDAP_NAMING_VIOLATION: LDAP_RETCODE = 64i32;
481 pub const LDAP_NOT_ALLOWED_ON_NONLEAF: LDAP_RETCODE = 66i32;
482 pub const LDAP_NOT_ALLOWED_ON_RDN: LDAP_RETCODE = 67i32;
483 pub const LDAP_NOT_SUPPORTED: LDAP_RETCODE = 92i32;
484 pub const LDAP_NO_LIMIT: u32 = 0u32;
485 pub const LDAP_NO_MEMORY: LDAP_RETCODE = 90i32;
486 pub const LDAP_NO_OBJECT_CLASS_MODS: LDAP_RETCODE = 69i32;
487 pub const LDAP_NO_RESULTS_RETURNED: LDAP_RETCODE = 94i32;
488 pub const LDAP_NO_SUCH_ATTRIBUTE: LDAP_RETCODE = 16i32;
489 pub const LDAP_NO_SUCH_OBJECT: LDAP_RETCODE = 32i32;
490 pub const LDAP_OBJECT_CLASS_VIOLATION: LDAP_RETCODE = 65i32;
491 pub const LDAP_OFFSET_RANGE_ERROR: LDAP_RETCODE = 61i32;
492 pub const LDAP_OPATT_ABANDON_REPL: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("abandonReplication");
493 pub const LDAP_OPATT_ABANDON_REPL_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("abandonReplication");
494 pub const LDAP_OPATT_BECOME_DOM_MASTER: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("becomeDomainMaster");
495 pub const LDAP_OPATT_BECOME_DOM_MASTER_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("becomeDomainMaster");
496 pub const LDAP_OPATT_BECOME_PDC: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("becomePdc");
497 pub const LDAP_OPATT_BECOME_PDC_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("becomePdc");
498 pub const LDAP_OPATT_BECOME_RID_MASTER: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("becomeRidMaster");
499 pub const LDAP_OPATT_BECOME_RID_MASTER_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("becomeRidMaster");
500 pub const LDAP_OPATT_BECOME_SCHEMA_MASTER: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("becomeSchemaMaster");
501 pub const LDAP_OPATT_BECOME_SCHEMA_MASTER_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("becomeSchemaMaster");
502 pub const LDAP_OPATT_CONFIG_NAMING_CONTEXT: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("configurationNamingContext");
503 pub const LDAP_OPATT_CONFIG_NAMING_CONTEXT_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("configurationNamingContext");
504 pub const LDAP_OPATT_CURRENT_TIME: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("currentTime");
505 pub const LDAP_OPATT_CURRENT_TIME_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("currentTime");
506 pub const LDAP_OPATT_DEFAULT_NAMING_CONTEXT: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("defaultNamingContext");
507 pub const LDAP_OPATT_DEFAULT_NAMING_CONTEXT_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("defaultNamingContext");
508 pub const LDAP_OPATT_DNS_HOST_NAME: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("dnsHostName");
509 pub const LDAP_OPATT_DNS_HOST_NAME_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("dnsHostName");
510 pub const LDAP_OPATT_DO_GARBAGE_COLLECTION: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("doGarbageCollection");
511 pub const LDAP_OPATT_DO_GARBAGE_COLLECTION_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("doGarbageCollection");
512 pub const LDAP_OPATT_DS_SERVICE_NAME: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("dsServiceName");
513 pub const LDAP_OPATT_DS_SERVICE_NAME_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("dsServiceName");
514 pub const LDAP_OPATT_FIXUP_INHERITANCE: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("fixupInheritance");
515 pub const LDAP_OPATT_FIXUP_INHERITANCE_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("fixupInheritance");
516 pub const LDAP_OPATT_HIGHEST_COMMITTED_USN: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("highestCommitedUSN");
517 pub const LDAP_OPATT_HIGHEST_COMMITTED_USN_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("highestCommitedUSN");
518 pub const LDAP_OPATT_INVALIDATE_RID_POOL: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("invalidateRidPool");
519 pub const LDAP_OPATT_INVALIDATE_RID_POOL_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("invalidateRidPool");
520 pub const LDAP_OPATT_LDAP_SERVICE_NAME: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("ldapServiceName");
521 pub const LDAP_OPATT_LDAP_SERVICE_NAME_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ldapServiceName");
522 pub const LDAP_OPATT_NAMING_CONTEXTS: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("namingContexts");
523 pub const LDAP_OPATT_NAMING_CONTEXTS_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("namingContexts");
524 pub const LDAP_OPATT_RECALC_HIERARCHY: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("recalcHierarchy");
525 pub const LDAP_OPATT_RECALC_HIERARCHY_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("recalcHierarchy");
526 pub const LDAP_OPATT_ROOT_DOMAIN_NAMING_CONTEXT: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("rootDomainNamingContext");
527 pub const LDAP_OPATT_ROOT_DOMAIN_NAMING_CONTEXT_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("rootDomainNamingContext");
528 pub const LDAP_OPATT_SCHEMA_NAMING_CONTEXT: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("schemaNamingContext");
529 pub const LDAP_OPATT_SCHEMA_NAMING_CONTEXT_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("schemaNamingContext");
530 pub const LDAP_OPATT_SCHEMA_UPDATE_NOW: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("schemaUpdateNow");
531 pub const LDAP_OPATT_SCHEMA_UPDATE_NOW_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("schemaUpdateNow");
532 pub const LDAP_OPATT_SERVER_NAME: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("serverName");
533 pub const LDAP_OPATT_SERVER_NAME_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("serverName");
534 pub const LDAP_OPATT_SUBSCHEMA_SUBENTRY: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("subschemaSubentry");
535 pub const LDAP_OPATT_SUBSCHEMA_SUBENTRY_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("subschemaSubentry");
536 pub const LDAP_OPATT_SUPPORTED_CAPABILITIES: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("supportedCapabilities");
537 pub const LDAP_OPATT_SUPPORTED_CAPABILITIES_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("supportedCapabilities");
538 pub const LDAP_OPATT_SUPPORTED_CONTROL: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("supportedControl");
539 pub const LDAP_OPATT_SUPPORTED_CONTROL_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("supportedControl");
540 pub const LDAP_OPATT_SUPPORTED_LDAP_POLICIES: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("supportedLDAPPolicies");
541 pub const LDAP_OPATT_SUPPORTED_LDAP_POLICIES_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("supportedLDAPPolicies");
542 pub const LDAP_OPATT_SUPPORTED_LDAP_VERSION: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("supportedLDAPVersion");
543 pub const LDAP_OPATT_SUPPORTED_LDAP_VERSION_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("supportedLDAPVersion");
544 pub const LDAP_OPATT_SUPPORTED_SASL_MECHANISM: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("supportedSASLMechanisms");
545 pub const LDAP_OPATT_SUPPORTED_SASL_MECHANISM_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("supportedSASLMechanisms");
546 pub const LDAP_OPERATIONS_ERROR: LDAP_RETCODE = 1i32;
547 pub const LDAP_OPT_API_FEATURE_INFO: u32 = 21u32;
548 pub const LDAP_OPT_API_INFO: u32 = 0u32;
549 pub const LDAP_OPT_AREC_EXCLUSIVE: u32 = 152u32;
550 pub const LDAP_OPT_AUTO_RECONNECT: u32 = 145u32;
551 pub const LDAP_OPT_CACHE_ENABLE: u32 = 15u32;
552 pub const LDAP_OPT_CACHE_FN_PTRS: u32 = 13u32;
553 pub const LDAP_OPT_CACHE_STRATEGY: u32 = 14u32;
554 pub const LDAP_OPT_CHASE_REFERRALS: u32 = 2u32;
555 pub const LDAP_OPT_CLIENT_CERTIFICATE: u32 = 128u32;
556 pub const LDAP_OPT_DEREF: u32 = 2u32;
557 pub const LDAP_OPT_DESC: u32 = 1u32;
558 pub const LDAP_OPT_DNS: u32 = 1u32;
559 pub const LDAP_OPT_DNSDOMAIN_NAME: u32 = 59u32;
560 pub const LDAP_OPT_ENCRYPT: u32 = 150u32;
561 pub const LDAP_OPT_ERROR_NUMBER: u32 = 49u32;
562 pub const LDAP_OPT_ERROR_STRING: u32 = 50u32;
563 pub const LDAP_OPT_FAST_CONCURRENT_BIND: u32 = 65u32;
564 pub const LDAP_OPT_GETDSNAME_FLAGS: u32 = 61u32;
565 pub const LDAP_OPT_HOST_NAME: u32 = 48u32;
566 pub const LDAP_OPT_HOST_REACHABLE: u32 = 62u32;
567 pub const LDAP_OPT_IO_FN_PTRS: u32 = 11u32;
568 pub const LDAP_OPT_PING_KEEP_ALIVE: u32 = 54u32;
569 pub const LDAP_OPT_PING_LIMIT: u32 = 56u32;
570 pub const LDAP_OPT_PING_WAIT_TIME: u32 = 55u32;
571 pub const LDAP_OPT_PROMPT_CREDENTIALS: u32 = 63u32;
572 pub const LDAP_OPT_PROTOCOL_VERSION: u32 = 17u32;
573 pub const LDAP_OPT_REBIND_ARG: u32 = 7u32;
574 pub const LDAP_OPT_REBIND_FN: u32 = 6u32;
575 pub const LDAP_OPT_REFERRALS: u32 = 8u32;
576 pub const LDAP_OPT_REFERRAL_CALLBACK: u32 = 112u32;
577 pub const LDAP_OPT_REFERRAL_HOP_LIMIT: u32 = 16u32;
578 pub const LDAP_OPT_REF_DEREF_CONN_PER_MSG: u32 = 148u32;
579 pub const LDAP_OPT_RESTART: u32 = 9u32;
580 pub const LDAP_OPT_RETURN_REFS: u32 = 4u32;
581 pub const LDAP_OPT_ROOTDSE_CACHE: u32 = 154u32;
582 pub const LDAP_OPT_SASL_METHOD: u32 = 151u32;
583 pub const LDAP_OPT_SCH_FLAGS: u32 = 67u32;
584 pub const LDAP_OPT_SECURITY_CONTEXT: u32 = 153u32;
585 pub const LDAP_OPT_SEND_TIMEOUT: u32 = 66u32;
586 pub const LDAP_OPT_SERVER_CERTIFICATE: u32 = 129u32;
587 pub const LDAP_OPT_SERVER_ERROR: u32 = 51u32;
588 pub const LDAP_OPT_SERVER_EXT_ERROR: u32 = 52u32;
589 pub const LDAP_OPT_SIGN: u32 = 149u32;
590 pub const LDAP_OPT_SIZELIMIT: u32 = 3u32;
591 pub const LDAP_OPT_SOCKET_BIND_ADDRESSES: u32 = 68u32;
592 pub const LDAP_OPT_SSL: u32 = 10u32;
593 pub const LDAP_OPT_SSL_INFO: u32 = 147u32;
594 pub const LDAP_OPT_SSPI_FLAGS: u32 = 146u32;
595 pub const LDAP_OPT_TCP_KEEPALIVE: u32 = 64u32;
596 pub const LDAP_OPT_THREAD_FN_PTRS: u32 = 5u32;
597 pub const LDAP_OPT_TIMELIMIT: u32 = 4u32;
598 pub const LDAP_OPT_TLS: u32 = 10u32;
599 pub const LDAP_OPT_TLS_INFO: u32 = 147u32;
600 pub const LDAP_OPT_VERSION: u32 = 17u32;
601 pub const LDAP_OTHER: LDAP_RETCODE = 80i32;
602 pub const LDAP_PAGED_RESULT_OID_STRING: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113556.1.4.319");
603 pub const LDAP_PAGED_RESULT_OID_STRING_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("1.2.840.113556.1.4.319");
604 pub const LDAP_PARAM_ERROR: LDAP_RETCODE = 89i32;
605 pub const LDAP_PARTIAL_RESULTS: LDAP_RETCODE = 9i32;
606 pub const LDAP_POLICYHINT_APPLY_FULLPWDPOLICY: u32 = 1u32;
607 pub const LDAP_PORT: u32 = 389u32;
608 pub const LDAP_PROTOCOL_ERROR: LDAP_RETCODE = 2i32;
609 pub const LDAP_REFERRAL: LDAP_RETCODE = 10i32;
610 pub const LDAP_REFERRAL_LIMIT_EXCEEDED: LDAP_RETCODE = 97i32;
611 pub const LDAP_REFERRAL_V2: LDAP_RETCODE = 9i32;
612 pub const LDAP_RESULTS_TOO_LARGE: LDAP_RETCODE = 70i32;
613 pub const LDAP_RES_ADD: i32 = 105i32;
614 pub const LDAP_RES_ANY: i32 = -1i32;
615 pub const LDAP_RES_BIND: i32 = 97i32;
616 pub const LDAP_RES_COMPARE: i32 = 111i32;
617 pub const LDAP_RES_DELETE: i32 = 107i32;
618 pub const LDAP_RES_EXTENDED: i32 = 120i32;
619 pub const LDAP_RES_MODIFY: i32 = 103i32;
620 pub const LDAP_RES_MODRDN: i32 = 109i32;
621 pub const LDAP_RES_REFERRAL: i32 = 115i32;
622 pub const LDAP_RES_SEARCH_ENTRY: i32 = 100i32;
623 pub const LDAP_RES_SEARCH_RESULT: i32 = 101i32;
624 pub const LDAP_RES_SESSION: i32 = 114i32;
625 pub const LDAP_SASL_BIND_IN_PROGRESS: LDAP_RETCODE = 14i32;
626 pub const LDAP_SCOPE_BASE: u32 = 0u32;
627 pub const LDAP_SCOPE_ONELEVEL: u32 = 1u32;
628 pub const LDAP_SCOPE_SUBTREE: u32 = 2u32;
629 pub const LDAP_SEARCH_CMD: i32 = 99i32;
630 pub const LDAP_SEARCH_HINT_INDEX_ONLY_OID: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113556.1.4.2207");
631 pub const LDAP_SEARCH_HINT_INDEX_ONLY_OID_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("1.2.840.113556.1.4.2207");
632 pub const LDAP_SEARCH_HINT_REQUIRED_INDEX_OID: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113556.1.4.2306");
633 pub const LDAP_SEARCH_HINT_REQUIRED_INDEX_OID_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("1.2.840.113556.1.4.2306");
634 pub const LDAP_SEARCH_HINT_SOFT_SIZE_LIMIT_OID: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113556.1.4.2210");
635 pub const LDAP_SEARCH_HINT_SOFT_SIZE_LIMIT_OID_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("1.2.840.113556.1.4.2210");
636 pub const LDAP_SERVER_ASQ_OID: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113556.1.4.1504");
637 pub const LDAP_SERVER_ASQ_OID_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("1.2.840.113556.1.4.1504");
638 pub const LDAP_SERVER_BATCH_REQUEST_OID: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113556.1.4.2212");
639 pub const LDAP_SERVER_BATCH_REQUEST_OID_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("1.2.840.113556.1.4.2212");
640 pub const LDAP_SERVER_BYPASS_QUOTA_OID: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113556.1.4.2256");
641 pub const LDAP_SERVER_BYPASS_QUOTA_OID_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("1.2.840.113556.1.4.2256");
642 pub const LDAP_SERVER_CROSSDOM_MOVE_TARGET_OID: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113556.1.4.521");
643 pub const LDAP_SERVER_CROSSDOM_MOVE_TARGET_OID_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("1.2.840.113556.1.4.521");
644 pub const LDAP_SERVER_DIRSYNC_EX_OID: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113556.1.4.2090");
645 pub const LDAP_SERVER_DIRSYNC_EX_OID_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("1.2.840.113556.1.4.2090");
646 pub const LDAP_SERVER_DIRSYNC_OID: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113556.1.4.841");
647 pub const LDAP_SERVER_DIRSYNC_OID_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("1.2.840.113556.1.4.841");
648 pub const LDAP_SERVER_DN_INPUT_OID: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113556.1.4.2026");
649 pub const LDAP_SERVER_DN_INPUT_OID_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("1.2.840.113556.1.4.2026");
650 pub const LDAP_SERVER_DOMAIN_SCOPE_OID: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113556.1.4.1339");
651 pub const LDAP_SERVER_DOMAIN_SCOPE_OID_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("1.2.840.113556.1.4.1339");
652 pub const LDAP_SERVER_DOWN: LDAP_RETCODE = 81i32;
653 pub const LDAP_SERVER_EXPECTED_ENTRY_COUNT_OID: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113556.1.4.2211");
654 pub const LDAP_SERVER_EXPECTED_ENTRY_COUNT_OID_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("1.2.840.113556.1.4.2211");
655 pub const LDAP_SERVER_EXTENDED_DN_OID: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113556.1.4.529");
656 pub const LDAP_SERVER_EXTENDED_DN_OID_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("1.2.840.113556.1.4.529");
657 pub const LDAP_SERVER_FAST_BIND_OID: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113556.1.4.1781");
658 pub const LDAP_SERVER_FAST_BIND_OID_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("1.2.840.113556.1.4.1781");
659 pub const LDAP_SERVER_FORCE_UPDATE_OID: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113556.1.4.1974");
660 pub const LDAP_SERVER_FORCE_UPDATE_OID_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("1.2.840.113556.1.4.1974");
661 pub const LDAP_SERVER_GET_STATS_OID: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113556.1.4.970");
662 pub const LDAP_SERVER_GET_STATS_OID_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("1.2.840.113556.1.4.970");
663 pub const LDAP_SERVER_LAZY_COMMIT_OID: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113556.1.4.619");
664 pub const LDAP_SERVER_LAZY_COMMIT_OID_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("1.2.840.113556.1.4.619");
665 pub const LDAP_SERVER_LINK_TTL_OID: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113556.1.4.2309");
666 pub const LDAP_SERVER_LINK_TTL_OID_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("1.2.840.113556.1.4.2309");
667 pub const LDAP_SERVER_NOTIFICATION_OID: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113556.1.4.528");
668 pub const LDAP_SERVER_NOTIFICATION_OID_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("1.2.840.113556.1.4.528");
669 pub const LDAP_SERVER_PERMISSIVE_MODIFY_OID: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113556.1.4.1413");
670 pub const LDAP_SERVER_PERMISSIVE_MODIFY_OID_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("1.2.840.113556.1.4.1413");
671 pub const LDAP_SERVER_POLICY_HINTS_DEPRECATED_OID: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113556.1.4.2066");
672 pub const LDAP_SERVER_POLICY_HINTS_DEPRECATED_OID_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("1.2.840.113556.1.4.2066");
673 pub const LDAP_SERVER_POLICY_HINTS_OID: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113556.1.4.2239");
674 pub const LDAP_SERVER_POLICY_HINTS_OID_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("1.2.840.113556.1.4.2239");
675 pub const LDAP_SERVER_QUOTA_CONTROL_OID: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113556.1.4.1852");
676 pub const LDAP_SERVER_QUOTA_CONTROL_OID_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("1.2.840.113556.1.4.1852");
677 pub const LDAP_SERVER_RANGE_OPTION_OID: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113556.1.4.802");
678 pub const LDAP_SERVER_RANGE_OPTION_OID_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("1.2.840.113556.1.4.802");
679 pub const LDAP_SERVER_RANGE_RETRIEVAL_NOERR_OID: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113556.1.4.1948");
680 pub const LDAP_SERVER_RANGE_RETRIEVAL_NOERR_OID_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("1.2.840.113556.1.4.1948");
681 pub const LDAP_SERVER_RESP_SORT_OID: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113556.1.4.474");
682 pub const LDAP_SERVER_RESP_SORT_OID_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("1.2.840.113556.1.4.474");
683 pub const LDAP_SERVER_SD_FLAGS_OID: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113556.1.4.801");
684 pub const LDAP_SERVER_SD_FLAGS_OID_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("1.2.840.113556.1.4.801");
685 pub const LDAP_SERVER_SEARCH_HINTS_OID: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113556.1.4.2206");
686 pub const LDAP_SERVER_SEARCH_HINTS_OID_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("1.2.840.113556.1.4.2206");
687 pub const LDAP_SERVER_SEARCH_OPTIONS_OID: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113556.1.4.1340");
688 pub const LDAP_SERVER_SEARCH_OPTIONS_OID_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("1.2.840.113556.1.4.1340");
689 pub const LDAP_SERVER_SET_OWNER_OID: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113556.1.4.2255");
690 pub const LDAP_SERVER_SET_OWNER_OID_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("1.2.840.113556.1.4.2255");
691 pub const LDAP_SERVER_SHOW_DEACTIVATED_LINK_OID: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113556.1.4.2065");
692 pub const LDAP_SERVER_SHOW_DEACTIVATED_LINK_OID_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("1.2.840.113556.1.4.2065");
693 pub const LDAP_SERVER_SHOW_DELETED_OID: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113556.1.4.417");
694 pub const LDAP_SERVER_SHOW_DELETED_OID_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("1.2.840.113556.1.4.417");
695 pub const LDAP_SERVER_SHOW_RECYCLED_OID: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113556.1.4.2064");
696 pub const LDAP_SERVER_SHOW_RECYCLED_OID_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("1.2.840.113556.1.4.2064");
697 pub const LDAP_SERVER_SHUTDOWN_NOTIFY_OID: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113556.1.4.1907");
698 pub const LDAP_SERVER_SHUTDOWN_NOTIFY_OID_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("1.2.840.113556.1.4.1907");
699 pub const LDAP_SERVER_SORT_OID: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113556.1.4.473");
700 pub const LDAP_SERVER_SORT_OID_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("1.2.840.113556.1.4.473");
701 pub const LDAP_SERVER_TREE_DELETE_EX_OID: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113556.1.4.2204");
702 pub const LDAP_SERVER_TREE_DELETE_EX_OID_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("1.2.840.113556.1.4.2204");
703 pub const LDAP_SERVER_TREE_DELETE_OID: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113556.1.4.805");
704 pub const LDAP_SERVER_TREE_DELETE_OID_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("1.2.840.113556.1.4.805");
705 pub const LDAP_SERVER_UPDATE_STATS_OID: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113556.1.4.2205");
706 pub const LDAP_SERVER_UPDATE_STATS_OID_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("1.2.840.113556.1.4.2205");
707 pub const LDAP_SERVER_VERIFY_NAME_OID: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113556.1.4.1338");
708 pub const LDAP_SERVER_VERIFY_NAME_OID_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("1.2.840.113556.1.4.1338");
709 pub const LDAP_SERVER_WHO_AM_I_OID: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.4203.1.11.3");
710 pub const LDAP_SERVER_WHO_AM_I_OID_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("1.3.6.1.4.1.4203.1.11.3");
711 pub const LDAP_SESSION_CMD: i32 = 113i32;
712 pub const LDAP_SIZELIMIT_EXCEEDED: LDAP_RETCODE = 4i32;
713 pub const LDAP_SORT_CONTROL_MISSING: LDAP_RETCODE = 60i32;
714 pub const LDAP_SSL_GC_PORT: u32 = 3269u32;
715 pub const LDAP_SSL_PORT: u32 = 636u32;
716 pub const LDAP_START_TLS_OID: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.1466.20037");
717 pub const LDAP_START_TLS_OID_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("1.3.6.1.4.1.1466.20037");
718 pub const LDAP_STRONG_AUTH_REQUIRED: LDAP_RETCODE = 8i32;
719 pub const LDAP_SUBSTRING_ANY: i32 = 129i32;
720 pub const LDAP_SUBSTRING_FINAL: i32 = 130i32;
721 pub const LDAP_SUBSTRING_INITIAL: i32 = 128i32;
722 pub const LDAP_SUCCESS: LDAP_RETCODE = 0i32;
723 pub const LDAP_TIMELIMIT_EXCEEDED: LDAP_RETCODE = 3i32;
724 pub const LDAP_TIMEOUT: LDAP_RETCODE = 85i32;
725 pub const LDAP_TTL_EXTENDED_OP_OID: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.1466.101.119.1");
726 pub const LDAP_TTL_EXTENDED_OP_OID_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("1.3.6.1.4.1.1466.101.119.1");
727 pub const LDAP_UNAVAILABLE: LDAP_RETCODE = 52i32;
728 pub const LDAP_UNAVAILABLE_CRIT_EXTENSION: LDAP_RETCODE = 12i32;
729 pub const LDAP_UNBIND_CMD: i32 = 66i32;
730 pub const LDAP_UNDEFINED_TYPE: LDAP_RETCODE = 17i32;
731 pub const LDAP_UNICODE: u32 = 1u32;
732 pub const LDAP_UNWILLING_TO_PERFORM: LDAP_RETCODE = 53i32;
733 pub const LDAP_UPDATE_STATS_INVOCATIONID_OID: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113556.1.4.2209");
734 pub const LDAP_UPDATE_STATS_INVOCATIONID_OID_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("1.2.840.113556.1.4.2209");
735 pub const LDAP_UPDATE_STATS_USN_OID: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113556.1.4.2208");
736 pub const LDAP_UPDATE_STATS_USN_OID_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("1.2.840.113556.1.4.2208");
737 pub const LDAP_USER_CANCELLED: LDAP_RETCODE = 88i32;
738 pub const LDAP_VENDOR_NAME: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("Microsoft Corporation.");
739 pub const LDAP_VENDOR_NAME_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Microsoft Corporation.");
740 pub const LDAP_VENDOR_VERSION: u32 = 510u32;
741 pub const LDAP_VERSION: u32 = 2u32;
742 pub const LDAP_VERSION1: u32 = 1u32;
743 pub const LDAP_VERSION2: u32 = 2u32;
744 pub const LDAP_VERSION3: u32 = 3u32;
745 pub const LDAP_VERSION_MAX: u32 = 3u32;
746 pub const LDAP_VERSION_MIN: u32 = 2u32;
747 pub const LDAP_VIRTUAL_LIST_VIEW_ERROR: LDAP_RETCODE = 76i32;
748 pub const LDAP_VLVINFO_VERSION: u32 = 1u32;
749 pub const SERVER_SEARCH_FLAG_DOMAIN_SCOPE: u32 = 1u32;
750 pub const SERVER_SEARCH_FLAG_PHANTOM_ROOT: u32 = 2u32;
751 pub type LDAP_RETCODE = i32;
752 #[repr(C)]
753 pub struct BerElement {
754 pub opaque: ::windows_sys::core::PSTR,
755 }
756 impl ::core::marker::Copy for BerElement {}
757 impl ::core::clone::Clone for BerElement {
758 fn clone(&self) -> Self {
759 *self
760 }
761 }
762 #[repr(C)]
763 pub struct LDAP {
764 pub ld_sb: LDAP_0,
765 pub ld_host: ::windows_sys::core::PSTR,
766 pub ld_version: u32,
767 pub ld_lberoptions: u8,
768 pub ld_deref: u32,
769 pub ld_timelimit: u32,
770 pub ld_sizelimit: u32,
771 pub ld_errno: u32,
772 pub ld_matched: ::windows_sys::core::PSTR,
773 pub ld_error: ::windows_sys::core::PSTR,
774 pub ld_msgid: u32,
775 pub Reserved3: [u8; 25],
776 pub ld_cldaptries: u32,
777 pub ld_cldaptimeout: u32,
778 pub ld_refhoplimit: u32,
779 pub ld_options: u32,
780 }
781 impl ::core::marker::Copy for LDAP {}
782 impl ::core::clone::Clone for LDAP {
783 fn clone(&self) -> Self {
784 *self
785 }
786 }
787 #[repr(C)]
788 pub struct LDAP_0 {
789 pub sb_sd: usize,
790 pub Reserved1: [u8; 41],
791 pub sb_naddr: usize,
792 pub Reserved2: [u8; 24],
793 }
794 impl ::core::marker::Copy for LDAP_0 {}
795 impl ::core::clone::Clone for LDAP_0 {
796 fn clone(&self) -> Self {
797 *self
798 }
799 }
800 #[repr(C)]
801 pub struct LDAPAPIFeatureInfoA {
802 pub ldapaif_info_version: i32,
803 pub ldapaif_name: ::windows_sys::core::PSTR,
804 pub ldapaif_version: i32,
805 }
806 impl ::core::marker::Copy for LDAPAPIFeatureInfoA {}
807 impl ::core::clone::Clone for LDAPAPIFeatureInfoA {
808 fn clone(&self) -> Self {
809 *self
810 }
811 }
812 #[repr(C)]
813 pub struct LDAPAPIFeatureInfoW {
814 pub ldapaif_info_version: i32,
815 pub ldapaif_name: ::windows_sys::core::PWSTR,
816 pub ldapaif_version: i32,
817 }
818 impl ::core::marker::Copy for LDAPAPIFeatureInfoW {}
819 impl ::core::clone::Clone for LDAPAPIFeatureInfoW {
820 fn clone(&self) -> Self {
821 *self
822 }
823 }
824 #[repr(C)]
825 pub struct LDAPAPIInfoA {
826 pub ldapai_info_version: i32,
827 pub ldapai_api_version: i32,
828 pub ldapai_protocol_version: i32,
829 pub ldapai_extensions: *mut *mut i8,
830 pub ldapai_vendor_name: ::windows_sys::core::PSTR,
831 pub ldapai_vendor_version: i32,
832 }
833 impl ::core::marker::Copy for LDAPAPIInfoA {}
834 impl ::core::clone::Clone for LDAPAPIInfoA {
835 fn clone(&self) -> Self {
836 *self
837 }
838 }
839 #[repr(C)]
840 pub struct LDAPAPIInfoW {
841 pub ldapai_info_version: i32,
842 pub ldapai_api_version: i32,
843 pub ldapai_protocol_version: i32,
844 pub ldapai_extensions: *mut ::windows_sys::core::PWSTR,
845 pub ldapai_vendor_name: ::windows_sys::core::PWSTR,
846 pub ldapai_vendor_version: i32,
847 }
848 impl ::core::marker::Copy for LDAPAPIInfoW {}
849 impl ::core::clone::Clone for LDAPAPIInfoW {
850 fn clone(&self) -> Self {
851 *self
852 }
853 }
854 #[repr(C)]
855 #[doc = "Required features: `\"Win32_Foundation\"`"]
856 #[cfg(feature = "Win32_Foundation")]
857 pub struct LDAPControlA {
858 pub ldctl_oid: ::windows_sys::core::PSTR,
859 pub ldctl_value: LDAP_BERVAL,
860 pub ldctl_iscritical: super::super::Foundation::BOOLEAN,
861 }
862 #[cfg(feature = "Win32_Foundation")]
863 impl ::core::marker::Copy for LDAPControlA {}
864 #[cfg(feature = "Win32_Foundation")]
865 impl ::core::clone::Clone for LDAPControlA {
866 fn clone(&self) -> Self {
867 *self
868 }
869 }
870 #[repr(C)]
871 #[doc = "Required features: `\"Win32_Foundation\"`"]
872 #[cfg(feature = "Win32_Foundation")]
873 pub struct LDAPControlW {
874 pub ldctl_oid: ::windows_sys::core::PWSTR,
875 pub ldctl_value: LDAP_BERVAL,
876 pub ldctl_iscritical: super::super::Foundation::BOOLEAN,
877 }
878 #[cfg(feature = "Win32_Foundation")]
879 impl ::core::marker::Copy for LDAPControlW {}
880 #[cfg(feature = "Win32_Foundation")]
881 impl ::core::clone::Clone for LDAPControlW {
882 fn clone(&self) -> Self {
883 *self
884 }
885 }
886 #[repr(C)]
887 #[doc = "Required features: `\"Win32_Foundation\"`"]
888 #[cfg(feature = "Win32_Foundation")]
889 pub struct LDAPMessage {
890 pub lm_msgid: u32,
891 pub lm_msgtype: u32,
892 pub lm_ber: *mut ::core::ffi::c_void,
893 pub lm_chain: *mut LDAPMessage,
894 pub lm_next: *mut LDAPMessage,
895 pub lm_time: u32,
896 pub Connection: *mut LDAP,
897 pub Request: *mut ::core::ffi::c_void,
898 pub lm_returncode: u32,
899 pub lm_referral: u16,
900 pub lm_chased: super::super::Foundation::BOOLEAN,
901 pub lm_eom: super::super::Foundation::BOOLEAN,
902 pub ConnectionReferenced: super::super::Foundation::BOOLEAN,
903 }
904 #[cfg(feature = "Win32_Foundation")]
905 impl ::core::marker::Copy for LDAPMessage {}
906 #[cfg(feature = "Win32_Foundation")]
907 impl ::core::clone::Clone for LDAPMessage {
908 fn clone(&self) -> Self {
909 *self
910 }
911 }
912 #[repr(C)]
913 pub struct LDAPModA {
914 pub mod_op: u32,
915 pub mod_type: ::windows_sys::core::PSTR,
916 pub mod_vals: LDAPModA_0,
917 }
918 impl ::core::marker::Copy for LDAPModA {}
919 impl ::core::clone::Clone for LDAPModA {
920 fn clone(&self) -> Self {
921 *self
922 }
923 }
924 #[repr(C)]
925 pub union LDAPModA_0 {
926 pub modv_strvals: *mut ::windows_sys::core::PSTR,
927 pub modv_bvals: *mut *mut LDAP_BERVAL,
928 }
929 impl ::core::marker::Copy for LDAPModA_0 {}
930 impl ::core::clone::Clone for LDAPModA_0 {
931 fn clone(&self) -> Self {
932 *self
933 }
934 }
935 #[repr(C)]
936 pub struct LDAPModW {
937 pub mod_op: u32,
938 pub mod_type: ::windows_sys::core::PWSTR,
939 pub mod_vals: LDAPModW_0,
940 }
941 impl ::core::marker::Copy for LDAPModW {}
942 impl ::core::clone::Clone for LDAPModW {
943 fn clone(&self) -> Self {
944 *self
945 }
946 }
947 #[repr(C)]
948 pub union LDAPModW_0 {
949 pub modv_strvals: *mut ::windows_sys::core::PWSTR,
950 pub modv_bvals: *mut *mut LDAP_BERVAL,
951 }
952 impl ::core::marker::Copy for LDAPModW_0 {}
953 impl ::core::clone::Clone for LDAPModW_0 {
954 fn clone(&self) -> Self {
955 *self
956 }
957 }
958 #[repr(C)]
959 #[doc = "Required features: `\"Win32_Foundation\"`"]
960 #[cfg(feature = "Win32_Foundation")]
961 pub struct LDAPSortKeyA {
962 pub sk_attrtype: ::windows_sys::core::PSTR,
963 pub sk_matchruleoid: ::windows_sys::core::PSTR,
964 pub sk_reverseorder: super::super::Foundation::BOOLEAN,
965 }
966 #[cfg(feature = "Win32_Foundation")]
967 impl ::core::marker::Copy for LDAPSortKeyA {}
968 #[cfg(feature = "Win32_Foundation")]
969 impl ::core::clone::Clone for LDAPSortKeyA {
970 fn clone(&self) -> Self {
971 *self
972 }
973 }
974 #[repr(C)]
975 #[doc = "Required features: `\"Win32_Foundation\"`"]
976 #[cfg(feature = "Win32_Foundation")]
977 pub struct LDAPSortKeyW {
978 pub sk_attrtype: ::windows_sys::core::PWSTR,
979 pub sk_matchruleoid: ::windows_sys::core::PWSTR,
980 pub sk_reverseorder: super::super::Foundation::BOOLEAN,
981 }
982 #[cfg(feature = "Win32_Foundation")]
983 impl ::core::marker::Copy for LDAPSortKeyW {}
984 #[cfg(feature = "Win32_Foundation")]
985 impl ::core::clone::Clone for LDAPSortKeyW {
986 fn clone(&self) -> Self {
987 *self
988 }
989 }
990 #[repr(C)]
991 pub struct LDAPVLVInfo {
992 pub ldvlv_version: i32,
993 pub ldvlv_before_count: u32,
994 pub ldvlv_after_count: u32,
995 pub ldvlv_offset: u32,
996 pub ldvlv_count: u32,
997 pub ldvlv_attrvalue: *mut LDAP_BERVAL,
998 pub ldvlv_context: *mut LDAP_BERVAL,
999 pub ldvlv_extradata: *mut ::core::ffi::c_void,
1000 }
1001 impl ::core::marker::Copy for LDAPVLVInfo {}
1002 impl ::core::clone::Clone for LDAPVLVInfo {
1003 fn clone(&self) -> Self {
1004 *self
1005 }
1006 }
1007 #[repr(C)]
1008 pub struct LDAP_BERVAL {
1009 pub bv_len: u32,
1010 pub bv_val: ::windows_sys::core::PSTR,
1011 }
1012 impl ::core::marker::Copy for LDAP_BERVAL {}
1013 impl ::core::clone::Clone for LDAP_BERVAL {
1014 fn clone(&self) -> Self {
1015 *self
1016 }
1017 }
1018 #[repr(C)]
1019 #[doc = "Required features: `\"Win32_Foundation\"`"]
1020 #[cfg(feature = "Win32_Foundation")]
1021 pub struct LDAP_REFERRAL_CALLBACK {
1022 pub SizeOfCallbacks: u32,
1023 pub QueryForConnection: QUERYFORCONNECTION,
1024 pub NotifyRoutine: NOTIFYOFNEWCONNECTION,
1025 pub DereferenceRoutine: DEREFERENCECONNECTION,
1026 }
1027 #[cfg(feature = "Win32_Foundation")]
1028 impl ::core::marker::Copy for LDAP_REFERRAL_CALLBACK {}
1029 #[cfg(feature = "Win32_Foundation")]
1030 impl ::core::clone::Clone for LDAP_REFERRAL_CALLBACK {
1031 fn clone(&self) -> Self {
1032 *self
1033 }
1034 }
1035 #[repr(C)]
1036 pub struct LDAP_TIMEVAL {
1037 pub tv_sec: i32,
1038 pub tv_usec: i32,
1039 }
1040 impl ::core::marker::Copy for LDAP_TIMEVAL {}
1041 impl ::core::clone::Clone for LDAP_TIMEVAL {
1042 fn clone(&self) -> Self {
1043 *self
1044 }
1045 }
1046 #[repr(C)]
1047 pub struct LDAP_VERSION_INFO {
1048 pub lv_size: u32,
1049 pub lv_major: u32,
1050 pub lv_minor: u32,
1051 }
1052 impl ::core::marker::Copy for LDAP_VERSION_INFO {}
1053 impl ::core::clone::Clone for LDAP_VERSION_INFO {
1054 fn clone(&self) -> Self {
1055 *self
1056 }
1057 }
1058 pub type PLDAPSearch = isize;
1059 pub type DBGPRINT = ::core::option::Option<unsafe extern "system" fn(format: ::windows_sys::core::PCSTR) -> u32>;
1060 pub type DEREFERENCECONNECTION = ::core::option::Option<unsafe extern "system" fn(primaryconnection: *mut LDAP, connectiontodereference: *mut LDAP) -> u32>;
1061 #[doc = "Required features: `\"Win32_Foundation\"`"]
1062 #[cfg(feature = "Win32_Foundation")]
1063 pub type NOTIFYOFNEWCONNECTION = ::core::option::Option<unsafe extern "system" fn(primaryconnection: *mut LDAP, referralfromconnection: *mut LDAP, newdn: ::windows_sys::core::PCWSTR, hostname: ::windows_sys::core::PCSTR, newconnection: *mut LDAP, portnumber: u32, secauthidentity: *mut ::core::ffi::c_void, currentuser: *mut ::core::ffi::c_void, errorcodefrombind: u32) -> super::super::Foundation::BOOLEAN>;
1064 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Cryptography\"`"]
1065 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Authentication_Identity", feature = "Win32_Security_Cryptography"))]
1066 pub type QUERYCLIENTCERT = ::core::option::Option<unsafe extern "system" fn(connection: *mut LDAP, trusted_cas: *mut super::super::Security::Authentication::Identity::SecPkgContext_IssuerListInfoEx, ppcertificate: *mut *mut super::super::Security::Cryptography::CERT_CONTEXT) -> super::super::Foundation::BOOLEAN>;
1067 pub type QUERYFORCONNECTION = ::core::option::Option<unsafe extern "system" fn(primaryconnection: *mut LDAP, referralfromconnection: *mut LDAP, newdn: ::windows_sys::core::PCWSTR, hostname: ::windows_sys::core::PCSTR, portnumber: u32, secauthidentity: *mut ::core::ffi::c_void, currentusertoken: *mut ::core::ffi::c_void, connectiontouse: *mut *mut LDAP) -> u32>;
1068 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`"]
1069 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
1070 pub type VERIFYSERVERCERT = ::core::option::Option<unsafe extern "system" fn(connection: *mut LDAP, pservercert: *mut *mut super::super::Security::Cryptography::CERT_CONTEXT) -> super::super::Foundation::BOOLEAN>;