3.16.4.6.1 EnumConnectionPoints (Opnum 3)

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 [MSDN-ECP], that can be used by the client to enumerate all the IConnectionPoint implementations for the MSMQEvent object.

 HRESULT EnumConnectionPoints(
   [out] IEnumConnectionPoints** ppEnum
 );

ppEnum: 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.

Return Values: The method MUST return S_OK (0x00000000) on success or an implementation-specific error HRESULT on failure.<97>

When processing this call, the server MUST follow these guidelines:

  • If the ppEnum output parameter equals NULL:

    • Return E_POINTER (0x80000005), and take no further action.

  • Set the ppEnum output parameter to a pointer to an IEnumConnectionPoints interface for the MSMQEvent object.