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

ldap_cleanup function

If you are dynamically unloading Wldap32.dll in your application, you must call ldap_cleanup prior to unloading Wldap32.dll to avoid resource leaks.

Syntax


ULONG LDAPAPI ldap_cleanup(
  HANDLE  hInstance
);

Parameters

hInstance

This parameter is ignored.

Return value

If the function succeeds, the return value is LDAP_SUCCESS.

If the function fails, it returns an error code. For more information, see Return Values.

Remarks

Important  After ldap_cleanup has been called, you must not invoke any LDAP API methods unless you first unload and reload the Wldap32.dll.

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

 

 

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.