3.20.5.2 IUpdate2::IsPresent (Opnum 54)

The IUpdate2::IsPresent (opnum 54) method retrieves whether the update is installed for one or more products.

 HRESULT IsPresent(
   [out, retval] VARIANT_BOOL* retval
 );

retval: MUST be set either to VARIANT_TRUE if the update is installed for one or more products or to VARIANT_FALSE if not.

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 IsPresent ADM element.