Source code of Windows XP (NT5)
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.

72 lines
1.8 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 ProcessID,
  24. [in] DWORD dwFlags,
  25. [in] LPCWSTR pwszSubSysGUID,
  26. [in] LPCWSTR pwszCatalogFile,
  27. [in][unique] LPCWSTR pwszCatName,
  28. [out] LPWSTR *ppwszCatalogNameUsed
  29. );
  30. DWORD
  31. SSCatDBDeleteCatalog(
  32. [in] handle_t h,
  33. [in] DWORD ProcessID,
  34. [in] DWORD dwFlags,
  35. [in] LPCWSTR pwszSubSysGUID,
  36. [in] LPCWSTR pwszCatalogFile
  37. );
  38. DWORD
  39. SSCatDBEnumCatalogs(
  40. [in] handle_t h,
  41. [in] DWORD ProcessID,
  42. [in] DWORD dwFlags,
  43. [in] LPCWSTR pwszSubSysGUID,
  44. [in][size_is(cbHash)] BYTE* pbHash,
  45. [in] DWORD cbHash,
  46. [out] DWORD* pdwNumCatalogNames,
  47. [out][size_is(,*pdwNumCatalogNames)] LPWSTR** pppwszCatalogNames
  48. );
  49. DWORD
  50. SSCatDBRegisterForChangeNotification(
  51. [in] handle_t h,
  52. [in] DWORD ProcessID,
  53. [in] DWORD_PTR EventHandle,
  54. [in] DWORD dwFlags,
  55. [in] LPCWSTR pwszSubSysGUID,
  56. [in] BOOL fUnRegister
  57. );
  58. DWORD
  59. SSCatDBPauseResumeService(
  60. [in] handle_t h,
  61. [in] DWORD ProcessID,
  62. [in] DWORD dwFlags,
  63. [in] BOOL fResume
  64. );
  65. }