Platform SDK: Active Directory, ADSI, and Directory Services

ADS_SORTKEY

The ADS_SORTKEY structure specifies how to sort a query.

typedef struct ADS_SORTKEY
{
  LPWSTR  pszAttrType;
  LPWSTR  pszReserved;
  BOOLEAN fReverseorder;
} ADS_SORTKEY, *PADS_SORTKEY;

Members

pszAttrType
Pointer to a stream that contains the type for the attribute.
pszReserved
Reserved for future use.
fReverseorder
Reverse the order of the sorted results.

Remarks

In Active Directory, if TRUE, the fReverseorder parameter specifies that the sort results be ordered from the lowest to the highest.

Requirements

  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.

See Also

ADSI Structures