WLDAP32_ldap_result2error.3w

Langue: en

Version: Jun 2009 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

WLDAP32_ldap_result2error (WLDAP32.@)

SYNOPSIS

ULONG CDECL WLDAP32_ldap_result2error
 (
  WLDAP32_LDAP*        ld,
  WLDAP32_LDAPMessage* res,
  ULONG                free
 )

DESCRIPTION

Parse an LDAP message and return the error obtained from it.

PARAMS

ld [In] Pointer to an LDAP context.

res [In] Pointer to an LDAPMessage structure.

free [In] Ask for the LDAPMessage structure to be freed.

RETURNS

Success: LDAP_SUCCESS

Failure: An LDAP error code.

NOTES

If not asked for, use ldap_msgfree to free the LDAPMessage.

IMPLEMENTATION

Defined in "winldap_private.h".

Implemented in "dlls/wldap32/error.c".