Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

57 lines
2.1 KiB

  1. //--------------------------------------------------------------------
  2. // Microsoft OLE DB Provider for Index Server
  3. // (C) Copyright 1996 - 1997 By Microsoft Corporation.
  4. //
  5. // @doc
  6. //
  7. // @module MSIDXS.H | Provider Specific definitions
  8. //
  9. //--------------------------------------------------------------------
  10. #ifndef _MSIDXS_H_
  11. #define _MSIDXS_H_
  12. // Provider Class Id
  13. #ifdef DBINITCONSTANTS
  14. extern const GUID CLSID_MSIDXS = {0xF9AE8980, 0x7E52, 0x11d0, {0x89,0x64,0x00,0xC0,0x4F,0xD6,0x11,0xD7}};
  15. extern const GUID CLSID_MSSEARCHSQL = {0x0B63E349, 0x9CCC, 0x11D0, {0xBC,0xDB,0x00,0x80,0x5F,0xCC,0xCE,0x04}};
  16. // Site Server
  17. extern const GUID DBPROPSET_NLCOMMAND = {0x0B63E344, 0x9CCC, 0x11D0, {0xBC,0xDB,0x00,0x80,0x5F,0xCC,0xCE,0x04}};
  18. extern const GUID DBPROPSET_NLROWSET = {0x0B63E36E, 0x9CCC, 0x11D0, {0xBC,0xDB,0x00,0x80,0x5F,0xCC,0xCE,0x04}};
  19. #else // !DBINITCONSTANTS
  20. extern const GUID CLSID_MSIDXS;
  21. extern const GUID CLSID_MSSEARCHSQL;
  22. // Site Server
  23. extern const GUID DBPROPSET_NLCOMMAND;
  24. extern const GUID DBPROPSET_NLROWSET;
  25. #endif // DBINITCONSTANTS
  26. //----------------------------------------------------------------------------
  27. // MSIDXS and MSIDNL specific properties
  28. #ifdef DBINITCONSTANTS
  29. extern const GUID DBPROPSET_MSIDXS_ROWSET_EXT = {0xAA6EE6B0, 0xE828, 0x11D0, {0xB2,0x3E,0x00,0xAA,0x00,0x47,0xFC,0x01} };
  30. extern const GUID DBPROPSET_QUERY_EXT = {0xA7AC77ED, 0xF8D7, 0x11CE, {0xA7,0x98,0x00,0x20,0xF8,0x00,0x80,0x25} };
  31. #else // !DBINITCONSTANTS
  32. extern const GUID DBPROPSET_MSIDXS_ROWSET_EXT;
  33. extern const GUID DBPROPSET_QUERY_EXT;
  34. #endif // DBINITCONSTANTS
  35. // PropIds under DBPROPSET_MSIDX_ROWSET_EXT
  36. #define MSIDXSPROP_ROWSETQUERYSTATUS 2
  37. #define MSIDXSPROP_COMMAND_LOCALE_STRING 3
  38. #define MSIDXSPROP_QUERY_RESTRICTION 4
  39. // Prop IDs for DBPROPET_NLCOMMAND
  40. #define DBPROP_NLCOMMAND_STARTROW 3
  41. #define DBPROP_NLCOMMAND_GETROWCOUNT 4
  42. // Prop IDs for DBPROPSET_NLROWSET
  43. #define DBPROP_NLROWSET_ROWCOUNT 1000
  44. #define DBPROP_NLROWSET_NEXTSTARTROW 1001
  45. #define DBPROP_NLROWSET_MOREROWS 1002
  46. #define DBPROP_NLROWSET_CATSEQNUMS 1003
  47. #endif
  48. //----