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

# ldap\_create\_vlv\_controlW(3w)

## NAME

**ldap\_create\_vlv\_controlW** (WLDAP32.@)

## SYNOPSIS

INT CDECL  ldap\_create\_vlv\_controlW\
  (\
   WLDAP32\_LDAP\*        *ld*,\
   WLDAP32\_LDAPVLVInfo\* *info*,\
   UCHAR                *critical*,\
   LDAPControlW\*\*       *control*\
  )

## DESCRIPTION

Create a virtual list view *control*.

## PARAMS

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

*info* **\[In\]**  LDAPVLVInfo structure specifying a list view window.

*critical* **\[In\]**  Tells the server this *control* is *critical* to the search operation.

*control* **\[Out\]**  LDAPControl created.

## RETURNS

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

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

## NOTES

Pass the created *control* in conjunction with a sort *control* as server controls in subsequent calls to ldap\_search\_ext(\_s). The server will then return a sorted, contiguous subset of results that meets the criteria specified in the LDAPVLVInfo structure.

## IMPLEMENTATION

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

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