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.

83 lines
2.7 KiB

  1. /******************************************************************************
  2. Copyright (c) 1999 Microsoft Corporation
  3. Module Name:
  4. hcupdate.idl
  5. Abstract:
  6. This file contains the declaration of the set of coclasses and interfaces
  7. implemented by the Help Center Update Package Server.
  8. Revision History:
  9. Ghim-Sim Chua (gschua) 12/20/99
  10. created
  11. ******************************************************************************/
  12. cpp_quote( "#include <HCUpdateDID.h>" )
  13. #include <HCUpdateDID.h>
  14. [
  15. object,
  16. uuid(833E4070-AFF7-4AC3-AAC2-9F24C1457BCE),
  17. dual,
  18. oleautomation,
  19. helpstring("IPCHVersionItem Interface"),
  20. pointer_default(unique)
  21. ]
  22. interface IPCHVersionItem : IDispatch
  23. {
  24. //
  25. // Properties
  26. //
  27. [propget, id(DISPID_HCU_ITEM_SKU )] HRESULT SKU ( [out, retval] BSTR *pVal );
  28. [propget, id(DISPID_HCU_ITEM_LANGUAGE )] HRESULT Language ( [out, retval] BSTR *pVal );
  29. [propget, id(DISPID_HCU_ITEM_VENDORID )] HRESULT VendorID ( [out, retval] BSTR *pVal );
  30. [propget, id(DISPID_HCU_ITEM_VENDORNAME)] HRESULT VendorName( [out, retval] BSTR *pVal );
  31. [propget, id(DISPID_HCU_ITEM_PRODUCTID )] HRESULT ProductID ( [out, retval] BSTR *pVal );
  32. [propget, id(DISPID_HCU_ITEM_VERSION )] HRESULT Version ( [out, retval] BSTR *pVal );
  33. //
  34. // methods
  35. //
  36. [id(DISPID_HCU_ITEM_UNINSTALL)] HRESULT Uninstall();
  37. };
  38. [
  39. object,
  40. uuid(833E4071-AFF7-4AC3-AAC2-9F24C1457BCE),
  41. dual,
  42. oleautomation,
  43. helpstring("IPCHUpdate Interface"),
  44. pointer_default(unique)
  45. ]
  46. interface IPCHUpdate : IDispatch
  47. {
  48. //
  49. // properties
  50. //
  51. [propget, id(DISPID_HCU_VERSIONLIST)] HRESULT VersionList( [out, retval] IPCHCollection* *ppVC );
  52. //
  53. // methods
  54. //
  55. [id(DISPID_HCU_LATESTVERSION)] HRESULT LatestVersion( [in ] BSTR bstrVendorID ,
  56. [in ] BSTR bstrProductID ,
  57. [in,optional] VARIANT vSKU ,
  58. [in,optional] VARIANT vLanguage ,
  59. [out, retval] BSTR *pVal );
  60. [id(DISPID_HCU_CREATEINDEX)] HRESULT CreateIndex( [in ] VARIANT_BOOL bForce ,
  61. [in,optional] VARIANT vSKU ,
  62. [in,optional] VARIANT vLanguage );
  63. [id(DISPID_HCU_UPDATEPKG)] HRESULT UpdatePkg( [in] BSTR bstrPathname ,
  64. [in] VARIANT_BOOL bSilent );
  65. [id(DISPID_HCU_REMOVEPKG)] HRESULT RemovePkg( [in] BSTR bstrPathname );
  66. [id(DISPID_HCU_REMOVEPKGBYID)] HRESULT RemovePkgByID( [in ] BSTR bstrVendorID ,
  67. [in ] BSTR bstrProductID ,
  68. [in,optional] VARIANT vVersion );
  69. };