System.Win.ComObj.TConnectEvent
Delphi
TConnectEvent = procedure (const Sink: IUnknown; Connecting: Boolean) of object;
C++
typedef void __fastcall (__closure *TConnectEvent)(const System::_di_IInterface Sink, bool Connecting);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
type typedef |
public | System.Win.ComObj.pas 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
).