Retrieves the IConnectionPointContainer interface pointer for the parent connectable object.
HRESULT GetConnectionPointContainer(
IConnectionPointContainer **ppCPC |
//Indirect pointer |
); |
Parameters
Return Values
This method supports the standard return value E_UNEXPECTED, as well as the following:
Remarks
This method calls IConnectionPointContainer::AddRef. The caller is responsible for calling IConnectionPointContainer::Release to release this pointer when done.
This method must call IConnectionPointContainer::AddRef before returning.
This method must be implemented in any connection point; E_NOTIMPL is not an acceptable return value.
See Also
IConnectionPoint, IConnectionPointContainer