<div class="content" name="EnumConnectionPoints" uuid="3e74e926-9467-4a0f-be31-7e1caffcc1f9"><p>The EnumConnectionPoints method is received by the server in
an RPC_REQUEST packet. In response, the server MUST return a pointer to an
IEnumConnectionPoints interface pointer, as defined in <a href="https://go.microsoft.com/fwlink/?LinkId=128916" data-linktype="external">[MSDN-ECP]</a>, that can
be used by the client to enumerate all the IConnectionPoint implementations for
the <a href="6102da49-1a16-4862-a4d1-ad092c5101a4" data-linktype="relative-path">MSMQEvent</a> object.</p><dl>
<dd>
<div><pre> HRESULT EnumConnectionPoints(
   [out] IEnumConnectionPoints** ppEnum
 );
</pre></div>
</dd></dl><p><b>ppEnum: </b>A pointer to an IEnumConnectionPoints
interface pointer that upon successful completion will allow the user to
enumerate all the IConnectionPoint implementations for the MSMQEvent object.</p><p><b>Return Values: </b>The method MUST return S_OK
(0x00000000) on success or an implementation-specific error HRESULT on failure.<a id="Appendix_A_Target_97"></a><a aria-label="Product behavior note 97" href="71c359c3-e9ec-4fe6-a101-aab1eabecdcf#Appendix_A_97" data-linktype="relative-path">&lt;97&gt;</a></p><p>When processing this call, the <a href="3b7be3f7-651c-4f9c-930b-a9a7c4355ad8#gt_434b0234-e970-4e8c-bdfa-e16a30d96703" data-linktype="relative-path">server</a> MUST follow these
guidelines:</p><ul><li><p><span><span> 
</span></span>If the <i>ppEnum</i> output parameter equals NULL:</p>
<ul><li><p><span><span>  </span></span>Return
E_POINTER (0x80000005), and take no further action.</p>
</li></ul></li><li><p><span><span> 
</span></span>Set the <i>ppEnum</i> output parameter to a pointer to an
IEnumConnectionPoints interface for the MSMQEvent object.</p>
</li></ul></div>