This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: IOCTL using <ddk/ntddser.h>
> > >
> > > 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.
> >
>
> Many thanks Corinna. If I understand you correctly, "talk like the Romans"
> means "just make everything pure POSIX calls", right?
>
Ah wait, the fog is slowly clearing - I just found <w32api/winioctl.h>...
I think I'm starting to get it: You can use cygwin/gcc to compile for both POSIX
and windoze, and both sets of libraries and headers are available in one
seriously powerful library.
Bert
--
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/