---
name: "WLDAP32_ldap_count_entries"
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_count_entries"
---

# WLDAP32\_ldap\_count\_entries(3w)

## NAME

**WLDAP32\_ldap\_count\_entries** (WLDAP32.@)

## SYNOPSIS

ULONG CDECL  WLDAP32\_ldap\_count\_entries\
  (\
   WLDAP32\_LDAP\*        *ld*,\
   WLDAP32\_LDAPMessage\* *res*\
  )

## DESCRIPTION

Count the number of entries returned from a search.

## PARAMS

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

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

## RETURNS

**Success:** The number of entries.

**Failure:** ~0u

## IMPLEMENTATION

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

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