Platform SDK: Active Directory, ADSI, and Directory Services |
The LdapGetLastError function retrieves the last error code returned by an LDAP call.
ULONG LdapGetLastError( VOID );
A Win32 error code.
The LdapGetLastError function translates the last LDAP error into the nearest Win32 error code.
Multithreading: The LdapGetLastError function is 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.