---
name: "ldap_extended_operationW"
section: "3w"
platform: "linux"
package: "libwine-dev"
version: "1.4.1-4"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/ldap_extended_operationW"
---

# 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"**.
