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

# ldap\_deleteW(3w)

## NAME

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

## SYNOPSIS

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

## DESCRIPTION

Delete an entry from a directory tree (asynchronous operation).

## PARAMS

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

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

## RETURNS

**Success:** Message Id of the add 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/delete.c"**.
