How can I empty COM's port instead of ReadFile()

Thread Starter

anhnhamoi

Joined Apr 24, 2012
11
Hi,
I am programming in com port, but there is a problem that I want to empty com port buffer I used ReadFile() of windows but it is not clear to me.Is there other way to do it?
 
Last edited:
Top