Progress example code for reading and writing to a serial COMM port using the Windows API, by Chris Schreiber