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.

87 lines
2.9 KiB

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1997 - 1998.
  5. //
  6. // File: fsciclnt.idl
  7. //
  8. // Contents: File System Content Index Client
  9. //
  10. // History: 09 Jan 1997 SrikantS Created
  11. //
  12. //--------------------------------------------------------------------------
  13. #ifdef IMPORT_IDL_DEPENDENTS
  14. import "oaidl.idl";
  15. import "filter.idl";
  16. #endif
  17. #include "idlmulti.h"
  18. cpp_quote("#define CLSID_StorageDocStoreLocator {0x2A488070, 0x6FD9, 0x11D0, {0xA8,0x08,0x00,0xA0,0xC9,0x06,0x24,0x1A} }")
  19. typedef ULONG PARTITIONID;
  20. //
  21. // NOTE: CI_STATE is redefined in NtQuery.h for export in the SDK
  22. //
  23. cpp_quote("#ifndef CI_STATE_DEFINED")
  24. cpp_quote("#define CI_STATE_DEFINED")
  25. cpp_quote("#include <pshpack4.h>")
  26. typedef struct _CI_STATE
  27. {
  28. DWORD cbStruct; // size of the struct passed
  29. DWORD cWordList; // # of wordlists
  30. DWORD cPersistentIndex; // # of persistent indexes
  31. DWORD cQueries; // # of running queries
  32. DWORD cDocuments; // # of documents to filter
  33. DWORD cFreshTest; // # of entires in the fresh test
  34. DWORD dwMergeProgress; // % done in current merge
  35. DWORD eState; // bit array of state information
  36. DWORD cFilteredDocuments; // # of documents filtered thus far
  37. DWORD cTotalDocuments; // # of documents in corpus
  38. DWORD cPendingScans; // # of pending directory scans
  39. DWORD dwIndexSize; // Total size (in MB) of index
  40. DWORD cUniqueKeys; // # of unique keys in index
  41. DWORD cSecQDocuments; // # of documents in secondary Q
  42. DWORD dwPropCacheSize; // Size of property cache
  43. } CI_STATE;
  44. cpp_quote("#include <poppack.h>")
  45. cpp_quote("#endif // CI_STATE_DEFINED")
  46. LOCAL_INTERFACE(75398C30-7A26-11D0-A80A-00A0C906241A)
  47. interface IFsCiAdmin : IUnknown
  48. {
  49. SCODE ForceMerge( [in] PARTITIONID partId );
  50. SCODE AbortMerge( [in] PARTITIONID partId );
  51. SCODE CiState( [out] CI_STATE * pCiState );
  52. SCODE UpdateDocuments( [string,in] WCHAR const * rootPath,
  53. [in] ULONG flag );
  54. SCODE AddScopeToCI( [string,in] WCHAR const * rootPath );
  55. SCODE RemoveScopeFromCI( [string,in] WCHAR const * rootPath );
  56. SCODE BeginCacheTransaction( [out] ULONG_PTR * pulToken );
  57. SCODE SetupCache( [in] FULLPROPSPEC const * ps,
  58. [in] ULONG vt,
  59. [in] ULONG cbMaxLen,
  60. [in] ULONG_PTR ulToken,
  61. [in] BOOL fCanBeModified,
  62. [in] DWORD dwStoreLevel );
  63. SCODE EndCacheTransaction( [in] ULONG_PTR ulToken,
  64. [in] BOOL fCommit );
  65. }