Com0Com 中DCB 结构默认值问题

打开超级终端前

-  &dcb 0x0012f1c0 {DCBlength=28 BaudRate=115200 fBinary=1 ...} _DCB *
  DCBlength 28 unsigned long
  BaudRate 115200 unsigned long
  fBinary 1 unsigned long
  fParity 0 unsigned long
  fOutxCtsFlow 0 unsigned long
  fOutxDsrFlow 0 unsigned long
  fDtrControl 1 unsigned long
  fDsrSensitivity 0 unsigned long
  fTXContinueOnXoff 0 unsigned long
  fOutX 0 unsigned long
  fInX 0 unsigned long
  fErrorChar 0 unsigned long
  fNull 0 unsigned long
  fRtsControl 1 unsigned long
  fAbortOnError 0 unsigned long
  fDummy2 0 unsigned long
  wReserved 0 unsigned short
  XonLim 2048 unsigned short
  XoffLim 512 unsigned short
  ByteSize 8 '␈' unsigned char
  Parity 0 unsigned char
  StopBits 0 unsigned char
  XonChar 17 '␑' char
  XoffChar 19 '␓' char
  ErrorChar 0 char
  EofChar 0 char
  EvtChar 0 char
  wReserved1 0 unsigned short

 

打开超级终端后

-  &dcb 0x0012f1c0 {DCBlength=28 BaudRate=115200 fBinary=1 ...} _DCB *
  DCBlength 28 unsigned long
  BaudRate 115200 unsigned long
  fBinary 1 unsigned long
  fParity 0 unsigned long
  fOutxCtsFlow 0 unsigned long
  fOutxDsrFlow 0 unsigned long
  fDtrControl 1 unsigned long
  fDsrSensitivity 0 unsigned long
  fTXContinueOnXoff 1 unsigned long
  fOutX 0 unsigned long
  fInX 0 unsigned long
  fErrorChar 0 unsigned long
  fNull 0 unsigned long
  fRtsControl 1 unsigned long
  fAbortOnError 1 unsigned long
  fDummy2 0 unsigned long
  wReserved 0 unsigned short
  XonLim 2048 unsigned short
  XoffLim 512 unsigned short
  ByteSize 8 '␈' unsigned char
  Parity 0 unsigned char
  StopBits 0 unsigned char
  XonChar 17 '␑' char
  XoffChar 19 '␓' char
  ErrorChar 0 char
  EofChar 0 char
  EvtChar 0 char
  wReserved1 0 unsigned short

打开超级终端前

-  &dcb 0x0012f1e8 {DCBlength=28 BaudRate=2400 fBinary=1 ...} _DCB *
  DCBlength 28 unsigned long
  BaudRate 2400 unsigned long
  fBinary 1 unsigned long
  fParity 0 unsigned long
  fOutxCtsFlow 0 unsigned long
  fOutxDsrFlow 0 unsigned long
  fDtrControl 1 unsigned long
  fDsrSensitivity 0 unsigned long
  fTXContinueOnXoff 1 unsigned long
  fOutX 0 unsigned long
  fInX 0 unsigned long
  fErrorChar 0 unsigned long
  fNull 0 unsigned long
  fRtsControl 1 unsigned long
  fAbortOnError 1 unsigned long
  fDummy2 0 unsigned long
  wReserved 0 unsigned short
  XonLim 2048 unsigned short
  XoffLim 512 unsigned short
  ByteSize 8 '␈' unsigned char
  Parity 0 unsigned char
  StopBits 0 unsigned char
  XonChar 17 '␑' char
  XoffChar 19 '␓' char
  ErrorChar 0 char
  EofChar 0 char
  EvtChar 0 char
  wReserved1 0 unsigned short

 

打开超级终端后

-  &dcb 0x0012f1e8 {DCBlength=28 BaudRate=115200 fBinary=1 ...} _DCB *
  DCBlength 28 unsigned long
  BaudRate 115200 unsigned long
  fBinary 1 unsigned long
  fParity 0 unsigned long
  fOutxCtsFlow 0 unsigned long
  fOutxDsrFlow 0 unsigned long
  fDtrControl 1 unsigned long
  fDsrSensitivity 0 unsigned long
  fTXContinueOnXoff 1 unsigned long
  fOutX 0 unsigned long
  fInX 0 unsigned long
  fErrorChar 0 unsigned long
  fNull 0 unsigned long
  fRtsControl 1 unsigned long
  fAbortOnError 1 unsigned long
  fDummy2 0 unsigned long
  wReserved 0 unsigned short
  XonLim 2048 unsigned short
  XoffLim 512 unsigned short
  ByteSize 8 '␈' unsigned char
  Parity 0 unsigned char
  StopBits 0 unsigned char
  XonChar 17 '␑' char
  XoffChar 19 '␓' char
  ErrorChar 0 char
  EofChar 0 char
  EvtChar 0 char
  wReserved1 0 unsigned short

 

你可能感兴趣的:(c,终端)