[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
oWin:commNotify( <nDevice>, <nStatus> ) -> NIL
------------------------------------------------------------------------------
PARAMETER:
<nDevice> communication-device ID, specifies the identifier of the
communication device that is posting the notification message.
<nStatus> notification-status flag, Indicating the type of COM Event
that has happened. It may be one or more of the following
flags:
CN_EVENT Indicates that an event has occurred that was
enabled in the event word of the communication
device. This event was enabled by a call to the
SetCommEventMask function. The application should
call the GetCommEventMask function to determine
which event occurred and to clear the event.
CN_RECEIVE Indicates that at least cbWriteNotify bytes are
in the input queue. The cbWriteNotify parameter
is a parameter of the EnableCommNotification
function.
CN_TRANSMIT Indicates that fewer than cbOutQueue bytes are in
the output queue waiting to be transmitted.
The cbOutQueue parameter is a parameter of the
EnableCommNotification function.
DESCRIPTION:
The WM_COMMNOTIFY message is posted by a communication device driver
whenever a COM port event occurs. The message indicates the status of a
window's input or output queue. This Method is the receiver of this
message, and it will eval the bCommNotify CodeBlock if it is provided.
See Also:
bCommNotify
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson