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

# ldap\_err2stringW(3w)

## NAME

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

## SYNOPSIS

PWCHAR CDECL  ldap\_err2stringW\
  (\
   ULONG *err*\
  )

## DESCRIPTION

Convert an error code into a string describing the error.

## PARAMS

*err* **\[In\]**  Error code to convert.

## RETURNS

**Success:** Pointer to a string containing the error description.

**Failure:** **NULL**.

## NOTES

The returned string is statically allocated, you must not free this string.

## IMPLEMENTATION

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

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