//***************Read Operation******************// buffRead = 0; dwBytesRead = 0; int nread =20; if (!ReadFile(hSerial, buffRead, nread, &dwBytesRead, NULL)) { printf("error reading from input buffer \n"); } printf("Data read from read buffer is \n %s \n",buffRead);
NULL
lpBuffer
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)