DOCERR: How CN_RECEIVE Events Are Generated (101415)
The information in this article applies to:
- Microsoft Windows Software Development Kit (SDK) 3.1
This article was previously published under Q101415 SUMMARY
WM_COMMNOTIFY messages with CN_RECEIVE notifications are enabled when
EnableCommNotification() is called with any number but -1 in the
cbWriteNotify parameter. CN_TRANSMIT notifications are enabled when
the cbOutQueue parameter is any number but -1. The CN_RECEIVE
notifications are generated when either the number of characters in
the receive queue exceeds cbWriteNotify, or a time-out occurs.
Similarly, CN_TRANSMIT notifications are generated when the number of
characters in the output queue drops below the cbOutQueue parameter.
Modification Type: | Minor | Last Reviewed: | 7/15/2004 |
---|
Keywords: | kb16bitonly KB101415 |
---|
|