sys\system\io\ports\SerialStream.cs (38)
220SetDcbFlag(NativeMethods.FNULL, value ? 1 : 0);
224SetDcbFlag(NativeMethods.FNULL, fNullOld);
243SetDcbFlag(NativeMethods.FDTRCONTROL, value ? NativeMethods.DTR_CONTROL_ENABLE : NativeMethods.DTR_CONTROL_DISABLE);
246SetDcbFlag(NativeMethods.FDTRCONTROL, fDtrControlOld);
277SetDcbFlag(NativeMethods.FINX, fInXOutXFlag);
278SetDcbFlag(NativeMethods.FOUTX, fInXOutXFlag);
280SetDcbFlag(NativeMethods.FOUTXCTSFLOW, (handshake == Handshake.RequestToSend ||
286SetDcbFlag(NativeMethods.FRTSCONTROL, NativeMethods.RTS_CONTROL_HANDSHAKE);
290SetDcbFlag(NativeMethods.FRTSCONTROL, NativeMethods.RTS_CONTROL_ENABLE);
293SetDcbFlag(NativeMethods.FRTSCONTROL, NativeMethods.RTS_CONTROL_DISABLE);
299SetDcbFlag(NativeMethods.FINX, fInOutXOld);
300SetDcbFlag(NativeMethods.FOUTX, fInOutXOld);
301SetDcbFlag(NativeMethods.FOUTXCTSFLOW, fOutxCtsFlowOld);
302SetDcbFlag(NativeMethods.FRTSCONTROL, fRtsControlOld);
336SetDcbFlag(NativeMethods.FPARITY, parityFlag);
339SetDcbFlag(NativeMethods.FERRORCHAR, (parityReplace != '\0') ? 1 : 0);
344SetDcbFlag(NativeMethods.FERRORCHAR, 0);
350SetDcbFlag(NativeMethods.FPARITY, fParityOld);
353SetDcbFlag(NativeMethods.FERRORCHAR, fErrorCharOld);
378SetDcbFlag(NativeMethods.FERRORCHAR, (parityReplace != '\0')? 1 : 0);
383SetDcbFlag(NativeMethods.FERRORCHAR, 0);
391SetDcbFlag(NativeMethods.FERRORCHAR, fErrorCharOld);
477SetDcbFlag(NativeMethods.FRTSCONTROL, NativeMethods.RTS_CONTROL_ENABLE);
479SetDcbFlag(NativeMethods.FRTSCONTROL, NativeMethods.RTS_CONTROL_DISABLE);
483SetDcbFlag(NativeMethods.FRTSCONTROL, fRtsControlOld);
1298SetDcbFlag(NativeMethods.FPARITY, ((parity == Parity.None) ? 0 : 1));
1300SetDcbFlag(NativeMethods.FBINARY, 1); // always true for communications resources
1305SetDcbFlag(NativeMethods.FOUTXCTSFLOW, ((handshake == Handshake.RequestToSend ||
1308SetDcbFlag(NativeMethods.FOUTXDSRFLOW, 0); // dsrTimeout is always set to 0.
1309SetDcbFlag(NativeMethods.FDTRCONTROL, NativeMethods.DTR_CONTROL_DISABLE);
1310SetDcbFlag(NativeMethods.FDSRSENSITIVITY, 0); // this should remain off
1311SetDcbFlag(NativeMethods.FINX, (handshake == Handshake.XOnXOff || handshake == Handshake.RequestToSendXOnXOff) ? 1 : 0);
1312SetDcbFlag(NativeMethods.FOUTX,(handshake == Handshake.XOnXOff || handshake == Handshake.RequestToSendXOnXOff) ? 1 : 0);
1317SetDcbFlag(NativeMethods.FERRORCHAR, (parityReplace != '\0') ? 1 : 0);
1322SetDcbFlag(NativeMethods.FERRORCHAR, 0);
1328SetDcbFlag(NativeMethods.FNULL, discardNull ? 1 : 0);
1337SetDcbFlag(NativeMethods.FRTSCONTROL, NativeMethods.RTS_CONTROL_HANDSHAKE);
1341SetDcbFlag(NativeMethods.FRTSCONTROL, NativeMethods.RTS_CONTROL_DISABLE);