Export (0) Print
Expand All
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

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.