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

# ldap\_next\_attributeW(3w)

## NAME

**ldap\_next\_attributeW** (WLDAP32.@)

## SYNOPSIS

PWCHAR CDECL  ldap\_next\_attributeW\
  (\
   WLDAP32\_LDAP\*        *ld*,\
   WLDAP32\_LDAPMessage\* *entry*,\
   WLDAP32\_BerElement\*  *ptr*\
  )

## DESCRIPTION

Get the next attribute for a given *entry*.

## PARAMS

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

*entry* **\[In\]**  Entry to retrieve attribute for.

*ptr* **\[In/Out\]**  Position pointer.

## RETURNS

**Success:** The name of the next attribute.

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

## NOTES

Free the returned string after each iteration with ldap\_memfree. When done iterating and when pointer != **NULL**, call ber\_free( *ptr*, **0** ).

## IMPLEMENTATION

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

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