2 references to PurgeComm
System (2)
sys\system\io\ports\SerialStream.cs (2)
934
if (UnsafeNativeMethods.
PurgeComm
(_handle, NativeMethods.PURGE_RXCLEAR | NativeMethods.PURGE_RXABORT) == false)
941
if (UnsafeNativeMethods.
PurgeComm
(_handle, NativeMethods.PURGE_TXCLEAR | NativeMethods.PURGE_TXABORT) == false)