NAME

ldap_result2error  (WLDAP32.@)

SYNOPSIS

 ULONG CDECL  ldap_result2error
 (
  LDAP*        ld,
  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.h". https://source.winehq.org/source/include/winldap.h

Implemented in "dlls/wldap32/error.c". https://source.winehq.org/source/dlls/wldap32/error.c


Copyright © 2021 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Jun 2021.