TwclComDatabase Class

The class provides access to the system COM ports database.

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

The TwclComDatabase type exposes the following members.

Show:
 NameDescription
Create(TComponent)

Creates a new component.

Destroy

Frees the component.

Top
Show:
 NameDescription
Opened

Gets the COM ports database status.

Top
Show:
 NameDescription
ClaimPort(Cardinal)

Tries to get the lowest COM port number that is not already in use.

Close

Closes the COM database.

EnumUsedPorts(TwclComPortNumbers)

Enumerates the used COM ports.

Open

Opens the COM database.

ReleasePort(Cardinal)

Releases a COM port number in the COM port database.

Top