NAME

ldap_encode_sort_controlW  (WLDAP32.@)

SYNOPSIS

 ULONG CDECL  ldap_encode_sort_controlW
 (
  LDAP*          ld,
  LDAPSortKeyW** sortkeys,
  LDAPControlW*  ret,
  BOOLEAN        critical
 )

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

This function is obsolete. Use its equivalent ldap_create_sort_control instead.

IMPLEMENTATION

Declared in "winldap.h". https://source.winehq.org/source/include/winldap.h

Implemented in "dlls/wldap32/control.c". https://source.winehq.org/source/dlls/wldap32/control.c


Copyright © 2021 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Jun 2021.