Contains information about the configuration of the COM port.
typedef struct DPCOMPORTADDRESS{
DWORD dwComPort;
DWORD dwBaudRate;
DWORD dwStopBits;
DWORD dwParity;
DWORD dwFlowControl;
} DPCOMPORTADDRESS;
typedef DPCOMPORTADDRESS FAR* LPDPCOMPORTADDRESS;
| CBR_110 | CBR_300 | CBR_600 |
| CBR_1200 | CBR_2400 | CBR_4800 |
| CBR_9600 | CBR_14400 | CBR_19200 |
| CBR_38400 | CBR_56000 | CBR_57600 |
| CBR_115200 | CBR_128000 | CBR_256000 |
| DPCPA_DTRFLOW | Indicates hardware flow control with DTR. |
| DPCPA_NOFLOW | Indicates no flow control. |
| DPCPA_RTSDTRFLOW | Indicates hardware flow control with RTS and DTR. |
| DPCPA_RTSFLOW | Indicates hardware flow control with RTS. |
| DPCPA_XONXOFFFLOW | Indicates software flow control (xon/xoff). |
The constants that define baud, stop bits, and parity are defined in Winbase.h.
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.