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.

141 lines
3.6 KiB

  1. // methods.idl : IDL source for methods.dll
  2. //
  3. // Copyright (c) 1999-2001 Microsoft Corporation, All Rights Reserved
  4. //
  5. // This file will be processed by the MIDL tool to
  6. // produce the type library (methods.tlb) and marshalling code.
  7. import "objidl.idl";
  8. import "oleidl.idl";
  9. import "oaidl.idl";
  10. [
  11. object,
  12. restricted,
  13. uuid(768ECA52-017E-11d3-A97D-00A0C9954921)
  14. ]
  15. interface IMsiMethodStatusSink : IUnknown
  16. {
  17. HRESULT Indicate([in] int *iContext,
  18. [in] UINT iMessageType,
  19. [in] LPCWSTR szMessage
  20. );
  21. HRESULT SetStatus([in] long lFlags);
  22. };
  23. [
  24. object,
  25. uuid(3E6A93E0-FDAD-11D2-A97B-00A0C9954921),
  26. pointer_default(unique)
  27. ]
  28. interface IMsiProductMethods : IUnknown
  29. {
  30. [helpstring("method Admin")]
  31. HRESULT Admin([in, string] LPCWSTR wszPackageLocation,
  32. [in, string] LPCWSTR wszOptions,
  33. [out] UINT* puiResult,
  34. [in] int iThreadID
  35. );
  36. [helpstring("method Advertise")]
  37. HRESULT Advertise([in, string] LPCWSTR wszPackageLocation,
  38. [in, string] LPCWSTR wszOptions,
  39. [out] UINT* puiResult,
  40. [in] int iThreadID
  41. );
  42. [helpstring("method Configure")]
  43. HRESULT Configure([in, string] LPCWSTR wszProductCode,
  44. [in] int iInstallLevel,
  45. [in] /*INSTALLSTATE*/int isInstallState,
  46. [out] UINT* puiResult,
  47. [in] int iThreadID
  48. );
  49. [helpstring("method Install")]
  50. HRESULT Install([in, string] LPCWSTR wszPackageLocation,
  51. [in, string] LPCWSTR wszOptions,
  52. [out] UINT* puiResult,
  53. [in] int iThreadID
  54. );
  55. [helpstring("method Reinstall")]
  56. HRESULT Reinstall([in, string] LPCWSTR wszProductCode,
  57. [in] DWORD dwReinstallMode,
  58. [out] UINT* puiResult,
  59. [in] int iThreadID
  60. );
  61. [helpstring("method Uninstall")]
  62. HRESULT Uninstall([in, string] LPCWSTR wszProductCode,
  63. [out] UINT* puiResult,
  64. [in] int iThreadID
  65. );
  66. [helpstring("method Upgrade")]
  67. HRESULT Upgrade([in, string] LPCWSTR wszPackageLocation,
  68. [in, string] LPCWSTR wszOptions,
  69. [out] UINT* puiResult,
  70. [in] int iThreadID
  71. );
  72. };
  73. [
  74. object,
  75. uuid(E293BA80-FDAD-11D2-A97B-00A0C9954921),
  76. helpstring("IMsiSoftwareFeatureMethods Interface"),
  77. pointer_default(unique)
  78. ]
  79. interface IMsiSoftwareFeatureMethods : IUnknown
  80. {
  81. [helpstring("method ConfigureSF")]
  82. HRESULT ConfigureSF([in, string] LPCWSTR wszProductCode,
  83. [in, string] LPCWSTR wszFeature,
  84. [in] /*INSTALLSTATE*/int isInstallState,
  85. [out] UINT *puiResult,
  86. [in] int iThreadID
  87. );
  88. [helpstring("method ReinstallSF")]
  89. HRESULT ReinstallSF([in, string] LPCWSTR wszProductCode,
  90. [in, string] LPCWSTR wszFeature,
  91. [in] DWORD dwReinstallMode,
  92. [out] UINT *puiResult,
  93. [in] int iThreadID
  94. );
  95. };
  96. [uuid(9B8BCB02-01A9-11d3-A97D-00A0C9954921)]
  97. library MsiMeth_v1
  98. {
  99. importlib("stdole32.tlb");
  100. [
  101. uuid(FDD70FF2-0195-11d3-A97D-00A0C9954921),
  102. helpstring("MsiMethodStatusSink Class")
  103. ]
  104. coclass MsiMethodStatusSink
  105. {
  106. [default] interface IMsiMethodStatusSink;
  107. };
  108. [
  109. uuid(AB4184C0-FDAD-11D2-A97B-00A0C9954921),
  110. helpstring("MsiProductMethods Class")
  111. ]
  112. coclass MsiProductMethods
  113. {
  114. [default] interface IMsiProductMethods;
  115. };
  116. [
  117. uuid(E9B5C790-FDAD-11D2-A97B-00A0C9954921),
  118. helpstring("MsiSoftwareFeatureMethods Class")
  119. ]
  120. coclass MsiSoftwareFeatureMethods
  121. {
  122. [default] interface IMsiSoftwareFeatureMethods;
  123. };
  124. };