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

# ldap\_get\_optionW(3w)

## NAME

**ldap\_get\_optionW** (WLDAP32.@)

## SYNOPSIS

ULONG CDECL  ldap\_get\_optionW\
  (\
   WLDAP32\_LDAP\* *ld*,\
   int           *option*,\
   void\*         *value*\
  )

## DESCRIPTION

Retrieve *option* values for a given **LDAP** context.

## PARAMS

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

*option* **\[In\]**  Option to get values for.

*value* **\[Out\]**  Pointer to *option* values.

## RETURNS

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

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

## IMPLEMENTATION

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

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