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

# ldap\_escape\_filter\_elementW(3w)

## NAME

**ldap\_escape\_filter\_elementW** (WLDAP32.@)

## SYNOPSIS

ULONG CDECL  ldap\_escape\_filter\_elementW\
  (\
   PCHAR  *src*,\
   ULONG  *srclen*,\
   PWCHAR *dst*,\
   ULONG  *dstlen*\
  )

## DESCRIPTION

Escape binary data for safe passing in filters.

## PARAMS

*src* **\[In\]**  Filter element to be escaped.

*srclen* **\[In\]**  Length in bytes of the filter element.

*dst* **\[Out\]**  Destination buffer for the escaped filter element.

*dstlen* **\[In\]**  Length in bytes of the destination buffer.

## RETURNS

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

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

## IMPLEMENTATION

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

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