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 |
|
|
Library |
|
|
DLL |
|
Send comments about this topic to Microsoft
Build date: 10/26/2012