unsigned int GetComLineStatus (int portNumber);
Returns the modem control-register values.
Linux This function is not supported.
| Input | ||
| Name | Type | Description |
|---|---|---|
| portNumber | integer | A number that indicates the COM port on which to operate. This number maps to the COM port specified by deviceName in the call to OpenCom or OpenComConfig. The portNumber 1, for example, may not necessarily map to COM1. Linux The portNumber 1, for example, may not necessarily map to /dev/ttyS0. Valid Range: 1—1,000 |
| Name | Type | Description | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| lineStatus | unsigned integer | Hardware-specific information about the status of the selected port. The status word is comprised of individual bits, each with a different meaning. This parameter is filled in with a combination of the following values:
|