Platform SDK: Active Directory, ADSI, and Directory Services

ADS_SEARCHPREF_INFO

The ADS_SEARCHPREF_INFO structure specifies the query preferences.

typedef struct ADS_SEARCHPREF_INFO
{
  ADS_SEARCHPREF dwSearchPref;
  ADSVALUE       vValue;
  ADS_STATUS     dwStatus;
} ADS_SEARCHPREF_INFO, *PADS_SEARCHPREF_INFO, *LPADS_SEARCHPREF_INFO;

Members

dwSearchPref
One of the ADS_SEARCHPREF_ENUM enumeration values.
vValue
Value of the search preference that uses the ADSVALUE structure.
dwStatus
One of the ADS_STATUSENUM enumeration values.

Remarks

For examples of how to use the ADS_SEARCHPREF_INFO structure, see the discussions of the IDirectorySearch::SetSearchPreference method and the ADS_SEARCHPREF_ENUM enumeration.

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, ADS_SEARCHPREF_ENUM, ADS_STATUSENUM, ADSVALUE, IDirectorySearch::SetSearchPreference