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

# ldap\_conn\_from\_msg(3w)

## NAME

**ldap\_conn\_from\_msg** (WLDAP32.@)

## SYNOPSIS

WLDAP32\_LDAP \* CDECL  ldap\_conn\_from\_msg\
  (\
   WLDAP32\_LDAP\*        *ld*,\
   WLDAP32\_LDAPMessage\* *res*\
  )

## DESCRIPTION

Get the **LDAP** context for a given message.

## PARAMS

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

*res* **\[In\]**  **LDAP** message.

## RETURNS

**Success:** Pointer to an **LDAP** context.

**Failure:** **NULL**

## IMPLEMENTATION

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

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