ASYNC_GETLINECTRL
Appearance
This function returns the line characteristics (data bits, parity, stop bits, break).
- Category
- IOCTL_ASYNC (01h)
- Function
- ASYNC_GETLINECTRL (62h)
Parameter Packet Format
None. Packet pointer must be NULL.
Data Packet Format
Field | Length | C Datatype |
---|---|---|
Data Bits | BYTE | BYTE |
Parity | BYTE | BYTE |
Stop Bits | BYTE | BYTE |
Transmitting Break | BYTE | BYTE |
- Related C Data Structure
- The LINECONTROL data structure can be used by C programmers.
- To include this data structure in your file, make sure INCL_DOSDEVIOCTL is defined before you include OS2.H.
- Data Bits
- See ASYNC_SETLINECTRL.
- Parity
- See ASYNC_SETLINECTRL.
- Stop Bits
- See ASYNC_SETLINECTRL.
- Transmitting Break
- 0 not currently transmitting break
- 1 currently transmitting break
Returns
If the call is made with an invalid Parameter Packet value, a general failure error is reported and valid information is not returned in the Data Packet.
Remarks
If a general failure error is not returned, the physical device driver returns the line characteristics as defined.