ldap_value_free_len function (winldap.h)

The ldap_value_free_len frees berval structures that were returned by ldap_get_values_len.

Syntax

WINLDAPAPI ULONG LDAPAPI ldap_value_free_len(
  [in] berval **vals
);

Parameters

[in] vals

The structure to free.

Return value

If the function succeeds, the return value is LDAP_SUCCESS.

If the function fails, it returns an error code. See Return Values for more information.

Remarks

Call ldap_value_free_len to free berval structures returned by ldap_get_values_len.

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

See also

Functions

Return Values

berval

ldap_get_values_len