Section contents
ccomms.oxh
See Also
CommServerGetPortInfo
,
CommServerGetPortInfo2
this& = NewSerialInfo&:
Creates a serial information object and returns a handle which allows the object to be manipulated.
this& |
An value which represents the created object |
If the object could not be created then an error is generated
which should be trapped by an ONERR
handler.
LOCAL this& this& = NewSerialInfo&: DeleteSerialInfo:(this&)
DeleteSerialInfo:(BYREF this&)
Destroys the serial information object.
BYREF this& |
A handle to a serial information object |
LOCAL this& this& = NewSerialInfo&: DeleteSerialInfo:(this&)
desc$ = SerialInfoDescription$:(this&)
Get the port description.
this& |
A handle to a serial information object |
desc$ |
The full name of the port (KMaxPortDescription%
in length). This is used only for user interaction |
unit& = SerialInfoHighUnit&:(this&)
Get the highest unit number supported by the serial module.
this& |
A handle to a serial information object |
unit& |
The highest unit number supported by the serial module |
unit& = SerialInfoLowUnit&:(this&)
Get the lowest unit number supported by the serial module.
this& |
A handle to a serial information object |
unit& |
The lowest unit number supported by the serial module |
The lowest port need not necessarily be numbered zero.
name$ = SerialInfoName$:(this&)
Get the short name of the port.
this& |
A handle to a serial information object |
name$ |
The short name of the port (KMaxPortName%
in length). This is used in calls to CommOpen |
The full name of the serial port (used when opening it)
consists of the name returned by SerialInfoName
,
followed by a double colon separator, followed by the unit number
as an ASCII number (for instance COMM::0).