---
name: "ldap_create_page_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_page_controlW"
---

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

## NAME

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

## SYNOPSIS

ULONG CDECL  ldap\_create\_page\_controlW\
  (\
   WLDAP32\_LDAP\*          *ld*,\
   ULONG                  *pagesize*,\
   struct WLDAP32\_berval\* *cookie*,\
   UCHAR                  *critical*,\
   PLDAPControlW\*         *control*\
  )

## DESCRIPTION

Create a *control* for paged search results.

## PARAMS

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

*pagesize* **\[In\]**  Number of entries to return per page.

*cookie* **\[In\]**  Used by the server to track its location in the search results.

*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.

## IMPLEMENTATION

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

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