<div class="content" name="FAX_EndMessagesEnum" uuid="df9d34cf-780d-4e26-af24-eadb73ef443f"><p>The <b>FAX_EndMessagesEnum (Opnum 64)</b> method is called
by the client. </p><p>On success, the server MUST halt the enumerating of
messages in the specified <a href="46aba9c4-ebb1-4b10-86ac-4bb3025657b9#gt_9394bf31-7db9-433c-8d3d-ee6a37bf0848" data-linktype="relative-path">archives</a>.</p><dl>
<dd>
<div><pre> error_status_t FAX_EndMessagesEnum(
   [in, out, ref] PRPC_FAX_MSG_ENUM_HANDLE lpHandle
 );
</pre></div>
</dd></dl><p><b>lpHandle: </b>The parameter <i>lpHandle</i> MUST
have been returned by <b>FAX_StartMessagesEnum</b> (section <a href="702db5ea-5293-46f3-b11e-ad8f477bbe26" data-linktype="relative-path">3.1.4.1.98</a>).</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 <a href="cbe6c4fb-4dda-4f6c-9701-0d490ba0d105" data-linktype="relative-path">2.2.52</a>, or one
of the other standard errors defined in <a href="../ms-erref/1bc92ddf-b79e-413c-bbaa-99a5281a6c90" data-linktype="relative-path">[MS-ERREF]</a>
section <a href="../ms-erref/18d8fbe8-a967-4f1c-ae50-99ca8e491d2d" data-linktype="relative-path">2.2</a>.</p><dl>
<dd>
<table><thead>
  <tr>
   <th>
   <p>Return value/code</p>
   </th>
   <th>
   <p>Description</p>
   </th>
  </tr>
 </thead><tbody><tr>
  <td>ERROR_INVALID_HANDLE 0x00000006</td>
  <td>This error code SHOULD be returned if the handle pointed to by the specified lpHandle parameter is not a valid handle returned by FAX_StartMessagesEnum.&lt;79&gt;</td>
 </tr><tr>
  <td>ERROR_INVALID_PARAMETER 0x00000057</td>
  <td>This error SHOULD be returned if the handle pointed to by the specified lpHandle is NULL.&lt;80&gt;</td>
 </tr></tbody></table>
</dd></dl><p><b>Exceptions Thrown: </b>No exceptions are thrown
except those that are thrown by the underlying <a href="46aba9c4-ebb1-4b10-86ac-4bb3025657b9#gt_8a7f6700-8311-45bc-af10-82e10accd331" data-linktype="relative-path">RPC</a> protocol, <a href="../ms-rpce/290c38b1-92fe-4229-91e6-4fc376610c15" data-linktype="relative-path">[MS-RPCE]</a>.</p></div>