TOnDeviceArrivalOrRemoval

Prev

Next

 






































































































The type of the OnDeviceArrivalOrRemoval event.


Unit
VidGrab

Declaration
TOnDeviceArrivalOrRemoval=procedure(Sender: TObject; IsDeviceArrival: Boolean; IsVideoDevice: Boolean; DeviceName: string; DeviceIndex: LongInt) of object;


typedef void __fastcall(__closure *TOnDeviceArrivalOrRemoval)(System::TObject *Sender, bool IsDeviceArrival, bool IsVideoDevice, wchar_t *DeviceName, int DeviceIndex);

Description

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.



See Also
OnDeviceArrivalOrRemoval OnDeviceLost RefreshDevicesAndCompressorsLists