<div class="content" name="Extract" uuid="e0fbbb46-286e-4d68-bd3b-a84238f80e1a"><p>The Extract method extracts the specified CAB file.</p><dl>
<dd>
<div><pre> HRESULT Extract(
   [in] BSTR CabFilename,
   [in] BSTR DestinationPath
 );
</pre></div>
</dd></dl><p><b>CabFilename: </b>The name of the CAB file to
extract.</p><p><b>DestinationPath: </b>The destination path for
where to place the CAB file.</p><p><b>Return Values: </b>This method MUST return an
HRESULT with the severity bit clear on success as specified in <a href="../ms-erref/1bc92ddf-b79e-413c-bbaa-99a5281a6c90" data-linktype="relative-path">[MS-ERREF]</a>;
otherwise, it MUST return one of the errors as defined in <a href="590752a5-ddc3-49e4-9914-147a90bd0193" data-linktype="relative-path">2.2.1</a> or one of the errors
as defined in [MS-ERREF] section <a href="../ms-erref/0642cb2f-2075-4469-918c-4441e69c548a" data-linktype="relative-path">2.1</a>.</p></div>