This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Parameters to ReadFile(), SetCommState() for COM ports


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@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]