<div class="content" name="FAX_EndServerNotification" uuid="59663586-4f1a-4f10-a548-c9b088995028"><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 <a href="693ea4ae-60cd-4043-b775-1a1f19920cbb" data-linktype="relative-path">3.1.4.1.100</a>), <b>FAX_StartServerNotificationEx</b>
(section <a href="b73163aa-5f4b-45b3-9c5b-f95077f103c2" data-linktype="relative-path">3.1.4.1.101</a>),
or <b>FAX_StartServerNotificationEx2</b> (section <a href="55770fa2-8c93-40c1-a56e-2c17e8ff707b" data-linktype="relative-path">3.1.4.1.102</a>). </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
<a href="46aba9c4-ebb1-4b10-86ac-4bb3025657b9#gt_34431739-568a-4d53-b449-2a771383922e" data-linktype="relative-path">subscription context</a>
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 <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_DATA 0x0000000D</td>
  <td>This error SHOULD be returned if the lpHandle parameter is not a valid handle obtained using the FAX_StartServerNotification method, the FAX_StartServerNotificationEx method, or the FAX_StartServerNotificationEx2 method.&lt;81&gt;</td>
 </tr><tr>
  <td>ERROR_INVALID_PARAMETER 0x00000057</td>
  <td>lpHandle is specified as NULL.&lt;82&gt;</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 <a href="71fcdc39-0e2a-4025-96f8-f96d81d8694b" data-linktype="relative-path">3.2.4.4</a>) to close the
connection.</p><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>