Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

IConnectionPoint::GetConnectionInterface method

Retrieves the IID of the outgoing interface managed by this connection point.

Syntax


HRESULT GetConnectionInterface(
  [out] IID *pIID
);

Parameters

pIID [out]

A pointer to the identifier of the outgoing interface managed by this connection point.

Return value

This method can return the standard return value E_UNEXPECTED, as well as the following values.

Return codeDescription
S_OK

The caller's variable pIID contains the identifier of the outgoing interface managed by this connection point.

E_POINTER

The address in pIID is not valid. For example, it may be NULL.

 

Remarks

Using the IEnumConnectionPoints interface, a client can obtain a pointer to the IConnectionPoint interface. Using that pointer and the GetConnectionInterface method, the client can determine the IID of each connection point enumerated. The IID returned from this method must enable the caller to access this same connection point through IConnectionPointContainer::FindConnectionPoint.

Notes to Implementers

This method must be implemented in any connection point; E_NOTIMPL is not an acceptable return value.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps | Windows Store apps]

Minimum supported server

Windows 2000 Server [desktop apps | Windows Store apps]

Header

OCIdl.h

IDL

OCIdl.idl

IID

IID_IConnectionPoint is defined as B196B286-BAB4-101A-B69C-00AA00341D07

See also

IConnectionPoint

 

 

Community Additions

ADD
Show:
© 2015 Microsoft