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.
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.