]>
Commit | Line | Data |
---|---|---|
9c376795 FG |
1 | #[cfg_attr(windows, link(name = "windows"))] |
2 | extern "cdecl" { | |
3 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
4 | pub fn LdapGetLastError() -> u32; | |
5 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] | |
6 | #[cfg(feature = "Win32_Foundation")] | |
7 | pub fn LdapMapErrorToWin32(ldaperror: LDAP_RETCODE) -> super::super::Foundation::WIN32_ERROR; | |
8 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
9 | pub fn LdapUTF8ToUnicode(lpsrcstr: ::windows_sys::core::PCSTR, cchsrc: i32, lpdeststr: ::windows_sys::core::PWSTR, cchdest: i32) -> i32; | |
10 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
11 | pub fn LdapUnicodeToUTF8(lpsrcstr: ::windows_sys::core::PCWSTR, cchsrc: i32, lpdeststr: ::windows_sys::core::PSTR, cchdest: i32) -> i32; | |
12 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
13 | pub fn ber_alloc_t(options: i32) -> *mut BerElement; | |
14 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
15 | pub fn ber_bvdup(pberval: *mut LDAP_BERVAL) -> *mut LDAP_BERVAL; | |
16 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
17 | pub fn ber_bvecfree(pberval: *mut *mut LDAP_BERVAL); | |
18 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
19 | pub fn ber_bvfree(bv: *mut LDAP_BERVAL); | |
20 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] | |
21 | #[cfg(feature = "Win32_Foundation")] | |
22 | pub fn ber_first_element(pberelement: *mut BerElement, plen: *mut u32, ppopaque: *mut *mut super::super::Foundation::CHAR) -> u32; | |
23 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
24 | pub fn ber_flatten(pberelement: *mut BerElement, pberval: *mut *mut LDAP_BERVAL) -> i32; | |
25 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
26 | pub fn ber_free(pberelement: *mut BerElement, fbuf: i32); | |
27 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
28 | pub fn ber_init(pberval: *mut LDAP_BERVAL) -> *mut BerElement; | |
29 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
30 | pub fn ber_next_element(pberelement: *mut BerElement, plen: *mut u32, opaque: ::windows_sys::core::PCSTR) -> u32; | |
31 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
32 | pub fn ber_peek_tag(pberelement: *mut BerElement, plen: *mut u32) -> u32; | |
33 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
34 | pub fn ber_printf(pberelement: *mut BerElement, fmt: ::windows_sys::core::PCSTR) -> i32; | |
35 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
36 | pub fn ber_scanf(pberelement: *mut BerElement, fmt: ::windows_sys::core::PCSTR) -> u32; | |
37 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
38 | pub fn ber_skip_tag(pberelement: *mut BerElement, plen: *mut u32) -> u32; | |
39 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
40 | pub fn cldap_open(hostname: ::windows_sys::core::PCSTR, portnumber: u32) -> *mut LDAP; | |
41 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
42 | pub fn cldap_openA(hostname: ::windows_sys::core::PCSTR, portnumber: u32) -> *mut LDAP; | |
43 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
44 | pub fn cldap_openW(hostname: ::windows_sys::core::PCWSTR, portnumber: u32) -> *mut LDAP; | |
45 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
46 | pub fn ldap_abandon(ld: *mut LDAP, msgid: u32) -> u32; | |
47 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
48 | pub fn ldap_add(ld: *mut LDAP, dn: ::windows_sys::core::PCSTR, attrs: *mut *mut LDAPModA) -> u32; | |
49 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
50 | pub fn ldap_addA(ld: *mut LDAP, dn: ::windows_sys::core::PCSTR, attrs: *mut *mut LDAPModA) -> u32; | |
51 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
52 | pub fn ldap_addW(ld: *mut LDAP, dn: ::windows_sys::core::PCWSTR, attrs: *mut *mut LDAPModW) -> u32; | |
53 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] | |
54 | #[cfg(feature = "Win32_Foundation")] | |
55 | pub 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; | |
56 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] | |
57 | #[cfg(feature = "Win32_Foundation")] | |
58 | pub 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; | |
59 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] | |
60 | #[cfg(feature = "Win32_Foundation")] | |
61 | pub 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; | |
62 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] | |
63 | #[cfg(feature = "Win32_Foundation")] | |
64 | pub 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; | |
65 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] | |
66 | #[cfg(feature = "Win32_Foundation")] | |
67 | pub 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; | |
68 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] | |
69 | #[cfg(feature = "Win32_Foundation")] | |
70 | pub 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; | |
71 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
72 | pub fn ldap_add_s(ld: *mut LDAP, dn: ::windows_sys::core::PCSTR, attrs: *mut *mut LDAPModA) -> u32; | |
73 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
74 | pub fn ldap_add_sA(ld: *mut LDAP, dn: ::windows_sys::core::PCSTR, attrs: *mut *mut LDAPModA) -> u32; | |
75 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
76 | pub fn ldap_add_sW(ld: *mut LDAP, dn: ::windows_sys::core::PCWSTR, attrs: *mut *mut LDAPModW) -> u32; | |
77 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
78 | pub fn ldap_bind(ld: *mut LDAP, dn: ::windows_sys::core::PCSTR, cred: ::windows_sys::core::PCSTR, method: u32) -> u32; | |
79 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
80 | pub fn ldap_bindA(ld: *mut LDAP, dn: ::windows_sys::core::PCSTR, cred: ::windows_sys::core::PCSTR, method: u32) -> u32; | |
81 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
82 | pub fn ldap_bindW(ld: *mut LDAP, dn: ::windows_sys::core::PCWSTR, cred: ::windows_sys::core::PCWSTR, method: u32) -> u32; | |
83 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
84 | pub fn ldap_bind_s(ld: *mut LDAP, dn: ::windows_sys::core::PCSTR, cred: ::windows_sys::core::PCSTR, method: u32) -> u32; | |
85 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
86 | pub fn ldap_bind_sA(ld: *mut LDAP, dn: ::windows_sys::core::PCSTR, cred: ::windows_sys::core::PCSTR, method: u32) -> u32; | |
87 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
88 | pub fn ldap_bind_sW(ld: *mut LDAP, dn: ::windows_sys::core::PCWSTR, cred: ::windows_sys::core::PCWSTR, method: u32) -> u32; | |
89 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
90 | pub fn ldap_check_filterA(ld: *mut LDAP, searchfilter: ::windows_sys::core::PCSTR) -> u32; | |
91 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
92 | pub fn ldap_check_filterW(ld: *mut LDAP, searchfilter: ::windows_sys::core::PCWSTR) -> u32; | |
93 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] | |
94 | #[cfg(feature = "Win32_Foundation")] | |
95 | pub fn ldap_cleanup(hinstance: super::super::Foundation::HANDLE) -> u32; | |
96 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
97 | pub fn ldap_close_extended_op(ld: *mut LDAP, messagenumber: u32) -> u32; | |
98 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
99 | pub fn ldap_compare(ld: *mut LDAP, dn: ::windows_sys::core::PCSTR, attr: ::windows_sys::core::PCSTR, value: ::windows_sys::core::PCSTR) -> u32; | |
100 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
101 | pub fn ldap_compareA(ld: *mut LDAP, dn: ::windows_sys::core::PCSTR, attr: ::windows_sys::core::PCSTR, value: ::windows_sys::core::PCSTR) -> u32; | |
102 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
103 | pub fn ldap_compareW(ld: *mut LDAP, dn: ::windows_sys::core::PCWSTR, attr: ::windows_sys::core::PCWSTR, value: ::windows_sys::core::PCWSTR) -> u32; | |
104 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] | |
105 | #[cfg(feature = "Win32_Foundation")] | |
106 | pub 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; | |
107 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] | |
108 | #[cfg(feature = "Win32_Foundation")] | |
109 | pub 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; | |
110 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] | |
111 | #[cfg(feature = "Win32_Foundation")] | |
112 | pub 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; | |
113 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] | |
114 | #[cfg(feature = "Win32_Foundation")] | |
115 | pub 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; | |
116 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] | |
117 | #[cfg(feature = "Win32_Foundation")] | |
118 | pub 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; | |
119 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] | |
120 | #[cfg(feature = "Win32_Foundation")] | |
121 | pub 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; | |
122 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
123 | pub fn ldap_compare_s(ld: *mut LDAP, dn: ::windows_sys::core::PCSTR, attr: ::windows_sys::core::PCSTR, value: ::windows_sys::core::PCSTR) -> u32; | |
124 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
125 | pub fn ldap_compare_sA(ld: *mut LDAP, dn: ::windows_sys::core::PCSTR, attr: ::windows_sys::core::PCSTR, value: ::windows_sys::core::PCSTR) -> u32; | |
126 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
127 | pub fn ldap_compare_sW(ld: *mut LDAP, dn: ::windows_sys::core::PCWSTR, attr: ::windows_sys::core::PCWSTR, value: ::windows_sys::core::PCWSTR) -> u32; | |
128 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] | |
129 | #[cfg(feature = "Win32_Foundation")] | |
130 | pub fn ldap_conn_from_msg(primaryconn: *mut LDAP, res: *mut LDAPMessage) -> *mut LDAP; | |
131 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
132 | pub fn ldap_connect(ld: *mut LDAP, timeout: *mut LDAP_TIMEVAL) -> u32; | |
133 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] | |
134 | #[cfg(feature = "Win32_Foundation")] | |
135 | pub fn ldap_control_free(control: *mut LDAPControlA) -> u32; | |
136 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] | |
137 | #[cfg(feature = "Win32_Foundation")] | |
138 | pub fn ldap_control_freeA(controls: *mut LDAPControlA) -> u32; | |
139 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] | |
140 | #[cfg(feature = "Win32_Foundation")] | |
141 | pub fn ldap_control_freeW(control: *mut LDAPControlW) -> u32; | |
142 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] | |
143 | #[cfg(feature = "Win32_Foundation")] | |
144 | pub fn ldap_controls_free(controls: *mut *mut LDAPControlA) -> u32; | |
145 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] | |
146 | #[cfg(feature = "Win32_Foundation")] | |
147 | pub fn ldap_controls_freeA(controls: *mut *mut LDAPControlA) -> u32; | |
148 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] | |
149 | #[cfg(feature = "Win32_Foundation")] | |
150 | pub fn ldap_controls_freeW(control: *mut *mut LDAPControlW) -> u32; | |
151 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] | |
152 | #[cfg(feature = "Win32_Foundation")] | |
153 | pub fn ldap_count_entries(ld: *mut LDAP, res: *mut LDAPMessage) -> u32; | |
154 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] | |
155 | #[cfg(feature = "Win32_Foundation")] | |
156 | pub fn ldap_count_references(ld: *mut LDAP, res: *mut LDAPMessage) -> u32; | |
157 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
158 | pub fn ldap_count_values(vals: *const ::windows_sys::core::PSTR) -> u32; | |
159 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
160 | pub fn ldap_count_valuesA(vals: *const ::windows_sys::core::PSTR) -> u32; | |
161 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
162 | pub fn ldap_count_valuesW(vals: *const ::windows_sys::core::PWSTR) -> u32; | |
163 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
164 | pub fn ldap_count_values_len(vals: *mut *mut LDAP_BERVAL) -> u32; | |
165 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] | |
166 | #[cfg(feature = "Win32_Foundation")] | |
167 | pub fn ldap_create_page_control(externalhandle: *mut LDAP, pagesize: u32, cookie: *mut LDAP_BERVAL, iscritical: u8, control: *mut *mut LDAPControlA) -> u32; | |
168 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] | |
169 | #[cfg(feature = "Win32_Foundation")] | |
170 | pub fn ldap_create_page_controlA(externalhandle: *mut LDAP, pagesize: u32, cookie: *mut LDAP_BERVAL, iscritical: u8, control: *mut *mut LDAPControlA) -> u32; | |
171 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] | |
172 | #[cfg(feature = "Win32_Foundation")] | |
173 | pub fn ldap_create_page_controlW(externalhandle: *mut LDAP, pagesize: u32, cookie: *mut LDAP_BERVAL, iscritical: u8, control: *mut *mut LDAPControlW) -> u32; | |
174 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] | |
175 | #[cfg(feature = "Win32_Foundation")] | |
176 | pub fn ldap_create_sort_control(externalhandle: *mut LDAP, sortkeys: *mut *mut LDAPSortKeyA, iscritical: u8, control: *mut *mut LDAPControlA) -> u32; | |
177 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] | |
178 | #[cfg(feature = "Win32_Foundation")] | |
179 | pub fn ldap_create_sort_controlA(externalhandle: *mut LDAP, sortkeys: *mut *mut LDAPSortKeyA, iscritical: u8, control: *mut *mut LDAPControlA) -> u32; | |
180 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] | |
181 | #[cfg(feature = "Win32_Foundation")] | |
182 | pub fn ldap_create_sort_controlW(externalhandle: *mut LDAP, sortkeys: *mut *mut LDAPSortKeyW, iscritical: u8, control: *mut *mut LDAPControlW) -> u32; | |
183 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] | |
184 | #[cfg(feature = "Win32_Foundation")] | |
185 | pub fn ldap_create_vlv_controlA(externalhandle: *mut LDAP, vlvinfo: *mut LDAPVLVInfo, iscritical: u8, control: *mut *mut LDAPControlA) -> i32; | |
186 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] | |
187 | #[cfg(feature = "Win32_Foundation")] | |
188 | pub fn ldap_create_vlv_controlW(externalhandle: *mut LDAP, vlvinfo: *mut LDAPVLVInfo, iscritical: u8, control: *mut *mut LDAPControlW) -> i32; | |
189 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
190 | pub fn ldap_delete(ld: *mut LDAP, dn: ::windows_sys::core::PCSTR) -> u32; | |
191 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
192 | pub fn ldap_deleteA(ld: *mut LDAP, dn: ::windows_sys::core::PCSTR) -> u32; | |
193 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
194 | pub fn ldap_deleteW(ld: *mut LDAP, dn: ::windows_sys::core::PCWSTR) -> u32; | |
195 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] | |
196 | #[cfg(feature = "Win32_Foundation")] | |
197 | pub fn ldap_delete_ext(ld: *mut LDAP, dn: ::windows_sys::core::PCSTR, servercontrols: *mut *mut LDAPControlA, clientcontrols: *mut *mut LDAPControlA, messagenumber: *mut u32) -> u32; | |
198 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] | |
199 | #[cfg(feature = "Win32_Foundation")] | |
200 | pub fn ldap_delete_extA(ld: *mut LDAP, dn: ::windows_sys::core::PCSTR, servercontrols: *mut *mut LDAPControlA, clientcontrols: *mut *mut LDAPControlA, messagenumber: *mut u32) -> u32; | |
201 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] | |
202 | #[cfg(feature = "Win32_Foundation")] | |
203 | pub fn ldap_delete_extW(ld: *mut LDAP, dn: ::windows_sys::core::PCWSTR, servercontrols: *mut *mut LDAPControlW, clientcontrols: *mut *mut LDAPControlW, messagenumber: *mut u32) -> u32; | |
204 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] | |
205 | #[cfg(feature = "Win32_Foundation")] | |
206 | pub fn ldap_delete_ext_s(ld: *mut LDAP, dn: ::windows_sys::core::PCSTR, servercontrols: *mut *mut LDAPControlA, clientcontrols: *mut *mut LDAPControlA) -> u32; | |
207 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] | |
208 | #[cfg(feature = "Win32_Foundation")] | |
209 | pub fn ldap_delete_ext_sA(ld: *mut LDAP, dn: ::windows_sys::core::PCSTR, servercontrols: *mut *mut LDAPControlA, clientcontrols: *mut *mut LDAPControlA) -> u32; | |
210 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] | |
211 | #[cfg(feature = "Win32_Foundation")] | |
212 | pub fn ldap_delete_ext_sW(ld: *mut LDAP, dn: ::windows_sys::core::PCWSTR, servercontrols: *mut *mut LDAPControlW, clientcontrols: *mut *mut LDAPControlW) -> u32; | |
213 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
214 | pub fn ldap_delete_s(ld: *mut LDAP, dn: ::windows_sys::core::PCSTR) -> u32; | |
215 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
216 | pub fn ldap_delete_sA(ld: *mut LDAP, dn: ::windows_sys::core::PCSTR) -> u32; | |
217 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
218 | pub fn ldap_delete_sW(ld: *mut LDAP, dn: ::windows_sys::core::PCWSTR) -> u32; | |
219 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
220 | pub fn ldap_dn2ufn(dn: ::windows_sys::core::PCSTR) -> ::windows_sys::core::PSTR; | |
221 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
222 | pub fn ldap_dn2ufnA(dn: ::windows_sys::core::PCSTR) -> ::windows_sys::core::PSTR; | |
223 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
224 | pub fn ldap_dn2ufnW(dn: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::PWSTR; | |
225 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] | |
226 | #[cfg(feature = "Win32_Foundation")] | |
227 | pub fn ldap_encode_sort_controlA(externalhandle: *mut LDAP, sortkeys: *mut *mut LDAPSortKeyA, control: *mut LDAPControlA, criticality: super::super::Foundation::BOOLEAN) -> u32; | |
228 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] | |
229 | #[cfg(feature = "Win32_Foundation")] | |
230 | pub fn ldap_encode_sort_controlW(externalhandle: *mut LDAP, sortkeys: *mut *mut LDAPSortKeyW, control: *mut LDAPControlW, criticality: super::super::Foundation::BOOLEAN) -> u32; | |
231 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
232 | pub fn ldap_err2string(err: u32) -> ::windows_sys::core::PSTR; | |
233 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
234 | pub fn ldap_err2stringA(err: u32) -> ::windows_sys::core::PSTR; | |
235 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
236 | pub fn ldap_err2stringW(err: u32) -> ::windows_sys::core::PWSTR; | |
237 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
238 | pub fn ldap_escape_filter_element(sourcefilterelement: ::windows_sys::core::PCSTR, sourcelength: u32, destfilterelement: ::windows_sys::core::PSTR, destlength: u32) -> u32; | |
239 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
240 | pub fn ldap_escape_filter_elementA(sourcefilterelement: ::windows_sys::core::PCSTR, sourcelength: u32, destfilterelement: ::windows_sys::core::PSTR, destlength: u32) -> u32; | |
241 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
242 | pub fn ldap_escape_filter_elementW(sourcefilterelement: ::windows_sys::core::PCSTR, sourcelength: u32, destfilterelement: ::windows_sys::core::PWSTR, destlength: u32) -> u32; | |
243 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
244 | pub fn ldap_explode_dn(dn: ::windows_sys::core::PCSTR, notypes: u32) -> *mut ::windows_sys::core::PSTR; | |
245 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
246 | pub fn ldap_explode_dnA(dn: ::windows_sys::core::PCSTR, notypes: u32) -> *mut ::windows_sys::core::PSTR; | |
247 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
248 | pub fn ldap_explode_dnW(dn: ::windows_sys::core::PCWSTR, notypes: u32) -> *mut ::windows_sys::core::PWSTR; | |
249 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] | |
250 | #[cfg(feature = "Win32_Foundation")] | |
251 | pub 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; | |
252 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] | |
253 | #[cfg(feature = "Win32_Foundation")] | |
254 | pub 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; | |
255 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] | |
256 | #[cfg(feature = "Win32_Foundation")] | |
257 | pub 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; | |
258 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] | |
259 | #[cfg(feature = "Win32_Foundation")] | |
260 | pub 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; | |
261 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] | |
262 | #[cfg(feature = "Win32_Foundation")] | |
263 | pub 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; | |
264 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] | |
265 | #[cfg(feature = "Win32_Foundation")] | |
266 | pub fn ldap_first_attribute(ld: *mut LDAP, entry: *mut LDAPMessage, ptr: *mut *mut BerElement) -> ::windows_sys::core::PSTR; | |
267 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] | |
268 | #[cfg(feature = "Win32_Foundation")] | |
269 | pub fn ldap_first_attributeA(ld: *mut LDAP, entry: *mut LDAPMessage, ptr: *mut *mut BerElement) -> ::windows_sys::core::PSTR; | |
270 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] | |
271 | #[cfg(feature = "Win32_Foundation")] | |
272 | pub fn ldap_first_attributeW(ld: *mut LDAP, entry: *mut LDAPMessage, ptr: *mut *mut BerElement) -> ::windows_sys::core::PWSTR; | |
273 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] | |
274 | #[cfg(feature = "Win32_Foundation")] | |
275 | pub fn ldap_first_entry(ld: *mut LDAP, res: *mut LDAPMessage) -> *mut LDAPMessage; | |
276 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] | |
277 | #[cfg(feature = "Win32_Foundation")] | |
278 | pub fn ldap_first_reference(ld: *mut LDAP, res: *mut LDAPMessage) -> *mut LDAPMessage; | |
279 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] | |
280 | #[cfg(feature = "Win32_Foundation")] | |
281 | pub fn ldap_free_controls(controls: *mut *mut LDAPControlA) -> u32; | |
282 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] | |
283 | #[cfg(feature = "Win32_Foundation")] | |
284 | pub fn ldap_free_controlsA(controls: *mut *mut LDAPControlA) -> u32; | |
285 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] | |
286 | #[cfg(feature = "Win32_Foundation")] | |
287 | pub fn ldap_free_controlsW(controls: *mut *mut LDAPControlW) -> u32; | |
288 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] | |
289 | #[cfg(feature = "Win32_Foundation")] | |
290 | pub fn ldap_get_dn(ld: *mut LDAP, entry: *mut LDAPMessage) -> ::windows_sys::core::PSTR; | |
291 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] | |
292 | #[cfg(feature = "Win32_Foundation")] | |
293 | pub fn ldap_get_dnA(ld: *mut LDAP, entry: *mut LDAPMessage) -> ::windows_sys::core::PSTR; | |
294 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] | |
295 | #[cfg(feature = "Win32_Foundation")] | |
296 | pub fn ldap_get_dnW(ld: *mut LDAP, entry: *mut LDAPMessage) -> ::windows_sys::core::PWSTR; | |
297 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
298 | pub fn ldap_get_next_page(externalhandle: *mut LDAP, searchhandle: *mut LDAPSearch, pagesize: u32, messagenumber: *mut u32) -> u32; | |
299 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] | |
300 | #[cfg(feature = "Win32_Foundation")] | |
301 | pub fn ldap_get_next_page_s(externalhandle: *mut LDAP, searchhandle: *mut LDAPSearch, timeout: *mut LDAP_TIMEVAL, pagesize: u32, totalcount: *mut u32, results: *mut *mut LDAPMessage) -> u32; | |
302 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
303 | pub fn ldap_get_option(ld: *mut LDAP, option: i32, outvalue: *mut ::core::ffi::c_void) -> u32; | |
304 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
305 | pub fn ldap_get_optionW(ld: *mut LDAP, option: i32, outvalue: *mut ::core::ffi::c_void) -> u32; | |
306 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] | |
307 | #[cfg(feature = "Win32_Foundation")] | |
308 | pub fn ldap_get_paged_count(externalhandle: *mut LDAP, searchblock: *mut LDAPSearch, totalcount: *mut u32, results: *mut LDAPMessage) -> u32; | |
309 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] | |
310 | #[cfg(feature = "Win32_Foundation")] | |
311 | pub fn ldap_get_values(ld: *mut LDAP, entry: *mut LDAPMessage, attr: ::windows_sys::core::PCSTR) -> *mut ::windows_sys::core::PSTR; | |
312 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] | |
313 | #[cfg(feature = "Win32_Foundation")] | |
314 | pub fn ldap_get_valuesA(ld: *mut LDAP, entry: *mut LDAPMessage, attr: ::windows_sys::core::PCSTR) -> *mut ::windows_sys::core::PSTR; | |
315 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] | |
316 | #[cfg(feature = "Win32_Foundation")] | |
317 | pub fn ldap_get_valuesW(ld: *mut LDAP, entry: *mut LDAPMessage, attr: ::windows_sys::core::PCWSTR) -> *mut ::windows_sys::core::PWSTR; | |
318 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] | |
319 | #[cfg(feature = "Win32_Foundation")] | |
320 | pub fn ldap_get_values_len(externalhandle: *mut LDAP, message: *mut LDAPMessage, attr: ::windows_sys::core::PCSTR) -> *mut *mut LDAP_BERVAL; | |
321 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] | |
322 | #[cfg(feature = "Win32_Foundation")] | |
323 | pub fn ldap_get_values_lenA(externalhandle: *mut LDAP, message: *mut LDAPMessage, attr: ::windows_sys::core::PCSTR) -> *mut *mut LDAP_BERVAL; | |
324 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] | |
325 | #[cfg(feature = "Win32_Foundation")] | |
326 | pub fn ldap_get_values_lenW(externalhandle: *mut LDAP, message: *mut LDAPMessage, attr: ::windows_sys::core::PCWSTR) -> *mut *mut LDAP_BERVAL; | |
327 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
328 | pub fn ldap_init(hostname: ::windows_sys::core::PCSTR, portnumber: u32) -> *mut LDAP; | |
329 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
330 | pub fn ldap_initA(hostname: ::windows_sys::core::PCSTR, portnumber: u32) -> *mut LDAP; | |
331 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
332 | pub fn ldap_initW(hostname: ::windows_sys::core::PCWSTR, portnumber: u32) -> *mut LDAP; | |
333 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
334 | pub fn ldap_memfree(block: ::windows_sys::core::PCSTR); | |
335 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
336 | pub fn ldap_memfreeA(block: ::windows_sys::core::PCSTR); | |
337 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
338 | pub fn ldap_memfreeW(block: ::windows_sys::core::PCWSTR); | |
339 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
340 | pub fn ldap_modify(ld: *mut LDAP, dn: ::windows_sys::core::PCSTR, mods: *mut *mut LDAPModA) -> u32; | |
341 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
342 | pub fn ldap_modifyA(ld: *mut LDAP, dn: ::windows_sys::core::PCSTR, mods: *mut *mut LDAPModA) -> u32; | |
343 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
344 | pub fn ldap_modifyW(ld: *mut LDAP, dn: ::windows_sys::core::PCWSTR, mods: *mut *mut LDAPModW) -> u32; | |
345 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] | |
346 | #[cfg(feature = "Win32_Foundation")] | |
347 | pub 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; | |
348 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] | |
349 | #[cfg(feature = "Win32_Foundation")] | |
350 | pub 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; | |
351 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] | |
352 | #[cfg(feature = "Win32_Foundation")] | |
353 | pub 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; | |
354 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] | |
355 | #[cfg(feature = "Win32_Foundation")] | |
356 | pub 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; | |
357 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] | |
358 | #[cfg(feature = "Win32_Foundation")] | |
359 | pub 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; | |
360 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] | |
361 | #[cfg(feature = "Win32_Foundation")] | |
362 | pub 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; | |
363 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
364 | pub fn ldap_modify_s(ld: *mut LDAP, dn: ::windows_sys::core::PCSTR, mods: *mut *mut LDAPModA) -> u32; | |
365 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
366 | pub fn ldap_modify_sA(ld: *mut LDAP, dn: ::windows_sys::core::PCSTR, mods: *mut *mut LDAPModA) -> u32; | |
367 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
368 | pub fn ldap_modify_sW(ld: *mut LDAP, dn: ::windows_sys::core::PCWSTR, mods: *mut *mut LDAPModW) -> u32; | |
369 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
370 | pub fn ldap_modrdn(externalhandle: *mut LDAP, distinguishedname: ::windows_sys::core::PCSTR, newdistinguishedname: ::windows_sys::core::PCSTR) -> u32; | |
371 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
372 | pub fn ldap_modrdn2(externalhandle: *mut LDAP, distinguishedname: ::windows_sys::core::PCSTR, newdistinguishedname: ::windows_sys::core::PCSTR, deleteoldrdn: i32) -> u32; | |
373 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
374 | pub fn ldap_modrdn2A(externalhandle: *mut LDAP, distinguishedname: ::windows_sys::core::PCSTR, newdistinguishedname: ::windows_sys::core::PCSTR, deleteoldrdn: i32) -> u32; | |
375 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
376 | pub fn ldap_modrdn2W(externalhandle: *mut LDAP, distinguishedname: ::windows_sys::core::PCWSTR, newdistinguishedname: ::windows_sys::core::PCWSTR, deleteoldrdn: i32) -> u32; | |
377 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
378 | pub fn ldap_modrdn2_s(externalhandle: *mut LDAP, distinguishedname: ::windows_sys::core::PCSTR, newdistinguishedname: ::windows_sys::core::PCSTR, deleteoldrdn: i32) -> u32; | |
379 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
380 | pub fn ldap_modrdn2_sA(externalhandle: *mut LDAP, distinguishedname: ::windows_sys::core::PCSTR, newdistinguishedname: ::windows_sys::core::PCSTR, deleteoldrdn: i32) -> u32; | |
381 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
382 | pub fn ldap_modrdn2_sW(externalhandle: *mut LDAP, distinguishedname: ::windows_sys::core::PCWSTR, newdistinguishedname: ::windows_sys::core::PCWSTR, deleteoldrdn: i32) -> u32; | |
383 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
384 | pub fn ldap_modrdnA(externalhandle: *mut LDAP, distinguishedname: ::windows_sys::core::PCSTR, newdistinguishedname: ::windows_sys::core::PCSTR) -> u32; | |
385 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
386 | pub fn ldap_modrdnW(externalhandle: *mut LDAP, distinguishedname: ::windows_sys::core::PCWSTR, newdistinguishedname: ::windows_sys::core::PCWSTR) -> u32; | |
387 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
388 | pub fn ldap_modrdn_s(externalhandle: *mut LDAP, distinguishedname: ::windows_sys::core::PCSTR, newdistinguishedname: ::windows_sys::core::PCSTR) -> u32; | |
389 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
390 | pub fn ldap_modrdn_sA(externalhandle: *mut LDAP, distinguishedname: ::windows_sys::core::PCSTR, newdistinguishedname: ::windows_sys::core::PCSTR) -> u32; | |
391 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
392 | pub fn ldap_modrdn_sW(externalhandle: *mut LDAP, distinguishedname: ::windows_sys::core::PCWSTR, newdistinguishedname: ::windows_sys::core::PCWSTR) -> u32; | |
393 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] | |
394 | #[cfg(feature = "Win32_Foundation")] | |
395 | pub fn ldap_msgfree(res: *mut LDAPMessage) -> u32; | |
396 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] | |
397 | #[cfg(feature = "Win32_Foundation")] | |
398 | pub fn ldap_next_attribute(ld: *mut LDAP, entry: *mut LDAPMessage, ptr: *mut BerElement) -> ::windows_sys::core::PSTR; | |
399 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] | |
400 | #[cfg(feature = "Win32_Foundation")] | |
401 | pub fn ldap_next_attributeA(ld: *mut LDAP, entry: *mut LDAPMessage, ptr: *mut BerElement) -> ::windows_sys::core::PSTR; | |
402 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] | |
403 | #[cfg(feature = "Win32_Foundation")] | |
404 | pub fn ldap_next_attributeW(ld: *mut LDAP, entry: *mut LDAPMessage, ptr: *mut BerElement) -> ::windows_sys::core::PWSTR; | |
405 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] | |
406 | #[cfg(feature = "Win32_Foundation")] | |
407 | pub fn ldap_next_entry(ld: *mut LDAP, entry: *mut LDAPMessage) -> *mut LDAPMessage; | |
408 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] | |
409 | #[cfg(feature = "Win32_Foundation")] | |
410 | pub fn ldap_next_reference(ld: *mut LDAP, entry: *mut LDAPMessage) -> *mut LDAPMessage; | |
411 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
412 | pub fn ldap_open(hostname: ::windows_sys::core::PCSTR, portnumber: u32) -> *mut LDAP; | |
413 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
414 | pub fn ldap_openA(hostname: ::windows_sys::core::PCSTR, portnumber: u32) -> *mut LDAP; | |
415 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
416 | pub fn ldap_openW(hostname: ::windows_sys::core::PCWSTR, portnumber: u32) -> *mut LDAP; | |
417 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] | |
418 | #[cfg(feature = "Win32_Foundation")] | |
419 | pub 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; | |
420 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] | |
421 | #[cfg(feature = "Win32_Foundation")] | |
422 | pub 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; | |
423 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] | |
424 | #[cfg(feature = "Win32_Foundation")] | |
425 | pub fn ldap_parse_page_control(externalhandle: *mut LDAP, servercontrols: *mut *mut LDAPControlA, totalcount: *mut u32, cookie: *mut *mut LDAP_BERVAL) -> u32; | |
426 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] | |
427 | #[cfg(feature = "Win32_Foundation")] | |
428 | pub fn ldap_parse_page_controlA(externalhandle: *mut LDAP, servercontrols: *mut *mut LDAPControlA, totalcount: *mut u32, cookie: *mut *mut LDAP_BERVAL) -> u32; | |
429 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] | |
430 | #[cfg(feature = "Win32_Foundation")] | |
431 | pub fn ldap_parse_page_controlW(externalhandle: *mut LDAP, servercontrols: *mut *mut LDAPControlW, totalcount: *mut u32, cookie: *mut *mut LDAP_BERVAL) -> u32; | |
432 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] | |
433 | #[cfg(feature = "Win32_Foundation")] | |
434 | pub fn ldap_parse_reference(connection: *mut LDAP, resultmessage: *mut LDAPMessage, referrals: *mut *mut ::windows_sys::core::PSTR) -> u32; | |
435 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] | |
436 | #[cfg(feature = "Win32_Foundation")] | |
437 | pub fn ldap_parse_referenceA(connection: *mut LDAP, resultmessage: *mut LDAPMessage, referrals: *mut *mut ::windows_sys::core::PSTR) -> u32; | |
438 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] | |
439 | #[cfg(feature = "Win32_Foundation")] | |
440 | pub fn ldap_parse_referenceW(connection: *mut LDAP, resultmessage: *mut LDAPMessage, referrals: *mut *mut ::windows_sys::core::PWSTR) -> u32; | |
441 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] | |
442 | #[cfg(feature = "Win32_Foundation")] | |
443 | pub 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; | |
444 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] | |
445 | #[cfg(feature = "Win32_Foundation")] | |
446 | pub 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; | |
447 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] | |
448 | #[cfg(feature = "Win32_Foundation")] | |
449 | pub 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; | |
450 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] | |
451 | #[cfg(feature = "Win32_Foundation")] | |
452 | pub fn ldap_parse_sort_control(externalhandle: *mut LDAP, control: *mut *mut LDAPControlA, result: *mut u32, attribute: *mut ::windows_sys::core::PSTR) -> u32; | |
453 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] | |
454 | #[cfg(feature = "Win32_Foundation")] | |
455 | pub fn ldap_parse_sort_controlA(externalhandle: *mut LDAP, control: *mut *mut LDAPControlA, result: *mut u32, attribute: *mut ::windows_sys::core::PSTR) -> u32; | |
456 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] | |
457 | #[cfg(feature = "Win32_Foundation")] | |
458 | pub fn ldap_parse_sort_controlW(externalhandle: *mut LDAP, control: *mut *mut LDAPControlW, result: *mut u32, attribute: *mut ::windows_sys::core::PWSTR) -> u32; | |
459 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] | |
460 | #[cfg(feature = "Win32_Foundation")] | |
461 | pub 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; | |
462 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] | |
463 | #[cfg(feature = "Win32_Foundation")] | |
464 | pub 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; | |
465 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
466 | pub fn ldap_perror(ld: *mut LDAP, msg: ::windows_sys::core::PCSTR); | |
467 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] | |
468 | #[cfg(feature = "Win32_Foundation")] | |
469 | pub 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; | |
470 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] | |
471 | #[cfg(feature = "Win32_Foundation")] | |
472 | pub 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; | |
473 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] | |
474 | #[cfg(feature = "Win32_Foundation")] | |
475 | pub 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; | |
476 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] | |
477 | #[cfg(feature = "Win32_Foundation")] | |
478 | pub 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; | |
479 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] | |
480 | #[cfg(feature = "Win32_Foundation")] | |
481 | pub 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; | |
482 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] | |
483 | #[cfg(feature = "Win32_Foundation")] | |
484 | pub 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; | |
485 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] | |
486 | #[cfg(feature = "Win32_Foundation")] | |
487 | pub fn ldap_result(ld: *mut LDAP, msgid: u32, all: u32, timeout: *const LDAP_TIMEVAL, res: *mut *mut LDAPMessage) -> u32; | |
488 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] | |
489 | #[cfg(feature = "Win32_Foundation")] | |
490 | pub fn ldap_result2error(ld: *mut LDAP, res: *mut LDAPMessage, freeit: u32) -> u32; | |
491 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] | |
492 | #[cfg(feature = "Win32_Foundation")] | |
493 | pub 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; | |
494 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] | |
495 | #[cfg(feature = "Win32_Foundation")] | |
496 | pub 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; | |
497 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] | |
498 | #[cfg(feature = "Win32_Foundation")] | |
499 | pub 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; | |
500 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] | |
501 | #[cfg(feature = "Win32_Foundation")] | |
502 | pub 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; | |
503 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
504 | pub 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; | |
505 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
506 | pub 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; | |
507 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
508 | pub 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; | |
509 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
510 | pub fn ldap_search_abandon_page(externalhandle: *mut LDAP, searchblock: *mut LDAPSearch) -> u32; | |
511 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] | |
512 | #[cfg(feature = "Win32_Foundation")] | |
513 | pub 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; | |
514 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] | |
515 | #[cfg(feature = "Win32_Foundation")] | |
516 | pub 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; | |
517 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] | |
518 | #[cfg(feature = "Win32_Foundation")] | |
519 | pub 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; | |
520 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] | |
521 | #[cfg(feature = "Win32_Foundation")] | |
522 | pub 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; | |
523 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] | |
524 | #[cfg(feature = "Win32_Foundation")] | |
525 | pub 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; | |
526 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] | |
527 | #[cfg(feature = "Win32_Foundation")] | |
528 | pub 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; | |
529 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] | |
530 | #[cfg(feature = "Win32_Foundation")] | |
531 | pub 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) -> *mut LDAPSearch; | |
532 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] | |
533 | #[cfg(feature = "Win32_Foundation")] | |
534 | pub 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) -> *mut LDAPSearch; | |
535 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] | |
536 | #[cfg(feature = "Win32_Foundation")] | |
537 | pub 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) -> *mut LDAPSearch; | |
538 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] | |
539 | #[cfg(feature = "Win32_Foundation")] | |
540 | pub 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; | |
541 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] | |
542 | #[cfg(feature = "Win32_Foundation")] | |
543 | pub 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; | |
544 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] | |
545 | #[cfg(feature = "Win32_Foundation")] | |
546 | pub 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; | |
547 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] | |
548 | #[cfg(feature = "Win32_Foundation")] | |
549 | pub 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; | |
550 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] | |
551 | #[cfg(feature = "Win32_Foundation")] | |
552 | pub 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; | |
553 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] | |
554 | #[cfg(feature = "Win32_Foundation")] | |
555 | pub 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; | |
556 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
557 | pub fn ldap_set_dbg_flags(newflags: u32) -> u32; | |
558 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
559 | pub fn ldap_set_dbg_routine(debugprintroutine: DBGPRINT); | |
560 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
561 | pub fn ldap_set_option(ld: *mut LDAP, option: i32, invalue: *const ::core::ffi::c_void) -> u32; | |
562 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
563 | pub fn ldap_set_optionW(ld: *mut LDAP, option: i32, invalue: *const ::core::ffi::c_void) -> u32; | |
564 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
565 | pub fn ldap_simple_bind(ld: *mut LDAP, dn: ::windows_sys::core::PCSTR, passwd: ::windows_sys::core::PCSTR) -> u32; | |
566 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
567 | pub fn ldap_simple_bindA(ld: *mut LDAP, dn: ::windows_sys::core::PCSTR, passwd: ::windows_sys::core::PCSTR) -> u32; | |
568 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
569 | pub fn ldap_simple_bindW(ld: *mut LDAP, dn: ::windows_sys::core::PCWSTR, passwd: ::windows_sys::core::PCWSTR) -> u32; | |
570 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
571 | pub fn ldap_simple_bind_s(ld: *mut LDAP, dn: ::windows_sys::core::PCSTR, passwd: ::windows_sys::core::PCSTR) -> u32; | |
572 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
573 | pub fn ldap_simple_bind_sA(ld: *mut LDAP, dn: ::windows_sys::core::PCSTR, passwd: ::windows_sys::core::PCSTR) -> u32; | |
574 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
575 | pub fn ldap_simple_bind_sW(ld: *mut LDAP, dn: ::windows_sys::core::PCWSTR, passwd: ::windows_sys::core::PCWSTR) -> u32; | |
576 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
577 | pub fn ldap_sslinit(hostname: ::windows_sys::core::PCSTR, portnumber: u32, secure: i32) -> *mut LDAP; | |
578 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
579 | pub fn ldap_sslinitA(hostname: ::windows_sys::core::PCSTR, portnumber: u32, secure: i32) -> *mut LDAP; | |
580 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
581 | pub fn ldap_sslinitW(hostname: ::windows_sys::core::PCWSTR, portnumber: u32, secure: i32) -> *mut LDAP; | |
582 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] | |
583 | #[cfg(feature = "Win32_Foundation")] | |
584 | pub fn ldap_start_tls_sA(externalhandle: *mut LDAP, serverreturnvalue: *mut u32, result: *mut *mut LDAPMessage, servercontrols: *mut *mut LDAPControlA, clientcontrols: *mut *mut LDAPControlA) -> u32; | |
585 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] | |
586 | #[cfg(feature = "Win32_Foundation")] | |
587 | pub fn ldap_start_tls_sW(externalhandle: *mut LDAP, serverreturnvalue: *mut u32, result: *mut *mut LDAPMessage, servercontrols: *mut *mut LDAPControlW, clientcontrols: *mut *mut LDAPControlW) -> u32; | |
588 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] | |
589 | #[cfg(feature = "Win32_Foundation")] | |
590 | pub fn ldap_startup(version: *mut LDAP_VERSION_INFO, instance: *mut super::super::Foundation::HANDLE) -> u32; | |
591 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] | |
592 | #[cfg(feature = "Win32_Foundation")] | |
593 | pub fn ldap_stop_tls_s(externalhandle: *mut LDAP) -> super::super::Foundation::BOOLEAN; | |
594 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
595 | pub fn ldap_ufn2dn(ufn: ::windows_sys::core::PCSTR, pdn: *mut ::windows_sys::core::PSTR) -> u32; | |
596 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
597 | pub fn ldap_ufn2dnA(ufn: ::windows_sys::core::PCSTR, pdn: *mut ::windows_sys::core::PSTR) -> u32; | |
598 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
599 | pub fn ldap_ufn2dnW(ufn: ::windows_sys::core::PCWSTR, pdn: *mut ::windows_sys::core::PWSTR) -> u32; | |
600 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
601 | pub fn ldap_unbind(ld: *mut LDAP) -> u32; | |
602 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
603 | pub fn ldap_unbind_s(ld: *mut LDAP) -> u32; | |
604 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
605 | pub fn ldap_value_free(vals: *const ::windows_sys::core::PSTR) -> u32; | |
606 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
607 | pub fn ldap_value_freeA(vals: *const ::windows_sys::core::PSTR) -> u32; | |
608 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
609 | pub fn ldap_value_freeW(vals: *const ::windows_sys::core::PWSTR) -> u32; | |
610 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
611 | pub fn ldap_value_free_len(vals: *mut *mut LDAP_BERVAL) -> u32; | |
612 | } | |
613 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
614 | pub const LAPI_MAJOR_VER1: u32 = 1u32; | |
615 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
616 | pub const LAPI_MINOR_VER1: u32 = 1u32; | |
617 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
618 | pub const LBER_DEFAULT: i32 = -1i32; | |
619 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
620 | pub const LBER_ERROR: i32 = -1i32; | |
621 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
622 | pub const LBER_TRANSLATE_STRINGS: u32 = 4u32; | |
623 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
624 | pub const LBER_USE_DER: u32 = 1u32; | |
625 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
626 | pub const LBER_USE_INDEFINITE_LEN: u32 = 2u32; | |
627 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
628 | pub const LDAP_ABANDON_CMD: i32 = 80i32; | |
629 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
630 | pub const LDAP_ADD_CMD: i32 = 104i32; | |
631 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
632 | pub const LDAP_API_FEATURE_VIRTUAL_LIST_VIEW: u32 = 1001u32; | |
633 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
634 | pub const LDAP_API_INFO_VERSION: u32 = 1u32; | |
635 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
636 | pub const LDAP_API_VERSION: u32 = 2004u32; | |
637 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
638 | pub const LDAP_AUTH_OTHERKIND: i32 = 134i32; | |
639 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
640 | pub const LDAP_AUTH_SASL: i32 = 131i32; | |
641 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
642 | pub const LDAP_AUTH_SIMPLE: i32 = 128i32; | |
643 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
644 | pub const LDAP_BIND_CMD: i32 = 96i32; | |
645 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
646 | pub const LDAP_CAP_ACTIVE_DIRECTORY_ADAM_OID: &str = "1.2.840.113556.1.4.1851"; | |
647 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
648 | pub const LDAP_CAP_ACTIVE_DIRECTORY_ADAM_OID_W: &str = "1.2.840.113556.1.4.1851"; | |
649 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
650 | pub const LDAP_CAP_ACTIVE_DIRECTORY_LDAP_INTEG_OID: &str = "1.2.840.113556.1.4.1791"; | |
651 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
652 | pub const LDAP_CAP_ACTIVE_DIRECTORY_LDAP_INTEG_OID_W: &str = "1.2.840.113556.1.4.1791"; | |
653 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
654 | pub const LDAP_CAP_ACTIVE_DIRECTORY_OID: &str = "1.2.840.113556.1.4.800"; | |
655 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
656 | pub const LDAP_CAP_ACTIVE_DIRECTORY_OID_W: &str = "1.2.840.113556.1.4.800"; | |
657 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
658 | pub const LDAP_CAP_ACTIVE_DIRECTORY_PARTIAL_SECRETS_OID: &str = "1.2.840.113556.1.4.1920"; | |
659 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
660 | pub const LDAP_CAP_ACTIVE_DIRECTORY_PARTIAL_SECRETS_OID_W: &str = "1.2.840.113556.1.4.1920"; | |
661 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
662 | pub const LDAP_CAP_ACTIVE_DIRECTORY_V51_OID: &str = "1.2.840.113556.1.4.1670"; | |
663 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
664 | pub const LDAP_CAP_ACTIVE_DIRECTORY_V51_OID_W: &str = "1.2.840.113556.1.4.1670"; | |
665 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
666 | pub const LDAP_CAP_ACTIVE_DIRECTORY_V60_OID: &str = "1.2.840.113556.1.4.1935"; | |
667 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
668 | pub const LDAP_CAP_ACTIVE_DIRECTORY_V60_OID_W: &str = "1.2.840.113556.1.4.1935"; | |
669 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
670 | pub const LDAP_CAP_ACTIVE_DIRECTORY_V61_OID: &str = "1.2.840.113556.1.4.1935"; | |
671 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
672 | pub const LDAP_CAP_ACTIVE_DIRECTORY_V61_OID_W: &str = "1.2.840.113556.1.4.1935"; | |
673 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
674 | pub const LDAP_CAP_ACTIVE_DIRECTORY_V61_R2_OID: &str = "1.2.840.113556.1.4.2080"; | |
675 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
676 | pub const LDAP_CAP_ACTIVE_DIRECTORY_V61_R2_OID_W: &str = "1.2.840.113556.1.4.2080"; | |
677 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
678 | pub const LDAP_CAP_ACTIVE_DIRECTORY_W8_OID: &str = "1.2.840.113556.1.4.2237"; | |
679 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
680 | pub const LDAP_CAP_ACTIVE_DIRECTORY_W8_OID_W: &str = "1.2.840.113556.1.4.2237"; | |
681 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
682 | pub const LDAP_CHASE_EXTERNAL_REFERRALS: u32 = 64u32; | |
683 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
684 | pub const LDAP_CHASE_SUBORDINATE_REFERRALS: u32 = 32u32; | |
685 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
686 | pub const LDAP_COMPARE_CMD: i32 = 110i32; | |
687 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
688 | pub const LDAP_CONTROL_REFERRALS: &str = "1.2.840.113556.1.4.616"; | |
689 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
690 | pub const LDAP_CONTROL_REFERRALS_W: &str = "1.2.840.113556.1.4.616"; | |
691 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
692 | pub const LDAP_CONTROL_VLVREQUEST: &str = "2.16.840.1.113730.3.4.9"; | |
693 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
694 | pub const LDAP_CONTROL_VLVREQUEST_W: &str = "2.16.840.1.113730.3.4.9"; | |
695 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
696 | pub const LDAP_CONTROL_VLVRESPONSE: &str = "2.16.840.1.113730.3.4.10"; | |
697 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
698 | pub const LDAP_CONTROL_VLVRESPONSE_W: &str = "2.16.840.1.113730.3.4.10"; | |
699 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
700 | pub const LDAP_DELETE_CMD: i32 = 74i32; | |
701 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
702 | pub const LDAP_DEREF_ALWAYS: u32 = 3u32; | |
703 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
704 | pub const LDAP_DEREF_FINDING: u32 = 2u32; | |
705 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
706 | pub const LDAP_DEREF_NEVER: u32 = 0u32; | |
707 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
708 | pub const LDAP_DEREF_SEARCHING: u32 = 1u32; | |
709 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
710 | pub const LDAP_DIRSYNC_ANCESTORS_FIRST_ORDER: u32 = 2048u32; | |
711 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
712 | pub const LDAP_DIRSYNC_INCREMENTAL_VALUES: u32 = 2147483648u32; | |
713 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
714 | pub const LDAP_DIRSYNC_OBJECT_SECURITY: u32 = 1u32; | |
715 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
716 | pub const LDAP_DIRSYNC_PUBLIC_DATA_ONLY: u32 = 8192u32; | |
717 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
718 | pub const LDAP_DIRSYNC_ROPAS_DATA_ONLY: u32 = 1073741824u32; | |
719 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
720 | pub const LDAP_EXTENDED_CMD: i32 = 119i32; | |
721 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
722 | pub const LDAP_FEATURE_INFO_VERSION: u32 = 1u32; | |
723 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
724 | pub const LDAP_FILTER_AND: u32 = 160u32; | |
725 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
726 | pub const LDAP_FILTER_APPROX: u32 = 168u32; | |
727 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
728 | pub const LDAP_FILTER_EQUALITY: u32 = 163u32; | |
729 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
730 | pub const LDAP_FILTER_EXTENSIBLE: u32 = 169u32; | |
731 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
732 | pub const LDAP_FILTER_GE: u32 = 165u32; | |
733 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
734 | pub const LDAP_FILTER_LE: u32 = 166u32; | |
735 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
736 | pub const LDAP_FILTER_NOT: u32 = 162u32; | |
737 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
738 | pub const LDAP_FILTER_OR: u32 = 161u32; | |
739 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
740 | pub const LDAP_FILTER_PRESENT: u32 = 135u32; | |
741 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
742 | pub const LDAP_FILTER_SUBSTRINGS: u32 = 164u32; | |
743 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
744 | pub const LDAP_GC_PORT: u32 = 3268u32; | |
745 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
746 | pub const LDAP_INVALID_CMD: u32 = 255u32; | |
747 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
748 | pub const LDAP_INVALID_RES: u32 = 255u32; | |
749 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
750 | pub const LDAP_MATCHING_RULE_BIT_AND: &str = "1.2.840.113556.1.4.803"; | |
751 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
752 | pub const LDAP_MATCHING_RULE_BIT_AND_W: &str = "1.2.840.113556.1.4.803"; | |
753 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
754 | pub const LDAP_MATCHING_RULE_BIT_OR: &str = "1.2.840.113556.1.4.804"; | |
755 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
756 | pub const LDAP_MATCHING_RULE_BIT_OR_W: &str = "1.2.840.113556.1.4.804"; | |
757 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
758 | pub const LDAP_MATCHING_RULE_DN_BINARY_COMPLEX: &str = "1.2.840.113556.1.4.2253"; | |
759 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
760 | pub const LDAP_MATCHING_RULE_DN_BINARY_COMPLEX_W: &str = "1.2.840.113556.1.4.2253"; | |
761 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
762 | pub const LDAP_MATCHING_RULE_TRANSITIVE_EVALUATION: &str = "1.2.840.113556.1.4.1941"; | |
763 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
764 | pub const LDAP_MATCHING_RULE_TRANSITIVE_EVALUATION_W: &str = "1.2.840.113556.1.4.1941"; | |
765 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
766 | pub const LDAP_MODIFY_CMD: i32 = 102i32; | |
767 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
768 | pub const LDAP_MODRDN_CMD: i32 = 108i32; | |
769 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
770 | pub const LDAP_MOD_ADD: u32 = 0u32; | |
771 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
772 | pub const LDAP_MOD_BVALUES: u32 = 128u32; | |
773 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
774 | pub const LDAP_MOD_DELETE: u32 = 1u32; | |
775 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
776 | pub const LDAP_MOD_REPLACE: u32 = 2u32; | |
777 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
778 | pub const LDAP_MSG_ALL: u32 = 1u32; | |
779 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
780 | pub const LDAP_MSG_ONE: u32 = 0u32; | |
781 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
782 | pub const LDAP_MSG_RECEIVED: u32 = 2u32; | |
783 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
784 | pub const LDAP_NO_LIMIT: u32 = 0u32; | |
785 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
786 | pub const LDAP_OPATT_ABANDON_REPL: &str = "abandonReplication"; | |
787 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
788 | pub const LDAP_OPATT_ABANDON_REPL_W: &str = "abandonReplication"; | |
789 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
790 | pub const LDAP_OPATT_BECOME_DOM_MASTER: &str = "becomeDomainMaster"; | |
791 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
792 | pub const LDAP_OPATT_BECOME_DOM_MASTER_W: &str = "becomeDomainMaster"; | |
793 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
794 | pub const LDAP_OPATT_BECOME_PDC: &str = "becomePdc"; | |
795 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
796 | pub const LDAP_OPATT_BECOME_PDC_W: &str = "becomePdc"; | |
797 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
798 | pub const LDAP_OPATT_BECOME_RID_MASTER: &str = "becomeRidMaster"; | |
799 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
800 | pub const LDAP_OPATT_BECOME_RID_MASTER_W: &str = "becomeRidMaster"; | |
801 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
802 | pub const LDAP_OPATT_BECOME_SCHEMA_MASTER: &str = "becomeSchemaMaster"; | |
803 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
804 | pub const LDAP_OPATT_BECOME_SCHEMA_MASTER_W: &str = "becomeSchemaMaster"; | |
805 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
806 | pub const LDAP_OPATT_CONFIG_NAMING_CONTEXT: &str = "configurationNamingContext"; | |
807 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
808 | pub const LDAP_OPATT_CONFIG_NAMING_CONTEXT_W: &str = "configurationNamingContext"; | |
809 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
810 | pub const LDAP_OPATT_CURRENT_TIME: &str = "currentTime"; | |
811 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
812 | pub const LDAP_OPATT_CURRENT_TIME_W: &str = "currentTime"; | |
813 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
814 | pub const LDAP_OPATT_DEFAULT_NAMING_CONTEXT: &str = "defaultNamingContext"; | |
815 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
816 | pub const LDAP_OPATT_DEFAULT_NAMING_CONTEXT_W: &str = "defaultNamingContext"; | |
817 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
818 | pub const LDAP_OPATT_DNS_HOST_NAME: &str = "dnsHostName"; | |
819 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
820 | pub const LDAP_OPATT_DNS_HOST_NAME_W: &str = "dnsHostName"; | |
821 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
822 | pub const LDAP_OPATT_DO_GARBAGE_COLLECTION: &str = "doGarbageCollection"; | |
823 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
824 | pub const LDAP_OPATT_DO_GARBAGE_COLLECTION_W: &str = "doGarbageCollection"; | |
825 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
826 | pub const LDAP_OPATT_DS_SERVICE_NAME: &str = "dsServiceName"; | |
827 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
828 | pub const LDAP_OPATT_DS_SERVICE_NAME_W: &str = "dsServiceName"; | |
829 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
830 | pub const LDAP_OPATT_FIXUP_INHERITANCE: &str = "fixupInheritance"; | |
831 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
832 | pub const LDAP_OPATT_FIXUP_INHERITANCE_W: &str = "fixupInheritance"; | |
833 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
834 | pub const LDAP_OPATT_HIGHEST_COMMITTED_USN: &str = "highestCommitedUSN"; | |
835 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
836 | pub const LDAP_OPATT_HIGHEST_COMMITTED_USN_W: &str = "highestCommitedUSN"; | |
837 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
838 | pub const LDAP_OPATT_INVALIDATE_RID_POOL: &str = "invalidateRidPool"; | |
839 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
840 | pub const LDAP_OPATT_INVALIDATE_RID_POOL_W: &str = "invalidateRidPool"; | |
841 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
842 | pub const LDAP_OPATT_LDAP_SERVICE_NAME: &str = "ldapServiceName"; | |
843 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
844 | pub const LDAP_OPATT_LDAP_SERVICE_NAME_W: &str = "ldapServiceName"; | |
845 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
846 | pub const LDAP_OPATT_NAMING_CONTEXTS: &str = "namingContexts"; | |
847 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
848 | pub const LDAP_OPATT_NAMING_CONTEXTS_W: &str = "namingContexts"; | |
849 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
850 | pub const LDAP_OPATT_RECALC_HIERARCHY: &str = "recalcHierarchy"; | |
851 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
852 | pub const LDAP_OPATT_RECALC_HIERARCHY_W: &str = "recalcHierarchy"; | |
853 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
854 | pub const LDAP_OPATT_ROOT_DOMAIN_NAMING_CONTEXT: &str = "rootDomainNamingContext"; | |
855 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
856 | pub const LDAP_OPATT_ROOT_DOMAIN_NAMING_CONTEXT_W: &str = "rootDomainNamingContext"; | |
857 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
858 | pub const LDAP_OPATT_SCHEMA_NAMING_CONTEXT: &str = "schemaNamingContext"; | |
859 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
860 | pub const LDAP_OPATT_SCHEMA_NAMING_CONTEXT_W: &str = "schemaNamingContext"; | |
861 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
862 | pub const LDAP_OPATT_SCHEMA_UPDATE_NOW: &str = "schemaUpdateNow"; | |
863 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
864 | pub const LDAP_OPATT_SCHEMA_UPDATE_NOW_W: &str = "schemaUpdateNow"; | |
865 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
866 | pub const LDAP_OPATT_SERVER_NAME: &str = "serverName"; | |
867 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
868 | pub const LDAP_OPATT_SERVER_NAME_W: &str = "serverName"; | |
869 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
870 | pub const LDAP_OPATT_SUBSCHEMA_SUBENTRY: &str = "subschemaSubentry"; | |
871 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
872 | pub const LDAP_OPATT_SUBSCHEMA_SUBENTRY_W: &str = "subschemaSubentry"; | |
873 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
874 | pub const LDAP_OPATT_SUPPORTED_CAPABILITIES: &str = "supportedCapabilities"; | |
875 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
876 | pub const LDAP_OPATT_SUPPORTED_CAPABILITIES_W: &str = "supportedCapabilities"; | |
877 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
878 | pub const LDAP_OPATT_SUPPORTED_CONTROL: &str = "supportedControl"; | |
879 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
880 | pub const LDAP_OPATT_SUPPORTED_CONTROL_W: &str = "supportedControl"; | |
881 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
882 | pub const LDAP_OPATT_SUPPORTED_LDAP_POLICIES: &str = "supportedLDAPPolicies"; | |
883 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
884 | pub const LDAP_OPATT_SUPPORTED_LDAP_POLICIES_W: &str = "supportedLDAPPolicies"; | |
885 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
886 | pub const LDAP_OPATT_SUPPORTED_LDAP_VERSION: &str = "supportedLDAPVersion"; | |
887 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
888 | pub const LDAP_OPATT_SUPPORTED_LDAP_VERSION_W: &str = "supportedLDAPVersion"; | |
889 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
890 | pub const LDAP_OPATT_SUPPORTED_SASL_MECHANISM: &str = "supportedSASLMechanisms"; | |
891 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
892 | pub const LDAP_OPATT_SUPPORTED_SASL_MECHANISM_W: &str = "supportedSASLMechanisms"; | |
893 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
894 | pub const LDAP_OPT_API_FEATURE_INFO: u32 = 21u32; | |
895 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
896 | pub const LDAP_OPT_API_INFO: u32 = 0u32; | |
897 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
898 | pub const LDAP_OPT_AREC_EXCLUSIVE: u32 = 152u32; | |
899 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
900 | pub const LDAP_OPT_AUTO_RECONNECT: u32 = 145u32; | |
901 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
902 | pub const LDAP_OPT_CACHE_ENABLE: u32 = 15u32; | |
903 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
904 | pub const LDAP_OPT_CACHE_FN_PTRS: u32 = 13u32; | |
905 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
906 | pub const LDAP_OPT_CACHE_STRATEGY: u32 = 14u32; | |
907 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
908 | pub const LDAP_OPT_CHASE_REFERRALS: u32 = 2u32; | |
909 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
910 | pub const LDAP_OPT_CLIENT_CERTIFICATE: u32 = 128u32; | |
911 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
912 | pub const LDAP_OPT_DEREF: u32 = 2u32; | |
913 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
914 | pub const LDAP_OPT_DESC: u32 = 1u32; | |
915 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
916 | pub const LDAP_OPT_DNS: u32 = 1u32; | |
917 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
918 | pub const LDAP_OPT_DNSDOMAIN_NAME: u32 = 59u32; | |
919 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
920 | pub const LDAP_OPT_ENCRYPT: u32 = 150u32; | |
921 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
922 | pub const LDAP_OPT_ERROR_NUMBER: u32 = 49u32; | |
923 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
924 | pub const LDAP_OPT_ERROR_STRING: u32 = 50u32; | |
925 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
926 | pub const LDAP_OPT_FAST_CONCURRENT_BIND: u32 = 65u32; | |
927 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
928 | pub const LDAP_OPT_GETDSNAME_FLAGS: u32 = 61u32; | |
929 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
930 | pub const LDAP_OPT_HOST_NAME: u32 = 48u32; | |
931 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
932 | pub const LDAP_OPT_HOST_REACHABLE: u32 = 62u32; | |
933 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
934 | pub const LDAP_OPT_IO_FN_PTRS: u32 = 11u32; | |
935 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
936 | pub const LDAP_OPT_PING_KEEP_ALIVE: u32 = 54u32; | |
937 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
938 | pub const LDAP_OPT_PING_LIMIT: u32 = 56u32; | |
939 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
940 | pub const LDAP_OPT_PING_WAIT_TIME: u32 = 55u32; | |
941 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
942 | pub const LDAP_OPT_PROMPT_CREDENTIALS: u32 = 63u32; | |
943 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
944 | pub const LDAP_OPT_PROTOCOL_VERSION: u32 = 17u32; | |
945 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
946 | pub const LDAP_OPT_REBIND_ARG: u32 = 7u32; | |
947 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
948 | pub const LDAP_OPT_REBIND_FN: u32 = 6u32; | |
949 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
950 | pub const LDAP_OPT_REFERRALS: u32 = 8u32; | |
951 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
952 | pub const LDAP_OPT_REFERRAL_CALLBACK: u32 = 112u32; | |
953 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
954 | pub const LDAP_OPT_REFERRAL_HOP_LIMIT: u32 = 16u32; | |
955 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
956 | pub const LDAP_OPT_REF_DEREF_CONN_PER_MSG: u32 = 148u32; | |
957 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
958 | pub const LDAP_OPT_RESTART: u32 = 9u32; | |
959 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
960 | pub const LDAP_OPT_RETURN_REFS: u32 = 4u32; | |
961 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
962 | pub const LDAP_OPT_ROOTDSE_CACHE: u32 = 154u32; | |
963 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
964 | pub const LDAP_OPT_SASL_METHOD: u32 = 151u32; | |
965 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
966 | pub const LDAP_OPT_SCH_FLAGS: u32 = 67u32; | |
967 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
968 | pub const LDAP_OPT_SECURITY_CONTEXT: u32 = 153u32; | |
969 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
970 | pub const LDAP_OPT_SEND_TIMEOUT: u32 = 66u32; | |
971 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
972 | pub const LDAP_OPT_SERVER_CERTIFICATE: u32 = 129u32; | |
973 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
974 | pub const LDAP_OPT_SERVER_ERROR: u32 = 51u32; | |
975 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
976 | pub const LDAP_OPT_SERVER_EXT_ERROR: u32 = 52u32; | |
977 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
978 | pub const LDAP_OPT_SIGN: u32 = 149u32; | |
979 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
980 | pub const LDAP_OPT_SIZELIMIT: u32 = 3u32; | |
981 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
982 | pub const LDAP_OPT_SOCKET_BIND_ADDRESSES: u32 = 68u32; | |
983 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
984 | pub const LDAP_OPT_SSL: u32 = 10u32; | |
985 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
986 | pub const LDAP_OPT_SSL_INFO: u32 = 147u32; | |
987 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
988 | pub const LDAP_OPT_SSPI_FLAGS: u32 = 146u32; | |
989 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
990 | pub const LDAP_OPT_TCP_KEEPALIVE: u32 = 64u32; | |
991 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
992 | pub const LDAP_OPT_THREAD_FN_PTRS: u32 = 5u32; | |
993 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
994 | pub const LDAP_OPT_TIMELIMIT: u32 = 4u32; | |
995 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
996 | pub const LDAP_OPT_TLS: u32 = 10u32; | |
997 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
998 | pub const LDAP_OPT_TLS_INFO: u32 = 147u32; | |
999 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1000 | pub const LDAP_OPT_VERSION: u32 = 17u32; | |
1001 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1002 | pub const LDAP_PAGED_RESULT_OID_STRING: &str = "1.2.840.113556.1.4.319"; | |
1003 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1004 | pub const LDAP_PAGED_RESULT_OID_STRING_W: &str = "1.2.840.113556.1.4.319"; | |
1005 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1006 | pub const LDAP_POLICYHINT_APPLY_FULLPWDPOLICY: u32 = 1u32; | |
1007 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1008 | pub const LDAP_PORT: u32 = 389u32; | |
1009 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1010 | pub const LDAP_RES_ADD: i32 = 105i32; | |
1011 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1012 | pub const LDAP_RES_ANY: i32 = -1i32; | |
1013 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1014 | pub const LDAP_RES_BIND: i32 = 97i32; | |
1015 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1016 | pub const LDAP_RES_COMPARE: i32 = 111i32; | |
1017 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1018 | pub const LDAP_RES_DELETE: i32 = 107i32; | |
1019 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1020 | pub const LDAP_RES_EXTENDED: i32 = 120i32; | |
1021 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1022 | pub const LDAP_RES_MODIFY: i32 = 103i32; | |
1023 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1024 | pub const LDAP_RES_MODRDN: i32 = 109i32; | |
1025 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1026 | pub const LDAP_RES_REFERRAL: i32 = 115i32; | |
1027 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1028 | pub const LDAP_RES_SEARCH_ENTRY: i32 = 100i32; | |
1029 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1030 | pub const LDAP_RES_SEARCH_RESULT: i32 = 101i32; | |
1031 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1032 | pub const LDAP_RES_SESSION: i32 = 114i32; | |
1033 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1034 | pub const LDAP_SCOPE_BASE: u32 = 0u32; | |
1035 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1036 | pub const LDAP_SCOPE_ONELEVEL: u32 = 1u32; | |
1037 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1038 | pub const LDAP_SCOPE_SUBTREE: u32 = 2u32; | |
1039 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1040 | pub const LDAP_SEARCH_CMD: i32 = 99i32; | |
1041 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1042 | pub const LDAP_SEARCH_HINT_INDEX_ONLY_OID: &str = "1.2.840.113556.1.4.2207"; | |
1043 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1044 | pub const LDAP_SEARCH_HINT_INDEX_ONLY_OID_W: &str = "1.2.840.113556.1.4.2207"; | |
1045 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1046 | pub const LDAP_SEARCH_HINT_REQUIRED_INDEX_OID: &str = "1.2.840.113556.1.4.2306"; | |
1047 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1048 | pub const LDAP_SEARCH_HINT_REQUIRED_INDEX_OID_W: &str = "1.2.840.113556.1.4.2306"; | |
1049 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1050 | pub const LDAP_SEARCH_HINT_SOFT_SIZE_LIMIT_OID: &str = "1.2.840.113556.1.4.2210"; | |
1051 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1052 | pub const LDAP_SEARCH_HINT_SOFT_SIZE_LIMIT_OID_W: &str = "1.2.840.113556.1.4.2210"; | |
1053 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1054 | pub const LDAP_SERVER_ASQ_OID: &str = "1.2.840.113556.1.4.1504"; | |
1055 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1056 | pub const LDAP_SERVER_ASQ_OID_W: &str = "1.2.840.113556.1.4.1504"; | |
1057 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1058 | pub const LDAP_SERVER_BATCH_REQUEST_OID: &str = "1.2.840.113556.1.4.2212"; | |
1059 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1060 | pub const LDAP_SERVER_BATCH_REQUEST_OID_W: &str = "1.2.840.113556.1.4.2212"; | |
1061 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1062 | pub const LDAP_SERVER_BYPASS_QUOTA_OID: &str = "1.2.840.113556.1.4.2256"; | |
1063 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1064 | pub const LDAP_SERVER_BYPASS_QUOTA_OID_W: &str = "1.2.840.113556.1.4.2256"; | |
1065 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1066 | pub const LDAP_SERVER_CROSSDOM_MOVE_TARGET_OID: &str = "1.2.840.113556.1.4.521"; | |
1067 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1068 | pub const LDAP_SERVER_CROSSDOM_MOVE_TARGET_OID_W: &str = "1.2.840.113556.1.4.521"; | |
1069 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1070 | pub const LDAP_SERVER_DIRSYNC_EX_OID: &str = "1.2.840.113556.1.4.2090"; | |
1071 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1072 | pub const LDAP_SERVER_DIRSYNC_EX_OID_W: &str = "1.2.840.113556.1.4.2090"; | |
1073 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1074 | pub const LDAP_SERVER_DIRSYNC_OID: &str = "1.2.840.113556.1.4.841"; | |
1075 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1076 | pub const LDAP_SERVER_DIRSYNC_OID_W: &str = "1.2.840.113556.1.4.841"; | |
1077 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1078 | pub const LDAP_SERVER_DN_INPUT_OID: &str = "1.2.840.113556.1.4.2026"; | |
1079 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1080 | pub const LDAP_SERVER_DN_INPUT_OID_W: &str = "1.2.840.113556.1.4.2026"; | |
1081 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1082 | pub const LDAP_SERVER_DOMAIN_SCOPE_OID: &str = "1.2.840.113556.1.4.1339"; | |
1083 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1084 | pub const LDAP_SERVER_DOMAIN_SCOPE_OID_W: &str = "1.2.840.113556.1.4.1339"; | |
1085 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1086 | pub const LDAP_SERVER_EXPECTED_ENTRY_COUNT_OID: &str = "1.2.840.113556.1.4.2211"; | |
1087 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1088 | pub const LDAP_SERVER_EXPECTED_ENTRY_COUNT_OID_W: &str = "1.2.840.113556.1.4.2211"; | |
1089 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1090 | pub const LDAP_SERVER_EXTENDED_DN_OID: &str = "1.2.840.113556.1.4.529"; | |
1091 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1092 | pub const LDAP_SERVER_EXTENDED_DN_OID_W: &str = "1.2.840.113556.1.4.529"; | |
1093 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1094 | pub const LDAP_SERVER_FAST_BIND_OID: &str = "1.2.840.113556.1.4.1781"; | |
1095 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1096 | pub const LDAP_SERVER_FAST_BIND_OID_W: &str = "1.2.840.113556.1.4.1781"; | |
1097 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1098 | pub const LDAP_SERVER_FORCE_UPDATE_OID: &str = "1.2.840.113556.1.4.1974"; | |
1099 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1100 | pub const LDAP_SERVER_FORCE_UPDATE_OID_W: &str = "1.2.840.113556.1.4.1974"; | |
1101 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1102 | pub const LDAP_SERVER_GET_STATS_OID: &str = "1.2.840.113556.1.4.970"; | |
1103 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1104 | pub const LDAP_SERVER_GET_STATS_OID_W: &str = "1.2.840.113556.1.4.970"; | |
1105 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1106 | pub const LDAP_SERVER_LAZY_COMMIT_OID: &str = "1.2.840.113556.1.4.619"; | |
1107 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1108 | pub const LDAP_SERVER_LAZY_COMMIT_OID_W: &str = "1.2.840.113556.1.4.619"; | |
1109 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1110 | pub const LDAP_SERVER_LINK_TTL_OID: &str = "1.2.840.113556.1.4.2309"; | |
1111 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1112 | pub const LDAP_SERVER_LINK_TTL_OID_W: &str = "1.2.840.113556.1.4.2309"; | |
1113 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1114 | pub const LDAP_SERVER_NOTIFICATION_OID: &str = "1.2.840.113556.1.4.528"; | |
1115 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1116 | pub const LDAP_SERVER_NOTIFICATION_OID_W: &str = "1.2.840.113556.1.4.528"; | |
1117 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1118 | pub const LDAP_SERVER_PERMISSIVE_MODIFY_OID: &str = "1.2.840.113556.1.4.1413"; | |
1119 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1120 | pub const LDAP_SERVER_PERMISSIVE_MODIFY_OID_W: &str = "1.2.840.113556.1.4.1413"; | |
1121 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1122 | pub const LDAP_SERVER_POLICY_HINTS_DEPRECATED_OID: &str = "1.2.840.113556.1.4.2066"; | |
1123 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1124 | pub const LDAP_SERVER_POLICY_HINTS_DEPRECATED_OID_W: &str = "1.2.840.113556.1.4.2066"; | |
1125 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1126 | pub const LDAP_SERVER_POLICY_HINTS_OID: &str = "1.2.840.113556.1.4.2239"; | |
1127 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1128 | pub const LDAP_SERVER_POLICY_HINTS_OID_W: &str = "1.2.840.113556.1.4.2239"; | |
1129 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1130 | pub const LDAP_SERVER_QUOTA_CONTROL_OID: &str = "1.2.840.113556.1.4.1852"; | |
1131 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1132 | pub const LDAP_SERVER_QUOTA_CONTROL_OID_W: &str = "1.2.840.113556.1.4.1852"; | |
1133 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1134 | pub const LDAP_SERVER_RANGE_OPTION_OID: &str = "1.2.840.113556.1.4.802"; | |
1135 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1136 | pub const LDAP_SERVER_RANGE_OPTION_OID_W: &str = "1.2.840.113556.1.4.802"; | |
1137 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1138 | pub const LDAP_SERVER_RANGE_RETRIEVAL_NOERR_OID: &str = "1.2.840.113556.1.4.1948"; | |
1139 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1140 | pub const LDAP_SERVER_RANGE_RETRIEVAL_NOERR_OID_W: &str = "1.2.840.113556.1.4.1948"; | |
1141 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1142 | pub const LDAP_SERVER_RESP_SORT_OID: &str = "1.2.840.113556.1.4.474"; | |
1143 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1144 | pub const LDAP_SERVER_RESP_SORT_OID_W: &str = "1.2.840.113556.1.4.474"; | |
1145 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1146 | pub const LDAP_SERVER_SD_FLAGS_OID: &str = "1.2.840.113556.1.4.801"; | |
1147 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1148 | pub const LDAP_SERVER_SD_FLAGS_OID_W: &str = "1.2.840.113556.1.4.801"; | |
1149 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1150 | pub const LDAP_SERVER_SEARCH_HINTS_OID: &str = "1.2.840.113556.1.4.2206"; | |
1151 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1152 | pub const LDAP_SERVER_SEARCH_HINTS_OID_W: &str = "1.2.840.113556.1.4.2206"; | |
1153 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1154 | pub const LDAP_SERVER_SEARCH_OPTIONS_OID: &str = "1.2.840.113556.1.4.1340"; | |
1155 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1156 | pub const LDAP_SERVER_SEARCH_OPTIONS_OID_W: &str = "1.2.840.113556.1.4.1340"; | |
1157 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1158 | pub const LDAP_SERVER_SET_OWNER_OID: &str = "1.2.840.113556.1.4.2255"; | |
1159 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1160 | pub const LDAP_SERVER_SET_OWNER_OID_W: &str = "1.2.840.113556.1.4.2255"; | |
1161 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1162 | pub const LDAP_SERVER_SHOW_DEACTIVATED_LINK_OID: &str = "1.2.840.113556.1.4.2065"; | |
1163 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1164 | pub const LDAP_SERVER_SHOW_DEACTIVATED_LINK_OID_W: &str = "1.2.840.113556.1.4.2065"; | |
1165 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1166 | pub const LDAP_SERVER_SHOW_DELETED_OID: &str = "1.2.840.113556.1.4.417"; | |
1167 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1168 | pub const LDAP_SERVER_SHOW_DELETED_OID_W: &str = "1.2.840.113556.1.4.417"; | |
1169 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1170 | pub const LDAP_SERVER_SHOW_RECYCLED_OID: &str = "1.2.840.113556.1.4.2064"; | |
1171 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1172 | pub const LDAP_SERVER_SHOW_RECYCLED_OID_W: &str = "1.2.840.113556.1.4.2064"; | |
1173 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1174 | pub const LDAP_SERVER_SHUTDOWN_NOTIFY_OID: &str = "1.2.840.113556.1.4.1907"; | |
1175 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1176 | pub const LDAP_SERVER_SHUTDOWN_NOTIFY_OID_W: &str = "1.2.840.113556.1.4.1907"; | |
1177 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1178 | pub const LDAP_SERVER_SORT_OID: &str = "1.2.840.113556.1.4.473"; | |
1179 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1180 | pub const LDAP_SERVER_SORT_OID_W: &str = "1.2.840.113556.1.4.473"; | |
1181 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1182 | pub const LDAP_SERVER_TREE_DELETE_EX_OID: &str = "1.2.840.113556.1.4.2204"; | |
1183 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1184 | pub const LDAP_SERVER_TREE_DELETE_EX_OID_W: &str = "1.2.840.113556.1.4.2204"; | |
1185 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1186 | pub const LDAP_SERVER_TREE_DELETE_OID: &str = "1.2.840.113556.1.4.805"; | |
1187 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1188 | pub const LDAP_SERVER_TREE_DELETE_OID_W: &str = "1.2.840.113556.1.4.805"; | |
1189 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1190 | pub const LDAP_SERVER_UPDATE_STATS_OID: &str = "1.2.840.113556.1.4.2205"; | |
1191 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1192 | pub const LDAP_SERVER_UPDATE_STATS_OID_W: &str = "1.2.840.113556.1.4.2205"; | |
1193 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1194 | pub const LDAP_SERVER_VERIFY_NAME_OID: &str = "1.2.840.113556.1.4.1338"; | |
1195 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1196 | pub const LDAP_SERVER_VERIFY_NAME_OID_W: &str = "1.2.840.113556.1.4.1338"; | |
1197 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1198 | pub const LDAP_SERVER_WHO_AM_I_OID: &str = "1.3.6.1.4.1.4203.1.11.3"; | |
1199 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1200 | pub const LDAP_SERVER_WHO_AM_I_OID_W: &str = "1.3.6.1.4.1.4203.1.11.3"; | |
1201 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1202 | pub const LDAP_SESSION_CMD: i32 = 113i32; | |
1203 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1204 | pub const LDAP_SSL_GC_PORT: u32 = 3269u32; | |
1205 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1206 | pub const LDAP_SSL_PORT: u32 = 636u32; | |
1207 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1208 | pub const LDAP_START_TLS_OID: &str = "1.3.6.1.4.1.1466.20037"; | |
1209 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1210 | pub const LDAP_START_TLS_OID_W: &str = "1.3.6.1.4.1.1466.20037"; | |
1211 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1212 | pub const LDAP_SUBSTRING_ANY: i32 = 129i32; | |
1213 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1214 | pub const LDAP_SUBSTRING_FINAL: i32 = 130i32; | |
1215 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1216 | pub const LDAP_SUBSTRING_INITIAL: i32 = 128i32; | |
1217 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1218 | pub const LDAP_TTL_EXTENDED_OP_OID: &str = "1.3.6.1.4.1.1466.101.119.1"; | |
1219 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1220 | pub const LDAP_TTL_EXTENDED_OP_OID_W: &str = "1.3.6.1.4.1.1466.101.119.1"; | |
1221 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1222 | pub const LDAP_UNBIND_CMD: i32 = 66i32; | |
1223 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1224 | pub const LDAP_UNICODE: u32 = 1u32; | |
1225 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1226 | pub const LDAP_UPDATE_STATS_INVOCATIONID_OID: &str = "1.2.840.113556.1.4.2209"; | |
1227 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1228 | pub const LDAP_UPDATE_STATS_INVOCATIONID_OID_W: &str = "1.2.840.113556.1.4.2209"; | |
1229 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1230 | pub const LDAP_UPDATE_STATS_USN_OID: &str = "1.2.840.113556.1.4.2208"; | |
1231 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1232 | pub const LDAP_UPDATE_STATS_USN_OID_W: &str = "1.2.840.113556.1.4.2208"; | |
1233 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1234 | pub const LDAP_VENDOR_NAME: &str = "Microsoft Corporation."; | |
1235 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1236 | pub const LDAP_VENDOR_NAME_W: &str = "Microsoft Corporation."; | |
1237 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1238 | pub const LDAP_VENDOR_VERSION: u32 = 510u32; | |
1239 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1240 | pub const LDAP_VERSION: u32 = 2u32; | |
1241 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1242 | pub const LDAP_VERSION1: u32 = 1u32; | |
1243 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1244 | pub const LDAP_VERSION2: u32 = 2u32; | |
1245 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1246 | pub const LDAP_VERSION3: u32 = 3u32; | |
1247 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1248 | pub const LDAP_VERSION_MAX: u32 = 3u32; | |
1249 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1250 | pub const LDAP_VERSION_MIN: u32 = 2u32; | |
1251 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1252 | pub const LDAP_VLVINFO_VERSION: u32 = 1u32; | |
1253 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1254 | pub const SERVER_SEARCH_FLAG_DOMAIN_SCOPE: u32 = 1u32; | |
1255 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1256 | pub const SERVER_SEARCH_FLAG_PHANTOM_ROOT: u32 = 2u32; | |
1257 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1258 | pub type LDAP_RETCODE = i32; | |
1259 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1260 | pub const LDAP_SUCCESS: LDAP_RETCODE = 0i32; | |
1261 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1262 | pub const LDAP_OPERATIONS_ERROR: LDAP_RETCODE = 1i32; | |
1263 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1264 | pub const LDAP_PROTOCOL_ERROR: LDAP_RETCODE = 2i32; | |
1265 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1266 | pub const LDAP_TIMELIMIT_EXCEEDED: LDAP_RETCODE = 3i32; | |
1267 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1268 | pub const LDAP_SIZELIMIT_EXCEEDED: LDAP_RETCODE = 4i32; | |
1269 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1270 | pub const LDAP_COMPARE_FALSE: LDAP_RETCODE = 5i32; | |
1271 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1272 | pub const LDAP_COMPARE_TRUE: LDAP_RETCODE = 6i32; | |
1273 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1274 | pub const LDAP_AUTH_METHOD_NOT_SUPPORTED: LDAP_RETCODE = 7i32; | |
1275 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1276 | pub const LDAP_STRONG_AUTH_REQUIRED: LDAP_RETCODE = 8i32; | |
1277 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1278 | pub const LDAP_REFERRAL_V2: LDAP_RETCODE = 9i32; | |
1279 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1280 | pub const LDAP_PARTIAL_RESULTS: LDAP_RETCODE = 9i32; | |
1281 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1282 | pub const LDAP_REFERRAL: LDAP_RETCODE = 10i32; | |
1283 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1284 | pub const LDAP_ADMIN_LIMIT_EXCEEDED: LDAP_RETCODE = 11i32; | |
1285 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1286 | pub const LDAP_UNAVAILABLE_CRIT_EXTENSION: LDAP_RETCODE = 12i32; | |
1287 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1288 | pub const LDAP_CONFIDENTIALITY_REQUIRED: LDAP_RETCODE = 13i32; | |
1289 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1290 | pub const LDAP_SASL_BIND_IN_PROGRESS: LDAP_RETCODE = 14i32; | |
1291 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1292 | pub const LDAP_NO_SUCH_ATTRIBUTE: LDAP_RETCODE = 16i32; | |
1293 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1294 | pub const LDAP_UNDEFINED_TYPE: LDAP_RETCODE = 17i32; | |
1295 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1296 | pub const LDAP_INAPPROPRIATE_MATCHING: LDAP_RETCODE = 18i32; | |
1297 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1298 | pub const LDAP_CONSTRAINT_VIOLATION: LDAP_RETCODE = 19i32; | |
1299 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1300 | pub const LDAP_ATTRIBUTE_OR_VALUE_EXISTS: LDAP_RETCODE = 20i32; | |
1301 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1302 | pub const LDAP_INVALID_SYNTAX: LDAP_RETCODE = 21i32; | |
1303 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1304 | pub const LDAP_NO_SUCH_OBJECT: LDAP_RETCODE = 32i32; | |
1305 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1306 | pub const LDAP_ALIAS_PROBLEM: LDAP_RETCODE = 33i32; | |
1307 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1308 | pub const LDAP_INVALID_DN_SYNTAX: LDAP_RETCODE = 34i32; | |
1309 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1310 | pub const LDAP_IS_LEAF: LDAP_RETCODE = 35i32; | |
1311 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1312 | pub const LDAP_ALIAS_DEREF_PROBLEM: LDAP_RETCODE = 36i32; | |
1313 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1314 | pub const LDAP_INAPPROPRIATE_AUTH: LDAP_RETCODE = 48i32; | |
1315 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1316 | pub const LDAP_INVALID_CREDENTIALS: LDAP_RETCODE = 49i32; | |
1317 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1318 | pub const LDAP_INSUFFICIENT_RIGHTS: LDAP_RETCODE = 50i32; | |
1319 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1320 | pub const LDAP_BUSY: LDAP_RETCODE = 51i32; | |
1321 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1322 | pub const LDAP_UNAVAILABLE: LDAP_RETCODE = 52i32; | |
1323 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1324 | pub const LDAP_UNWILLING_TO_PERFORM: LDAP_RETCODE = 53i32; | |
1325 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1326 | pub const LDAP_LOOP_DETECT: LDAP_RETCODE = 54i32; | |
1327 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1328 | pub const LDAP_SORT_CONTROL_MISSING: LDAP_RETCODE = 60i32; | |
1329 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1330 | pub const LDAP_OFFSET_RANGE_ERROR: LDAP_RETCODE = 61i32; | |
1331 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1332 | pub const LDAP_NAMING_VIOLATION: LDAP_RETCODE = 64i32; | |
1333 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1334 | pub const LDAP_OBJECT_CLASS_VIOLATION: LDAP_RETCODE = 65i32; | |
1335 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1336 | pub const LDAP_NOT_ALLOWED_ON_NONLEAF: LDAP_RETCODE = 66i32; | |
1337 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1338 | pub const LDAP_NOT_ALLOWED_ON_RDN: LDAP_RETCODE = 67i32; | |
1339 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1340 | pub const LDAP_ALREADY_EXISTS: LDAP_RETCODE = 68i32; | |
1341 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1342 | pub const LDAP_NO_OBJECT_CLASS_MODS: LDAP_RETCODE = 69i32; | |
1343 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1344 | pub const LDAP_RESULTS_TOO_LARGE: LDAP_RETCODE = 70i32; | |
1345 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1346 | pub const LDAP_AFFECTS_MULTIPLE_DSAS: LDAP_RETCODE = 71i32; | |
1347 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1348 | pub const LDAP_VIRTUAL_LIST_VIEW_ERROR: LDAP_RETCODE = 76i32; | |
1349 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1350 | pub const LDAP_OTHER: LDAP_RETCODE = 80i32; | |
1351 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1352 | pub const LDAP_SERVER_DOWN: LDAP_RETCODE = 81i32; | |
1353 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1354 | pub const LDAP_LOCAL_ERROR: LDAP_RETCODE = 82i32; | |
1355 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1356 | pub const LDAP_ENCODING_ERROR: LDAP_RETCODE = 83i32; | |
1357 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1358 | pub const LDAP_DECODING_ERROR: LDAP_RETCODE = 84i32; | |
1359 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1360 | pub const LDAP_TIMEOUT: LDAP_RETCODE = 85i32; | |
1361 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1362 | pub const LDAP_AUTH_UNKNOWN: LDAP_RETCODE = 86i32; | |
1363 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1364 | pub const LDAP_FILTER_ERROR: LDAP_RETCODE = 87i32; | |
1365 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1366 | pub const LDAP_USER_CANCELLED: LDAP_RETCODE = 88i32; | |
1367 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1368 | pub const LDAP_PARAM_ERROR: LDAP_RETCODE = 89i32; | |
1369 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1370 | pub const LDAP_NO_MEMORY: LDAP_RETCODE = 90i32; | |
1371 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1372 | pub const LDAP_CONNECT_ERROR: LDAP_RETCODE = 91i32; | |
1373 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1374 | pub const LDAP_NOT_SUPPORTED: LDAP_RETCODE = 92i32; | |
1375 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1376 | pub const LDAP_NO_RESULTS_RETURNED: LDAP_RETCODE = 94i32; | |
1377 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1378 | pub const LDAP_CONTROL_NOT_FOUND: LDAP_RETCODE = 93i32; | |
1379 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1380 | pub const LDAP_MORE_RESULTS_TO_RETURN: LDAP_RETCODE = 95i32; | |
1381 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1382 | pub const LDAP_CLIENT_LOOP: LDAP_RETCODE = 96i32; | |
1383 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1384 | pub const LDAP_REFERRAL_LIMIT_EXCEEDED: LDAP_RETCODE = 97i32; | |
1385 | #[repr(C)] | |
1386 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1387 | pub struct BerElement { | |
1388 | pub opaque: ::windows_sys::core::PSTR, | |
1389 | } | |
1390 | impl ::core::marker::Copy for BerElement {} | |
1391 | impl ::core::clone::Clone for BerElement { | |
1392 | fn clone(&self) -> Self { | |
1393 | *self | |
1394 | } | |
1395 | } | |
1396 | #[repr(C)] | |
1397 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1398 | pub struct LDAP { | |
1399 | pub ld_sb: LDAP_0, | |
1400 | pub ld_host: ::windows_sys::core::PSTR, | |
1401 | pub ld_version: u32, | |
1402 | pub ld_lberoptions: u8, | |
1403 | pub ld_deref: u32, | |
1404 | pub ld_timelimit: u32, | |
1405 | pub ld_sizelimit: u32, | |
1406 | pub ld_errno: u32, | |
1407 | pub ld_matched: ::windows_sys::core::PSTR, | |
1408 | pub ld_error: ::windows_sys::core::PSTR, | |
1409 | pub ld_msgid: u32, | |
1410 | pub Reserved3: [u8; 25], | |
1411 | pub ld_cldaptries: u32, | |
1412 | pub ld_cldaptimeout: u32, | |
1413 | pub ld_refhoplimit: u32, | |
1414 | pub ld_options: u32, | |
1415 | } | |
1416 | impl ::core::marker::Copy for LDAP {} | |
1417 | impl ::core::clone::Clone for LDAP { | |
1418 | fn clone(&self) -> Self { | |
1419 | *self | |
1420 | } | |
1421 | } | |
1422 | #[repr(C)] | |
1423 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1424 | pub struct LDAP_0 { | |
1425 | pub sb_sd: usize, | |
1426 | pub Reserved1: [u8; 41], | |
1427 | pub sb_naddr: usize, | |
1428 | pub Reserved2: [u8; 24], | |
1429 | } | |
1430 | impl ::core::marker::Copy for LDAP_0 {} | |
1431 | impl ::core::clone::Clone for LDAP_0 { | |
1432 | fn clone(&self) -> Self { | |
1433 | *self | |
1434 | } | |
1435 | } | |
1436 | #[repr(C)] | |
1437 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1438 | pub struct LDAPAPIFeatureInfoA { | |
1439 | pub ldapaif_info_version: i32, | |
1440 | pub ldapaif_name: ::windows_sys::core::PSTR, | |
1441 | pub ldapaif_version: i32, | |
1442 | } | |
1443 | impl ::core::marker::Copy for LDAPAPIFeatureInfoA {} | |
1444 | impl ::core::clone::Clone for LDAPAPIFeatureInfoA { | |
1445 | fn clone(&self) -> Self { | |
1446 | *self | |
1447 | } | |
1448 | } | |
1449 | #[repr(C)] | |
1450 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1451 | pub struct LDAPAPIFeatureInfoW { | |
1452 | pub ldapaif_info_version: i32, | |
1453 | pub ldapaif_name: ::windows_sys::core::PWSTR, | |
1454 | pub ldapaif_version: i32, | |
1455 | } | |
1456 | impl ::core::marker::Copy for LDAPAPIFeatureInfoW {} | |
1457 | impl ::core::clone::Clone for LDAPAPIFeatureInfoW { | |
1458 | fn clone(&self) -> Self { | |
1459 | *self | |
1460 | } | |
1461 | } | |
1462 | #[repr(C)] | |
1463 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1464 | pub struct LDAPAPIInfoA { | |
1465 | pub ldapai_info_version: i32, | |
1466 | pub ldapai_api_version: i32, | |
1467 | pub ldapai_protocol_version: i32, | |
1468 | pub ldapai_extensions: *mut *mut i8, | |
1469 | pub ldapai_vendor_name: ::windows_sys::core::PSTR, | |
1470 | pub ldapai_vendor_version: i32, | |
1471 | } | |
1472 | impl ::core::marker::Copy for LDAPAPIInfoA {} | |
1473 | impl ::core::clone::Clone for LDAPAPIInfoA { | |
1474 | fn clone(&self) -> Self { | |
1475 | *self | |
1476 | } | |
1477 | } | |
1478 | #[repr(C)] | |
1479 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1480 | pub struct LDAPAPIInfoW { | |
1481 | pub ldapai_info_version: i32, | |
1482 | pub ldapai_api_version: i32, | |
1483 | pub ldapai_protocol_version: i32, | |
1484 | pub ldapai_extensions: *mut ::windows_sys::core::PWSTR, | |
1485 | pub ldapai_vendor_name: ::windows_sys::core::PWSTR, | |
1486 | pub ldapai_vendor_version: i32, | |
1487 | } | |
1488 | impl ::core::marker::Copy for LDAPAPIInfoW {} | |
1489 | impl ::core::clone::Clone for LDAPAPIInfoW { | |
1490 | fn clone(&self) -> Self { | |
1491 | *self | |
1492 | } | |
1493 | } | |
1494 | #[repr(C)] | |
1495 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] | |
1496 | #[cfg(feature = "Win32_Foundation")] | |
1497 | pub struct LDAPControlA { | |
1498 | pub ldctl_oid: ::windows_sys::core::PSTR, | |
1499 | pub ldctl_value: LDAP_BERVAL, | |
1500 | pub ldctl_iscritical: super::super::Foundation::BOOLEAN, | |
1501 | } | |
1502 | #[cfg(feature = "Win32_Foundation")] | |
1503 | impl ::core::marker::Copy for LDAPControlA {} | |
1504 | #[cfg(feature = "Win32_Foundation")] | |
1505 | impl ::core::clone::Clone for LDAPControlA { | |
1506 | fn clone(&self) -> Self { | |
1507 | *self | |
1508 | } | |
1509 | } | |
1510 | #[repr(C)] | |
1511 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] | |
1512 | #[cfg(feature = "Win32_Foundation")] | |
1513 | pub struct LDAPControlW { | |
1514 | pub ldctl_oid: ::windows_sys::core::PWSTR, | |
1515 | pub ldctl_value: LDAP_BERVAL, | |
1516 | pub ldctl_iscritical: super::super::Foundation::BOOLEAN, | |
1517 | } | |
1518 | #[cfg(feature = "Win32_Foundation")] | |
1519 | impl ::core::marker::Copy for LDAPControlW {} | |
1520 | #[cfg(feature = "Win32_Foundation")] | |
1521 | impl ::core::clone::Clone for LDAPControlW { | |
1522 | fn clone(&self) -> Self { | |
1523 | *self | |
1524 | } | |
1525 | } | |
1526 | #[repr(C)] | |
1527 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] | |
1528 | #[cfg(feature = "Win32_Foundation")] | |
1529 | pub struct LDAPMessage { | |
1530 | pub lm_msgid: u32, | |
1531 | pub lm_msgtype: u32, | |
1532 | pub lm_ber: *mut ::core::ffi::c_void, | |
1533 | pub lm_chain: *mut LDAPMessage, | |
1534 | pub lm_next: *mut LDAPMessage, | |
1535 | pub lm_time: u32, | |
1536 | pub Connection: *mut LDAP, | |
1537 | pub Request: *mut ::core::ffi::c_void, | |
1538 | pub lm_returncode: u32, | |
1539 | pub lm_referral: u16, | |
1540 | pub lm_chased: super::super::Foundation::BOOLEAN, | |
1541 | pub lm_eom: super::super::Foundation::BOOLEAN, | |
1542 | pub ConnectionReferenced: super::super::Foundation::BOOLEAN, | |
1543 | } | |
1544 | #[cfg(feature = "Win32_Foundation")] | |
1545 | impl ::core::marker::Copy for LDAPMessage {} | |
1546 | #[cfg(feature = "Win32_Foundation")] | |
1547 | impl ::core::clone::Clone for LDAPMessage { | |
1548 | fn clone(&self) -> Self { | |
1549 | *self | |
1550 | } | |
1551 | } | |
1552 | #[repr(C)] | |
1553 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1554 | pub struct LDAPModA { | |
1555 | pub mod_op: u32, | |
1556 | pub mod_type: ::windows_sys::core::PSTR, | |
1557 | pub mod_vals: LDAPModA_0, | |
1558 | } | |
1559 | impl ::core::marker::Copy for LDAPModA {} | |
1560 | impl ::core::clone::Clone for LDAPModA { | |
1561 | fn clone(&self) -> Self { | |
1562 | *self | |
1563 | } | |
1564 | } | |
1565 | #[repr(C)] | |
1566 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1567 | pub union LDAPModA_0 { | |
1568 | pub modv_strvals: *mut ::windows_sys::core::PSTR, | |
1569 | pub modv_bvals: *mut *mut LDAP_BERVAL, | |
1570 | } | |
1571 | impl ::core::marker::Copy for LDAPModA_0 {} | |
1572 | impl ::core::clone::Clone for LDAPModA_0 { | |
1573 | fn clone(&self) -> Self { | |
1574 | *self | |
1575 | } | |
1576 | } | |
1577 | #[repr(C)] | |
1578 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1579 | pub struct LDAPModW { | |
1580 | pub mod_op: u32, | |
1581 | pub mod_type: ::windows_sys::core::PWSTR, | |
1582 | pub mod_vals: LDAPModW_0, | |
1583 | } | |
1584 | impl ::core::marker::Copy for LDAPModW {} | |
1585 | impl ::core::clone::Clone for LDAPModW { | |
1586 | fn clone(&self) -> Self { | |
1587 | *self | |
1588 | } | |
1589 | } | |
1590 | #[repr(C)] | |
1591 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1592 | pub union LDAPModW_0 { | |
1593 | pub modv_strvals: *mut ::windows_sys::core::PWSTR, | |
1594 | pub modv_bvals: *mut *mut LDAP_BERVAL, | |
1595 | } | |
1596 | impl ::core::marker::Copy for LDAPModW_0 {} | |
1597 | impl ::core::clone::Clone for LDAPModW_0 { | |
1598 | fn clone(&self) -> Self { | |
1599 | *self | |
1600 | } | |
1601 | } | |
1602 | #[repr(C)] | |
1603 | pub struct LDAPSearch(pub u8); | |
1604 | #[repr(C)] | |
1605 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] | |
1606 | #[cfg(feature = "Win32_Foundation")] | |
1607 | pub struct LDAPSortKeyA { | |
1608 | pub sk_attrtype: ::windows_sys::core::PSTR, | |
1609 | pub sk_matchruleoid: ::windows_sys::core::PSTR, | |
1610 | pub sk_reverseorder: super::super::Foundation::BOOLEAN, | |
1611 | } | |
1612 | #[cfg(feature = "Win32_Foundation")] | |
1613 | impl ::core::marker::Copy for LDAPSortKeyA {} | |
1614 | #[cfg(feature = "Win32_Foundation")] | |
1615 | impl ::core::clone::Clone for LDAPSortKeyA { | |
1616 | fn clone(&self) -> Self { | |
1617 | *self | |
1618 | } | |
1619 | } | |
1620 | #[repr(C)] | |
1621 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] | |
1622 | #[cfg(feature = "Win32_Foundation")] | |
1623 | pub struct LDAPSortKeyW { | |
1624 | pub sk_attrtype: ::windows_sys::core::PWSTR, | |
1625 | pub sk_matchruleoid: ::windows_sys::core::PWSTR, | |
1626 | pub sk_reverseorder: super::super::Foundation::BOOLEAN, | |
1627 | } | |
1628 | #[cfg(feature = "Win32_Foundation")] | |
1629 | impl ::core::marker::Copy for LDAPSortKeyW {} | |
1630 | #[cfg(feature = "Win32_Foundation")] | |
1631 | impl ::core::clone::Clone for LDAPSortKeyW { | |
1632 | fn clone(&self) -> Self { | |
1633 | *self | |
1634 | } | |
1635 | } | |
1636 | #[repr(C)] | |
1637 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1638 | pub struct LDAPVLVInfo { | |
1639 | pub ldvlv_version: i32, | |
1640 | pub ldvlv_before_count: u32, | |
1641 | pub ldvlv_after_count: u32, | |
1642 | pub ldvlv_offset: u32, | |
1643 | pub ldvlv_count: u32, | |
1644 | pub ldvlv_attrvalue: *mut LDAP_BERVAL, | |
1645 | pub ldvlv_context: *mut LDAP_BERVAL, | |
1646 | pub ldvlv_extradata: *mut ::core::ffi::c_void, | |
1647 | } | |
1648 | impl ::core::marker::Copy for LDAPVLVInfo {} | |
1649 | impl ::core::clone::Clone for LDAPVLVInfo { | |
1650 | fn clone(&self) -> Self { | |
1651 | *self | |
1652 | } | |
1653 | } | |
1654 | #[repr(C)] | |
1655 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1656 | pub struct LDAP_BERVAL { | |
1657 | pub bv_len: u32, | |
1658 | pub bv_val: ::windows_sys::core::PSTR, | |
1659 | } | |
1660 | impl ::core::marker::Copy for LDAP_BERVAL {} | |
1661 | impl ::core::clone::Clone for LDAP_BERVAL { | |
1662 | fn clone(&self) -> Self { | |
1663 | *self | |
1664 | } | |
1665 | } | |
1666 | #[repr(C)] | |
1667 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] | |
1668 | #[cfg(feature = "Win32_Foundation")] | |
1669 | pub struct LDAP_REFERRAL_CALLBACK { | |
1670 | pub SizeOfCallbacks: u32, | |
1671 | pub QueryForConnection: QUERYFORCONNECTION, | |
1672 | pub NotifyRoutine: NOTIFYOFNEWCONNECTION, | |
1673 | pub DereferenceRoutine: DEREFERENCECONNECTION, | |
1674 | } | |
1675 | #[cfg(feature = "Win32_Foundation")] | |
1676 | impl ::core::marker::Copy for LDAP_REFERRAL_CALLBACK {} | |
1677 | #[cfg(feature = "Win32_Foundation")] | |
1678 | impl ::core::clone::Clone for LDAP_REFERRAL_CALLBACK { | |
1679 | fn clone(&self) -> Self { | |
1680 | *self | |
1681 | } | |
1682 | } | |
1683 | #[repr(C)] | |
1684 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1685 | pub struct LDAP_TIMEVAL { | |
1686 | pub tv_sec: i32, | |
1687 | pub tv_usec: i32, | |
1688 | } | |
1689 | impl ::core::marker::Copy for LDAP_TIMEVAL {} | |
1690 | impl ::core::clone::Clone for LDAP_TIMEVAL { | |
1691 | fn clone(&self) -> Self { | |
1692 | *self | |
1693 | } | |
1694 | } | |
1695 | #[repr(C)] | |
1696 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1697 | pub struct LDAP_VERSION_INFO { | |
1698 | pub lv_size: u32, | |
1699 | pub lv_major: u32, | |
1700 | pub lv_minor: u32, | |
1701 | } | |
1702 | impl ::core::marker::Copy for LDAP_VERSION_INFO {} | |
1703 | impl ::core::clone::Clone for LDAP_VERSION_INFO { | |
1704 | fn clone(&self) -> Self { | |
1705 | *self | |
1706 | } | |
1707 | } | |
1708 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1709 | pub type DBGPRINT = ::core::option::Option<unsafe extern "system" fn(format: ::windows_sys::core::PCSTR) -> u32>; | |
1710 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1711 | pub type DEREFERENCECONNECTION = ::core::option::Option<unsafe extern "system" fn(primaryconnection: *mut LDAP, connectiontodereference: *mut LDAP) -> u32>; | |
1712 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] | |
1713 | #[cfg(feature = "Win32_Foundation")] | |
1714 | 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>; | |
1715 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Cryptography\"`*"] | |
1716 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Authentication_Identity", feature = "Win32_Security_Cryptography"))] | |
1717 | 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>; | |
1718 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] | |
1719 | 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>; | |
1720 | #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`*"] | |
1721 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] | |
1722 | 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>; |