ioctl does not work on win32 device driver ?

Antoine Jalabert ajalabert@montrouge.sema.slb.com
Wed Jul 17 08:22:00 GMT 2002


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/



More information about the Cygwin mailing list