System.Win.ComObj.TConnectEvent

From RAD Studio API Documentation
Jump to: navigation, search

C++

typedef void __fastcall (__closure *TConnectEvent)(const System::_di_IInterface Sink, bool Connecting);

Properties

Type Visibility Source Unit Parent
typedef public System.Win.ComObj.hpp System.Win.ComObj System.Win.ComObj

Description

Type of function to handle the OnConnect event of a connection point.

This type of function may receive the following parameters:

  • Sink is an event handler that must be associated with this TConnectEvent.
  • Connecting determines whether a connection is in place (True) or not (False).

See Also