www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/07/17/10:31:52

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
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 <ajalabert AT montrouge DOT sema DOT slb DOT com>
Subject: ioctl does not work on win32 device driver ?
Mime-Version: 1.0

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019