Share via


ldap_count_values

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This function counts the number of values in a list.

Syntax

ULONG ldap_count_values(
  UNICODE PTCHAR* vals
);

Parameters

Return Value

If this function succeeds, it returns the number of values.

If this function fails, the return value is 0.

Remarks

This function returns the number of values in an array of strings. To count binary values (in an array of berval structures) call the ldap_count_values_len function.

Requirements

Header winldap.h
Library wldap32.lib
Windows Embedded CE Windows CE .NET 4.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

berval
ldap_count_values_len
ldap_get_values
LDAP