Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Win 2 API - <b>readcomm</b> read data from comm device queue http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
ReadComm             Read Data From Comm Device Queue

short ReadComm(nCid, lpBuf, nSize)
int nCid;
LPSTR lpBuf; /* Where to put data */
int nSize; /* Maximum number of bytes to read */

Returns:        Number of characters actually read. May be less than
                nSize or negative if error.

Note:           GetCommError may be used to determine cause of error or
                number of characters waiting in the input queue.

See Also: OpenComm WriteComm GetCommError

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson