DCB structure
Defines the control setting for a serial communications device.
Syntax
Members
DCBlength
The length of the structure, in bytes. The caller must set this member to sizeof(DCB).
BaudRate
The baud rate at which the communications device operates. This member can be an actual baud rate value, or one of
the following indexes.
Value Meaning
110 bps
typedefstruct_DCB{
DWORDDCBlength;
DWORDBaudRate;
DWORDfBinary:1;
DWORDfParity:1;
DWORDfOutxCtsFlow:1;
DWORDfOutxDsrFlow:1;
DWORDfDtrControl:2;
DWORDfDsrSensitivity:1;
DWORDfTXContinueOnXoff:1;
DWORDfOutX:1;
DWORDfInX:1;
DWORDfErrorChar:1;
DWORDfNull:1;
DWORDfRtsControl:2;
DWORDfAbortOnError:1;
DWORDfDummy2:17;
WORDwReserved;
WORDXonLim;
WORDXoffLim;
BYTEByteSize;
BYTEParity;
BYTEStopBits;
charXonChar;
charXoffChar;
charErrorChar;
charEofChar;
charEvtChar;
WORDwReserved1;
}DCB,*LPDCB;
C++
评论0
最新资源