I am attempting to read a serial port using overlapped (asynchronous) I/O and am having trouble with a certain "invalid parameter." Here is the relevant code: Code: int setupPort(void) { printf("[debug] setupPort - starting.\n"); strcpy(portName, "COM1"); /* ---- [STEP 1] Set the handle for the serial port ------------------------- */ printf("[debug] setupPort - Step 1: CreateFile().\n"); hPort = CreateFile(portName, /*<- The name ...