In
news:EsKdnfyLT9-AomHT...@westnet.com.au "Bruce Varley"
<b...@NoSpam.com> wrote:
> Trying to get WaitCommEvent to work with non-overlapped I/O, and came
> across the following sample code, reproduced in full. What is
> dwCommModemStatus, how is it set? The code is obviously only skeleton.
> TIA
> ...
> WaitCommEvent (hPort, &dwCommModemStatus, 0);
If you look at the docs for WaitCommEvent, you'll see that the second
argument is shown as "__out LPDWORD lpEvtMask".
lpEvtMask
A pointer to a variable that receives a mask indicating the type of
event that occurred. If an error occurs, the value is zero; otherwise,
it is one of the following values. ...
--
be...@iphouse.com St. Paul, MN