Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

ldap_cleanup function

Warning  

The ldap_cleanup function may cause unpredictable behavior at DLL unload time so, there is no way to safely clean up resources when dynamically loading and unloading the wldap32.dll.

Because of this, resource leaks can occur on unload of the library. Use of ldap_cleanup is therefore not recommended and, is at your own risk.

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

Warning  The ldap_cleanup function may cause unpredictable behavior at the DLL unload time. Use is not recommended and is at your own risk.

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2003

Header

Winldap.h

Library

Wldap32.lib

DLL

Wldap32.dll

 

 

Show:
© 2015 Microsoft