IOCTL using <ddk/ntddser.h>

Bert dsboiz@gmail.com
Thu Mar 12 15:26:00 GMT 2009


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



More information about the Cygwin mailing list