ConnectedEntry Event

Fired for every connected device when the ListConnections method is called.

Syntax

type TConnectedEntryEvent = procedure (
  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.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks 2020 Delphi Edition - Version 20.0 [Build 8307]