Partager via


ldap_value_free (Compact 2013)

3/26/2014

This function frees a structure that was returned by a call to the ldap_get_values function.

Syntax

ULONG ldap_value_free(
  UNICODE PTCHAR* vals
);

Parameters

  • vals
    Structure to free.

Return Value

If this function succeeds, the return value is LDAP_SUCCESS.

If this function fails, it returns an error code. See the LDAP_RETCODE enumeration for a list of possible return values.

Remarks

Call this function to free a structure that was returned by ldap_get_values.

Requirements

Header

winldap.h

Library

wldap32.lib

See Also

Reference

LDAP Memory Management Functions
ldap_get_values