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]

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/


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