Re: [Libusbx-devel] [libusb] Clarification of LibusbK windows driver architecture.

2014-03-27 Thread Tim Roberts
Pradeepa Senanayake wrote: The way the kernel is handling both IOCTLs and the ReadFile/WriteFile requests are almost the same. But then why different functions? Partly, tradition and history. The five original Unix primitives were open, read, write, ioctl, and close, and most operating

Re: [Libusbx-devel] [libusb] Clarification of LibusbK windows driver architecture.

2014-03-26 Thread Pradeepa Senanayake
Hello all, Thank you for all the explanations. So all in all the summary would be, Eventhough ReadFile and WriteFile can communicate with any endpoint for Bulk USB transfers it would not be of a significant advantage because ReadFile/WriteFile will always use the drivers global buffering scheme.