次の方法で共有


ldap_encode_sort_control関数 (winldap.h)

ldap_encode_sort_control関数は、並べ替えキーのリストを検索コントロールに書式設定します。 この関数は、現在使用されていません。 代わりに、ldap_create_sort_controlを使用 します

構文

WINLDAPAPI ULONG LDAPAPI ldap_encode_sort_control(
  [in]  PLDAP         ExternalHandle,
  [in]  PLDAPSortKeyA *SortKeys,
  [out] PLDAPControlA Control,
  [in]  BOOLEAN       Criticality
);

パラメーター

[in] ExternalHandle

セッション ハンドル。

[in] SortKeys

LDAPSortKey 構造体の一覧。

[out] Control

新しいコントロールへのポインター。

[in] Criticality

このコントロールが検索にとって重要かどうかをサーバーに通知します。

戻り値

呼び出しが正常に完了すると、 LDAP_SUCCESS が返されます。 LDAP_NO_MEMORYLDAP_PARAM_ERRORなど、他の標準 LDAP 戻り値も返される場合があります。

要件

要件
サポートされている最小のクライアント Windows Vista
サポートされている最小のサーバー Windows Server 2008
対象プラットフォーム Windows
ヘッダー winldap.h
Library Wldap32.lib
[DLL] Wldap32.dll

関連項目

関数

LDAPSortKey

ldap_create_sort_control