ldap_create_sort_controlW(3w)
NAME
ldap_create_sort_controlW (WLDAP32.@)
SYNOPSIS
ULONG CDECL ldap_create_sort_controlW ( WLDAP32_LDAP* ld, PLDAPSortKeyW* sortkey, UCHAR critical, PLDAPControlW* control )
DESCRIPTION
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
Defined in "winldap_private.h".
- Implemented in "build/buildd-wine-unstable_1.1.32-1+b1-amd64-KnxYu0/wine-unstable-1.1.32/build32/dlls/wldap32/control.c".