3.20.4.11 IUpdate::EulaText (Opnum 18)

The IUpdate::EulaText (opnum 18) method retrieves the text of the software license terms associated with the update.

 HRESULT EulaText(
   [out, retval] BSTR* retval
 );

retval: The localized text of the software license terms associated with the update. If no software license terms are associated with the update, retval MUST be set to NULL or the empty string.

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 EulaText ADM element. Otherwise, if the value of the HasEula ADM element is FALSE, the server SHOULD return NULL or the empty string.