Expand Minimize
This topic has not yet been rated - Rate this topic

LdapGetLastError function

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

Syntax


ULONG LdapGetLastError(void);

Parameters

This function has no parameters.

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

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Winldap.h

Library

Wldap32.lib

DLL

Wldap32.dll

See also

Functions
Return Values

 

 

Send comments about this topic to Microsoft

Build date: 10/26/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.