Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The ldap_control_free function frees an LDAPControl structure.
Syntax
WINLDAPAPI ULONG LDAPAPI ldap_control_free(
[in] LDAPControlA *Control
);
Parameters
[in] Control
The LDAPControl structure to free.
Return value
If the function succeeds, LDAP_SUCCESS is returned.
If the function fails, an error code is returned. For more information, see Return Values.
Remarks
Use this function to free an LDAPControl structure previously allocated by an LDAP function call, such as one allocated by a call to ldap_create_page_control or ldap_create_vlv_control.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista |
Minimum supported server | Windows Server 2008 |
Target Platform | Windows |
Header | winldap.h |
Library | Wldap32.lib |
DLL | Wldap32.dll |