These constants are used by the OLE DB provider for ADSI and belong to the property set DBPROPSET_ADSISEARCH.
#define ADSIPROP_ASYNCHRONOUS 0
#define ADSIPROP_DEREF_ALIASES 1
#define ADSIPROP_SIZE_LIMIT 2
#define ADSIPROP_TIME_LIMIT 3
#define ADSIPROP_ATTRIBTYPES_ONLY 4
#define ADSIPROP_SEARCH_SCOPE 5
#define ADSIPROP_TIMEOUT 6
#define ADSIPROP_PAGESIZE 7
#define ADSIPROP_PAGED_TIME_LIMIT 8
#define ADSIPROP_CHASE_REFERRALS 9
#define DBPROPFLAGS_ADSISEARCH 0x0000C000
#define ADSI_DIALECT_LDAP 0
#define ADSI_DIALECT_SQL 1