FpsApi: ConnectionEvent

ConnectionEvent

Occurs when a device is connected/disconnected.

 Event ConnectionEvent(
	  ByVal connecting_devs As Long )

Parameters

connecting_devs
Positive when a device has been connected and negative if a device has been disconnected.

Languages

[Visual Basic] Event ConnectionEvent(ByVal connecting_devs As Long)

[Delphi] procedure ConnectionEvent(Sender: TObject; connecting_devs: Integer);

[C++] void ConnectionEvent(long connecting_devs);

Remarks

This event is raised only when no device is used or when the used device has been disconnected.

[Delphi] The Sender parameter indicates which component received the event and therefore called the handler.

See Also

Class FpsApi Overview FpsApi Properties FpsApi Methods CloseDevice EventTypes