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.

67 lines
2.6 KiB

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. //
  5. // Copyright (C) Microsoft Corporation, 1997 - 1999
  6. //
  7. // File: catdbrpc.idl
  8. //
  9. //--------------------------------------------------------------------------
  10. import "unknwn.idl";
  11. ////////////////////////////
  12. // Interfaces
  13. [
  14. uuid(F50AAC00-C7F3-428e-A022-A6B71BFB9D43),
  15. version(1.0),
  16. pointer_default(unique)
  17. ]
  18. interface ICatDBSvc
  19. {
  20. DWORD
  21. SSCatDBAddCatalog(
  22. [in] handle_t h,
  23. [in] DWORD dwFlags,
  24. [in] LPCWSTR pwszSubSysGUID,
  25. [in] LPCWSTR pwszCatalogFile,
  26. [in][unique] LPCWSTR pwszCatName,
  27. [out] LPWSTR *ppwszCatalogNameUsed
  28. );
  29. DWORD
  30. SSCatDBDeleteCatalog(
  31. [in] handle_t h,
  32. [in] DWORD dwFlags,
  33. [in] LPCWSTR pwszSubSysGUID,
  34. [in] LPCWSTR pwszCatalogFile
  35. );
  36. DWORD
  37. SSCatDBEnumCatalogs(
  38. [in] handle_t h,
  39. [in] DWORD dwFlags,
  40. [in] LPCWSTR pwszSubSysGUID,
  41. [in, range(0,256)] DWORD cbHash, // currently, hash size is 20, so 256 max is no problem
  42. [in][size_is(cbHash)] BYTE* pbHash,
  43. [out] DWORD* pdwNumCatalogNames,
  44. [out][size_is(,*pdwNumCatalogNames)] LPWSTR** pppwszCatalogNames
  45. );
  46. DWORD
  47. SSCatDBRegisterForChangeNotification(
  48. [in] handle_t h,
  49. [in] DWORD_PTR EventHandle,
  50. [in] DWORD dwFlags,
  51. [in] LPCWSTR pwszSubSysGUID,
  52. [in] BOOL fUnRegister
  53. );
  54. DWORD
  55. SSCatDBPauseResumeService(
  56. [in] handle_t h,
  57. [in] DWORD dwFlags,
  58. [in] BOOL fResume
  59. );
  60. }