Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-Id: <5.0.2.1.0.20020717162044.00a98050@popper.montrouge.tt.slb.com> X-Sender: ajalaber AT popper DOT montrouge DOT tt DOT slb DOT com Date: Wed, 17 Jul 2002 16:30:51 +0200 To: cygwin AT cygwin DOT com From: Antoine Jalabert Subject: ioctl does not work on win32 device driver ? Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed 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/