home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / vc98 / include / adsdb.h < prev    next >
C/C++ Source or Header  |  1998-04-25  |  1KB  |  41 lines

  1. //+---------------------------------------------------------------------------
  2. //  Copyright (C) 1996, Microsoft Corporation.
  3. //
  4. //  File:       adsdb.h
  5. //
  6. //  Contents:   Definitions for the OLE DB provider for ADSI
  7. //
  8. //----------------------------------------------------------------------------
  9.  
  10. //
  11. // printer status values
  12. //
  13.  
  14. #ifdef __cplusplus
  15. extern "C" {
  16. #endif
  17.  
  18. // 
  19. // Properties that belong to the property set DBPROPSET_ADSISEARCH
  20.  
  21. #define ADSIPROP_ASYNCHRONOUS           0x00000000
  22. #define ADSIPROP_DEREF_ALIASES          0x00000001
  23. #define ADSIPROP_SIZE_LIMIT             0x00000002
  24. #define ADSIPROP_TIME_LIMIT             0x00000003
  25. #define ADSIPROP_ATTRIBTYPES_ONLY       0x00000004
  26. #define ADSIPROP_SEARCH_SCOPE           0x00000005
  27. #define ADSIPROP_TIMEOUT                0x00000006
  28. #define ADSIPROP_PAGESIZE               0x00000007
  29. #define ADSIPROP_PAGED_TIME_LIMIT       0x00000008
  30. #define ADSIPROP_CHASE_REFERRALS        0x00000009
  31.  
  32.  
  33. #define DBPROPFLAGS_ADSISEARCH          0x0000C000
  34.  
  35. #define ADSI_DIALECT_LDAP               0x00000000
  36. #define ADSI_DIALECT_SQL                0x00000001
  37.  
  38. #ifdef __cplusplus
  39. }
  40. #endif
  41.