Re: Okay, another question

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Don Burn (burn_at_stopspam.acm.org)
Date: 08/01/04


Date: Sun, 1 Aug 2004 19:44:41 -0400

Two questions:

    1. Did you set the Exclusive flag when you created the device? You
probably don't want this if you want more that one application to talk to
it.

    2. Did you open the file with a CreateFile with the
FILE_FLAG_OVERLAPPED. If you didn't it will only allow one request at a
time.

-- 
Don Burn (MVP, Windows DDK)
Windows 2k/XP/2k3 Filesystem and Driver Consulting
Remove StopSpam from the email to reply
"Cory Nelson" <phrosty@gmail.com> wrote in message
news:cejsc9$ppt@odah37.prod.google.com...
> I've got IRP events working for the most part now, but am unable to use
> them like I planned.
>
> I have one thread running in the background, looping with
> DeviceIoControl() to get the events.  After that my app can't talk to
> the driver anymore :(
> Is there a way to run two DeviceIoControl() requests at once?
>


Relevant Pages

  • asynchronous I/O problem with KMDF
    ... internal workflow or due to known firmware bugs. ... When the framework deliver a new request to my default ... it is requeued to the sequential queue otherwise. ... DeviceIoControl call. ...
    (microsoft.public.development.device.drivers)
  • Re: original requester of the IO;
    ... You can get a seperate request for a cached operation ... You will get most of them if you use IoGetRequestorProcess, ... Don Burn (MVP, Windows DDK) ... Windows 2k/XP/2k3 Filesystem and Driver Consulting ...
    (microsoft.public.development.device.drivers)