Re: Okay, another question
From: Don Burn (burn_at_stopspam.acm.org)
Date: 08/01/04
- Next message: Thomas F. Divine [DDK MVP]: "Re: Okay, another question"
- Previous message: Cory Nelson: "Okay, another question"
- In reply to: Cory Nelson: "Okay, another question"
- Next in thread: Thomas F. Divine [DDK MVP]: "Re: Okay, another question"
- Reply: Thomas F. Divine [DDK MVP]: "Re: Okay, another question"
- Messages sorted by: [ date ] [ thread ]
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? >
- Next message: Thomas F. Divine [DDK MVP]: "Re: Okay, another question"
- Previous message: Cory Nelson: "Okay, another question"
- In reply to: Cory Nelson: "Okay, another question"
- Next in thread: Thomas F. Divine [DDK MVP]: "Re: Okay, another question"
- Reply: Thomas F. Divine [DDK MVP]: "Re: Okay, another question"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|