Directory Services |
The ADS_SORTKEY structure specifies how to sort a query.
typedef struct ADS_SORTKEY {
LPWSTR pszAttrType;
LPWSTR pszReserved;
BOOLEAN fReverseorder; } ADS_SORTKEY,
*PADS_SORTKEY;
In Active Directory, if TRUE, the fReverseorder member specifies that the sort results be ordered from the lowest to the highest.
When using the LDAP system provider, the pszReserved member corresponds to the sk_matchruleoid of the LDAPSortKey structure and may be set to a NULL-terminated string that specifies the object identifier (OID) of the matching rule for the sort. For more information, see LDAPSortKey.
Client: Included in Windows XP and
Windows 2000 Professional.
Server: Included in Windows Server 2003 and
Windows 2000 Server.
Redistributable: Requires Active Directory Client Extension
on Windows NT 4.0 SP6a and Windows 95/98/Me.
Header: Declared in Iads.h.