GetSerialPortDescription Method

Retrieves string description of serial port.

Syntax

Delphi
function GetSerialPortDescription(index: Word): String; 
BCBuilder
String GetSerialPortDescription(Word index);
 

Parameters

index

[in] Index of serial port (0 ... number_of_ports - 1).

Return

String value representing serial port description, e.g. "Communications Port (COM1)".