3.20.4.10 IUpdate::EulaAccepted (Opnum 17)

The  IUpdate::EulaAccepted (opnum 17) method retrieves whether the software license terms associated with the update have been accepted by a user.

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

retval: MUST be set either to VARIANT_TRUE if the software license terms associated with this update have been accepted by a user on the computer or to VARIANT_FALSE if not. If no software license terms are associated with this update, retval MUST be set to VARIANT_TRUE.

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].

If the value of the HasEula ADM element is TRUE, the server SHOULD return the value of the EulaAccepted ADM element. Otherwise, if the value of the HasEula ADM element is FALSE, the server SHOULD return VARIANT_TRUE.