PurgeComm

  • Thread starter Thread starter Empi
  • Start date Start date
What do you mean by "really works"? If you mean does it flush the
controller FIFO, well that depends on how the OEM implemented the driver.
The OS has no control over if it works properly or not.


--

Chris Tacke, Embedded MVP
OpenNETCF Consulting
Managed Code in an Embedded World
www.OpenNETCF.com
 
If you find that it doesn't work, for some reason, do what I do... Just read
all of the buffered data and discard it.

Dick

--
Richard Grier, MVP
Hard & Software
Author of Visual Basic Programmer's Guide to Serial Communications, Fourth
Edition,
ISBN 1-890422-28-2 (391 pages, includes CD-ROM). July 2004, Revised March
2006.
See www.hardandsoftware.net for details and contact information.
 
Back
Top