ConnectedEntry Event
Fired for every connected device when the ListConnections method is called.
Syntax
type TConnectedEntryEvent = procedure ConnectedEntry(Sender: TObject; Handle: Integer; const Entry: String; const DeviceName: String; const DeviceType: String; const StatusDescription: String) of object;property OnConnectedEntry: TConnectedEntryEvent read FOnConnectedEntry write FOnConnectedEntry;
Remarks
The Handle parameter can be used to disconnect the entry. You should assign Handle to the Handle property and then call the Disconnect method.