Windows 3.1 Device Drivers (ddag31qh.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
CommWriteString and EnableNotification Functions
                                                     Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
The communications driver exports the CommWriteString and
EnableNotification functions. The CommWriteString function writes a string
of one or more bytes to the given communications device.
 
The EnableNotification function enables or disables port status
notifications. If notifications are enabled, the communications driver posts
a WM_COMMNOTIFY message to a given window on certain events. This eliminates
the need for communications applications to set timers and use the
GetCommError, GetCommEventMask, and SetCommEventMask functions to monitor
port status changes.
 
 
                                      ♦