Reference

ldap_extended_operationW(3w)

NAME

ldap_extended_operationW (WLDAP32.@)

SYNOPSIS

ULONG CDECL ldap_extended_operationW
(
WLDAP32_LDAP* ld,
PWCHAR oid,
struct WLDAP32_berval* data,
PLDAPControlW* serverctrls,
PLDAPControlW* clientctrls,
ULONG* message
)

DESCRIPTION

Perform an extended operation (asynchronous mode).

PARAMS

ld [In] Pointer to an LDAP context.

oid [In] OID of the extended operation.

data [In] Data needed by the operation.

serverctrls [In] Array of LDAP server controls.

clientctrls [In] Array of LDAP client controls.

message [Out] Message Id of the extended operation.

RETURNS

Success: LDAP_SUCCESS

Failure: An LDAP error code.

NOTES

The data parameter should be set to NULL if the operation requires no data. Call ldap_result with the message Id to get the result of the operation or ldap_abandon to cancel the operation. The serverctrls and clientctrls parameters are optional and should be set to NULL if not used. Call ldap_close_extended_op to close the operation.

IMPLEMENTATION

Declared in "winldap_private.h".

Implemented in "dlls/wldap32/extended.c".

History