Reference

WLDAP32_ldap_result2error(3w)

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

Declared in "winldap_private.h".

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

History