Wim De Kimpe wrote:
> Another question: if kernel attach and detach only has effect in Linux, why 
> does libusb_kernel_driver_active(handle,0)
> return true on Windows? Shouldn't it return false then?

It's not a Boolean.  It returns LIBUSB_ERROR_NOT_SUPPORTED.  If you're
checking for zero/not-zero, that will compare as true.

-- 
Tim Roberts, t...@probo.com
Providenza & Boekelheide, Inc.


------------------------------------------------------------------------------
The Go Parallel Website, sponsored by Intel - in partnership with Geeknet, 
is your hub for all things parallel software development, from weekly thought 
leadership blogs to news, videos, case studies, tutorials, tech docs, 
whitepapers, evaluation guides, and opinion stories. Check out the most 
recent posts - join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
libusbx-devel mailing list
libusbx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libusbx-devel

Reply via email to