Share via


ldap_count_values (Windows Embedded CE 6.0)

1/6/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

See Also

Reference

LDAP Search Functions
berval
ldap_count_values_len
ldap_get_values
LDAP