3.20.4.17 IUpdate::IsDownloaded (Opnum 24)

The IUpdate::IsDownloaded (opnum 24) method retrieves whether the update is currently cached by the update agent.

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

retval: MUST be set either to VARIANT_TRUE if all the update content has been cached on the computer 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].

The server SHOULD return the value of the IsDownloaded ADM element.