Structures – VSERIAL_WIRING

typedef struct _VSERIAL_WIRING{
   UCHAR DTR; // data-terminal-ready
   UCHAR RTS;// request-to-send
   UCHAR OUT1;
   UCHAR OUT2; // Interrupt enable (IE) line
}VSERIAL_WIRING, *PVSERIAL_WIRING;

Members:

  • DTR, RST, Out1, Out2 [in] : line signals may have the following values depending on which port you want connect to:
    Value Description Hex
    WIRED_TO_DCD setting connection to remote DCD line 0x80
    WIRED_TO_RI setting connection to remote RI line 0x40
    WIRED_TO_DSR setting connection to remote DSR line 0x20
    WIRED_TO_CTS setting connection to remote CTS line 0x10