Platform SDK: Active Directory, ADSI, and Directory Services |
The ldap_count_values_len function counts the number of values in a list.
ULONG ldap_count_values_len( struct berval** vals );
If the function succeeds, it returns the number of values.
If the function fails, the return value is –1 and the function sets the sets the session error parameters in the LDAP data structure.
The ldap_count_values_len function returns the number of binary values in an array of berval structures. To count the values in an array of character strings, call ldap_count_values.
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.
berval, Functions, ldap_count_values, ldap_get_values_len, LDAP