Retrieves the port status for a communication channel (direct serial connection or modem connection).
GetPortStatus(short ChannelID, long *Status); |
Parameters
ChannelID
A channel ID (0-7) used to identify a communication channel.
Status
The value of 1 for the variable pointed to by Status indicates that the port is open, the value of 0 for the variable pointed to by Status indicates that the port is closed.