Class WinBase.DCB

  • Enclosing interface:
    WinBase

    @FieldOrder({"DCBlength","BaudRate","controllBits","wReserved","XonLim","XoffLim","ByteSize","Parity","StopBits","XonChar","XoffChar","ErrorChar","EofChar","EvtChar","wReserved1"})
    public static class WinBase.DCB
    extends Structure
    Defines the control setting for a serial communications device.
  • wReserved

    public WinDef.WORD wReserved
    Reserved; must be zero.
  • XonLim

    public WinDef.WORD XonLim
    The minimum number of bytes in use allowed in the input buffer before flow control is activated to allow transmission by the sender. This assumes that either XON/XOFF, RTS, or DTR input flow control is specified in the fInX, fRtsControl, or fDtrControl members.
  • XoffLim

    public WinDef.WORD XoffLim
    The minimum number of free bytes allowed in the input buffer before flow control is activated to inhibit the sender. Note that the sender may transmit characters after the flow control signal has been activated, so this value should never be zero. This assumes that either XON/XOFF, RTS, or DTR input flow control is specified in the fInX, fRtsControl, or fDtrControl members. The maximum number of bytes in use allowed is calculated by subtracting this value from the size, in bytes, of the input buffer.
  • ByteSize

    public WinDef.BYTE ByteSize
    The number of bits in the bytes transmitted and received.
  • Constructor Detail

    • DCB

      public DCB()