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.

57 lines
3.0 KiB

  1. // WUV3IS.idl : IDL source for WUV3IS.dll
  2. //
  3. // This file will be processed by the MIDL tool to
  4. // produce the type library (WUV3IS.tlb) and marshalling code.
  5. import "oaidl.idl";
  6. import "ocidl.idl";
  7. [
  8. object,
  9. uuid(CEBC955D-58AF-11D2-A30A-00A0C903492B),
  10. dual,
  11. helpstring("ICV3 Interface"),
  12. pointer_default(unique)
  13. ]
  14. interface ICV3 : IDispatch
  15. {
  16. [id(1), helpstring("method GetCatalog")] HRESULT GetCatalog([in] long puidCatalog, [in] BSTR bstrServerUrl, [in] long platformId, [in] BSTR bstrBrowserLangauge, [in] long lFilters, [in] long lFlags, [out, retval] VARIANT *pCatalogArray);
  17. [id(2), helpstring("method ChangeItemState")] HRESULT ChangeItemState([in] long puid, [in] long lNewItemState);
  18. [id(3), helpstring("method InstallSelectedItems")] HRESULT InstallSelectedItems([in] BSTR bstrServer, [in] long lFlags, [in] BSTR bstrTempDir, [out, retval] VARIANT *pResultsArray);
  19. [id(5), helpstring("method GetInstallMetrics")] HRESULT GetInstallMetrics([out, retval] VARIANT *pMetricsArray);
  20. [id(6), helpstring("method GetEula")] HRESULT GetEula([out, retval] VARIANT *pEulaArray);
  21. [id(7), helpstring("method GetInstallHistory")] HRESULT GetInstallHistory([out, retval] VARIANT *pHistoryArray);
  22. [id(8), helpstring("method GetDependencyList")] HRESULT GetDependencyList([in] long puid, [out, retval] VARIANT *pDependentItemsArray);
  23. [id(9), helpstring("method GetCatalogItem")] HRESULT GetCatalogItem([in] long puid, [out, retval] VARIANT *pCatalogItem);
  24. [id(10), helpstring("method RemoveSelectedItems")] HRESULT RemoveSelectedItems();
  25. [id(11), helpstring("method IsCatalogAvailable")] HRESULT IsCatalogAvailable([in] long puidCatalog, [in] BSTR bstrServerUrl);
  26. [id(12), helpstring("method FinalizeInstall")] HRESULT FinalizeInstall([in] long lFlag);
  27. [id(13), helpstring("method SetStrings")] HRESULT SetStrings([in] VARIANT* vStringsArr, [in] long lType);
  28. [id(14), helpstring("method IsWinUpdDisabled")] HRESULT IsWinUpdDisabled([out, retval] VARIANT_BOOL *pfDisabled);
  29. [id(15), helpstring("method GetCatalogHTML")] HRESULT GetCatalogHTML([in] long puidCatalog, [in] BSTR bstrServerUrl, [in] long platformId, [in] BSTR bstrBrowserLangauge, [in] long lFilters, [in] long lFlags, [out, retval] VARIANT *pCatalogHTML);
  30. [id(16), helpstring("method IsReady")] HRESULT IsReady([out, retval] VARIANT_BOOL* pbYes);
  31. [id(17), helpstring("method FixCompatRollbackKey")] HRESULT FixCompatRollbackKey([out, retval] VARIANT_BOOL *pbRegModified);
  32. [id(18), helpstring("method GetContentURL")] HRESULT GetContentURL([out, retval] VARIANT* pURL);
  33. [id(19), helpstring("method GetReadThisPage")] HRESULT GetReadThisPage([in] long puid);
  34. [id(20), helpstring("method GetPrintAllPage")] HRESULT GetPrintAllPage([out, retval] VARIANT* pURL);
  35. };
  36. [
  37. uuid(CEBC954F-58AF-11D2-A30A-00A0C903492B),
  38. version(1.0),
  39. helpstring("WUV3IS 1.0 Type Library")
  40. ]
  41. library WUV3ISLib
  42. {
  43. importlib("stdole2.tlb");
  44. [
  45. uuid(CEBC955E-58AF-11D2-A30A-00A0C903492B),
  46. helpstring("Windows Update Engine")
  47. ]
  48. coclass CV3
  49. {
  50. [default] interface ICV3;
  51. };
  52. };