ldap_close_extended_op function (winldap.h)

The ldap_close_extended_op function ends a request that was made by calling ldap_extended_operation.

Syntax

WINLDAPAPI ULONG LDAPAPI ldap_close_extended_op(
  [in] LDAP  *ld,
  [in] ULONG MessageNumber
);

Parameters

[in] ld

The session handle.

[in] MessageNumber

The message ID for the request.

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

After sending an extended request, or a series of such requests, to an LDAP server, call ldap_close_extended_op to notify the server that the client has finished making requests. Be aware 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 data or action, to an LDAP 3 server.

Multithreading: Calls to ldap_close_extended_op are thread-safe.

Requirements

Requirement Value
Minimum supported client Windows Vista
Minimum supported server Windows Server 2008
Target Platform Windows
Header winldap.h
Library Wldap32.lib
DLL Wldap32.dll

See also

Functions

Return Values

ldap_extended_operation