110,533
社区成员
发帖
与我相关
我的任务
分享
this.dcb.XonChar = 0x11;
this.dcb.XoffChar = 0x13;
this.dcb.XonLim = this.dcb.XoffLim = (ushort) (this.commProp.dwCurrentRxQueue / 4);
this.dcb.EofChar = 0x1a;
this.dcb.EvtChar = 0x1a;
if (!Microsoft.Win32.UnsafeNativeMethods.SetCommState(this._handle, ref this.dcb))
{
InternalResources.WinIOError();
}