Platform SDK: Active Directory, ADSI, and Directory Services |
The ldap_count_values function counts the number of values in a list.
ULONG ldap_count_values( PCHAR* 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 function returns the number of values in an array of strings. To count binary values (in an array of berval structures) call ldap_count_values_len.
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.
Unicode: Declared as Unicode and ANSI prototypes.
berval, Functions, ldap_count_values_len, ldap_get_values, LDAP