Platform SDK: Active Directory, ADSI, and Directory Services

ldap_value_free_len

The ldap_value_free_len frees berval structures that were returned by ldap_get_values_len.

ULONG ldap_value_free_len(
  struct berval** vals 
);

Parameters

vals
[in] The structure to free.

Return Values

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

  Windows NT/2000: Requires Windows NT 4.0 SP4 or later.
  Windows 95/98: Requires Windows 95 or later. Available as a redistributable for Windows 95.
  Header: Declared in Winldap.h.
  Library: Use Wldap32.lib.

See Also

berval, Functions, ldap_get_values_len, Return Values