Esempio n. 1
0
                public void FromManaged(LdapReferralCallback managed)
                {
                    _managed = managed;
                    _native.sizeofcallback = sizeof(Native);
                    _native.query          = managed.query is not null?Marshal.GetFunctionPointerForDelegate(managed.query) : IntPtr.Zero;

                    _native.notify = managed.notify is not null?Marshal.GetFunctionPointerForDelegate(managed.notify) : IntPtr.Zero;

                    _native.dereference = managed.dereference is not null?Marshal.GetFunctionPointerForDelegate(managed.dereference) : IntPtr.Zero;
                }
Esempio n. 2
0
 public static partial int ldap_set_option_referral(ConnectionHandle ldapHandle, LdapOption option, ref LdapReferralCallback outValue);
Esempio n. 3
0
 public static extern int ldap_set_option_referral([In] ConnectionHandle ldapHandle, [In] LdapOption option, ref LdapReferralCallback outValue);