Platform SDK: Active Directory, ADSI, and Directory Services |
The ldap_close_extended_op function ends a request that was made by calling ldap_extended_operation.
ULONG ldap_close_extended_op( LDAP* ld, ULONG MessageNumber );
If the function succeeds, the return value is LDAP_SUCCESS.
If the function fails, it returns an error code. See Return Values for more information.
After sending an extended request, or a series of such requests, to an LDAP server, call ldap_close_extended_op to let the server know that the client has finished making requests. Note that these extended operation functions are available only with LDAP, version 3 or later. These functions allow a client to send a "free-for-all" request, for any sort of information or action, to an LDAP 3 server.
Multithreading: Calls to ldap_close_extended_op are thread-safe.
Windows NT/2000: Requires Windows NT 4.0 SP4 or later.
Windows 95/98: Requires Windows 95 or later. Available as a redistributable for Windows 95.
Header: Declared in Winldap.h.
Library: Use Wldap32.lib.