[comp.windows.ms] Windows 3.0 and serial IO

mshiels@tmsoft.uucp (Michael A. Shiels) (09/05/90)

I was just doing a quick scan through the SDK docs and couldn't find out
exactly how serial IO appears to the Windows program.  How do you know when
to read the port etc?

brianf@umd5.umd.edu (Brian Farmer) (09/06/90)

In article <je9ltad5b@tmsoft.uucp> mshiels@tmsoft.UUCP (Michael A. Shiels) writes:
>I was just doing a quick scan through the SDK docs and couldn't find out
>exactly how serial IO appears to the Windows program.  How do you know when
>to read the port etc?

Try looking at the functions SetCommEventMask and GetCommEventMask.
You should look at the EV_RXCHAR field for incoming chars.

Brian Farmer
brianf@umd5.umd.edu