ldap_count_values function
The ldap_count_values function counts the number of values in a list.
Syntax
ULONG ldap_count_values( _In_ PCHAR *vals );
Parameters
- vals [in]
-
An array of null-terminated strings (values) returned by ldap_get_values.
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 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.
Requirements
|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
|---|---|
|
Minimum supported server | Windows 2000 Server [desktop apps only] |
|
Header |
|
|
Library |
|
|
DLL |
|
|
Unicode and ANSI names | ldap_count_valuesW (Unicode) and ldap_count_valuesA (ANSI) |
See also
Send comments about this topic to Microsoft
Build date: 10/26/2012