3.12.4.2 IInstallationBehavior::Impact (Opnum 9)

The IInstallationBehavior::Impact (opnum 9) method retrieves an enumeration value that describes the impact of the installation or uninstallation operation on the computer.

 HRESULT Impact(
   [out, retval] InstallationImpact* retval
 );

retval: An InstallationImpact (section 2.2.1) instance that indicates the impact of the operation.

Return Values: The method MUST return information in an HRESULT data structure. The severity bit in the structure identifies the following conditions:

  • If the severity bit is set to 0, the method completed successfully.

  • If the severity bit is set to 1, the method failed and encountered a fatal error.

Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying RPC protocol [MS-RPCE].

This method SHOULD return the value of the Impact ADM element.