Platform SDK: Active Directory, ADSI, and Directory Services |
The ldap_result2error function parses a message and returns the error code.
ULONG ldap_result2error( LDAP* ld, LDAPMessage* res, ULONG freeit );
If the function succeeds, the return value is LDAP_SUCCESS.
If the function fails, it returns an error code. See Return Values for more information.
Multithreading: Calls to ldap_result2error are thread-safe.
Windows NT/2000: Requires Windows NT 4.0 SP4 or later.
Windows 95/98: Requires Windows 95 or later. Available as a redistributable for Windows 95.
Header: Declared in Winldap.h.
Library: Use Wldap32.lib.