Returns a pointer to the IConnectionPoint interface of a connection point for a specified IID, if that IID describes a supported outgoing interface.
HRESULT FindConnectionPoint( REFIID riid, IConnectionPoint **ppCP );
Interface identifier of the outgoing interface whose connection point object is being requested.
The address of an IConnectionPoint interface pointer variable that receives the pointer to the connection point that supports the riid interface. If an error occurs, the implementation sets the value to NULL.
This method can return the standard return values E_OUTOFMEMORY and E_UNEXPECTED, as well as the following values.
||The method completed successfully.|
||The address in ppCP is not valid. For example, it may be NULL.|
||This connectable object does not support the outgoing interface specified by riid.|
This method is the QueryInterface equivalent for an object's outgoing interfaces, where the outgoing interface is specified with riid and where the interface pointer returned is always that of a connection point.Release when the connection point is no longer needed. IConnectionPointContainer must implement this method for the connectable object's outgoing interfaces.
|Minimum supported client||Windows 2000 Professional [desktop apps | UWP apps]|
|Minimum supported server||Windows 2000 Server [desktop apps | UWP apps]|