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

# ldap\_modrdnW(3w)

## NAME

**ldap\_modrdnW** (WLDAP32.@)

## SYNOPSIS

ULONG CDECL  ldap\_modrdnW\
  (\
   WLDAP32\_LDAP\* *ld*,\
   PWCHAR        *dn*,\
   PWCHAR        *newdn*\
  )

## DESCRIPTION

Change the **RDN** of a directory entry (asynchronous operation).

## PARAMS

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

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

*newdn* **\[In\]**  New **DN** for the entry.

## RETURNS

**Success:** Message Id of the modrdn operation.

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

## NOTES

Call ldap\_result with the message Id to get the result of the operation. Cancel the operation by calling ldap\_abandon with the message **ID**.

## IMPLEMENTATION

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

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