Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

ldap_count_values_len function

The ldap_count_values_len function counts the number of values in a list.

Syntax


ULONG ldap_count_values_len(
  _In_  struct berval **vals
);

Parameters

vals [in]

An array of values returned by ldap_get_values_len.

Return value

This function returns the number of values in the array. There is no error return.

If a NULL pointer is passed as the argument, 0 is returned. If an invalid argument is passed, the value returned is undefined.

Remarks

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 null-terminated character strings, call ldap_count_values.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Winldap.h

Library

Wldap32.lib

DLL

Wldap32.dll

See also

berval
Functions
ldap_count_values
ldap_get_values_len
LDAP

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.