3.16.4.5.2 GetConnectionPointContainer (Opnum 4)

The GetConnectionPointContainer method is received by the server in an RPC_REQUEST packet. In response, the server MUST return a pointer to a pointer to an IConnectionPointContainer interface for the MSMQEvent object.

 HRESULT GetConnectionPointContainer(
   [out] IConnectionPointContainer** ppCPC
 );

ppCPC: A pointer to an IConnectionPointContainer interface pointer for the MSMQEvent object.

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

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

  • If the ppCPC output parameter equals NULL:

    • Return E_POINTER (0x80000005).

  • Else:

    • Set the piid output parameter to a pointer to an IConnectionPointContainer interface for the MSMQEvent object.