VSNDK.DebugEngine.AD7Port.FindConnectionPoint C# (CSharp) Method

FindConnectionPoint() public method

Returns a pointer to the IConnectionPoint interface of a connection point for a specified IID, if that IID describes a supported outgoing interface. (http://msdn.microsoft.com/en-CA/library/ms692476.aspx)
public FindConnectionPoint ( System.Guid &riid, IConnectionPoint &ppCP ) : void
riid System.Guid Interface identifier of the outgoing interface whose connection point object is being requested.
ppCP IConnectionPoint An IConnectionPoint object that receives the connection point that supports the riid interface.
return void
        public void FindConnectionPoint(ref Guid riid, out IConnectionPoint ppCP)
        {
            ppCP = null;
            if (riid == typeof(IDebugPortEvents2).GUID)
            {
                ppCP = this;
            }
        }