LdapGetLastError

This function retrieves the last error code returned by an LDAP call.

ULONG LdapGetLastError(void);

Parameters

None.

Return Values

An LDAP error code.

Remarks

This function returns the last LDAP error from an LDAP call. See the LDAP_RETCODE enumeration for a list of possible return values.

In a multithreading environment, calls to this funciton are thread-safe.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Winldap.h.
Link Library: Wldap32.lib.

See Also

LDAP_RETCODE

 Last updated on Friday, April 09, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.