Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs Date: Wed, 9 Jul 2003 11:20:16 -0400 (EDT) From: Igor Pechtchanski Reply-To: cygwin AT cygwin DOT com To: vadraj kulkarni cc: cygwin AT cygwin DOT com Subject: Re: Parameters to ReadFile(), SetCommState() for COM ports In-Reply-To: Message-ID: Importance: Normal MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Wed, 9 Jul 2003, vadraj kulkarni wrote: > Hello, > 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 > vadiraj 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. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT 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 Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/