Share via


ldap_next_entry (Windows CE 5.0)

Send Feedback

This function retrieves an entry from a search result chain.

LDAPMessage* ldap_next_entry(LDAP* ld,LDAPMessage* entry);

Parameters

  • ld
    [in] Session handle.
  • entry
    [in] Entry returned by a previous call to ldap_first_entry or to this function.

Return Values

If this function succeeds, it returns the entry. If no entry or reference exists in the result set, it returns NULL.

If this function fails, it returns NULL and sets the session error parameters in the LDAP data structure.

Remarks

Use this function in conjunction with ldap_first_entry to step through and retrieve the list of entries from a search result chain.

You do not have to explicitly free the returned entry because it is freed when the message itself is freed.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Winldap.h.
Link Library: Wldap32.lib.

See Also

ldap_first_entry

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.