Partager via


ldap_count_values (Compact 2013)

3/26/2014

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

See Also

Reference

LDAP Search Functions
berval
ldap_count_values_len
ldap_get_values
LDAP