Link to home
Start Free TrialLog in
Avatar of tr5
tr5

asked on

Opening multiple handles to driver (How to do both synchronous and asynchronous io with DeviceIoControl?)

Hi

I have a driver which handles some  IOCTLS that are synchronous, and one that is asynchronous. Can I / should I do 2 CreateFile() calls, one without FILE_FLAG_OVERLAPPED for the synchronous, and one with for the asynchronous? Is there any problem with this from the point of view that there is more than one handle to the driver open simultaneously? Does it depend on the driver?

Regards
tr5
ASKER CERTIFIED SOLUTION
Avatar of jkr
jkr
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial