Re: How Can I DeviceIoControl in less than 10 milliseconds?

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance




"christ2008" <christhompson@xxxxxxxxxxxxxx> wrote in message
news:5eb7330b-760c-4bab-b639-dc3cfba7c030@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Also, the way I have been using overlapped I/O as depicted above
gives me no benefit over blocking I/O. So, what am I doing wrong?

You are using it in a sequential, blocking manner. Overlapped I/O is best
used when you can start an operation running and then move on to other
things, not waiting for the operation to finish right away. That is not
what you are doing in the code you showed.


Gambit


.



Relevant Pages

  • Re: How Can I DeviceIoControl in less than 10 milliseconds?
    ... gives me no benefit over blocking I/O. ... You are using it in a sequential, blocking manner. ... Overlapped I/O is best ... used when you can start an operation running and then move on to other ...
    (microsoft.public.win32.programmer.kernel)
  • ISOUSB + FILE_FLAG_OVERLAPPED. Does it work?
    ... Do I have to modify the ISOUSB (WinXP DDK) sample to make it work properly ... I got it work well with blocking I/O, but not with overlapped I/O. ...
    (microsoft.public.development.device.drivers)