Re: DeviceIoControl, Overlapped vs Non-Overlapped: How it affects driver design?
From: Don Burn (burn_at_stopspam.acm.org)
Date: 09/07/04
- Next message: Mebur: "Re: "Initialize device parameter command""
- Previous message: Dennis Burns: "DeviceIoControl, Overlapped vs Non-Overlapped: How it affects driver design?"
- In reply to: Dennis Burns: "DeviceIoControl, Overlapped vs Non-Overlapped: How it affects driver design?"
- Next in thread: Dennis Burns: "Re: DeviceIoControl, Overlapped vs Non-Overlapped: How it affects driver design?"
- Reply: Dennis Burns: "Re: DeviceIoControl, Overlapped vs Non-Overlapped: How it affects driver design?"
- Reply: Beverly Brown: "Re: DeviceIoControl, Overlapped vs Non-Overlapped: How it affects driver design?"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 7 Sep 2004 11:46:44 -0400
The I/O manager takes care of this. You should design your IOCTL code based
on what happens in the driver, i.e. requests that can be done quickly with
no long waits should just complete. Requests that must wait for data or
other requests, should be marked pending and handled asynchronously.
-- Don Burn (MVP, Windows DDK) Windows 2k/XP/2k3 Filesystem and Driver Consulting Remove StopSpam from the email to reply "Dennis Burns" <dburns@rtessentials.com> wrote in message news:ONttiBPlEHA.2504@TK2MSFTNGP14.phx.gbl... > As a relative newbie at driver design, I'm struggling to get the "big > picture". I'm still struggling with this issue, relating to how my driver is > called. > > An IOCTL of my own creation may be called using the user-mode function > DeviceIoControl, in either a synchronous (non-overlapped) or asynchronous > (overlapped) mode. Do I need to consider the calling mode when implementing > the driver? Or, will the IO Manager take care of the user-mode > notification/completion details? > > Thanks in advance for the help, > Dennis > >
- Next message: Mebur: "Re: "Initialize device parameter command""
- Previous message: Dennis Burns: "DeviceIoControl, Overlapped vs Non-Overlapped: How it affects driver design?"
- In reply to: Dennis Burns: "DeviceIoControl, Overlapped vs Non-Overlapped: How it affects driver design?"
- Next in thread: Dennis Burns: "Re: DeviceIoControl, Overlapped vs Non-Overlapped: How it affects driver design?"
- Reply: Dennis Burns: "Re: DeviceIoControl, Overlapped vs Non-Overlapped: How it affects driver design?"
- Reply: Beverly Brown: "Re: DeviceIoControl, Overlapped vs Non-Overlapped: How it affects driver design?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|