ldap_result2error (Windows CE 5.0)

Send Feedback

This function parses a message and returns the error code.

ULONG ldap_result2error(LDAP* ld,LDAPMessage* res,ULONGfreeit);

Parameters

  • ld
    [in] Session handle.
  • res
    [in] Result of an LDAP operation as returned by ldap_result or one of the synchronous API operation calls.
  • freeit
    [in] Determines whether the LDAPMessage message pointed to by the res parameter is freed. Setting freeit to TRUE frees the message by calling the ldap_msgfree function.

Return Values

This function returns the error code for the given parameter. See the LDAP_RETCODE enumeration for a list of possible return values.

Remarks

In a multithreading environment, calls to this function are thread-safe.

Requirements

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

See Also

LDAP_RETCODE | ldap_msgfree | ldap_result | LDAPMessage

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.