ioctl12.hlp (Topic list)
ASYNC_SETBREAKOFF (1.2)
                                                      Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
#define INCL_DOSDEVIOCTL
 
USHORT DosDevIOCtl(pfCommErr, 0L, 0x0045, 0x0001, hDevice)
PUSHORT pfCommErr;    /* pointer to variable for error value */
HFILE hDevice;        /* device handle                       */
 
The ASYNC_SETBREAKOFF function turns off the break character. The device
driver stops generating a break signal. It is not considered an error if the
device driver is not generating a break signal. The device driver then
resumes transmitting characters, taking into account all the other reasons
why it may or may not transmit characters.
 
Parameter  Description
────────────────────────────────────────────────────────────────────────────
 
pfCommErr  Points to the variable that receives the communication status of
           the device. This variable can be a combination of the following
           values:
 
           Value                Meaning
           ─────────────────────────────────────────────────────────────────
           RX_QUE_OVERRUN       Receive queue overrun. There is no room in
                                the device-driver receive queue to put a
                                character read in from the receive
                                hardware.
 
           RX_HARDWARE_OVERRUN  Receive hardware overrun. A character
                                arrived before the previous character was
                                completely read. The previous character is
                                lost.
 
           PARITY_ERROR         The hardware detected a parity error.
 
           FRAMING_ERROR        The hardware detected a framing error.
 
           The function sets the variable to zero if it encounters an
           error.
 
hDevice    Identifies the serial device that receives the device-control
           function. The handle must have been created previously by using
           the DosOpen function.
 
Return Value
 
The return value is zero if the function is successful or an error value if
an error occurs.
 
See Also
 
DosOpen, ASYNC_SETBREAKON
 
                                      ♦