TwclUsbMonitor Class

The USB Monitor allows your application to enumerate available USB devices and to monitor changes in its configuration.

Namespace: wclSerialDevices
TComponent
  wclSerialDevices.TwclUsbMonitor
type
 TwclUsbMonitor = class(TComponent)
 end;

The TwclUsbMonitor type exposes the following members.

Show:
 NameDescription
Create(TComponent)

Creates a new USB Monitor component.

Destroy

Frees the component.

Top
Show:
 NameDescription
Monitoring

Gets the hardware monitoring state.

Top
Show:
 NameDescription
Disable(string)

Disables USB device.

DoInserted(TwclUsbDevice)

Fires the OnInserted event.

DoRemoved(TwclUsbDevice)

Fires the OnRemoved event.

Enable(string)

Enabled USB device.

EnumDevices(TwclUsbDevices)

Enumerates available USB devices.

MessageReceived(TwclMessage)

The method called when a new notification message received.

Start

Starts monitoring hardware changes.

Stop

Stops monitoring hardware changes.

Top
Show:
 NameDescription
OnInserted

The event fires when a new USB device appeared in the system

OnRemoved

The event fires when a USB device has been removed from the system.

Top