ldap_controls_free function
The ldap_controls_free function frees an array of LDAPControl structures.
Syntax
ULONG ldap_controls_free( _In_ LDAPControl **Controls );
Parameters
- Controls [in]
-
The array of LDAPControl structures 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 array of LDAPControl structures previously allocated by LDAP function calls, such as the array returned by ldap_parse_result.
Requirements
|
Minimum supported client |
Windows Vista |
|---|---|
|
Minimum supported server |
Windows Server 2008 |
|
Header |
|
|
Library |
|
|
DLL |
|
|
Unicode and ANSI names |
ldap_controls_freeW (Unicode) and ldap_controls_freeA (ANSI) |
See also