Author Topic: Why doesn't Windows provide Host API to get all the descriptors directly?  (Read 9902 times)

yindengxie

  • Member
  • ***
  • Posts: 28
Hello Jan,

Why doesn't Windows provide Host API to get all the descriptors directly,
but need to get these descriptors through USBView or some paid software?

    THANKS!

bpaddock

  • Frequent Contributor
  • ****
  • Posts: 66
TDD is free:

https://www.thesycon.de/eng/usb_descriptordumper.shtml

These programs get the descriptor by calling the Windows setup API.

Source code to USBView is here:

https://github.com/microsoft/Windows-driver-samples/tree/master/usb


These may also be useful to you:

https://github.com/libusb/hidapi

https://libusb.info



yindengxie

  • Member
  • ***
  • Posts: 28
Hello bpaddock,
 
   Many thanks for your help and Info.

     Best Regards!