<div class="content"><p> </p><p>The <b>FAX_EndCopy (Opnum 72)</b> method is called by the
client to end a copy operation process from or to the server, and to close the
respective copy handle.</p><p>On success, the server MUST terminate the specified copy
operation previously begun with <b>FAX_StartCopyToServer</b> (section <span><a href="d4fdc04e-6594-4563-9700-d4cc645b4335" data-linktype="relative-path">3.1.4.1.97</a></span>)
or <b>FAX_StartCopyMessageFromServer</b> (section <span><a href="eeec1571-a24c-4cb3-bc2a-875300086431" data-linktype="relative-path">3.1.4.1.96</a></span>).</p><dl>
<dd>
<div><pre> error_status_t FAX_EndCopy(
   [in, out, ref] PRPC_FAX_COPY_HANDLE lphCopy
 );
</pre></div>
</dd></dl><p><b>lphCopy: </b>A copy handle that MUST be returned
by <b>FAX_StartCopyToServer</b> or <b>FAX_StartCopyMessageFromServer</b>.</p><p><b>Return Values: </b>This method MUST return
0x00000000 (ERROR_SUCCESS) for success; otherwise, it MUST return one of the
following error codes, one of the fax-specific errors that are defined in
section <span><a href="cbe6c4fb-4dda-4f6c-9701-0d490ba0d105" data-linktype="relative-path">2.2.52</a></span>, or one of
the other standard errors defined in <span><a href="../ms-erref/1bc92ddf-b79e-413c-bbaa-99a5281a6c90" data-linktype="relative-path">[MS-ERREF]</a></span>
section <span><a href="../ms-erref/18d8fbe8-a967-4f1c-ae50-99ca8e491d2d" data-linktype="relative-path">2.2</a></span>.</p><dl>
<dd>
<table><thead>
  <tr>
   <th>
   <p>Return value/code</p>
   </th>
   <th>
   <p>Description</p>
   </th>
  </tr>
 </thead><tbody><tr>
  <td>
  <p>ERROR_INVALID_HANDLE</p>
  <p>0x00000006</p>
  </td>
  <td>
  <p>This error code SHOULD be returned if the handle
  pointed to by the specified <i>lphCopy</i> parameter is not a valid handle
  returned by <b>FAX_StartCopyToServer</b> or <b>FAX_StartCopyMessageFromServer</b>.<a id="Appendix_A_Target_78"></a><a aria-label="Product behavior note 78" href="056171e7-80bc-45ff-8107-66ba3abb2023#Appendix_A_78" data-linktype="relative-path">&lt;78&gt;</a></p>
  </td>
 </tr></tbody></table>
</dd></dl><p><b>Exceptions Thrown: </b>No exceptions are thrown
except those that are thrown by the underlying <span><a href="46aba9c4-ebb1-4b10-86ac-4bb3025657b9#gt_8a7f6700-8311-45bc-af10-82e10accd331" data-linktype="relative-path">RPC</a></span> protocol, <span><a href="../ms-rpce/290c38b1-92fe-4229-91e6-4fc376610c15" data-linktype="relative-path">[MS-RPCE]</a></span>.</p></div>