<div class="content"><p>The IUpdate::MaxDownloadSize (opnum 32) method retrieves the
maximum download size of the update.</p><dl>
<dd>
<div><pre> HRESULT MaxDownloadSize(
   [out, retval] DECIMAL* retval
 );
</pre></div>
</dd></dl><p><b>retval: </b>A DECIMAL, as specified in <span><a href="../ms-oaut/bbb05720-f724-45c7-8d17-f83c3d1a3961" data-linktype="relative-path">[MS-OAUT]</a></span>
section <span><a href="../ms-oaut/b5493025-e447-4109-93a8-ac29c48d018d" data-linktype="relative-path">2.2.26</a></span>,
set to the maximum number of bytes that might need to be downloaded for the
update.</p><p><b>Return Values: </b>The method MUST return
information in an <b>HRESULT</b> data structure. The severity bit in the
structure identifies the following conditions:</p><ul><li><p><span><span>  </span></span>If
the severity bit is set to 0, the method completed successfully.</p>
</li><li><p><span><span>  </span></span>If
the severity bit is set to 1, the method failed and encountered a fatal error.</p>
</li></ul><p><b>Exceptions Thrown:</b> No exceptions are thrown beyond
those thrown by the underlying RPC protocol <span><a href="../ms-rpce/290c38b1-92fe-4229-91e6-4fc376610c15" data-linktype="relative-path">[MS-RPCE]</a></span>.</p><p>The server SHOULD return the value of the <b>MaxDownloadSize</b>
ADM element.</p></div>