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;