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

# ldap\_parse\_referenceW(3w)

## NAME

**ldap\_parse\_referenceW** (WLDAP32.@)

## SYNOPSIS

ULONG CDECL  ldap\_parse\_referenceW\
  (\
   WLDAP32\_LDAP\*        *ld*,\
   WLDAP32\_LDAPMessage\* *message*,\
   PWCHAR\*\*             *referrals*\
  )

## DESCRIPTION

Return any *referrals* from a result *message*.

## PARAMS

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

result **\[In\]**  Result *message*.

*referrals* **\[Out\]**  Array of referral URLs.

## RETURNS

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

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

## NOTES

Free the *referrals* with ldap\_value\_free.

## IMPLEMENTATION

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

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