<div class="content"><p> </p><p>The <b>FAX_EndServerNotification (Opnum 75)</b> method is
called by the client to stop the notifications from the server, which were
initiated by a call to <b>FAX_StartServerNotification</b> (section <span><a href="693ea4ae-60cd-4043-b775-1a1f19920cbb" data-linktype="relative-path">3.1.4.1.100</a></span>),
<b>FAX_StartServerNotificationEx</b> (section <span><a href="b73163aa-5f4b-45b3-9c5b-f95077f103c2" data-linktype="relative-path">3.1.4.1.101</a></span>), or <b>FAX_StartServerNotificationEx2</b>
(section <span><a href="55770fa2-8c93-40c1-a56e-2c17e8ff707b" data-linktype="relative-path">3.1.4.1.102</a></span>). </p><p>On success, the server MUST stop notifying the client of
events. </p><dl>
<dd>
<div><pre> error_status_t FAX_EndServerNotification(
   [in, out, ref] PRPC_FAX_EVENT_EX_HANDLE lpHandle
 );
</pre></div>
</dd></dl><p><b>lpHandle: </b>A pointer to a previously registered
<span><a href="46aba9c4-ebb1-4b10-86ac-4bb3025657b9#gt_34431739-568a-4d53-b449-2a771383922e" data-linktype="relative-path">subscription
context</a></span> handle. The <i>lpHandle</i> parameter MUST match the one
supplied by the server when the <b>FAX_StartServerNotification</b> family
of calls is in use.</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_DATA</p>
  <p>0x0000000D</p>
  </td>
  <td>
  <p>This error SHOULD be returned if the <i>lpHandle</i>
  parameter is not a valid handle obtained using the <b>FAX_StartServerNotification</b>
  method, the <b>FAX_StartServerNotificationEx</b> method, or the <b>FAX_StartServerNotificationEx2</b>
  method.<a id="Appendix_A_Target_81"></a><a aria-label="Product behavior note 81" href="056171e7-80bc-45ff-8107-66ba3abb2023#Appendix_A_81" data-linktype="relative-path">&lt;81&gt;</a></p>
  </td>
 </tr><tr>
  <td>
  <p>ERROR_INVALID_PARAMETER</p>
  <p>0x00000057</p>
  </td>
  <td>
  <p><i>lpHandle</i> is specified as NULL.<a id="Appendix_A_Target_82"></a><a aria-label="Product behavior note 82" href="056171e7-80bc-45ff-8107-66ba3abb2023#Appendix_A_82" data-linktype="relative-path">&lt;82&gt;</a></p>
  </td>
 </tr></tbody></table>
</dd></dl><p>To stop notifications, the client SHOULD call <b>FAX_EndServerNotification</b>;
the server SHOULD call <b>FAX_CloseConnection</b> section <span><a href="71fcdc39-0e2a-4025-96f8-f96d81d8694b" data-linktype="relative-path">3.2.4.4</a></span>)
to close the connection.</p><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>