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

# ldap\_modify\_extW(3w)

## NAME

**ldap\_modify\_extW** (WLDAP32.@)

## SYNOPSIS

ULONG CDECL  ldap\_modify\_extW\
  (\
   WLDAP32\_LDAP\*  *ld*,\
   PWCHAR         *dn*, LDAPModW\* mods\[\]  PLDAPControlW\* *serverctrls*,\
   PLDAPControlW\* *clientctrls*,\
   ULONG\*         *message*\
  )

## DESCRIPTION

Change an entry in a directory tree (asynchronous operation).

## PARAMS

*ld* **\[In\]**  Pointer to an **LDAP** context.

*dn* **\[In\]**  **DN** of the entry to change.

mods **\[In\]**  Pointer to an array of LDAPModW structures, each specifying an attribute and its values to change.

*serverctrls* **\[In\]**  Array of **LDAP** server controls.

*clientctrls* **\[In\]**  Array of **LDAP** client controls.

*message* **\[Out\]**  Message Id of the modify operation.

## RETURNS

**Success:** **LDAP\_SUCCESS**

**Failure:** An **LDAP** error code.

## NOTES

Call ldap\_result with the *message* Id to get the result of the operation. The *serverctrls* and *clientctrls* parameters are optional and should be set to **NULL** if not used.

## IMPLEMENTATION

Declared in **"winldap\_private.h"**.

Implemented in **"dlls/wldap32/modify.c"**.
