serial icon indicating copy to clipboard operation
serial copied to clipboard

Use `PurgeComm` for flush

Open nagayev opened this issue 2 years ago • 0 comments

NOTE about FlushFileBuffers:

If hFile is a handle to a communications device, the function only flushes the transmit buffer.

Source: https://learn.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-flushfilebuffers

nagayev avatar Dec 04 '23 09:12 nagayev