This is the mail archive of the cygwin 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: IOCTL using <ddk/ntddser.h>


On Mar 11 22:57, Bert wrote:
> When compiled on Cygwin's gcc the code below (which asks the baud rate of a
> serial port) shows the error "Funtion Not Implemented".
> 
> I tried several serial port ioctl functions in <ddk/ntddser.h> - all gave the
> same error.  
> 
> 
> I hope I'm doing something really dumb, any tips?

Yes.  You're mixing POSIX calls with Windows defines.  That's a no-no.
When you're in Rome, talk like the Romans do.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
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]