ldap_value_free function (winldap.h)

The ldap_value_free function frees a structure returned by ldap_get_values.

Syntax

WINLDAPAPI ULONG LDAPAPI ldap_value_free(
  PCHAR *vals
);

Parameters

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. For more information, see Return Values.

Remarks

Call ldap_value_free to free a structure returned by ldap_get_values.

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

Searching a Directory

ldap_get_values