ldap_control_free function
The ldap_control_free function frees an LDAPControl structure.
Syntax
ULONG ldap_control_free( _In_ LDAPControl *Control );
Parameters
- Control [in]
-
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
|
Minimum supported client |
Windows Vista |
|---|---|
|
Minimum supported server |
Windows Server 2008 |
|
Header |
|
|
Library |
|
|
DLL |
|
|
Unicode and ANSI names |
ldap_control_freeW (Unicode) and ldap_control_freeA (ANSI) |
See also