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

# WLDAP32\_ldap\_first\_reference(3w)

## NAME

**WLDAP32\_ldap\_first\_reference** (WLDAP32.@)

## SYNOPSIS

WLDAP32\_LDAPMessage \* CDECL  WLDAP32\_ldap\_first\_reference\
  (\
   WLDAP32\_LDAP\*        *ld*,\
   WLDAP32\_LDAPMessage\* *res*\
  )

## DESCRIPTION

Get the first reference from a result message.

## PARAMS

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

*res* **\[In\]**  Search result message.

## RETURNS

**Success:** The first reference.

**Failure:** **NULL**

## IMPLEMENTATION

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

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