This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
ioctl does not work on win32 device driver ?
- From: Antoine Jalabert <ajalabert at montrouge dot sema dot slb dot com>
- To: cygwin at cygwin dot com
- Date: Wed, 17 Jul 2002 16:30:51 +0200
- Subject: ioctl does not work on win32 device driver ?
The open(...) and close(...) primitive are working; they call respectively
the MajorFunction[IRP_MJ_CREATE] and MajorFunction[IRP_MJ_CLOSE] of a win32
device driver. But i can't make working correctly any ioctl(...) (it should
call MajorFunction[IRP_MJ_DEVICE_CONTROL]), nor write(...)
(MajorFunction[IRP_MJ_WRITE]) and read(...)(MajorFunction[IRP_MJ_READ]).
Also, the file operation select(...) does not support a file descriptor
list where a device driver is in it. Is there a way to achieve that ?
Thank you for your help.
Regards,
KTy
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/