LdapGetLastError function (winldap.h)
The LdapGetLastError function retrieves the last error code returned by an LDAP call.
Syntax
WINLDAPAPI ULONG LDAPAPI LdapGetLastError();
Return value
An LDAP error code.
Remarks
The LdapGetLastError function returns the LDAP error code for the last LDAP operation on the thread that is calling it. See Return Values for a list of possible error codes.
Multithreading: The LdapGetLastError function is thread-safe.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista |
Minimum supported server | Windows Server 2008 |
Target Platform | Windows |
Header | winldap.h |
Library | Wldap32.lib |
DLL | Wldap32.dll |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for