Export (0) Print
Expand All
Expand Minimize

ldap_close_extended_op function

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

Syntax


ULONG ldap_close_extended_op(
  _In_  LDAP *ld,
  _In_  ULONG MessageNumber
);

Parameters

ld [in]

The session handle.

MessageNumber [in]

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

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2003

Header

Winldap.h

Library

Wldap32.lib

DLL

Wldap32.dll

See also

Functions
ldap_extended_operation
Return Values

 

 

Show:
© 2014 Microsoft