On Fri, Jan 25, 2013 at 2:40 AM, Tim Roberts <t...@probo.com> wrote: > Alan Stern wrote: >> ALLOW_PARTIAL_READS is Microsoft's way of letting programmers use the >> USB protocol in ways it was not intended to be used. It specifically >> evades the convention (which is documented in the spec) that bulk >> transfers are complete when either the desired number of bytes have >> been sent or when a short packet is received, whichever comes first. > > In Microsoft's defense, this is implemented in the WinUSB wrapper DLL, > not at the USB kernel level. It's a convenience. The DLL turns this > into spec-compliant requests at the kernel level.
That is interesting to know. Just wonering how does the DLL do to turn this into a spec-compliant requests at the kernel level? So the ultimate fix for libusbK is still do the right thing in the driver (libusbK.sys) and only doing the trick in the dll. -- Xiaofan ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d _______________________________________________ libusbx-devel mailing list libusbx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libusbx-devel