TOnDeviceArrivalOrRemoval
TOnDeviceArrivalOrRemoval = procedure (Sender: TObject; IsDeviceArrival: LongBool; IsVideoDevice: LongBool; DeviceName: PChar;
The type of the OnDeviceArrivalOrRemoval event. IsDeviceArrival: true if the device has been connected, false is the device has been disconnected IsVideoDevice: true if the device is a video capture device, false if the device is an audio capture device. DeviceName: name of the related capture device. DeviceIndex: index of the capture device in the VideoDevices list or AudioDevices list, according to IsVideoDevice.