Compartilhar via


ldap_parse_reference (Windows CE 5.0)

Send Feedback

This function returns a list of subordinate referrals in a search response message.

ULONG ldap_parse_reference(LDAP* Connection,LDAPMessage* ResultMessage,UNICODE PTCHAR** Referrals);

Parameters

  • Connection
    [in] Session handle.
  • ResultMessage
    [in] Pointer to an LDAPMessage structure containing the search response.
  • Referrals
    [out] Pointer to the list of subordinate referrals.

Return Values

If this function succeeds, the return value is LDAP_SUCCESS.

If this function fails, it returns an error code. See the LDAP_RETCODE enumeration for a list of possible return values.

Remarks

This function returns a list of referrals in the form of URLs. Call this function if a call to ldap_parse_result indicates that there are referrals.

When it is no longer needed, free the Referrals pointer by calling the ldap_value_free function.

Requirements

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

See Also

LDAP_RETCODE | LDAPMessage | ldap_parse_result | ldap_value_free

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.