This is the mail archive of the
mailing list for the Cygwin project.
Re: Parameters to ReadFile(), SetCommState() for COM ports
- From: Igor Pechtchanski <pechtcha at cs dot nyu dot edu>
- To: vadraj kulkarni <vadiraj_kulkarni at lycos dot com>
- Cc: cygwin at cygwin dot com
- Date: Wed, 9 Jul 2003 11:20:16 -0400 (EDT)
- Subject: Re: Parameters to ReadFile(), SetCommState() for COM ports
- Reply-to: cygwin at cygwin dot com
On Wed, 9 Jul 2003, vadraj kulkarni wrote:
> This is regarding opening target in Cygwin. I have written a simple code
> which communicates with my hardware. If i am not wrong, cygwin has
> written simulation program to open com port... etc in windows. Can
> anybody tell me what all the parameters i should pass to
> CreateFile() function as well for SetComState() for COM ports.
> ReadFile() function never return after receiving 2-3 packets.
> thansk & regards
Both functions above are Windows calls, so this really has nothing to do
with Cygwin. You may have better luck with a Windows programming list, or
try looking this up on MSDN.
|\ _,,,---,,_ firstname.lastname@example.org
ZZZzz /,`.-'`' -. ;-;;,_ email@example.com
|,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D.
'---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster." -- Patrick Naughton
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html