🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.ms.programmer
Article #20

Re: WM_COMMNOTIFY treatment question ?

#20
From: johler Thomas Johler
Date: Tue, 21 Jul 1992 21:03
35 lines
1644 bytes

In a reply to my previous posting, rik@digibd.com
writes:

> 
> EnableCommNotification is only supported in Windows 3.1.  It allows a window
> to be notified when its input buffer hits a receive water-mark, when its 
> output buffer falls below a transmit water-mark, and notification of a change
> in status.
> 
> It is documented in the 3.1 SDK manual.
> 

But my problems are others:
1. I own Win 3.1, but I do not own the 3.1 SDK (nor the manual)
2. I get the WM_COMMNOTIFY messages correctly, but when trying to read from 
   the comm-port I always get only one (though I know there are more)
   character.
3. These charecters are (seemingly) arbitrary chosen from the comm-input
   stream. I don't know how, or better what mechanisms, read out correctly
   comm-port input after having received a WM_COMMNOTIFY message.

Maybe you know some help ?

Thanks in advance (again :-)  ),
	   Thomas



--
-------------------------------------------------------------------------------
johler@informatik.tu-muenchen.de

Munich University of Technology,  Department of Computer Science, FRG
Technical Details
Message-ID: <1992Jul21.210356.27085@Informatik.TU-Muenchen.DE>
Path: arc1-ca.pugleaf.net!sparky!uunet!math.fu-berlin.de!informatik.tu-muenchen.de!johler
References: <1992Jul15.120410.10041@Informatik.TU-Muenchen.DE>

Show Full Headers
Complete Article Headers
Newsgroups: comp.windows.ms.programmer
Path: arc1-ca.pugleaf.net!sparky!uunet!math.fu-berlin.de!informatik.tu-muenchen.de!johler
From: johler@.uucp (Thomas Johler)
Subject: Re: WM_COMMNOTIFY treatment question ?
References: <1992Jul15.120410.10041@Informatik.TU-Muenchen.DE>
Sender: news@Informatik.TU-Muenchen.DE (USENET Newssystem)
Organization: Technische Universitaet Muenchen, Germany
Date: Tue, 21 Jul 1992 21:03:56 GMT
X-Newsreader: Tin 1.1 PL4
Message-ID: <1992Jul21.210356.27085@Informatik.TU-Muenchen.DE>
Lines: 35