Retrieves the IConnectionPointContainer interface pointer for the parent connectable object.
HRESULT GetConnectionPointContainer(
IConnectionPointContainer **ppCPC
//Address of output variable that receives
// the IConnectionPointContainer interface pointer
);
This method supports the standard return value E_UNEXPECTED, as well as the following:
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.
Windows NT: Use version 4.0 or later.
Windows: Use Windows 95 or later.
Windows CE: Unsupported.
Header: Declared in ocidl.h.
IConnectionPoint, IConnectionPointContainer