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 2008 |
|
Header |
|
|
Library |
|
|
DLL |
|
Show: