ldap_create_sort_controlW3w
Usage
ULONG CDECL ldap_create_sort_controlW
(
WLDAP32_LDAP* ld,
PLDAPSortKeyW* sortkey,
UCHAR critical,
PLDAPControlW* control
)
Overview
Create a control for server sorted search results.
Params
ld [In] Pointer to an LDAP context.
sortkey [In] Array of LDAPSortKey structures, each specifying an attribute to use as a sort key, a matching rule and the sort order (ascending or descending).
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 as a server control in subsequent calls to ldap_search_ext(_s) to obtain sorted search results.
Implementation
Declared in "winldap_private.h".
Implemented in "dlls/wldap32/control.c".
Releases
4 releases since Debian 4.0 (Etch); the text changed 3 times.