<div class="content"><p> </p><p>The SetAllPathStatuses method sets the statuses of all paths
that originate from the <span><a href="8eef5d42-22d7-4302-aed9-12face91505a#gt_49b98426-c07d-42ab-8ebc-bd088b107c24" data-linktype="relative-path">HBA</a></span> port to a
specified status.</p><dl>
<dd>
<div><pre> HRESULT SetAllPathStatuses(
   [in] VDS_PATH_STATUS status
 );
</pre></div>
</dd></dl><p><b>status: </b>The status, as defined by <span><a href="6141cfb6-47b3-4a6d-a944-40f87ceb957c" data-linktype="relative-path">VDS_PATH_STATUS</a></span>,
to assign to the <span><a href="8eef5d42-22d7-4302-aed9-12face91505a#gt_2cd71385-2d9c-4ab8-bf4a-7b258816d613" data-linktype="relative-path">paths</a></span>.</p><p><b>Return Values: </b>The method MUST return zero or
a non-error <span><a href="8eef5d42-22d7-4302-aed9-12face91505a#gt_799103ab-b3cb-4eab-8c55-322821b2b235" data-linktype="relative-path">HRESULT</a></span> (as
specified in <span><a href="../ms-erref/1bc92ddf-b79e-413c-bbaa-99a5281a6c90" data-linktype="relative-path">[MS-ERREF]</a></span>)
to indicate success, or return an implementation-specific nonzero error code to
indicate failure.<a id="Appendix_A_Target_76"></a><a aria-label="Product behavior note 76" href="6b2552ee-ba27-409f-99a8-18841573327a#Appendix_A_76" data-linktype="relative-path">&lt;76&gt;</a> For the HRESULT values
predefined by the Virtual Disk Service Remote Protocol, see section <span><a href="5102cc53-3143-4268-ba4c-6ea39e999ab4" data-linktype="relative-path">2.2.3</a></span>.</p></div>