Platform SDK: Active Directory, ADSI, and 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 parameter specifies that the sort results be ordered from the lowest to the highest.
Windows NT/2000: Requires Windows 2000 (or Windows NT 4.0 with DSClient).
Windows 95/98: Requires Windows 95 or later (with DSClient).
Header: Declared in Iads.h.