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.

102 lines
2.5 KiB

  1. //+---------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1992-1999.
  5. //
  6. // File: fuspriv.idl
  7. //
  8. // Contents: Private fusion interfaces
  9. //
  10. // Classes:
  11. //
  12. // Functions:
  13. //
  14. //
  15. //----------------------------------------------------------------------------
  16. cpp_quote("//=--------------------------------------------------------------------------=")
  17. cpp_quote("// fuspriv.h")
  18. cpp_quote("//=--------------------------------------------------------------------------=")
  19. cpp_quote("// (C) Copyright 1995-1998 Microsoft Corporation. All Rights Reserved.")
  20. cpp_quote("//")
  21. cpp_quote("// THIS CODE AND INFORMATION IS PROVIDED \"AS IS\" WITHOUT WARRANTY OF")
  22. cpp_quote("// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO")
  23. cpp_quote("// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A")
  24. cpp_quote("// PARTICULAR PURPOSE.")
  25. cpp_quote("//=--------------------------------------------------------------------------=")
  26. cpp_quote("")
  27. cpp_quote("#pragma comment(lib,\"uuid.lib\")")
  28. cpp_quote("")
  29. cpp_quote("//---------------------------------------------------------------------------=")
  30. cpp_quote("// Name Object Interfaces.")
  31. cpp_quote("")
  32. import "objidl.idl";
  33. import "oleidl.idl";
  34. [
  35. local,
  36. object,
  37. uuid(D8FB9BD6-3969-11d3-B4AF-00C04F8ECB26),
  38. pointer_default(unique)
  39. ]
  40. interface ICodebaseList : IUnknown
  41. {
  42. HRESULT AddCodebase
  43. (
  44. [in] LPCWSTR wzCodebase
  45. );
  46. HRESULT RemoveCodebase
  47. (
  48. [in] DWORD dwIndex
  49. );
  50. HRESULT RemoveAll();
  51. HRESULT GetCount
  52. (
  53. [out] DWORD *pdwCount
  54. );
  55. HRESULT GetCodebase
  56. (
  57. [in] DWORD dwIndex,
  58. [out] LPWSTR wzCodebase,
  59. [in, out] DWORD *pcbCodebase
  60. );
  61. }
  62. [
  63. local,
  64. object,
  65. uuid(0A6F16F8-ACD7-11d3-B4ED-00C04F8ECB26),
  66. pointer_default(unique)
  67. ]
  68. interface IDownloadMgr : IUnknown
  69. {
  70. HRESULT PreDownloadCheck
  71. (
  72. [out] void **ppv
  73. );
  74. HRESULT DoSetup
  75. (
  76. [in] LPCWSTR wzSourceUrl,
  77. [in] LPCWSTR wzFilePath,
  78. [out] IUnknown **ppUnk
  79. );
  80. HRESULT ProbeFailed
  81. (
  82. [out] IUnknown **ppUnk
  83. );
  84. HRESULT IsDuplicate
  85. (
  86. [out] IDownloadMgr *ppDLMgr
  87. );
  88. BOOL LogResult();
  89. }