Compartilhar via


CConnectionPoint::OnAdvise

Called by the framework when a connection is being established or broken.

virtual void OnAdvise( 
   BOOL bAdvise  
);

Parameters

  • bAdvise
    TRUE, if a connection is being established; otherwise FALSE.

Remarks

The default implementation does nothing.

Override this function if you want notification when sinks connect to or disconnect from your connection point.

Requirements

Header: afxdisp.h

See Also

Reference

CConnectionPoint Class

Hierarchy Chart